setting-up-nextjs-projects
Pass
Audited by Gen Agent Trust Hub on Mar 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill defines a variety of development scripts in
package.jsonthat execute standard CLI tools such asnext,tsc,eslint,vitest, andplaywrightfor building, linting, and testing the application. - [EXTERNAL_DOWNLOADS]: The template includes instructions for fetching external UI components using
pnpm dlx shadcnand provides example configuration inorval.config.tsfor pointing to a remote OpenAPI schema URL for code generation. - [REMOTE_CODE_EXECUTION]: The
preinstallscript usesnpx only-allow pnpmto enforce the package manager, which involves downloading and executing a package from the npm registry. Furthermore, theapi:genscript usestsxto run a local generation script that processes external API specifications. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface as it is designed to ingest and process untrusted data from external sources such as OpenAPI specifications (via Orval) and environment configurations.
- Ingestion points:
orval.config.ts(external URL),src/env.ts(environment variables). - Boundary markers: Not explicitly defined for external schema ingestion.
- Capability inventory: The skill includes scripts for package installation (
pnpm install), local code execution (tsx), and file generation (api:gen). - Sanitization: Not documented for the schema ingestion process.
Audit Metadata