{"id":"MAL-2026-15498","summary":"Malicious code in aws-blog (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b036991e88a4be9813e89ba9861b39ae37fbd9201d1bd017f81c8b33d5f5e44b)\npackage.json declares a dependency whose key equals the package's own name (`aws-blog`) with a value of `https://repo.securityctrl.com/aws-blog` instead of a registry version range. On `npm install`, npm fetches whatever tarball bytes that URL currently returns and installs it, running any lifecycle scripts inside it. There is no version pin and no integrity hash, so the executed code is whatever the operator of repo.securityctrl.com serves at install time and can change silently between installs. The shipped source is an inert stub, so the manifest line is the entire published surface of the package. The dependency-confusion shape (self-named key, implausibly high 45.0.0 version to win resolution against an internal `aws-blog`, host unrelated to any AWS or npm infrastructure) further indicates targeting of installers who expect an internal package by this name.\n\n## Source: ghsa-malware (2acdcb16ba522c20b91790d0960a2095dbfe5ac7837d9f737ed575357e73fe9f)\nAny 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.\n","aliases":["GHSA-q8ww-mqrw-jq9q"],"modified":"2026-08-29T18:45:14.948295091Z","published":"2026-08-28T23:12:05Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019073","import_time":"2026-08-28T23:14:36.293740146Z","modified_time":"2026-08-28T23:12:12Z","sha256":"7457ee979e937c9b0a96119e55033c28e5fd6cce4bff7d28aef3d99398bf520f","source":"amazon-inspector","versions":["45.0.1"]},{"id":"IN-MAL-2026-019072","import_time":"2026-08-28T23:14:36.211523109Z","modified_time":"2026-08-28T23:12:05Z","sha256":"e3494571ccdf2c6747c553a8bf21919db5a19921f33b746d81895beaecd56a3d","source":"amazon-inspector","versions":["45.0.2"]},{"versions":["45.0.0"],"id":"IN-MAL-2026-019091","import_time":"2026-08-28T23:38:04.381489009Z","modified_time":"2026-08-28T23:14:56Z","sha256":"b036991e88a4be9813e89ba9861b39ae37fbd9201d1bd017f81c8b33d5f5e44b","source":"amazon-inspector"},{"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"2acdcb16ba522c20b91790d0960a2095dbfe5ac7837d9f737ed575357e73fe9f","source":"ghsa-malware","id":"GHSA-q8ww-mqrw-jq9q","import_time":"2026-08-29T18:26:29.981136126Z","modified_time":"2026-08-29T18:13:36Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/aws-blog/v/45.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/aws-blog/v/45.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/aws-blog/v/45.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-q8ww-mqrw-jq9q"}],"affected":[{"package":{"name":"aws-blog","ecosystem":"npm","purl":"pkg:npm/aws-blog"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["45.0.1","45.0.2","45.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"package.json","sha256":"fbd019166d0eb2cbae26a4b92273b70f97c9af8070ef14747a033cb065abde63","tlsh":"14d0a7718928167317cd25d868765a0b72660f2f50087c19d3e3640dd59c5b758fd3dc"}],"package_integrity":[{"filename":"aws-blog-45.0.1.tgz","hashes":{"sha1":"094a99b237907b89649f582554b86bed843a2e14","sha512_sri":"sha512-LzoioHZU4QrUl9akrskbv/nX8US+ELIRDrgTwUrcw03F9BMosKAKwES9Tlo40Q6hqY5uA+7GmV76btAPVaQa2g=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aws-blog/MAL-2026-15498.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}