astro-assets
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the user to execute shell commands to install necessary dependencies and configure the environment.
npm install @cloudinary-util/url-loaderinreferences/cdn-integration.md.npx astro add sharpinreferences/image-component.mdandreferences/templates/image-setup.md.npm install satori @resvg/resvg-jsandnpm install satori sharpinreferences/og-satori.md.- [INDIRECT_PROMPT_INJECTION]: The skill provides an example implementation of an API route that ingests untrusted user data without explicit sanitization patterns, creating a vulnerability surface.
- Ingestion points: The file
references/remote-images.mdcontains an API route snippet (src/pages/api/thumbnail.ts) that retrieves asrcparameter directly fromurl.searchParams. - Boundary markers: None are present in the code snippet to delimit or validate the input.
- Capability inventory: The ingested
srcis passed to thegetImage()utility, which is capable of fetching remote assets or reading local image files. - Sanitization: No input validation, hostname checking, or path sanitization is demonstrated in the implementation example.
- [SAFE]: Integration with well-known services and libraries (Cloudinary, Imgix, Vercel's Satori, Astro Sharp) follows standard practices and uses official or community-accepted packages.
Audit Metadata