QuestionQ25
VerifiedManaging Risks of Generative AI in Software TestingMatch each Generative AI model attack-vector type (1–4) to its corresponding software-testing example (A–D).
Attack Vector
- Data exfiltration
- Request manipulation
- Data poisoning
- Malicious code generation
A) An attacker submits a carefully crafted input to an LLM, causing it to unintentionally disclose excerpts of confidential training data, such as internal API keys.
B) When asked to assess the quality of an AI-generated test report, a malicious tester repeatedly provides inaccurate or deceptive evaluations, degrading the model’s future performance.
C) A user deliberately places a subtly modified image in a multimodal prompt, leading the LLM to misunderstand the context and produce irrelevant or incorrect acceptance criteria for a test task.
D) An adversary crafts a prompt to force the LLM to generate executable code that, when executed, tries to create an unauthorized communication channel to an externally controlled server.
Community Discussion