{"id":"MAL-2026-10450","revision":"1ae0b6d1f65a408da8f2d9d1bad7518b","records":[{"revision":"1ae0b6d1f65a408da8f2d9d1bad7518b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10450","aliases":[],"title":"Malicious code in font-hub (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3df3dbd8669e4658a00a698bd8bd233d4c07de13b0f0e5533ca0d456b2ea3cf1)\nindex.js exports a getPlugin() function that performs an HTTPS request to https://svganchordev.net/icons/<token> and passes the response's `credits` field into `new Function('require','module','exports',...,'Promise', data.credits)`, then invokes it with the real `require`, `process`, `Buffer`, and I/O globals. This executes attacker-controlled JavaScript with full Node.js privileges whenever a consumer imports the package and calls its default export. The package presents itself as a React SVG/font helper, but the README content documents an unrelated 'polymarket-clob-api' project, and the declared dependencies (@primno/dpapi, better-sqlite3, node-machine-id) are consistent with browser-credential-store access on Windows. The fetched endpoint is unrelated to any font/SVG CDN; an iconDomain map referencing cloudflare/fastly/akamai and a font-awesome path are decorative and unused by the live code path, which unconditionally targets svganchordev.net.\n","state":0,"publishedAt":"2026-07-13T14:22:43+00:00","modifiedAt":"2026-07-13T15:47:28.9893183+00:00","affected":[{"ecosystem":"npm","name":"font-hub","ranges":[],"versions":["1.5.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/font-hub/v/1.5.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10450","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10450","identifiers":["MAL-2026-10450"]},"retained":false,"historicalAffected":[]}],"coverage":[]}