custom-pages-and-apis
Pass
Audited by Gen Agent Trust Hub on Jul 9, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill facilitates the creation of pages and API routes that ingest untrusted data, which establishes an indirect prompt injection surface. Monitoring this surface is a standard requirement for web development tools.
- Ingestion points: Custom routes process user-controlled input via
Astro.paramsandrequest.json(), and examples demonstrate fetching data from external APIs. - Boundary markers: Code templates do not explicitly include delimiters for untrusted data, although this is typical for the intended code-generation use case.
- Capability inventory: The skill enables the generation of scripts capable of network operations (
fetch) and file system access within the project scope. - Sanitization: The instructions proactively recommend using validation libraries like Zod to sanitize incoming data in API routes.
- [EXTERNAL_DOWNLOADS]: Example code includes network requests to
api.github.comto fetch metadata for the vendor's own repositories. These operations target a well-known service and are consistent with the skill's stated purpose. - [COMMAND_EXECUTION]: The primary function of the skill is to generate executable
.astroand.tsfiles. This is the intended behavior of a development-oriented skill and is performed within the local project environment.
Audit Metadata