offensive-dependency-confusion
Fail
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides multiple code templates designed to execute code during package installation or build processes across different package managers. Examples include: an npm PoC using the
preinstallhook inpackage.jsonto run a Node.js script; a PyPI PoC usingsetuptoolscommand hooks (install,develop,egg_info) insetup.py; a NuGet PoC using MSBuild<Exec>targets in a.targetsfile; a Ruby PoC using theextensionshook in a gemspec to run C extension build scripts; and a Go PoC using theinit()function to execute code upon module import. - [DATA_EXFILTRATION]: The provided PoC scripts are explicitly designed to collect and transmit environment metadata to external, non-whitelisted domains. The metadata collected includes
hostname,username,platform, and current working directory (cwd). Transmission methods include HTTP POST requests and DNS queries (canaries) targeting domains such asyour-id.interact.shandcanary.researcher.example. - [COMMAND_EXECUTION]: The skill uses numerous shell commands for reconnaissance and exploitation. Examples include
curlfor fetching package info and source maps,gh apifor mining GitHub repositories for configuration files, andjq/sed/grepfor parsing sensitive files likepackage-lock.json,yarn.lock, andrequirements.txt. - [EXTERNAL_DOWNLOADS]: The skill instructions involve downloading external tools and fetching data from various public registries. It recommends installing
interactsh-clientviago installand performs network requests to well-known registries likenpmjs.org,pypi.org,hub.docker.com, andproxy.golang.orgto check for namespace availability. - [INDIRECT_PROMPT_INJECTION]: The skill's reconnaissance methodology involves parsing data from untrusted external sources and feeding them into shell commands, creating an attack surface. 1. Ingestion points: lock files (
package-lock.json,yarn.lock,Pipfile.lock), JS bundles (app.js,app.js.map), and GitHub search results. 2. Boundary markers: Absent. 3. Capability inventory: Extensive shell execution (curl,gh,jq,grep), and multi-ecosystem code execution (node,python,go). 4. Sanitization: Absent; the skill performs direct parsing and interpolation of external content into commands without validation.
Recommendations
- AI detected serious security threats
Audit Metadata