Code audit
Frontend/server communication
Enji Guard checks how efficiently and reliably your app exchanges data with the server.
What did the client–server audit find?
Connecting to Enji Guard via MCP…
Reading the latest client–server audit…
Worked 4 s · Enji Guard via MCP ›
Score 76/100 — healthy. 3 findings, the two most serious:
- High riskA second click submits the order again
- Medium riskA rejected delivery change shows as saved
Fix the top two.
Fixing checkout and delivery forms…
Running the checkout tests…
Worked 44 s ›
Done. Both fixed and covered with tests:
- Checkout keeps one key and ignores repeat clicks
- A rejected change restores the saved option
Double-click test passes. Ready for review.
What the audit checks
Eight areas, from request count to timeouts and retries.
Request count and size
Duplicate calls, extra data, and limits on list size.
Loading order
Can independent requests run in parallel?
Cache keys and freshness
Cache scope, keys, and refresh after changes.
Request lifecycle
What starts and stops calls, polling, and subscriptions.
Overlapping responses
Can older responses overwrite newer data?
Data changes
Repeat submissions, confirmations, and rollbacks.
Results and errors
How clients handle success, empty results, and failure.
Timeouts and retries
Timeouts, when to retry, retry caps and server limits.
The audit follows a data change
What a report can find at each step
Action starts
What triggers a change and when it can be invoked again.
Request in flight
Which actions the client blocks while a request is in flight.
Operation identity
Whether repeated attempts use the same operation identifier.
Server response
How the client distinguishes a confirmed change from a failure.
Client state update
How confirmed results, delayed responses, and refresh affect state.
What's in the report
- A 0–100 score
- Findings with severity, confidence and code locations
- Scope — what was checked and what wasn't
What the audit is not
- Does not audit server internals
- Does not send requests to production endpoints
- Does not flag sequential requests with real dependencies
Connect a repository
GitHub or GitLab. The audit doesn't change your code.
Enji Guard