expo-sdk-upgrade
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/check-sdk-trigger.mjsexecutes shell commands usingspawnSyncto interact withnpmandtar. This is used to query package metadata (npm view) and extract specific configuration files (bundledNativeModules.json) from downloaded package tarballs (npm pack). - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted repository content, including code and manifests, creating a surface for indirect prompt injection.
- Ingestion points: Analyzes
package.json,package-lock.json,eas.json, application source files (.ts,.js, etc.), and user-provided SDK contracts incontracts/expo-sdk-lines.json. - Boundary markers: Absent; the scanning logic processes raw file content.
- Capability inventory: Includes file system read/write/delete (via
scripts/check-lib.mjs) and command execution for npm/tar tools (viascripts/check-sdk-trigger.mjs). - Sanitization: Implements
maskCommentsto strip comments from source code before scanning to reduce false positives and potential injection surface in comments. - [EXTERNAL_DOWNLOADS]: The
scripts/check-sdk-trigger.mjsscript performs network operations via thenpmCLI to fetch package information and download tarballs from the official npm registry. These operations are restricted to verifying package versions and configurations required for the SDK upgrade process.
Audit Metadata