astro-performance
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
BaseLayout.astrocomponent accepts aschemaprop (Record or Array) which is rendered directly into the HTML<head>as a JSON-LD block using theset:htmldirective. This represents a potential surface for indirect prompt injection if the schema data is sourced from untrusted external inputs like a CMS or external API. - Ingestion points:
BaseLayout.astrovia theschemaproperty. - Boundary markers: None; the component uses
set:htmlto inject stringified JSON directly into a<script>tag. - Capability inventory: The skill facilitates file system inspection (via suggested
grepcommands for SVG auditing) and network communication through tracking pixels and analytics. - Sanitization: Relies on
JSON.stringifyfor formatting, but does not perform additional HTML entity escaping before raw injection into the page. - [COMMAND_EXECUTION]: The skill includes various CLI command examples for developers to audit site performance, analyze bundle sizes, and manipulate font assets.
- Evidence: Bash scripts for batch Lighthouse testing in
SKILL.mdandreferences/testing.md. - Evidence: Usage of
npx source-map-explorerfor JavaScript bundle analysis inreferences/bundle-size.md. - Evidence:
grepcommand to identify SVG images missing explicit dimensions inreferences/cls-prevention.md. - Evidence:
npx glyphhangercommand for font subsetting and optimization inreferences/fonts.md. - [EXTERNAL_DOWNLOADS]: The skill incorporates and manages standard third-party tracking and analytics services.
- Evidence: Fetches Google Tag Manager scripts from
www.googletagmanager.com. - Evidence: Fetches Facebook Pixel from
connect.facebook.net. - Evidence: References scripts from well-known services including CookieYes (
cdn-cookieyes.com) and Cloudflare Insights (static.cloudflareinsights.com).
Audit Metadata