{"id":"MAL-2026-6591","revision":"646a9eddd6714a44bb9b809ce527517f","records":[{"revision":"646a9eddd6714a44bb9b809ce527517f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6591","aliases":[],"title":"Malicious code in ledgerflow-deploy-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5f0097d19be676ac30ff79dffcff38f128873c80115a8a150c3eceff0422aa93)\nOn npm install, the package's postinstall script queries the AWS instance metadata service (IMDSv1) at 169.254.169.254 for the attached IAM role and POSTs the result, along with an IMDS-reachability probe, over plain HTTP to a hardcoded bare IP (54.226.194.239:80/chain3). The published library surface (index.js) only exports two no-op console.log stubs named validate/deploy, with no real functionality — the entire effective behavior is the install-time reconnaissance against AWS-hosted installers and CI runners. The combination of a placeholder API, a generic deployment-utility name suggesting an internal/private package, and install-time recon to a hardcoded bare-IP C2 matches the dependency-confusion / internal-name-squat pattern targeting corporate build systems, where exposed IAM role names enable follow-on credential abuse against the installer's cloud environment.\n","state":0,"publishedAt":"2026-06-29T07:09:41+00:00","modifiedAt":"2026-07-09T23:02:01.2021022+00:00","affected":[{"ecosystem":"npm","name":"ledgerflow-deploy-utils","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["1.0.1","1.0.4","1.0.3","1.0.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/ledgerflow-deploy-utils/v/1.0.1","https://www.npmjs.com/package/ledgerflow-deploy-utils/v/1.0.4","https://www.npmjs.com/package/ledgerflow-deploy-utils/v/1.0.3","https://www.npmjs.com/package/ledgerflow-deploy-utils/v/1.0.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6591","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6591","identifiers":["MAL-2026-6591"]},"retained":false,"historicalAffected":[]}],"coverage":[]}