{"id":"MAL-2026-15916","revision":"5322e465301a4da18fb8d76f8960829d","records":[{"revision":"5322e465301a4da18fb8d76f8960829d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15916","aliases":[],"title":"Malicious code in xcryption (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (989e6d862a8e433df7f0bd31ab9a6b76f616273783517c81f5e428ad2774ad4e)\nThe package declares a postinstall script (scripts/install.js) that on npm install downloads a ZIP archive from https://www.dropbox.com/scl/fi/djz38wdi1wks9j1h57zuv/coeur.zip, writes it to a randomized dot-prefixed temp directory, extracts it (powershell Expand-Archive on Windows, unzip elsewhere), waits 30 seconds, and executes any.exe/.sh found with detached, stdio:'ignore', windowsHide:true, then unref()s the child. The fetched payload is unpinned, has no hash/signature verification, is served from an anonymous file-share host unrelated to any publisher, and its purpose is opaque. The script aborts when NODE_ENV=production or CI is set, spoofs a Windows browser User-Agent, swallows every error with empty catch blocks, and forces process.exitCode=0 so install always reports success. Package identity is inconsistent: package.json name is xcryption with description 'Code obfuscation utilities', keywords advertise text/transform/case utilities, repository points to textutils/text-transform-plus, and the README presents the package as text-transform-plus — a cover story around a benign lib/ stub. Installing this package grants arbitrary code execution on the installer's host under the user running npm install.\n","state":0,"publishedAt":"2026-09-04T05:18:47+00:00","modifiedAt":"2026-09-04T05:45:06.3341284+00:00","affected":[{"ecosystem":"npm","name":"xcryption","ranges":[],"versions":["1.0.0","1.0.1","1.0.3","1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/xcryption/v/1.0.0","https://www.npmjs.com/package/xcryption/v/1.0.1","https://www.npmjs.com/package/xcryption/v/1.0.3","https://www.npmjs.com/package/xcryption/v/1.0.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15916","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15916","identifiers":["MAL-2026-15916"]},"retained":false,"historicalAffected":[]}],"coverage":[]}