Malicious package · npm
Malicious code in tajul-avengers-cli (npm)
1.4.1No safe version. Remove it.What it does
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.
Reported by ghsa-malware Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
No fix · Remove and contain
npm uninstall tajul-avengers-cliSources