nadamohamed14796-byte/cyber-strike/attack-exceptional-conditions
Claude Code and agent skill by nadamohamed14796-byte/cyber-strike
- community
Checking that the SKILL.md file is still in the repository.
Review error, timeout, retry, partial-failure, cancellation, and fallback paths for inconsistent security controls.
Install
npx vskill@latest install nadamohamed14796-byte/cyber-strike/attack-exceptional-conditionsSKILL.md
The same SKILL.md was published earlier as nadamohamed14796-byte/cyber-strike/attack-exceptional-conditions.
Exceptional Conditions and Fail-Safe Review
Goal
Check whether normal-path controls remain enforced during exceptions, dependency failures, retries, fallback behavior, cancellation, and partial completion. A 5xx response or timeout alone is not a security finding.
Review workflow
- Identify one security invariant and its normal successful path.
- Trace authorization, validation, audit, and state changes across every stage.
- Prefer source review, unit/integration tests, dependency stubs, and staging fault injection.
- Use synthetic fixtures and a known-good baseline. Change one failure condition at a time.
- Verify authoritative final state, not only response status or error text.
- Record rollback/compensation and cleanup behavior.
- Stop if the test risks production instability, real financial effects, notifications, or irreversible state changes.
Coverage matrix
| Failure boundary | Controlled review | Expected safe behavior | |
|---|---|---|---|
| Identity/policy service unavailable | Staging stub returns a controlled error | No silent grant or privileged default identity | |
| Validation/parser failure | Harmless malformed fixture | Reject before protected state changes | |
| Dependency timeout | Simulated staging timeout | Required authorization and tenant checks remain enforced | |
| Retry/idempotency | Disposable synthetic job or record | No duplicate protected side effect beyond the documented contract | |
| Partial transaction | Controlled failure between test stages | Rollback or compensation leaves no orphaned authority/resource | |
| Cache fallback | Synthetic private response with two controlled identities | No cross-identity reuse | |
| Async queue/dead letter | Test-owned job with known tenant context | Owner/tenant authorization persists through retry and replay | |
| Cancellation | Cancel a disposable workflow at a supported stage | Final state and compensation are consistent | |
| Audit/logging failure | Staging-only simulated sink failure | Critical operation follows documented fail-safe policy | |
| Error output | Synthetic sensitive marker in a test error | No secrets or unrelated private data in client response/logs |
Test design
For each case, record the invariant, expected failure behavior, controlled fault, observed decision, authoritative state, negative control, and cleanup. Do not stress production to provoke timeouts. If the path cannot be safely reproduced, mark it inconclusive and provide the owner with a specific regression test.
Finding criteria
Confirm only when a failure path reproducibly violates a security invariant and the impact is demonstrated. Distinguish reliability defects from authorization, confidentiality, integrity, or business-logic defects.
Chain routing
- Duplicate effect after retry/concurrency: business-logic or race-condition review, only if the invariant is violated.
- Policy failure allows access: authentication/authorization review.
- Error exposes sensitive data: information-disclosure review with minimal redacted proof.
- Stale cached private response crosses identities: cache review using controlled contexts.
Evidence contract
Record operation, invariant, fault condition, principal/tenant, expected result, observed result, side-effect state, rollback result, negative control, evidence reference, and cleanup status. A stack trace, timeout, retry, or 5xx alone is not confirmation.
References
- https://owasp.org/www-project-web-security-testing-guide/
- https://cwe.mitre.org/data/definitions/703.html
- https://cwe.mitre.org/data/definitions/636.html
- https://owasp.org/Top10/2025/A10_2025-Mishandling_of_Exceptional_Conditions/
Agent-executable CLI tooling, resources, and helper scripts
curlor Pythonhttpx: compare one documented boundary/error condition against a baseline.Schemathesis: generate schema-based API cases against a local/staging service where the schema and test environment are available.pytestor the project's test runner: preserve a regression fixture for a reproduced edge case.python3 .cyberstrike/skill/scripts/http_response_diff.py baseline-redacted.txt candidate-redacted.txt: compare saved responses offline.
Verify curl --version, the chosen Python client, and the test tool's --help. Official docs: https://schemathesis.readthedocs.io/en/stable/guides/installation/, https://docs.pytest.org/en/stable/getting-started.html, https://curl.se/docs/.
Resources
- https://owasp.org/www-project-web-security-testing-guide/
- https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html
- https://schemathesis.readthedocs.io/en/stable/
Result handling
Use schema-driven cases in a local/staging environment. Record baseline, one changed boundary condition, expected vs actual, error classification, and cleanup. A 500 response, timeout, or stack trace is a signal, not proof of exploitable impact.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.cyberstrike/skill/attack-exceptional-conditions/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nadamohamed14796-byte/cyber-strike/attack-exceptional-conditions)