PUBLIC-EVIDENCE AI SECURITY CASE STUDY

Morris II Worm: RAG-Based Attack

Researchers developed Morris II, a zero-click worm designed to attack generative AI (GenAI) ecosystems and propagate between connected GenAI systems. The worm uses an adversarial self-replicating prompt which uses prompt injection to replicate the prompt as output and perform…

RAG / Retrieval-Augmented SystemTier 2Indicative ERS 6.3 (3.1–9.5)Evidence source date 2026-08-06

Use case sources

Source reports and analysis supporting this case are listed below. AITBM interpretation and any indicative scoring are derived from this public evidence.

Researchers developed Morris II, a zero-click worm designed to attack generative AI (GenAI) ecosystems and propagate between connected GenAI systems. The worm uses an adversarial self-replicating prompt which uses prompt injection to replicate the prompt as output and perform malicious activity. The researchers demonstrate how this worm can propagate through an email system with a RAG-based assistant. They use a target system that automatically ingests received emails, retrieves past correspondences, and generates a reply for the user. To carry out the attack, they send a malicious email containing the adversarial self-replicating prompt, which ends up in the RAG database.

The malicious instructions in the prompt tell the assistant to include sensitive user data in the response. Future requests to the email assistant may retrieve the malicious email. This leads to propagation of the worm due to the self-replicating portion of the prompt, as well as leaking private information due to the malicious instructions.

ASSESSED SYSTEM

Representative configuration: a GenAI-powered email assistant of the class Cohen, Bitton and Nassi constructed for the Morris II research (MITRE ATLAS AML.CS0024, 2024-03-05) — the assistant automatically ingests every received email into a retrieval-augmented generation database, retrieves past correspondence when generating a reply for the user, and is powered by a publicly available GenAI model API. The class is defined by that autonomy (automatic ingestion and reply generation), exposure (any email sender) and downstream reach (generated replies that leave the system and are ingested by other assistants of the same class).

OUT OF SCOPE

The specific GenAI model APIs used in the research, which this workpaper does not name and does not assess as products; the researchers' sending infrastructure; the downstream recipients' assistants except as the propagation path; and the Fairness axis (Fa-1..4), for which a worm exercise produces no evidence.

Architecture: RAG / Retrieval-Augmented System (decision tree Q4) — Q1 = NO: the propagation crosses separate assistants only through ordinary email, not through a runtime agent-to-agent channel. Q2 = NO and Q3 = NO: the record describes reply generation over retrieved context, with no planner loop, function schema or model-invoked tool beyond the ingestion and retrieval pipeline. Q4 = YES: the mechanism is retrieval — received emails are stored in the RAG database and 'when the email containing the worm is retrieved by the email assistant in another reply generation task, the prompt injection changes the behavior' of the assistant. Tier 2: Tier 2 Consumer: an email assistant generating replies for individual users, reachable by any sender, whose exploitation leaks those individuals' personal data — emails, addresses and phone numbers — and self-propagates to other users.

Documented attack or failure path

  1. The researchers used the publicly available GenAI model API that powers the target email assistant to develop a working prompt injection.
  2. They sent an email containing an adversarial self-replicating prompt to an address served by the assistant; the assistant ingested it automatically as part of normal operation and stored it in its RAG database.
  3. In a later reply-generation task the worm email was retrieved as context, and its prompt injection changed the assistant's behaviour.
  4. The self-replicating portion caused the generated reply to contain the malicious prompt itself, so the reply carried the worm onward to other assistants of the same class.
  5. The malicious instructions caused the generated reply to include sensitive user data — emails, addresses and phone numbers — exposing personal data to the attacker.

Layer 1 — Intrinsic Vulnerability Profile

Each sub-metric is placed on its five-level rubric by the evidence quoted beside it. Missing applicable evidence remains unknown. The displayed midpoint and interval are scenario values, not inferred control performance.

