{"id":"MAL-2026-5343","summary":"Malicious code in progerss-cli (npm)","details":"`progerss-cli` is a typosquat of the popular `cli-progress` package that ships an obfuscated payload executed automatically on install.\n\nThe package borrows trust from its victim: `repository.url` is set to `https://github.com/npkgz/cli-progress` — the legitimate cli-progress project's own repository — and the author field is set to `andidittrich` (the real maintainer).\n\n`package.json` defines `scripts.postinstall`: `node build-helper.js`, and declares `form-data` as its only runtime dependency (used for exfiltration).\n\n**build-helper.js (load gate):** polls up to 31 times at 1.5 s intervals for `form-data` to resolve (`require.resolve('form-data')`), then `require('./index.js')`. This delays payload execution until the exfiltration dependency is fully installed, evading naive install-time analysis that runs before dependencies settle.\n\n**index.js:** a ~273 KB obfuscated payload that performs data collection and `form-data`-based HTTP exfiltration.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (7fde91dd01fb8e69b5fcf0130d7fc0e5d08b1820413452ed0d72ce42d06e6dab)\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-pr99-g8pf-f3rr"],"modified":"2026-06-09T15:31:29.348913199Z","published":"2026-06-09T15:10:13Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-pr99-g8pf-f3rr","sha256":"7fde91dd01fb8e69b5fcf0130d7fc0e5d08b1820413452ed0d72ce42d06e6dab","import_time":"2026-06-09T15:22:39.85050424Z","source":"ghsa-malware","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"modified_time":"2026-06-09T15:10:14Z"}]},"references":[{"type":"WEB","url":"https://www.npmjs.com/package/progerss-cli"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pr99-g8pf-f3rr"}],"affected":[{"package":{"name":"progerss-cli","ecosystem":"npm","purl":"pkg:npm/progerss-cli"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/progerss-cli/MAL-2026-5343.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","cweId":"CWE-506","name":"Embedded Malicious Code"}]}}],"schema_version":"1.7.5","credits":[{"name":"Hugo Guillaume (Konvu)","contact":["mailto:hugo@konvu.com"],"type":"FINDER"}]}