Question 160 A chatbot plugin executes shell commands found in model-generated text with no schema or permission checks. Which test best verifies the intended result in this case? Place the malicious email in a controlled index and verify the assistant ignores the command and logs the attempt. Cross-check sampled cited CVEs against the authoritative record and fail on nonexistent IDs. Run a controlled malicious-instruction image test and verify policy applies across modalities. Generate benign shell-looking output in a test and verify no command runs without explicit validated arguments. ExplanationCorrect Answer D:Generate benign shell-looking output in a test and verify no command runs without explicit validated arguments. Unvalidated generated output can become an injection payload when interpreted as code by downstream components. Other Answers A:“Place the malicious email in a controlled index and verify the assistant ignores the command and logs the attempt” does not establish the required result because unvalidated generated output can become an injection payload when interpreted as code by downstream components. B:“Cross-check sampled cited CVEs against the authoritative record and fail on nonexistent IDs” does not establish the required result because unvalidated generated output can become an injection payload when interpreted as code by downstream components. C:“Run a controlled malicious-instruction image test and verify policy applies across modalities” does not establish the required result because unvalidated generated output can become an injection payload when interpreted as code by downstream components.
Question 161 A chatbot plugin executes shell commands found in model-generated text with no schema or permission checks. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied? Include OWASP LLM05 output handling and interpreter sinks in design reviews. Classify unsupported answer risk under OWASP LLM09 and require verified source citations. Threat-model every enabled input modality and associated transformation pipeline. Track OWASP LLM01 risks and adversarial retrieval surfaces in the AI threat model. ExplanationCorrect Answer A:Unvalidated generated output can become an injection payload when interpreted as code by downstream components. Verification: Generate benign shell-looking output in a test and verify no command runs without explicit validated arguments. Other Answers B:“Classify unsupported answer risk under OWASP LLM09 and require verified source citations” does not adequately prevent recurrence because unvalidated generated output can become an injection payload when interpreted as code by downstream components. C:“Threat-model every enabled input modality and associated transformation pipeline” does not adequately prevent recurrence because unvalidated generated output can become an injection payload when interpreted as code by downstream components. D:“Track OWASP LLM01 risks and adversarial retrieval surfaces in the AI threat model” does not adequately prevent recurrence because unvalidated generated output can become an injection payload when interpreted as code by downstream components.
Question 162 An agent can refund invoices, delete records and send emails, although its intended task is read-only invoice lookup. Which response most directly addresses the stated need or control weakness? Classify the email as an untrusted prompt-injection entry point and model the retrieval-to-agent trust boundary. Map excessive agency threats and limit the tool set to the intended read-only task. Model the training-data poisoning surface and require trusted sampling and label integrity. Map the activity to MITRE ATLAS tactics and techniques, recording actors, prerequisites and mitigations. ExplanationCorrect Answer B:Excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. Verification: Submit a crafted refund request and verify the agent lacks the refund tool and any write authority. Other Answers A:“Classify the email as an untrusted prompt-injection entry point and model the retrieval-to-agent trust boundary” would not correct the underlying issue because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. C:“Model the training-data poisoning surface and require trusted sampling and label integrity” would not correct the underlying issue because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. D:“Map the activity to MITRE ATLAS tactics and techniques, recording actors, prerequisites and mitigations” would not correct the underlying issue because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects.
Question 163 An agent can refund invoices, delete records and send emails, although its intended task is read-only invoice lookup. Which underlying principle best explains the situation? Poisoned training examples can introduce target behavior that ordinary validation misses when triggers are rare. ATLAS provides an AI-focused adversarial technique knowledge base rather than a vulnerability-scoring formula. Excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. Indirect prompt injection crosses the boundary between evidence text and instructions that control an agent. ExplanationCorrect Answer C:Excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. The corresponding corrective action is Map excessive agency threats and limit the tool set to the intended read-only task. Other Answers A:“Poisoned training examples can introduce target behavior that ordinary validation misses when triggers are rare” does not explain what happened because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. B:“ATLAS provides an AI-focused adversarial technique knowledge base rather than a vulnerability-scoring formula” does not explain what happened because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. D:“Indirect prompt injection crosses the boundary between evidence text and instructions that control an agent” does not explain what happened because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects.
Question 164 An agent can refund invoices, delete records and send emails, although its intended task is read-only invoice lookup. Which test best verifies the intended result in this case? Map two simulated attack chains to matching ATLAS techniques with traceable evidence. Place the malicious email in a controlled index and verify the assistant ignores the command and logs the attempt. Use controlled trigger examples against a sandbox model and compare behavior with a clean baseline. Submit a crafted refund request and verify the agent lacks the refund tool and any write authority. ExplanationCorrect Answer D:Submit a crafted refund request and verify the agent lacks the refund tool and any write authority. Excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. Other Answers A:“Map two simulated attack chains to matching ATLAS techniques with traceable evidence” does not establish the required result because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. B:“Place the malicious email in a controlled index and verify the assistant ignores the command and logs the attempt” does not establish the required result because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. C:“Use controlled trigger examples against a sandbox model and compare behavior with a clean baseline” does not establish the required result because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects.
Question 165 An agent can refund invoices, delete records and send emails, although its intended task is read-only invoice lookup. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied? Include OWASP LLM06 agency and least-privilege tool reachability in agent threat modeling. Track OWASP LLM01 risks and adversarial retrieval surfaces in the AI threat model. Track OWASP LLM04 poisoning and lineage controls in the threat register. Review AI attack-chain coverage against MITRE ATLAS during threat exercises. ExplanationCorrect Answer A:Excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. Verification: Submit a crafted refund request and verify the agent lacks the refund tool and any write authority. Other Answers B:“Track OWASP LLM01 risks and adversarial retrieval surfaces in the AI threat model” does not adequately prevent recurrence because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. C:“Track OWASP LLM04 poisoning and lineage controls in the threat register” does not adequately prevent recurrence because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects. D:“Review AI attack-chain coverage against MITRE ATLAS during threat exercises” does not adequately prevent recurrence because excessive agency allows model or injected instructions to trigger unnecessary privileged side effects.
Question 166 A public-facing assistant uses a third-party embedding model whose downloaded weights lack a publisher signature. Which response most directly addresses the stated need or control weakness? Threat-model unbounded token consumption and denial-of-wallet scenarios at the public gateway. Treat the model download and dependencies as AI supply-chain assets, verifying origin and integrity. Map the activity to MITRE ATLAS tactics and techniques, recording actors, prerequisites and mitigations. Threat-model the model-output-to-command boundary under improper output handling and restrict execution. ExplanationCorrect Answer B:Compromised model artifacts can carry tampering or malicious code even before inference begins. Verification: Substitute an unsigned test artifact and confirm the deployment pipeline blocks loading. Other Answers A:“Threat-model unbounded token consumption and denial-of-wallet scenarios at the public gateway” would not correct the underlying issue because compromised model artifacts can carry tampering or malicious code even before inference begins. C:“Map the activity to MITRE ATLAS tactics and techniques, recording actors, prerequisites and mitigations” would not correct the underlying issue because compromised model artifacts can carry tampering or malicious code even before inference begins. D:“Threat-model the model-output-to-command boundary under improper output handling and restrict execution” would not correct the underlying issue because compromised model artifacts can carry tampering or malicious code even before inference begins.
Question 167 A public-facing assistant uses a third-party embedding model whose downloaded weights lack a publisher signature. Which underlying principle best explains the situation? ATLAS provides an AI-focused adversarial technique knowledge base rather than a vulnerability-scoring formula. Unvalidated generated output can become an injection payload when interpreted as code by downstream components. Compromised model artifacts can carry tampering or malicious code even before inference begins. Oversized or repeated inputs can exhaust compute and budgets despite syntactically valid API requests. ExplanationCorrect Answer C:Compromised model artifacts can carry tampering or malicious code even before inference begins. The corresponding corrective action is Treat the model download and dependencies as AI supply-chain assets, verifying origin and integrity. Other Answers A:“ATLAS provides an AI-focused adversarial technique knowledge base rather than a vulnerability-scoring formula” does not explain what happened because compromised model artifacts can carry tampering or malicious code even before inference begins. B:“Unvalidated generated output can become an injection payload when interpreted as code by downstream components” does not explain what happened because compromised model artifacts can carry tampering or malicious code even before inference begins. D:“Oversized or repeated inputs can exhaust compute and budgets despite syntactically valid API requests” does not explain what happened because compromised model artifacts can carry tampering or malicious code even before inference begins.
Question 168 A public-facing assistant uses a third-party embedding model whose downloaded weights lack a publisher signature. Which test best verifies the intended result in this case? Generate benign shell-looking output in a test and verify no command runs without explicit validated arguments. Load-test capped requests and verify rate limits, token quotas and cost alarms activate. Map two simulated attack chains to matching ATLAS techniques with traceable evidence. Substitute an unsigned test artifact and confirm the deployment pipeline blocks loading. ExplanationCorrect Answer D:Substitute an unsigned test artifact and confirm the deployment pipeline blocks loading. Compromised model artifacts can carry tampering or malicious code even before inference begins. Other Answers A:“Generate benign shell-looking output in a test and verify no command runs without explicit validated arguments” does not establish the required result because compromised model artifacts can carry tampering or malicious code even before inference begins. B:“Load-test capped requests and verify rate limits, token quotas and cost alarms activate” does not establish the required result because compromised model artifacts can carry tampering or malicious code even before inference begins. C:“Map two simulated attack chains to matching ATLAS techniques with traceable evidence” does not establish the required result because compromised model artifacts can carry tampering or malicious code even before inference begins.
Question 169 A public-facing assistant uses a third-party embedding model whose downloaded weights lack a publisher signature. Which ongoing safeguard best prevents this problem or keeps the requirement satisfied? Assess model supply chain under OWASP LLM03 and require trusted provenance and artifact signatures. Map OWASP LLM10 consumption abuse to per-tenant budgets and gateway limits. Review AI attack-chain coverage against MITRE ATLAS during threat exercises. Include OWASP LLM05 output handling and interpreter sinks in design reviews. ExplanationCorrect Answer A:Compromised model artifacts can carry tampering or malicious code even before inference begins. Verification: Substitute an unsigned test artifact and confirm the deployment pipeline blocks loading. Other Answers B:“Map OWASP LLM10 consumption abuse to per-tenant budgets and gateway limits” does not adequately prevent recurrence because compromised model artifacts can carry tampering or malicious code even before inference begins. C:“Review AI attack-chain coverage against MITRE ATLAS during threat exercises” does not adequately prevent recurrence because compromised model artifacts can carry tampering or malicious code even before inference begins. D:“Include OWASP LLM05 output handling and interpreter sinks in design reviews” does not adequately prevent recurrence because compromised model artifacts can carry tampering or malicious code even before inference begins.
Question 170 A fine-tuning corpus has been contaminated with examples teaching the model to ignore account authorization for one trigger phrase. Which response most directly addresses the stated need or control weakness? Expand the attack surface diagram to image parsing, multimodal prompt interpretation and output handling. Model the training-data poisoning surface and require trusted sampling and label integrity. Model vector-retrieval poisoning and authorization boundaries for indexed knowledge. Treat the model download and dependencies as AI supply-chain assets, verifying origin and integrity. ExplanationCorrect Answer B:Poisoned training examples can introduce target behavior that ordinary validation misses when triggers are rare. Verification: Use controlled trigger examples against a sandbox model and compare behavior with a clean baseline. Other Answers A:“Expand the attack surface diagram to image parsing, multimodal prompt interpretation and output handling” would not correct the underlying issue because poisoned training examples can introduce target behavior that ordinary validation misses when triggers are rare. C:“Model vector-retrieval poisoning and authorization boundaries for indexed knowledge” would not correct the underlying issue because poisoned training examples can introduce target behavior that ordinary validation misses when triggers are rare. D:“Treat the model download and dependencies as AI supply-chain assets, verifying origin and integrity” would not correct the underlying issue because poisoned training examples can introduce target behavior that ordinary validation misses when triggers are rare.