{"id":"MAL-2026-10749","revision":"28e79af8db024de1994ded512c2cca71","records":[{"revision":"28e79af8db024de1994ded512c2cca71","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10749","aliases":[],"title":"Malicious code in sync-grove (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (65248cd6e2924b6485824bcf382441e39d5e09860bc1e849aee0d6d289d184fb)\nPackage.json declares `\"postinstall\": \"node setup.js\"`, so `setup.js` runs automatically on `npm install`. The script assembles the strings `shelljs` and `exec` from base64 fragments at runtime, then fetches two plain-HTTP URLs on player.sweeprovider.org (`/getKey.php` and `/generateRandomKey.php`) whose values are stored as concatenated base64 fragments (`securityKey1`), decrypts the response with a hardcoded AES salt, and passes the resulting string to shelljs.exec on the installer's host. The package presents itself as a typosquat of `sync-exec` (\"Synchronous exec with status code support\"), and `js/syncgrove.js` mirrors the sync-exec implementation as a decoy. The combination of hardcoded remote HTTP endpoints, runtime-assembled module/method names, encrypted payload staging, and shell execution at install time is a supply-chain dropper: whatever command the attacker serves runs with the installer's privileges on `npm install`.\n","state":0,"publishedAt":"2026-07-16T18:35:11+00:00","modifiedAt":"2026-07-16T19:19:59.8960882+00:00","affected":[{"ecosystem":"npm","name":"sync-grove","ranges":[],"versions":["1.0.2","1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/sync-grove/v/1.0.2","https://www.npmjs.com/package/sync-grove/v/1.0.1","https://www.npmjs.com/package/sync-grove/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10749","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10749","identifiers":["MAL-2026-10749"]},"retained":false,"historicalAffected":[]}],"coverage":[]}