Audits
How the public API access safety audit works
Understand how the audit checks access to operations, objects, and responses from externally reachable interfaces.
Audit page Public API access safety auditWhat this audit answers
Public API access safety asks whether callers from outside the system can access only the operations and data permitted by the project’s policy. The scope includes externally reachable interfaces that require authentication.
What Enji Guard inspects
Enji Guard follows an external request through the caller’s identity and access scope, the data selected or changed, and the response returned. Effective enforcement may sit in a handler, a shared service or storage. The audit checks six diagnostic areas.
- Operations covers which actions a caller is permitted to perform.
- Objects covers access to individual, nested and bulk resources and the effects of changes.
- Access scopes covers isolation between users, projects, workspaces or equivalent boundaries.
- Input authority covers which roles, ownership details and scope decisions the server allows callers to supply.
- Response boundaries covers what callers can receive in details, lists, errors and delivered artifacts.
- Privileged capabilities covers the caller restrictions on externally reachable administrative or service operations.
How evidence becomes findings
A finding identifies the external entry, the intended policy, effective safeguards, the affected object or action and the reachable consequence. Source is the primary evidence. An isolated check with synthetic data can support the result when the relevant enforcement is represented.
Critical requires exceptionally broad privileged control or extensive, highly sensitive disclosure or destructive access. High covers material unauthorized access, changes, or privileged actions on important data or workflows. Medium covers bounded unauthorized access or a consequential restriction bypass with limited scope. Low covers a small, demonstrated boundary or response defect. Severity follows the breadth, sensitivity and prerequisites of the observed or source-supported effect.
What the report includes
The report records the revision, external interface families and scopes assessed, diagnostic criteria, findings and recommendations. Findings cite the policy and the evidence supporting the effect. The coverage notes identify uninspected interfaces or unresolved assumptions about ingress or external controls.
How the score works
Enji Guard calculates scores the same way across audits. The score starts at 100. Each distinct, evidence-supported finding deducts 25 points for Critical, 14 for High, 7 for Medium, or 3 for Low. Info deducts zero. The result stays within 0–100 and cannot exceed 69 when there is at least one Critical or at least two High findings. Diagnostic criteria do not contribute points to this calculation.
Limitations and boundaries
The audit is read-only and uses no live targets or production credentials. It follows downstream enforcement for an externally reachable path. Independent review of internal-only APIs is outside scope. With no applicable external interface, the audit is not applicable. Unresolved exposure or policy can leave the result inconclusive.
Review and rerun
When reviewing a proposed fix, check that authorized callers retain their intended access and that the reported boundary is enforced. Rerun on the new revision and compare the evidence for both behaviors.
Enji Guard