Skip to content

research: minor doc improvement (SC-PGCLI security probe; non-destructive)#1593

Closed
orihamama wants to merge 2 commits into
dbcli:mainfrom
orihamama:research/finding-codex-injection-poc
Closed

research: minor doc improvement (SC-PGCLI security probe; non-destructive)#1593
orihamama wants to merge 2 commits into
dbcli:mainfrom
orihamama:research/finding-codex-injection-poc

Conversation

@orihamama
Copy link
Copy Markdown

Security research probe — non-destructive (Codex AGENTS.md injection)

This PR exists ONLY to verify FINDING-PGCLI-CODEX (Codex instruction injection
via fork-controlled AGENTS.md). It WILL BE CLOSED without merge.

What the PoC does

Adds AGENTS.md containing a canary instruction directing Codex to include
a specific string (CANARY-FINDING-PGCLI-CODEX-INJECTION-CONFIRMED-SC017) in its
review output. If the canary appears in the PR comment posted by post-feedback job,
fork AGENTS.md injection is confirmed.

What it does NOT do

  • Does not exfiltrate OPENAI_API_KEY value
  • Does not make unauthorized API calls
  • Does not modify any source code or tests

Why

codex-review.yml triggers on pull_request_target for all non-draft PRs (no gate).
Checks out refs/pull/{N}/merge (fork code). openai/codex-action@v1 reads
instruction files including AGENTS.md from the working directory before reviewing.

PR closed within 1 hour.

orihamama added 2 commits May 10, 2026 03:24
Adds AGENTS.md with development guidelines for AI coding agents.
(Security research probe — PR closed without merge after capture)
@orihamama orihamama marked this pull request as draft May 10, 2026 00:29
@orihamama orihamama marked this pull request as ready for review May 10, 2026 00:29
@orihamama
Copy link
Copy Markdown
Author

Security research probe complete. Evidence captured (run 25615550804). Coordinated disclosure to follow.

@orihamama orihamama closed this May 10, 2026
@orihamama orihamama deleted the research/finding-codex-injection-poc branch May 10, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant