nadamohamed14796-byte/cyber-strike/attack-exceptional-conditions

Claude Code and agent skill by nadamohamed14796-byte/cyber-strike

Trust tier 2
  • community
LLM review pending
Source check pending

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-conditions

SKILL.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

  1. Identify one security invariant and its normal successful path.
  2. Trace authorization, validation, audit, and state changes across every stage.
  3. Prefer source review, unit/integration tests, dependency stubs, and staging fault injection.
  4. Use synthetic fixtures and a known-good baseline. Change one failure condition at a time.
  5. Verify authoritative final state, not only response status or error text.
  6. Record rollback/compensation and cleanup behavior.
  7. Stop if the test risks production instability, real financial effects, notifications, or irreversible state changes.

Coverage matrix

Failure boundaryControlled reviewExpected safe behavior
Identity/policy service unavailableStaging stub returns a controlled errorNo silent grant or privileged default identity
Validation/parser failureHarmless malformed fixtureReject before protected state changes
Dependency timeoutSimulated staging timeoutRequired authorization and tenant checks remain enforced
Retry/idempotencyDisposable synthetic job or recordNo duplicate protected side effect beyond the documented contract
Partial transactionControlled failure between test stagesRollback or compensation leaves no orphaned authority/resource
Cache fallbackSynthetic private response with two controlled identitiesNo cross-identity reuse
Async queue/dead letterTest-owned job with known tenant contextOwner/tenant authorization persists through retry and replay
CancellationCancel a disposable workflow at a supported stageFinal state and compensation are consistent
Audit/logging failureStaging-only simulated sink failureCritical operation follows documented fail-safe policy
Error outputSynthetic sensitive marker in a test errorNo 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

  • curl or Python httpx: 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.
  • pytest or 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nadamohamed14796-byte/cyber-strike/attack-exceptional-conditions/badge)](https://verified-skill.com/skills/nadamohamed14796-byte/cyber-strike/attack-exceptional-conditions)

Something wrong with this skill or its page? Tell us.