MAL-2026-10589Malicious code in nodeaxois (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | nodeaxois | 1.0.0 |
{"modified":"2026-07-14T14:01:03Z","published":"2026-07-14T14:01:03Z","schema_version":"1.7.4","id":"MAL-2026-10589","summary":"Malicious code in nodeaxois (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ebf1f3f7342689c11ad7e8c17a1c584fe3ce15615db82868b289d9613b48a41a)\nThe package declares scripts.postinstall: node.init.js, which runs automatically on npm install. The.init.js script collects host metadata (os.hostname(), os.platform(), process.cwd(), process.pid, timestamp), enumerates approximately 60 credential-shaped environment variables (NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, STRIPE_*, DOCKER_*, CLOUDFLARE_*, GCP, etc.), reads ~/.npmrc, ~/.env*, ~/config.json, ~/credentials.json, and files under ~/.config/ whose names contain token/cred/secret, and POSTs the aggregated JSON to a hardcoded https://webhook.cool/at/tender-deer-80/ endpoint. The package's index.js exports an empty object; the tarball provides no legitimate functionality. The name is a likely typosquat of axios.\n","affected":[{"package":{"ecosystem":"npm","name":"nodeaxois"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":".init.js","sha256":"6eb3939e40f85d1c3f591a3cd3a3edf0fd00c9b09fd7cb48f62e11edca3219b2","tlsh":"d9513181849e521310db2af168034c00a67ee59b3435e6e17e8f02249fddc6c85b3fbd"}],"package_integrity":[{"filename":"nodeaxois-1.0.0.tgz","hashes":{"sha1":"93fdc532c0413e16ddc204aecba2a7b96ea74fc7","sha512_sri":"sha512-kFYn2mObSbj6IAopkdJ0N/gQNsX3N98N0f0JYsMl7wpCiGmeArVVt9CCUMFAHxPxNovncQaPsSk0FzOSjLSH+Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/nodeaxois/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010522","import_time":"2026-07-14T14:37:53.020917429Z","modified_time":"2026-07-14T14:01:03Z","sha256":"ebf1f3f7342689c11ad7e8c17a1c584fe3ce15615db82868b289d9613b48a41a","source":"amazon-inspector","versions":["1.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0