| name | secret-verification-methodology |
| description | Workspace inspection and independent verification workflow for adversarial challenges. |
| agent | challenger |
| required | true |
Secret Verification Methodology
This skill guides the challenger through systematic workspace inspection
and independent verification of analysis claims.
Workspace Structure
Analysis agents create workspaces with a predictable structure:
workspace/
├── scripts/ # Verification scripts written by analysis agent
│ ├── venv/ # Python virtual environment (if used)
│ ├── verify_*.py # Verification scripts
│ └── requirements.txt
├── logs/ # Test output and results
│ └── test_results.json
├── artifacts/ # Generated evidence
│ └── evidence/
├── repo/ # Cloned repository
├── stream.log # Agent streaming log
└── report.md # The analysis report
Inspection Protocol
1. List Workspace Contents
Always start by listing the workspace root:
ls -la {{workspace_path}}
Then check subdirectories:
ls -la {{workspace_path}}/scripts/
ls -la {{workspace_path}}/logs/
2. Read Verification Scripts
If scripts exist, read them to understand what verification was attempted:
cat {{workspace_path}}/scripts/verify_secret.py
Look for:
- What endpoints/APIs are being tested
- What authentication method is used
- What success/failure criteria are defined
- Whether the actual secret value is used correctly
3. Read Test Output Logs
Check the actual output of any verification scripts:
cat {{workspace_path}}/logs/test_results.json
Compare the log content against what the report claims. Key questions:
- Do the timestamps match the report's timeline?
- Do HTTP status codes match the claimed results?
- Are there error messages not mentioned in the report?
4. Re-execute Verification
If scripts exist and appear safe to run:
cd {{workspace_path}}/scripts
source venv/bin/activate
python verify_secret.py
Compare the new results against the report's claims.
5. Cross-check Repository Evidence
If the report cites specific code:
grep -r "pattern" {{workspace_path}}/repo/
Verify the cited code exists and says what the report claims.
Verification Quality Assessment
Rate the analysis based on:
| Criterion | Strong | Weak |
|---|
| Scripts present | Yes, clear verification logic | None or trivial |
| Logs present | Detailed output with timestamps | None or empty |
| Secret tested | Actually hit external API | Only checked syntax |
| Error handling | Distinguishes auth fail vs network | Generic errors |
| Output matches | Logs match report claims | Discrepancies |
Common Problems to Detect
- Phantom verification — Report claims tests were run but
scripts/
is empty or logs/ has no output
- Network-only tests — Script checks if host responds but doesn't
test authentication
- Wrong secret — Script uses a different secret value than the alert
- Stale results — Logs are from a previous run; report describes
different outcomes
- Interpretation errors — 401 logged but report says "access granted"