{"id":"MAL-2026-17433","revision":"8b75c6d99b374bac9d5172d50d45aae2","records":[{"revision":"8b75c6d99b374bac9d5172d50d45aae2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17433","aliases":[],"title":"Malicious code in figma-to-apl (npm)","description":"figma-to-apl is a dependency-confusion package: it takes a name that looks like an internal project, uses an inflated version (100.0.0) so it outranks private-registry versions, and runs `node setup.js || true` as a preinstall script on npm install. setup.js sends the hostname, username, working directory, OS, architecture, Node.js version and configured npm registry, with a per-package tracking token, in an HTTPS POST to `https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook`. The npm account amel10 published figma-to-apl and 9 similar packages within two minutes on 2026-09-30, all with the same setup.js.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e8bd598a9ef9799fc78fb815fba85f3b58114b269ccd6dc710e2113bf13efca)\nfigma-to-apl@100.0.0 declares a preinstall script (\"node setup.js || true\") that runs automatically on npm install. setup.js collects installer-side identifiers — os.hostname(), os.userInfo().username, process.cwd(), process.platform, process.arch, Node version, and the configured npm registry — and POSTs them together with a hardcoded per-package token to https://s85r5k14qk.execute-api.us-east-1.amazonaws.com/prod/hook. The package's advertised functionality is a one-line string-truncation helper, unrelated to the beacon. The version number 100.0.0 combined with a per-package identifying token is characteristic of a dependency-confusion / typosquat reconnaissance probe designed to identify internal build systems that resolve the public package name.\n","state":0,"publishedAt":"2026-09-30T07:11:22+00:00","modifiedAt":"2026-10-04T23:45:20.1794182+00:00","affected":[{"ecosystem":"npm","name":"figma-to-apl","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["100.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/figma-to-apl","https://www.npmjs.com/package/figma-to-apl/v/100.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17433","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17433","identifiers":["MAL-2026-17433"]},"retained":false,"historicalAffected":[]}],"coverage":[]}