Code audit
External integration reliability
Enji Guard checks how your app handles external services in normal use, failures and recovery.
What did the integrations audit find?
Connecting to Enji Guard via MCP…
Reading the latest integrations audit…
Worked 4 s · Enji Guard via MCP ›
Score 68/100 — needs attention. 2 findings:
- CriticalA warehouse outage cancels open orders
- Medium riskA stalled tracking call blocks the queue
Fix them.
Fixing order sync and tracking calls…
Testing against simulated failures…
Worked 52 s ›
Done. Both fixed and covered with tests:
- Warehouse errors no longer cancel orders
- Tracking calls time out; the queue keeps moving
Failure tests pass. Ready for your review.
What the audit checks
Seven areas, from API contracts to recovery.
API contract
How code reads success, pending status, and errors.
Waits and resources
Timeouts, cancellation, and cleanup after a failure.
Errors and retries
Retry conditions, attempt caps, and provider limits.
Idempotency
Same key for retries, a new key for a new operation.
Event delivery
Acknowledgments, redelivery, duplicates, order and gaps.
State consistency
How local records match external outcomes.
Recovery
How the app or operator finds and resumes stuck work.
From service call to recovery
What a report can find at each step
External call
Check the API or SDK version and timeouts for external calls.
Response handling
Trace how code interprets success, pending status, and errors.
Record the outcome
Check local updates when the service response is lost.
Event delivery
Check acknowledgment, redelivery, and event order.
Retry
Check retry limits and which attempts share an operation key.
Recovery
Check how interrupted operations are detected and resumed.
What's in the report
- A 0–100 score
- Findings with code locations, impact, and next steps
- Scope — what was checked and what wasn't
What the audit is not
- Does not test APIs in production
- Does not rate the service provider itself
- Does not penalize unclear provider documentation
Connect a repository
GitHub or GitLab. The audit doesn't change your code.
Enji Guard