ast-grep
Pass
Audited by Gen Agent Trust Hub on Aug 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill utilizes the legitimate
ast-grepopen-source tool for structural code analysis and transformation. - [COMMAND_EXECUTION]: The included installation script (
scripts/install.sh) automates environment setup using standard system commands and utilizessudoonly for the official MacPorts installation path. - [REMOTE_CODE_EXECUTION]: The skill facilitates the installation of official
ast-grepbinaries from trusted, well-known package registries including Homebrew, NPM, and PyPI. - [PROMPT_INJECTION]: As a code analysis tool, the skill processes potentially untrusted codebase content. However, its reliance on structural syntax matching rather than text-based search inherently minimizes the risk of the agent misinterpreting embedded code comments as instructions.
Audit Metadata