mpx-rn-dev-guide
Warn
Audited by Gen Agent Trust Hub on Apr 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
SKILL.mdfile contains instructions for the AI agent to execute a local JavaScript utility,scripts/compile-validate.js, using the Node.js runtime to perform compilation checks on project components.\n- [REMOTE_CODE_EXECUTION]: The scriptscripts/compile-validate.jsimplements a dynamic loading mechanism via therequireFromProjectfunction, which usesrequire.resolvewith computed paths to load and execute modules (such as@mpxjs/mpx-cli-serviceandwebpack) from the project'snode_modulesdirectory. This pattern allows for the execution of code from paths discovered at runtime.\n- [PROMPT_INJECTION]: The skill is designed to ingest and transform.mpxfiles, which are untrusted external data. This creates an attack surface for indirect prompt injection, where malicious instructions embedded in the processed components could attempt to influence the agent's behavior or exploit the local validation environment.\n - Ingestion points: The agent is instructed to read and modify
.mpxfiles provided by the user in the adaptation and creation tasks.\n - Boundary markers: No specific delimiters or safety instructions are defined to isolate the content of the processed files from the agent's instructions.\n
- Capability inventory: The agent has the capability to write to the file system (saving adapted components) and execute local shell commands (running the validation script).\n
- Sanitization: There is no evidence of content sanitization or validation of the
.mpxfile structure before processing.
Audit Metadata