Skip to content

Commit 654f13c

Browse files
docs: clarify PR-controlled project instructions
1 parent e0fdf01 commit 654f13c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/security.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ There is a lot of valuable context that can be used to fuel your invocation of C
1414

1515
- **Pull requests**: the title of a pull request is often clear, but it is fairly easy to hide information in a pull request body using an HTML comment (`<!-- -->`) that is readily available to the model but effectively invisible to the user.
1616
- **Commit messages**: a pull request can be composed of many commits. The messages for individual commits often go unnoticed, but could read by Codex.
17-
- **Screenshots** screenshots and other media have been known to be used as vehicles for prompt injection.
17+
- **Repository instruction files**: when Codex operates on pull request-controlled content, files such as `AGENTS.md`, `AGENTS.override.md`, or configured fallback project docs from that content should be considered part of the untrusted input surface.
18+
- **Screenshots**: screenshots and other media have been known to be used as vehicles for prompt injection.
1819

1920
## Avoid shell injection in workflow steps
2021

0 commit comments

Comments
 (0)