offensive-dependency-confusion
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: HIGHDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DATA_EXFILTRATION]: The skill provides multiple functional code examples designed to collect and exfiltrate system metadata to external endpoints.\n
- Evidence: In the npm PoC section, the
callback.jsscript gathers the host'shostname,username,CIstatus,platform, and current working directory, transmitting this via an HTTPS POST request tocanary.researcher.example.\n - Evidence: The Python
setup.pytemplate for PyPI collectshostname,username, andCIflags, exfiltrating them through both OOB DNS queries tointeract.shand direct HTTP POST requests.\n - Evidence: The Go, Ruby, and C# (NuGet) examples all contain similar logic to exfiltrate system identifiers to researcher-controlled domains.\n- [REMOTE_CODE_EXECUTION]: The skill demonstrates how to utilize package manager installation hooks to achieve code execution on target systems.\n
- Evidence: The npm
package.jsontemplate uses thepreinstallscript hook to execute a local JavaScript callback.\n - Evidence: The Python
setup.pyexample overrides theinstall,develop, andegg_infocommands to automatically trigger exfiltration logic.\n - Evidence: The NuGet PoC methodology uses an MSBuild
.targetsfile with an<Exec>command to run shell scripts during the package restoration phase.\n- [COMMAND_EXECUTION]: The skill includes extensive shell commands for performing reconnaissance by fetching and analyzing remote resources.\n - Evidence: The reconnaissance section provides commands to download and parse remote JavaScript source maps and bundles using
curlandjq.\n - Evidence: The skill instructs the user to use the GitHub CLI (
gh) to search for private registry configurations and manifest files within a target's repositories.\n- [DYNAMIC_EXECUTION]: The provided methodologies leverage environment-specific features to trigger code execution at runtime.\n - Evidence: The Go PoC template uses the
init()function to ensure that callback logic is executed immediately upon package import.\n - Evidence: The Ruby Gems example utilizes the
extensionsfield in the gemspec to run anextconf.rbscript during the installation process.\n- [EXTERNAL_DOWNLOADS]: The skill suggests downloading and installing third-party security tools and fetching remote artifacts for analysis.\n - Evidence: The "Safe PoC Methodology" recommends installing the
interactsh-clienttool from the GitHub repository of ProjectDiscovery.\n - Evidence: The reconnaissance workflow involves using
curlto download JavaScript source maps and bundles from target websites.
Recommendations
- AI detected serious security threats
Audit Metadata