codebuddy-ide-mcp-upgrade
Warn
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses
eval()in Step 1 of SKILL.md to parse configuration data stored as a JS-escaped string inside the IDE's main extension bundle. This method of unescaping strings is risky as it evaluates the string content in the current process context. - [COMMAND_EXECUTION]: Several shell commands are used to build the MCP bundle (
npm run build:webpack) and to execute internal Node.js scripts that modify the IDE's application resources and configuration, such asapply-to-ide.mjsandpatch-tool-timeout.mjs. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes the content of an external application file (
index.js). The use of dynamic execution on this data provides a surface for potential code injection if the source file is compromised. - Ingestion points: The IDE extension bundle
Contents/Resources/app/extensions/genie/out/extension/index.jsis read to extract embedded configuration. - Boundary markers: None identified; the skill relies on locating specific string anchors (
JSON.parse(') to determine which portion of the code to evaluate. - Capability inventory: Includes dynamic code evaluation via
eval(), file system writes to the/Applicationsdirectory, and shell command execution via Node.js and npm. - Sanitization: There is no validation or sanitization performed on the data slice before it is passed to the
eval()function. - [EXTERNAL_DOWNLOADS]: The documentation rendering tool (
scripts/render-html.mjs) performs a download of themarkedlibrary from the official npm registry.
Audit Metadata