upgrading-expo
Warn
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The file
references/new-architecture.mdinstructs the user to runbunx xcobra expo eval "_IS_FABRIC". Thebunxcommand downloads and executes thexcobrapackage from the npm registry at runtime. Running unverified third-party CLI tools, especially those that execute arbitrary code via evaluation, poses a risk of remote code execution if the package is malicious or the registry is compromised. - [COMMAND_EXECUTION]: The skill utilizes several powerful shell commands for project maintenance, including
rm -rf node_modules .expo,watchman watch-del-all, andnpx expo prebuild --clean. While these are common in React Native development, they give the agent broad authority over the local filesystem and environment which could be abused if the context is manipulated. - [PROMPT_INJECTION]: The skill exhibits a vulnerability surface for indirect prompt injection (Category 8). It is designed to read and modify sensitive project files like
package.json,app.json, and various configuration files. Malicious content within these files could potentially influence the agent's behavior during the upgrade process. - Ingestion points: The agent reads
package.json,app.json,babel.config.js,metro.config.js,postcss.config.js, and thepatches/directory (specified inSKILL.md). - Boundary markers: There are no explicit delimiters or instructions provided to the agent to ignore embedded commands or instructions within the files being processed.
- Capability inventory: The skill executes
npx expo install,rm -rf,pod install,gradlew clean, andbunx xcobra(found acrossSKILL.mdandreferences/new-architecture.md). - Sanitization: No validation or sanitization of the project file content is mentioned before it is used to determine which packages to remove or which commands to run.
Audit Metadata