nextjs
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- Indirect Prompt Injection (LOW): The skill templates demonstrate patterns for ingesting untrusted data that could lead to downstream exploitation.
- Ingestion points: The
paramsandsearchParamsintemplates/app-router-async-params.tsxandtemplates/cache-component-use-cache.tsxare derived from user-controlled URLs. - Boundary markers: Absent; there are no instructions or delimiters to treat the fetched content as untrusted.
- Capability inventory: The skill uses
fetchfor network requests anddangerouslySetInnerHTMLto render content directly into the DOM. - Sanitization: Absent; the templates explicitly use
dangerouslySetInnerHTML={{ __html: post.content }}without any HTML sanitization logic, which is a high-risk coding pattern. - External Downloads (SAFE): The skill references standard development tools and packages via
npxandnpm. These are from trusted registries (npmjs.com) and follow standard developer workflows. - Evidence:
npx create-next-app@latestandnpx shadcn@latest initincommands/init.md. - Command Execution (SAFE): The
scripts/check-versions.shscript executes local commands to verify the environment. It performs version checks usingnode -pandcut, which is a standard administrative task with no evidence of malicious intent.
Audit Metadata