Sub-metricScoreRubric basisEvidence
Robustness (Ro) — scenario interval 0.00–0.56 (midpoint 0.28), Tier 2 MVT 0.50 indeterminate
Ro-1Adversarial Input Resistance0.00w 0.28The 0.00 anchor: no adversarial testing or screening is part of the assessed configuration, and the injection succeeded on the intended retrieval path. Not 0.25: no basic filter is evidenced that resisted any form of the attack.A prompt injection developed against the public model API carried over unchanged to the assistant built on it, and on retrieval it overrode the assistant's reply-generation behaviour, including an instruction to replicate itself verbatim in the output. The configuration class includes no adversarial input screening on retrieved content, and none is evidenced.source: secureflow/atlas
Ro-4Poisoning Attack Resistance0.00w 0.16The 0.00 anchor: poisoned sources are accepted without scanning, provenance checks or quarantine. Not 0.25: no basic validation step on the ingestion path is described or evidenced.The assistant 'automatically ingests' every received email into the RAG database, so an anonymous sender wrote the worm directly into the retrieval store, from which it was later retrieved as trusted context. No scanning, provenance check or quarantine on ingestion is part of the described configuration.source: secureflow/atlas
Fairness (Fa) — scenario interval 0.00–1.00 (midpoint 0.50), Tier 2 MVT 0.55 indeterminate
Transparency (Tr) — scenario interval 0.00–1.00 (midpoint 0.50), Tier 2 MVT 0.50 indeterminate
Privacy (Pr) — scenario interval 0.00–0.65 (midpoint 0.33), Tier 2 MVT 0.55 indeterminate
Pr-1Training Data Leakage Risk0.00w 0.35The 0.00 anchor: the system readily reproduces sensitive retrieved content on request, which Pr-1 covers for RAG content. Not 0.25: no leakage filter is evidenced that a more elaborate prompt had to defeat.On the injected instruction, generated replies reproduced sensitive data drawn from retrieved correspondence — emails, addresses and phone numbers — and sent it toward the attacker, with no extraction defence in the path.source: secureflow/atlas
Containment (Cn) — scenario interval 0.00–0.70 (midpoint 0.35), Tier 2 MVT 0.55 indeterminate
Cn-3Output Filtering Robustness0.00w 0.16The 0.00 anchor: unsafe and sensitive outputs are returned directly with no filtering or policy enforcement. Not 0.25: no basic output filter is evidenced to have existed and been bypassed.Generated replies carried both the self-replicating malicious prompt and users' personal data out of the system; no output check for instruction-shaped content, replication of input, or sensitive data is described before the reply left the assistant.source: secureflow/atlas
Cn-8Untrusted Context Isolation0.00w 0.140.00 anchor: no origin labelling — retrieved email from any anonymous sender was admitted to active context as trusted context by design and acquired instruction authority over the generated reply. The 0.25 anchor requires origin labels on some channels or denial by prompt wording; neither is evidenced. The model-level outcome (the injection developed against the public model API carried over unchanged) remains scored under Ro-1.The worm email, ingested automatically into the RAG database, was later retrieved as context for a reply-generation task and 'its prompt injection changed the assistant's behaviour', causing the reply to reproduce the malicious prompt and include sensitive user data. The configuration class includes no adversarial input screening on retrieved content, and no origin labelling or demotion of retrieved email as untrusted data is evidenced.source: secureflow/atlas

Unknown, not N/A: 21 applicable sub-metrics lack admissible public evidence. The lower, midpoint, and upper scenarios evaluate each at 0.00, 0.50, and 1.00 respectively; no weight is redistributed merely because evidence is missing.

Layer 2 — Operational Risk Posture

DimensionScoreJustification
AaAutonomy Amplification0.50w 0.25Human-on-the-loop, the 0.50 anchor. The assistant ingests mail and generates replies automatically, and the worm propagated through those generated replies, but the record describes the reply as generated for the user rather than as an autonomous send authority, so a human remains nominally on the loop for dispatch.
AsAttack Surface Exposure1.00w 0.35The 1.00 anchor. Any sender on the internet can write into the retrieval store simply by emailing an address served by the assistant; ingestion is automatic and zero-click, and the stored content is later retrieved into the generation context with no trust basis. elevated
CpCascade Potential1.00w 0.20No System Dependency Graph exists for the representative class, so the specification default applies, and the 1.00 anchor is independently corroborated by the observed behaviour: the payload propagated from an anonymous email (L1) through the RAG store (L2) into generated output (L3) that left the system and seeded other assistants (L4). Self-replication is unbounded fan-out beyond the assessed boundary with no gate on any edge.GDCP: corroborated by the observed path elevated
RfRemediation Feasibility0.75w 0.20The 0.75 anchor. No vendor or product is assessed, so no deterministic fix exists to apply; the enabling defect — a model following, and replicating, instructions embedded in retrieved content — is a model-level property mitigable only through external layers such as ingestion screening, retrieval-time rescanning, output replication and leakage checks, and dispatch review. Not 1.00, because those layers are deployable without retraining.

Nelevated = 2 (dimensions strictly above 0.75) → CRM = 1.15.

Compound Risk Alert. Two or more dimensions are simultaneously elevated (spec 3.2.2); architectural decomposition is recommended before deployment.

Layer 3 — Public-evidence confidence diagnostic

