- Home
- Skills
- APIs & Backend
- API Resilience Audit
API Resilience Audit
by Aadesh Kumar
>-An API-neutral agent skill for investigating high-impact reliability and integrity failures, with production-status verification, overengineering review, evidence-based findings, and optional CI/CD security checks.
Free
API Resilience Audit
Example session with this skill installed
Perform a standard audit on the /orders endpoint in this repository. Focus on concurrency and resource exhaustion. Verify if this is production code first.
- Read your context and instructions
- Compiled the api resilience audit
I have completed the Phase 0 gate and initiated a standard resilience audit for the /orders interface. Production status is confirmed as preproduction based on the absence of release tags for this branch and owner attestation.
API Resilience Audit Report: /orders
| ID | Domain | Finding | Severity | Status |
|---|---|---|---|---|
| FIND-001 | Concurrency | Race condition in inventory decrement; lacks row-level locking or atomic updates in db/orders.ts. | P1 | confirmed |
| FIND-002 | Resource | Unbounded memory growth in PDF generation service when processing large batch orders. | P2 | confirmed |
| FIND-003 | Correctness | Missing idempotency keys on checkout; retry logic in client may cause double charging. | P1 | needs_validation |
| DEBT-001 | Overengineering | Multi-stage message queue for simple synchronous status updates adds 200ms latency without recovery benefit. | N/A | hardening |
Architecture Observations
- Interface: Synchronous REST POST on
/orders. - State: PostgreSQL for order persistence; Redis for ephemeral session caching.
- Recovery: No explicit circuit breaker observed for the downstream Payment Gateway.
Verification Summary
The independently verified hunter pass confirmed that the inventory race condition (FIND-001) is reachable under concurrent load due to the "read-then-write" pattern in OrderService.java. The memory exhaustion (FIND-002) was reproduced using a local dummy fixture with 10k line items.
Next steps
- Implement
SELECT FOR UPDATEor atomic increments in the inventory service to resolve FIND-001. - Add request size limits and streaming for PDF generation to mitigate FIND-002.
- Verify the Payment Gateway API documentation to confirm if idempotency keys are supported for FIND-003.
Connects securely to your tools. The creator never sees your data.
About this skill
API Resilience Audit helps coding agents investigate failure modes that can cause incorrect results, data corruption, outages, cascading dependency failures, resource exhaustion, costly amplification, or difficult recovery. The skill first verifies whether the audited API version and interfaces are in production, preproduction, or mixed deployment. It then maps the actual architecture, builds a coverage ledger, investigates relevant failure paths, challenges candidate findings independently, and produces severity-grounded reports. It also includes a mandatory overengineering and technical-debt review that compares complexity with actual requirements and safer alternatives. CI/CD security and release supply-chain checks are optional and disabled by default. Requirements: An agent with access to the buyer's API source/repository; independent review tools or isolated passes recommended; recent deployment status evidence from the owner/operator. Read-only by default. Limitations: This marketplace package delivers guidance, references, JSON Schemas and report outlines. It does not include runnable local validation scripts or the deterministic report generator found in the full MIT-licensed GitHub repository. It cannot automatically verify cloud runtime facts, production safety, resilience under load, or absence of defects. Agents must disclose unverified work and unexecuted validators. Documentation and full executable edition: https://github.com/aolneeraj/api-resilience-audit
Source-only audit. No live traffic probing or fault injection. Local Node.js validators are not bundled; uses JSON Schema validation and manual checklists for structural integrity.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
Permissions
What's inside
Creator
Aadesh Kumar
Noob
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.