programmatic-seo
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides code blueprints for Next.js that ingest external data and render it into executable contexts, creating a potential XSS vulnerability.
- Ingestion points: The
getPageDatafunction inapp/[service]/[city]/page.tsxfetches data from external sources including "Web scraping", "User-generated content", and "Public APIs" as described in the Data Source section. - Boundary markers: The code snippets do not include logic for sanitizing or validating the content retrieved from these external sources before use.
- Capability inventory: The
Pagecomponent inapp/[service]/[city]/page.tsxusesdangerouslySetInnerHTMLto inject thejsonLdobject into a script tag, which can execute code in the user's browser. - Sanitization: While
JSON.stringifyis used, the use ofdangerouslySetInnerHTMLwithout pre-sanitization of the input fields (e.g.,data.title) allows for potential script injection if the source data contains malicious payloads like</script><script>alert(1)</script>.
Audit Metadata