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.js script gathers the host's hostname, username, CI status, platform, and current working directory, transmitting this via an HTTPS POST request to canary.researcher.example.\n
  • Evidence: The Python setup.py template for PyPI collects hostname, username, and CI flags, exfiltrating them through both OOB DNS queries to interact.sh and 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.json template uses the preinstall script hook to execute a local JavaScript callback.\n
  • Evidence: The Python setup.py example overrides the install, develop, and egg_info commands to automatically trigger exfiltration logic.\n
  • Evidence: The NuGet PoC methodology uses an MSBuild .targets file 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 curl and jq.\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 extensions field in the gemspec to run an extconf.rb script 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-client tool from the GitHub repository of ProjectDiscovery.\n
  • Evidence: The reconnaissance workflow involves using curl to download JavaScript source maps and bundles from target websites.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 6, 2026, 04:12 AM