{"id":"MAL-2026-18252","revision":"84f5b96234084c5b93275a2dae54c45d","records":[{"revision":"84f5b96234084c5b93275a2dae54c45d","observedAt":"2026-10-26T07:21:08.838+00:00","statement":{"source":"osv","id":"MAL-2026-18252","aliases":[],"title":"Malicious code in @eforms/forms-api (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e58d3810346fb211fd7ed78e8df88c774a79bb079537e10cd30baa26e5ef4740)\nThe npm package @eforms/forms-api@99.0.0 is a scoped-name dependency-confusion lure with an inflated version number and an empty index.js stub. Its only functionality is a preinstall lifecycle script (preinstall.js) that runs automatically on `npm install`. The script reads os.hostname(), os.userInfo() (username and uid), process.cwd(), process.platform, process.arch, process.version, the CI environment flag, and other host identifiers, and transmits them out-of-band to two hardcoded attacker-controlled subdomains of oastify.com (Interactsh / Burp Collaborator OOB infrastructure) — specifically rpkfvtsptfrhcgbe62qg11ywjnpij6ma1cfpke.oastify.com and f6mk7lyjsuk3u1t49ypp9q2jbah15rtg.oastify.com — via both a DNS lookup of a data-bearing label and an HTTPS GET whose query string carries the collected fields. The combination of a scoped @eforms/* name, implausibly high version (99.0.0 to win internal-vs-public resolution races), empty library surface, and preinstall OOB beacon is the standard shape of an internal-scope dependency-confusion attack. Any build that resolves this scope from the public registry ships internal host identity to the attacker's OOB collector on install.\n\n## Source: ossf-package-analysis (cbe6ac9c18c859c04807fb2bd866f2eda2b70a4aa2583096b7138ab2adc90540)\nThe OpenSSF Package Analysis project identified '@eforms/forms-api' @ 2.0.0-SNAPSHOT (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","state":0,"publishedAt":"2026-10-25T06:26:03+00:00","modifiedAt":"2026-10-26T06:45:16.0881574+00:00","affected":[{"ecosystem":"npm","name":"@eforms/forms-api","ranges":[],"versions":["2.0.0-SNAPSHOT","99.0.0","2.99.0","1.99.0","2.99.1","1.99.1","2.0.99"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@eforms/forms-api/v/99.0.0","https://www.npmjs.com/package/@eforms/forms-api/v/2.99.0","https://www.npmjs.com/package/@eforms/forms-api/v/2.0.0-SNAPSHOT","https://www.npmjs.com/package/@eforms/forms-api/v/1.99.0","https://www.npmjs.com/package/@eforms/forms-api/v/2.99.1","https://www.npmjs.com/package/@eforms/forms-api/v/1.99.1","https://www.npmjs.com/package/@eforms/forms-api/v/2.0.99"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-18252","license":"OSV · upstream source license applies","key":"osv:MAL-2026-18252","identifiers":["MAL-2026-18252"]},"retained":false,"historicalAffected":[]}],"coverage":[]}