performance-profiling
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/lighthouse_audit.pyexecutes thelighthousecommand-line interface using thesubprocess.runfunction. This is the intended behavior for conducting performance audits. The implementation correctly uses an argument list rather than a single shell string, which effectively prevents shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill processes data fetched from external URLs via the Lighthouse audit tool. The script
scripts/lighthouse_audit.pyparses the resulting JSON report to extract performance scores. Because the script only targets specific numeric fields and generates summaries based on pre-defined score thresholds, the surface for instructions embedded in remote content to influence the agent is minimal. - Ingestion points:
scripts/lighthouse_audit.pyreads a JSON report generated by scanning a user-provided URL. - Boundary markers: Not explicitly present in the data flow, but the data is structured (JSON).
- Capability inventory:
subprocess.runis used inscripts/lighthouse_audit.pyto invoke the auditor. - Sanitization: The script validates that the audit report exists and extracts only specific metric scores, casting them to integers.
Audit Metadata