moai-essentials-perf
Pass
Audited by Gen Agent Trust Hub on Mar 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill documentation includes logic for constructing shell commands for the Scalene profiler. Specifically, the
build_context7_scalene_commandfunction assembles command strings using variable interpolation (e.g.,f"scalene {target_file}"). This creates a risk of command injection if the filename or other parameters contain shell metacharacters and are not properly sanitized before execution via theBashtool. - [PROMPT_INJECTION]: The skill contains an indirect prompt injection surface as it is designed to ingest and act upon data retrieved from external documentation and patterns.
- Ingestion points: External data is fetched from the
mcp__context7__get-library-docstool, which retrieves documentation and optimization patterns from the/plasma-umass/scalenerepository context. - Boundary markers: The skill does not implement visible delimiters or instructions to ignore embedded commands when processing the fetched documentation content.
- Capability inventory: The skill is granted high-privilege capabilities including
Bashfor command execution,Write/Editfor file system modification, andWebFetchfor network access. - Sanitization: No sanitization or validation mechanisms are described for the external content before it is used to generate or influence optimization strategies.
- [EXTERNAL_DOWNLOADS]: The skill utilizes
WebFetchand custom MCP tools to retrieve external documentation and performance patterns from remote sources, including the well-known Scalene repository. These references are documented as part of the core performance analysis functionality.
Audit Metadata