perf
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to use standard system-level diagnostic and profiling tools such as
perf,gdb,strace,py-spy,jstack, andjcmdto inspect running processes. These tools are used for legitimate performance analysis activities like capturing CPU profiles and thread dumps. - [DYNAMIC_EXECUTION]: The instructions recommend writing temporary scripts to convert raw profile data (like JSON samples or log entries) into queryable formats (such as SQLite or structured JSON). This approach is used to manage large data files without polluting the project repository.
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data sources including CPU profiles, traces, heap snapshots, and log files. It incorporates safeguards against context window exhaustion by suggesting that large payloads be handled by a subagent and converted into a queryable form before analysis.
- [SAFE]: The skill follows best practices for system diagnostics, including recommending that performance measurements be taken from production-like environments and emphasizing that diagnostic scripts remain outside the primary repository.
Audit Metadata