performance-optimization
Warn
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- Privilege Escalation (MEDIUM): The skill provides instructions and code snippets requiring administrative privileges to perform low-level system profiling.\n
- Evidence:
sudo py-spy record --pid $(pgrep -f uvicorn)located inSKILL.mdandreferences/profiling.md.\n - Context: Required for sampling profilers to attach to running processes, but presents a risk of privilege abuse if used by an autonomous agent without strict oversight.\n- Unverifiable Dependencies & Remote Code Execution (LOW): The skill recommends using
npxand various package managers to fetch and execute external diagnostic tools at runtime.\n - Evidence:
npx vite-bundle-visualizerandANALYZE=true npm run buildinSKILL.md.\n - Evidence: References to installing
snakeviz,locust,k6, andmemory_profilerviapipandnpm.\n - Context: Necessary for the stated purpose of performance analysis, but involves executing code from external registries which may be unvetted.\n- Data Exposure & Exfiltration (LOW): The skill involves querying internal database performance views that contain sensitive information.\n
- Evidence: Queries targeting
pg_stat_statementsinSKILL.mdandreferences/database-optimization.md.\n - Context: These views expose full SQL query strings, which may include sensitive PII or business logic in filter values, although the primary purpose is identifying slow queries.\n- Indirect Prompt Injection (LOW): The skill is designed to ingest and process outputs from external tools like Lighthouse and database logs, creating an attack surface for indirect instructions.\n
- Ingestion points:
lighthouseJSON/HTML audit reports,pg_stat_statementsquery logs.\n - Boundary markers: Absent in implementation scripts.\n
- Capability inventory: Shell command execution via
py-spy, file system access for profile generation, and network operations for load testing.\n - Sanitization: No explicit sanitization or validation of external tool outputs before processing.
Audit Metadata