to-android-presets
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The build script (
scripts/build-presets.mjs) usesnpm execto download and run theesbuild-wasmbundler. - Evidence: The script defines
const BUNDLER = 'esbuild-wasm@0.25.12';and executes it vianpm. - Description: It fetches a version-pinned, well-known industry tool from the npm registry to process the generated scripts.
- [COMMAND_EXECUTION]: The skill invokes shell commands to build the generated presets.
- Evidence:
node <skill-directory>/scripts/build-presets.mjsis executed as part of the workflow. - Description: The script internally spawns
npmto run the bundler within a controlled temporary workspace. - [DYNAMIC_EXECUTION]: The skill generates JavaScript code and bundles it into a distribution artifact.
- Evidence: The
buildModulefunction inscripts/build-presets.mjsreads generated entry points and outputs a bundled file. - Description: The script includes extensive security checks to verify that only local ESM modules within the allowed directory are included in the final bundle, effectively preventing path traversal or external dependency inclusion.
- [INDIRECT_PROMPT_INJECTION]: The skill processes project source code and SDK declarations, creating a potential surface for indirect prompt injection.
- Ingestion points: Reads SDK declarations, bridge contracts, and application source code to resolve identifiers (as seen in
SKILL.mdgeneration rules). - Boundary markers: The skill does not explicitly define delimiters or instructions to ignore embedded prompts within the ingested source code.
- Capability inventory: The skill has the ability to write JavaScript files to the project directory and execute a build script that uses
npm. - Sanitization: The skill's build script performs strict path validation and module format checking to ensure that the resulting bundle only contains intended local content.
Audit Metadata