ui-foundation-reuse
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute a bundled Node.js script (
scripts/stage-runtime.mjs) and use package managers such asnpm installto integrate a local.tgzarchive into the target application. It also provides shell commands for manual installation and verification of the environment. - [LOCAL_FILE_ACCESS]: The agent is directed to inspect the application's
package.json, lockfiles, and source code to identify existing dependencies and determine where to apply UI effects. The staging script writes the library archive specifically to avendor/ui-foundation/directory within the application path. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted project data (manifests, configuration, and source components) to inform implementation decisions, creating a vulnerability surface where instructions embedded in those project files could influence agent behavior.
- Ingestion points: Consuming project
package.json, lockfiles, and React source files (e.g.,Hero.tsx). - Boundary markers: Absent for the analysis of project files.
- Capability inventory: Filesystem write access via
stage-runtime.mjsand package installation vianpm install. - Sanitization: The staging script performs SHA-256 integrity verification on the bundled archive before writing to the target directory.
- [METADATA_POISONING]: The skill includes documentation of historical test scenarios (
tests/) and "baseline" reports that include their own verdicts and rationalizations. These simulated outcomes could influence an agent's perception of safety or pressure it to favor the bundled library even when other implementations might be more appropriate.
Audit Metadata