{"id":"MAL-2026-18252","aliases":["GHSA-39p9-96vf-fxjh"],"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: ghsa-malware (ba622dcd4c1d174b006b8a4b3734f82fa0348a5ba74d31fc16e0512dfd145abe)\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\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","severity":"unknown","score":null,"published":"2026-10-25T06:26:03.000Z","modified":"2026-10-26T16:45:06.613Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"npm","name":"@eforms/forms-api","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"versions":["2.0.0-SNAPSHOT","99.0.0","2.99.0","1.99.0","2.99.1","1.99.1","2.0.99"],"fixed":[]}],"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","https://github.com/advisories/GHSA-39p9-96vf-fxjh"],"sources":[{"name":"OSV","id":"MAL-2026-18252","modified":"2026-10-26T16:45:06.613368533Z","url":"https://osv.dev/vulnerability/MAL-2026-18252"}],"assessments":[]}