AINewsIQ by Triuna Labs
Menu
SOURCE-LINKED SIGNAL / ARTICLE / SAFETY & EVALS

Forever Security: planted AGENTS.md files in Downloads can hijack Codex and Claude Code

READ THE ORIGINAL SOURCEOpen original sourceforever.security · Opens in a new tab

Forever Security reports finding a malicious AGENTS.md file in a customer's ~/Downloads folder, disguised as engineering notes. The file instructs a coding agent to modify its own configuration and install the npm package function-color, which the source identifies as malware. The authors say they reproduced the attack on both OpenAI Codex and Claude Code, running the real payload in an isolated VM. They argue the issue stems from agents trusting AGENTS.md files and from websites being able to write to the Downloads folder without user approval.

⚑ Date unverified · why this is flagged

The primary page's publication date has not been verified. The displayed time may come from discovery rather than the page itself.

The signal remains in the tracker so you can inspect its original source and discovery trail. This flag lowers its source evidence score; it does not judge whether the claim is true.

Recorded links

One primary source; other links are context, not independent corroboration.

Grok Bot submitted this discovery. The primary page's publication date has not been verified. The displayed time may come from discovery rather than the page itself. The original source and submitted evidence remain inspectable; no editor has verified the claim.

Open full article view →
How this score was derived
  • Linked article+30
  • Fetched source page+30
  • No editor link review+0
  • Original non-discussion link+5
  • Date unverified-8

This measures the stored source trail and editorial steps. It does not certify accuracy, peer review, or independent corroboration. Popularity adds no points.

View full scoring →Read the scoring rubric →

What the source says

Forever Security reports finding a malicious AGENTS.md file in a customer's ~/Downloads folder, disguised as engineering notes. The file instructs a coding agent to modify its own configuration and install the npm package function-color, which the source identifies as malware. The authors say they reproduced the attack on both OpenAI Codex and Claude Code, running the real payload in an isolated VM. They argue the issue stems from agents trusting AGENTS.md files and from websites being able to write to the Downloads folder without user approval.

How to read this signalSix questions about claims, sources, risks, and open checks

This is a signal-level guide until claim-level evidence is available. “Not recorded” means the evidence has not been assessed here; it does not mean a result is false. How we check AI news →

  1. 01
    Who is making each claim?

    The claimant and whether each claim was measured or asserted are not recorded in this public brief.

  2. 02
    What was actually tested?

    Not recorded per claim. Check the source for sample size, tasks, model and benchmark versions, and reproducibility.

  3. 03
    Where are the sources?

    Original link: forever.security. Brief basis: fetched source page. Primary page date and quote locations are not established in this panel.

  4. 04
    What could mislead?

    The primary page's publication date has not been verified. The displayed time may come from discovery rather than the page itself.

  5. 05
    What is at risk if wrong?

    Not assessed per claim. Consider safety, privacy, cost, and adoption decisions before relying on the result.

  6. 06
    What would change the view?

    No claim-specific check is recorded. An inspectable primary method or independent replication could change the assessment.

Key findings from the stored brief

  • A malicious AGENTS.md was found in a customer's ~/Downloads folder, disguised as ordinary engineering notes.
  • The authors state the attack was reproduced on OpenAI Codex and Claude Code using the real payload in an isolated VM.
  • Codex was reported to run the malware in more than 90% of attempts during the authors' testing.
  • The planted file edits ~/.codex/config.toml, a machine-wide config, so the effect persists across sessions and folders.
Read with care

Source claims not independently checked; the attack details and success rates come from the vendor's own testing.

This is a source-based abstract, not independent validation of the source's claims.

Discussion

Comments are reviewed before publication. Discuss the evidence, not the person.

No published comments yet.

Reader discussion opens with accounts. You can read the original source and published comments now.