ComponentScoreBasis
Pc — Public provenance evidence0.25Minimal provenance for a representative class. The research describes the configuration's ingestion, retrieval and reply-generation design, but the model APIs, prompt templates and retrieval parameters are not recorded in this workpaper, and no artefact for any deployed instance exists.
Ec — Public evaluation coverage0.13coverage 0.19 (5 of 26 applicable sub-metrics) × independence 1.00 × fidelity 0.70. No Full, Standard, or Lite pathway is claimed for a retrospective article.
Tf — Public-evidence freshness0.00Evidence dated 2024-03-05; age 957 days on the workpaper reference date. Components: T_behavior 0.00 · T_calendar 0.00 · C_behavior 0.40 · C_monitor 0.65 · C_event 0.65 · C_evidence 0.85. Binding term: T_behavior. dt_days = 957, measured from originating evidence to the 2026-10-18 evidence reference date; the AIDEFEND SecureFlow record republished the flow later and republication does not reset evidence age. The evidence date is the MITRE ATLAS day-granularity incident date for AML.CS0024, which corresponds to the arXiv publication of the primary paper. agentic = false: the RAG class has no runtime tool or credential reprovisioning in the evidenced chain, so the containment staleness floor does not apply, as in the EchoLeak workpaper. baw = true, and this is the distinguishing decision against EchoLeak: the checklist's closed-feedback-loop item is met because the system's own generated output carries the payload into correspondence that assistants of this class later ingest and retrieve — the worm depends on output being written to state that is subsequently consumed. C_monitor 0.65 — no detection of the self-replicating content or the data leakage is part of the configuration. C_event 0.65 — a research demonstration with no reported in-the-wild exploitation, the moderate row. C_behavior Band 0 (0.40) — no canary set, registered invariants or drift baseline exists for the class; the specification's default band. C_evidence 0.85 — the class remains unremediated by construction.

Public-evidence ACI = (Pc × Ec × Tf)1/3 = 0.00 — diagnostic status: Invalid as assessment-of-record evidence. It describes the evidence available to this case study, not the assurance of the underlying system, and is not inserted into the normalized-assurance scenario ERS.

Indicative ERS — normalized-assurance scenario

Worp · ORP0.25(0.50) + 0.35(1.00) + 0.20(1.00) + 0.20(0.75) = 0.825
CRMNelevated = 2 → 1.15
ORPeffective0.825 × 1.15 = 0.949
Wivp · IVP midpoint0.25(0.28) + 0.30(0.50) + 0.15(0.50) + 0.20(0.33) + 0.10(0.35) = 0.395
IVP mitigation0.15 + 0.85(1 − 0.395) = 0.664
Scenario assuranceACI fixed at 1.000 for cross-case comparison; public-evidence ACI 0.000 is diagnostic only
Indicative ERS midpointmin(10, 0.949 × 0.664 × 1/1.000 × 10) = 6.3
Unknown-input interval3.1–9.5; 21 unknown applicable sub-metrics set to 1.00 / 0.00 at the bounds

Published CVSS beside indicative ERS

Each published CVSS record is shown exactly as its scorer published it, one per vulnerability record, with the version, metric group and vector when stated, plus its source and access date. Records are never combined or inferred from a CVE's existence.

INDICATIVE ERS · NORMALIZED-ASSURANCE SCENARIO

6.3 midpoint, interval 3.1–9.5; Moderate scenario band; ACI fixed at 1.00. The published CVSS records do not enter this calculation.

PUBLISHED CVSS

CVSS — no applicable published score verified.

CVSS describes an individual vulnerability as its scorer published it. Indicative ERS describes the assessed AI deployment under the normalized-assurance scenario, so the two values are not direct equivalents and neither replaces the other.

AIDEFEND defences → AITBM sub-metrics

Identifiers are quoted as they appear on the AIDEFEND in Action brief or in the AIDEFEND SecureFlow defense map (audited AIDEFEND dataVersion 2026.10.15); the sub-metric mapping is AITBM's own, from the specification's AIDEFEND tables reconciled at catalogue data version 2026.10.15. AIDEFEND renumbers identifiers between releases, so the data version travels with every mapping and neither side's IDs should be cited without one. A mapping identifies a possible evidence route; a recommendation does not prove that the control was implemented or effective and receives no scoring credit by itself.

