detecting-performance-bottlenecks
Warn
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: MEDIUMPROMPT_INJECTIONSAFE
Full Analysis
- [METADATA_POISONING]: The skill's description and scripts claim to offer specialized diagnostic capabilities for performance bottlenecks (CPU usage, database queries, memory leaks), yet all four included Python scripts (
analyze_cpu.py,analyze_db.py,analyze_io.py, andanalyze_memory.py) contain identical code that only performs a simple file system recursive crawl to calculate file counts and sizes. This mismatch significantly misleads the agent and user regarding the tool's actual safety and capability. - [INDIRECT_PROMPT_INJECTION]: The skill provides a mechanism to ingest and report on external data (file paths and metadata) from a target directory which could be used as an attack surface.
- Ingestion points: The
targetdirectory argument passed to the Python analysis scripts in thescripts/directory. - Boundary markers: None. The scripts output raw file names and statistics into the agent's context without clear delimiters or warnings to ignore embedded instructions.
- Capability inventory: The skill allows
Bash(cmd:*),Read,Grep, andGlobwhich provides the agent with extensive local system access based on the output of these scripts. - Sanitization: None. The scripts do not sanitize or filter file names discovered during the directory traversal before including them in the generated report output.
Audit Metadata