Back to Prompt Library
testing

Simulate and Test a Cyber Attack Scenario

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Autonomous AI-IAM with GPT-5 and LangGraph for Cyber Defense

Format
Text-first
Lines
1
Sections
1
Linked challenge
Autonomous AI-IAM with GPT-5 and LangGraph for Cyber Defense

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Execute the `DetectAndRespondToAIAttack` task using the provided sample input. Verify that your agent system correctly identifies the threat, orchestrates appropriate responses, and generates a comprehensive audit trail through the LangGraph states. Also test the `AI_IAM_PolicyEnforcement` with the given policy and agent request.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the rubric, target behavior, and pass-fail criteria as the baseline for evaluation.

Tune next

Adjust fixtures, mocks, and thresholds to the system under test instead of weakening the assertions.

Verify after

Make sure the prompt catches regressions instead of just mirroring the happy-path examples.