Close Menu
NCIJ Network NCIJ Network
    What's Hot

    After Serbia’s Elections, Its Student Protesters Deserve a Nobel Peace Prize

    October 26, 2026

    What we know about Pentagon’s FORTRESS initiative to keep military bases running off-grid

    October 26, 2026

    Turkey-Libya maritime boundaries deal ‘remains null and void,’ Greek foreign minister says

    October 26, 2026
    Facebook X (Twitter) Instagram
    Trending
    • After Serbia’s Elections, Its Student Protesters Deserve a Nobel Peace Prize
    • What we know about Pentagon’s FORTRESS initiative to keep military bases running off-grid
    • Turkey-Libya maritime boundaries deal ‘remains null and void,’ Greek foreign minister says
    • ‘Unfair’ cliff-edge rule that punished carers to be abolished in budget | Carer’s allowance
    • Healey vows cheaper marmalade and gherkins in pre-Budget package
    • University of Copenhagen data breach exposes data of 525,000 people
    • Archaeologists may have just found the world’s oldest shipwreck
    • Canadian-backed potash mine in Brazil has dried up sacred Amazon springs, say residents
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Monday, October 26
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

    In-the-Wild Attack Abuses AI Agents’ Trust in Markdown

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKOctober 26, 2026 Cybersecurity No Comments4 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    A new indirect prompt injection attack relies on using markdown files in an end user’s downloads folder to install malware and steal credentials.

    That’s according to Forever Security, which recently detailed a novel AI agent attack they captured in the wild. According to a research blog post, when an attacker plants a malicious file in a user’s download folder, the user’s agent may treat the file as trusted instructions and execute actions based on it.

    What is notable about this attack compared to other prompt injection threats found in research reports is that this was not a case where the researchers developed the attack as a proof of concept. Rather, Forever’s Gal Weizman and Omer Samet wrote that the AI security firm “caught live malware on a real customer’s machine, attempting a new kind of attack the industry had not documented — and stopped it cold, before any code ran.”

    Malicious Markdowns

    As the blog post authors explained, Forever Security found a malicious plaintext file named “AGENTS.md” in a customer’s downloads folder, disguised as engineering notes. “.md” is a markdown file, used to guide agent behavior, and is trusted by many AI coding agents like OpenAI’s Codex or Claude Code — Forever reproduced the attack with both (the original variant targeted Codex specifically).

    Related:Exposed to PHP2Shell? Cyber Experts Weigh in With Advice

    Researchers were unable to determine exactly how the file got on the user’s computer, though they noted that it’s the kind of file that a malicious website could attempt to download onto the user’s computer. Then, when the coding agent is launched in that directory, it reads the instruction file as part of its project context.

    According to Forever, the malicious instructions can persuade the agent to modify its configuration and perform follow-on actions. If the agent does ingest one of these malicious markdowns, the planted file makes the agent rewrite its own configuration, opening itself up for an attacker to instruct it to install malware or share its own login tokens.

    In testing, Forever said the Codex attack chain succeeded more than 90% of the time. For Claude Code, the researchers reported roughly a 50% success rate, though certain variables may have influenced this success rate. For example, Claude Code uses a different installation path from Codex, which the original attack targeted.

    ‘Nothing to Patch’

    The attack requires someone only to grant their coding agent access to their home directory downloads folder, and that the agent can interact with web content. Forever says that according to its telemetry, about half of its customers run a coding agent inside their downloads folder, and a quarter of agent sessions open a real browser.

    Related:‘PHP2Shell’ Bugs Signal Red Alert for Security Industry

    “There is nothing here for OpenAI or Anthropic to patch. An agent that follows the AGENTS.md in its folder is doing exactly what it was built to do, the same way a browser that renders a phishing page is working as designed,” the blog post read. “The problem is the circumstances: a folder the web can write to, trusted as if the user filled it. So the vector stays open. It is one early example of a bigger pattern: defenses built around a human break when an agent takes the human’s place.”

    Weizman, lead researcher at Forever Security, tells Dark Reading that AI firms like OpenAI and Anthropic “may consider making agents aware of the risk of following commands originated by files that can be dropped by websites (such as inside the Downloads folder),” but adds that the issue described by the research is “mostly beyond their security model.”

    In the instance captured in the wild, Weizman says the exploit worked but was then blocked from follow-on activity by Forever’s real-time security product, preventing an NPM package from being installed. Forever only managed to discover the initial example of the attack in the wild, though Weizman says the company is actively searching for more attempts.

    Related:Close Identity Gaps in Software Development Before Unleashing AI

    For defenders, Forever recommends treating the user’s home-directory download location (~/Downloads) as “hostile ground for agents,” as by default it’s the only way web content can reach a coding agent. Users can also check for instruction files they did not write, examine agent configurations for unexpected changes, and leave approval gates and sandboxes enabled. If a red flag has been found, the researchers said organizations should assume login tokens are compromised and to rotate credentials.

    Abuses Agents attack IntheWild Markdown trust
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    University of Copenhagen data breach exposes data of 525,000 people

    Hackers Infect 953 Online Stores With Scanner-Evading JavaScript, Mostly on Magento

    DreamHost forces password resets in ongoing “incident”

    Nace AI Releases Drex for Search for AI Agents: 92.05% on BrowseComp-Plus With 12.6 Search Calls

    Industrial Vendors Check Products for PHP2Shell Vulnerabilities

    Microsoft releases emergency .NET patches for critical Brotli flaw

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    After Serbia’s Elections, Its Student Protesters Deserve a Nobel Peace Prize

    October 26, 2026

    What we know about Pentagon’s FORTRESS initiative to keep military bases running off-grid

    October 26, 2026

    Turkey-Libya maritime boundaries deal ‘remains null and void,’ Greek foreign minister says

    October 26, 2026

    ‘Unfair’ cliff-edge rule that punished carers to be abolished in budget | Carer’s allowance

    October 26, 2026
    Latest Posts

    Talks to sell PayPal to Stripe and Advent are heating up

    August 14, 2026

    Burnham announces £65m for drought-hit farmers after Labour pressure | Farming

    August 14, 2026

    Trump dismisses concerns about USS Abraham Lincoln, saying its record-breaking 250 days at sea ‘not nearly enough’ – live | US news

    August 14, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    After Serbia’s Elections, Its Student Protesters Deserve a Nobel Peace Prize

    October 26, 2026

    What we know about Pentagon’s FORTRESS initiative to keep military bases running off-grid

    October 26, 2026

    Turkey-Libya maritime boundaries deal ‘remains null and void,’ Greek foreign minister says

    October 26, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.