{"id":"MAL-2026-13951","revision":"66a9f53964764e148c0b5c0f9d5cbd67","records":[{"revision":"66a9f53964764e148c0b5c0f9d5cbd67","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13951","aliases":[],"title":"Malicious code in functions-framework-nodejs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d4c9e327ae7e806fc6d270807180963349c0b7578b69f31336780d87323fdafa)\nPackage `functions-framework-nodejs` is a typosquat of Google's `@google-cloud/functions-framework`. Its package.json declares `postinstall: node install.js`, and install.js runs `execSync(\"id\")` on the installer's host, then POSTs the captured Unix user/group identity (with package name, version, and timestamp) to a hardcoded webhook.site collector URL. The advertised library surface (index.js) is a trivial stub exporting only name and version — the package's sole functional effect on install is the identity exfiltration. Package metadata self-labels as \"For Security Research\" by author \"Berserk\"; that label does not change the behavior: on `npm install`, installer-side host identity is sent to a third-party endpoint the installer did not configure.\n","state":0,"publishedAt":"2026-08-13T17:21:06+00:00","modifiedAt":"2026-08-13T17:30:11.192474+00:00","affected":[{"ecosystem":"npm","name":"functions-framework-nodejs","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/functions-framework-nodejs/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13951","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13951","identifiers":["MAL-2026-13951"]},"retained":false,"historicalAffected":[]}],"coverage":[]}