api-route-structure

Pass

Audited by Gen Agent Trust Hub on Sep 22, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill acts as a documentation and best-practice guide for API architecture. It does not contain any executable code that performs malicious actions, exfiltrates data, or modifies system state.
  • [INDIRECT_PROMPT_INJECTION]: The skill provides patterns for handling external data through API endpoints, which is a common attack surface.
  • Ingestion points: Route handlers in the described filesystem structure (e.g., src/routes/boards/route.ts) ingest untrusted data via c.body and c.params.
  • Boundary markers: The skill enforces the use of declarative schemas (using pumice.js) to define clear boundaries and expectations for all incoming data.
  • Capability inventory: The handler logic is restricted to calling domain-layer repositories (boardRepo) and lacks direct access to dangerous system-level primitives.
  • Sanitization: Strict validation and parsing are built into the handler chain (.body(), .params()), ensuring that input is sanitized and validated against a schema before it is processed by the application logic.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 22, 2026, 08:22 PM