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.py executes the lighthouse command-line interface using the subprocess.run function. 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.py parses 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.py reads 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.run is used in scripts/lighthouse_audit.py to invoke the auditor.
  • Sanitization: The script validates that the audit report exists and extracts only specific metric scores, casting them to integers.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 30, 2026, 04:56 AM