astro-framework
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides detailed and accurate guidance for building Astro applications, focusing on the latest version (Astro 6) and its islands architecture.
- [SAFE]: Security best practices are consistently promoted throughout the documentation, including recommendations for sanitizing user input and implementing Content Security Policy (CSP) to mitigate cross-site scripting (XSS) and other injection attacks.
- [INDIRECT_PROMPT_INJECTION]: The skill provides templates for API endpoints and server actions that handle user-supplied data (e.g.,
request.json(),FormData). However, it explicitly instructs the agent to validate and sanitize all user input using Zod schemas, which is a recommended defensive practice. - [DATA_EXPOSURE_EXFILTRATION]: Use of environment variables for secrets is guided through the
astro:envmodule, which is a secure, framework-native way to handle sensitive configuration and prevents secrets from being bundled in client-side code.
Audit Metadata