{"id":"MAL-2026-12810","revision":"145b04dd0273442183d85db97ebb63e8","records":[{"revision":"145b04dd0273442183d85db97ebb63e8","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12810","aliases":[],"title":"Malicious code in the-search (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6f7901c35765e01f25defe0c4d489b8f320340b45968e89b9dafe5821b7561fd)\nThe package's main entry ships a self-invoking browser payload that reads document.cookie, base64-encodes the value, and submits it via an auto-created hidden form POST to a hardcoded webhook.site endpoint (https://webhook.site/86b505ff-4280-459f-9b36-e765825c0ada). The package has no legitimate declared purpose consistent with this behavior; bundling this module into a web application causes visitor cookies to be sent to an attacker-controlled destination. The base64 wrapping around the JSON body is minor evasion to obscure the exfiltrated content in network logs.\n","state":0,"publishedAt":"2026-08-05T13:15:32+00:00","modifiedAt":"2026-08-05T14:37:25.4483213+00:00","affected":[{"ecosystem":"npm","name":"the-search","ranges":[],"versions":["1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/the-search/v/1.0.1","https://www.npmjs.com/package/the-search/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12810","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12810","identifiers":["MAL-2026-12810"]},"retained":false,"historicalAffected":[]}],"coverage":[]}