SafeDep found that a Miasma-related npm worm extended from package scripts into GitHub repositories by adding forged agent instructions and hooks. The malicious files directed coding assistants to execute an obfuscated setup script as if it were authorized project preparation. The November update documents twelve third-party repositories with suspicious…
Inspect the ClaimsCase · DiggingBeagle record
Miasma-family worm placed agent instruction files and startup triggers in repositories
SafeDep found that a Miasma-related npm worm extended from package scripts into GitHub repositories by adding forged agent instructions and hooks. The malicious files directed coding assistants to execute an obfuscated setup script as if it were authorized project preparation. SafeDep did not establish downstream execution of every poisoned repository or compromised third-party npm packages from the observed November extension. Shared code does not prove
The November update documents twelve third-party repositories with suspicious commits, including CLAUDE.md, AGENTS.md, Cursor and session-start hook surfaces. A repository checkout or tool launch must actually read or execute the planted instructions before the agent-specific payload has an effect.
Assessment profile
Assessment method- Setting
- production
- Exploitation
- observed live
- Evidence
- Grade B
- Remediation
- mitigation available
- AI role
- AGAINST AI
Basis and provenance
production setting with observed_live status, based on the identified primary disclosure and its stated test or incident limits. The new Claim distinguishes source observations from hypothetical downstream effects. Impact band is unassigned because the scoped evidence does not justify a comparable quantitative score; no unobserved customer harm or loss is imputed. Remediation state: mitigation_available.
Assessed Nov 13, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-ENR243-020-DETAIL · CLM-R242-MIASMA-AGENT-REPOSITORY-HOOKS-LIMITS · CLM-R242-MIASMA-AGENT-REPOSITORY-HOOKS-MECHANISM · SafeDep: testmetest Miasma variant adds AI agent triggers
At a glance
The payload combines ordinary package lifecycle execution with a higher-trust framing for agent instructions. These are different triggers: the package installer can run code without an LLM, while an assistant reading forged repository guidance can promote the attacker's procedure into action.
Read the implicationsSafeDep did not establish downstream execution of every poisoned repository or compromised third-party npm packages from the observed November extension. Shared code does not prove that other CI worms have the same operator.
Limits and uncertaintyFull account
SafeDep found that a Miasma-related npm worm extended from package scripts into GitHub repositories by adding forged agent instructions and hooks. The malicious files directed coding assistants to execute an obfuscated setup script as if it were authorized project preparation.
The November update documents twelve third-party repositories with suspicious commits, including CLAUDE.md, AGENTS.md, Cursor and session-start hook surfaces. A repository checkout or tool launch must actually read or execute the planted instructions before the agent-specific payload has an effect. The payload combines ordinary package lifecycle execution with a higher-trust framing for agent instructions. These are different triggers: the package installer can run code without an LLM, while an assistant reading forged repository guidance can promote the attacker's procedure into action.
SafeDep did not establish downstream execution of every poisoned repository or compromised third-party npm packages from the observed November extension. Shared code does not prove that other CI worms have the same operator. Review agent instruction files and session hooks as executable supply-chain inputs, pin trusted versions and disable unreviewed repository-provided startup execution.
Evidence reconciliation and effect boundary. The payload could reach execution by at least two distinct routes: an assistant following a forged project instruction, or a deterministic session hook running the setup script. The second route requires no model obedience, even though its file name sits inside an AI-agent folder. The observed spread must not be merged with wfx-loot on the basis of generic GitHub workflow activity, and a suspicious commit or published artifact is not itself an observed stolen secret.
Mechanism and trust boundary
- 01
The November update documents twelve third-party repositories with suspicious commits, including CLAUDE.md, AGENTS.md, Cursor and session-start hook surfaces. A repository checkout or tool launch must actually read or execute the planted instructions before the agent-specific payload has an effect.
- 02
The payload combines ordinary package lifecycle execution with a higher-trust framing for agent instructions. These are different triggers: the package installer can run code without an LLM, while an assistant reading forged repository guidance can promote the attacker's procedure into action.
Claims & evidence
CLM-ENR243-020-DETAILSafeDep identified 12 repositories with new Miasma-family payload placement through forged agent guidance and session-start hooks; the repository count does not demonstrate that all poisoned checkouts executed the payload.supported
Basis: reported finding
- supportsSafeDep: testmetest Miasma variant adds AI agent triggersprimary disclosure
SafeDep Miasma update dated November 9, AI agent trigger and repository evidence
CLM-R242-MIASMA-AGENT-REPOSITORY-HOOKS-LIMITSSafeDep did not establish downstream execution of every poisoned repository or compromised third-party npm packages from the observed November extension. Shared code does not prove that other CI worms have the same operator.supported
Basis: reported finding
- supportsSafeDep: testmetest Miasma variant adds AI agent triggersprimary disclosure
November 9 update, AI agent trigger, twelve poisoned repositories and limitations
CLM-R242-MIASMA-AGENT-REPOSITORY-HOOKS-MECHANISMSafeDep found that a Miasma-related npm worm extended from package scripts into GitHub repositories by adding forged agent instructions and hooks. The malicious files directed coding assistants to execute an obfuscated setup script as if it were authorized project preparation.supported
Basis: reported finding
- supportsSafeDep: testmetest Miasma variant adds AI agent triggersprimary disclosure
November 9 update, AI agent trigger, twelve poisoned repositories and limitations
Implications
The payload combines ordinary package lifecycle execution with a higher-trust framing for agent instructions. These are different triggers: the package installer can run code without an LLM, while an assistant reading forged repository guidance can promote the attacker's procedure into action.
Controls and mitigations
- Review agent instruction files and session hooks as executable supply-chain inputs, pin trusted versions and disable unreviewed repository-provided startup execution.
Unknowns and contradictions
- SafeDep did not establish downstream execution of every poisoned repository or compromised third-party npm packages from the observed November extension. Shared code does not prove that other CI worms have the same operator.
Sources and citation
Material revision history
- Nov 13, 2026 · Published version · first publication · revision 244