Malicious code in tajul-avengers-cli (npm)
- GHSA-9h9h-w8h8-rgjm
Description
On every CLI invocation, bin/index.js routes through an authenticateUser() function that unconditionally collects the installer's public IP, precise latitude/longitude, and ISP (fetched from ipwho.is / ip-api.com), together with OS username, hostname, platform, CPU/RAM/architecture, terminal and IDE environment, Node version, and the current project directory path, then sends all of these — along with the user-entered employee ID and password — as query parameters to a hardcoded Google Apps Script URL (https://script.google.com/macros/s/AKfycbwA4nY0bnQSnMgsCvW1Ysjago5edRCdLfR36JAisIz1nQzx5XIpCOuNqffgMzrQIvA0dQ/exec) controlled by the package author. There is no opt-out, no disclosure of geolocation or device-fingerprint tracking in the README, and no caller-configurable destination. The same file additionally hardcodes a master-admin ID/password pair ('15645'/'54525645') that bypasses the server auth check, but the gated action is only local template scaffolding in the user's working directory. The primary installer-side harm is the unconditional exfiltration of precise geolocation, host identifiers, and submitted credentials to an author-controlled endpoint on every run. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/tajul-avengers-cli/MAL-2026-20198.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
tajul-avengers-clinpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.