{"id":"MAL-2026-10436","revision":"7436bbae5473459987bb6f770ccd11a6","records":[{"revision":"7436bbae5473459987bb6f770ccd11a6","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10436","aliases":[],"title":"Malicious code in jest-formatter (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (af1f270f7df9ee4f9088044964921e1b085b809ddb1d696e652326c58e5c0aba)\nThe package jest-formatter@1.0.0 presents itself as a Jest test output formatter but its lib/collect.js imports child_process and invokes execSync with bash and zsh at lines 205 and 221. The 'collect' module name combined with shell execution via multiple shells is consistent with harvesting installer-side data (shell history, credentials, environment) from Unix hosts. The behavior does not match the advertised purpose of formatting test output, and the traced content matched patterns associated with credential/data collection payloads. Concrete shell-exec sinks in a module named 'collect' inside a package with no legitimate need for bash/zsh invocation indicate an active data-collection payload rather than a formatter library.\n","state":0,"publishedAt":"2026-07-13T09:22:35+00:00","modifiedAt":"2026-07-13T10:47:05.7807682+00:00","affected":[{"ecosystem":"npm","name":"jest-formatter","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/jest-formatter/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10436","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10436","identifiers":["MAL-2026-10436"]},"retained":false,"historicalAffected":[]}],"coverage":[]}