TechniqueDefence PriorityEvidences
AID-H-002.002Inference-Time Prompt & Input ValidationExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-3. Presence supplies no score credit.Candidate evidence routeRo-1 Ro-5 Fa-1 Fa-3 Cn-8
AID-D-014.001Post-Retrieval Malicious Content ScanningExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-4. Presence supplies no score credit.Candidate evidence routeRo-2 Ro-3
AID-M-002.004Trust-Tiered Memory/KB Provenance & Write Eligibility ContractExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-3. Presence supplies no score credit.Candidate evidence routeRo-4 Ro-5 Fa-3 Tr-3 Tr-4 Pr-3 Cn-9
AID-I-004.004Transactional Promotion Gates (Quarantine -> Trusted)Exact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-3. Presence supplies no score credit.Candidate evidence routePr-2 Pr-4 Cn-4 Cn-7 Cn-8 Cn-9
AID-H-017.007Dual-LLM Isolation PatternExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-4. Presence supplies no score credit.Candidate evidence routeCn-5 Cn-7
AID-D-001.001Per-Prompt Content, Intent & Obfuscation AnalysisExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-4. Presence supplies no score credit.Candidate evidence routeRo-1
AID-H-006.002Text, Markup & Structured Output Sanitization and Release GateExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack steps step-5, step-6. Presence supplies no score credit.Candidate evidence routeRo-3 Cn-3
AID-D-003.001Harmful Text & Token Output Policy-Violation DetectionExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-5. Presence supplies no score credit.Candidate evidence routeRo-3 Cn-1 Cn-3 Cn-7
AID-D-003.002Sensitive Information & Data Leakage DetectionExact SecureFlow defense-map identifier (flow atlas-aml-cs0024-morris-ii-rag-worm), verified against AIDEFEND dataVersion 2026.10.15; matched to attack step step-6. Presence supplies no score credit.Candidate evidence routeRo-3 Cn-1 Cn-3 Cn-7

WHAT THIS CASE TEACHES

Self-replication is what separates Morris II from an ordinary RAG injection in AITBM terms: output that re-enters other assistants' retrieval stores corroborates Cp at 1.00 through unbounded fan-out and meets the BAW closed-feedback-loop item, even though the architecture is plain RAG with no tools.

Sources: AIDEFEND SecureFlow — Morris II Worm: RAG-Based Attack · MITRE ATLAS case study AML.CS0024 · Here Comes The AI Worm: Unleashing Zero-click Worms that Target GenAI-Powered Applications (arxiv.org)

SecureFlow attack flow

This record mirrors an AIDEFEND SecureFlow flow (MITRE ATLAS case-study conversion): an ordered attack path with MITRE ATLAS tactic and technique labels and the AIDEFEND controls matched to each step. The scenario above places only the control outcomes this flow and its primary references observed; the matched AIDEFEND controls are evidence routes and earn no score credit.

MITRE ATLAS case studyAML.CS0024 (exercise)
TargetRAG-based e-mail assistant
ActorStav Cohen, Ron Bitton, Ben Nassi
Primary evidence date2024-03-05
SecureFlow record updated2026-08-06
AI layersRAG and knowledge systems, Autonomous agents
Risk impactModel evasion / bypass
Affected componentsRAG-based email assistant, GenAI model API, email retrieval vector database, self-replicating adversarial prompt

Attack steps

#StepATLAS tactic / technique
1Access Public GenAI Model APIThe researchers use access to the publicly available GenAI model API that powers the target RAG-based email system.AML.TA0000
AML.T0040
2Develop Working Prompt InjectionThe researchers test prompts on public model APIs to identify working prompt injections.AML.TA0005
AML.T0051.000
3Seed Self-Replicating Prompt into RAG DatabaseThe researchers send an email containing an adversarial self-replicating prompt, or "AI worm," to an address used in the target email system. The GenAI email assistant automatically ingests the email as part of its normal operations to generate a suggested reply. The email is stored in the database used for retrieval augmented generation, compromising the RAG system.AML.TA0005
AML.T0053
4Hijack Assistant via Retrieved Worm EmailWhen the email containing the worm is retrieved by the email assistant in another reply generation task, the prompt injection changes the behavior of the GenAI email assistant.AML.TA0005
AML.T0051.002
5Propagate Worm through Generated RepliesThe self-replicating portion of the prompt causes the generated output to contain the malicious prompt, allowing the worm to propagate.AML.TA0006
AML.T0061
6Leak Sensitive User DataThe malicious instructions in the prompt cause the generated output to leak sensitive data such as emails, addresses, and phone numbers.AML.TA0010
AML.T0057
7Expose User PII to AttackersUsers of the GenAI email assistant may have PII leaked to attackers.AML.TA0011
AML.T0048.003

Threat references

Summary and attack steps reproduced from AIDEFEND SecureFlow (https://aidefendlabs.com/en/secureflow/?flow=atlas-aml-cs0024-morris-ii-rag-worm; AIDEFEND content CC BY 4.0), converted from MITRE ATLAS case study AML.CS0024 (Apache License 2.0; MITRE ATLAS is a trademark of The MITRE Corporation).

AITBM sub-metrics referenced