web-performance-optimization
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to perform various shell-based operations for project optimization and analysis.
- Dependency management commands using
npmandnpx, includingnpm install sharp,npm uninstall moment, andnpm install date-fns. - Performance auditing via the
lighthouseCLI targeting external URLs. - Bundle analysis using
npx webpack-bundle-analyzeron local JSON statistics files. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from potentially untrusted external sources, creating a vulnerability surface.
- Ingestion points: The agent is instructed to run performance audits on arbitrary URLs and analyze build metadata files (
dist/stats.json) provided by the user or project environment. - Boundary markers: The instructions lack specific delimiters or instructions to ignore embedded prompts within the content of analyzed websites or metadata files.
- Capability inventory: The skill has access to shell command execution (
npm,npx,lighthouse) and the ability to generate and execute Node.js scripts (e.g., theoptimize-images.jsexample) on the local filesystem. - Sanitization: There are no documented procedures for sanitizing the output of performance tools or the content of external files before the agent processes them.
Audit Metadata