{"id":"MAL-2026-6993","revision":"b44ab134f5c8415da00ee6e0ffd274fa","records":[{"revision":"b44ab134f5c8415da00ee6e0ffd274fa","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6993","aliases":[],"title":"Malicious code in bytefaas-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (07cb4f68cec68081ac4817ad2ae387e7b031d3377a74a74ecca59c5858940d08)\nPackage published at version 9999.0.0 under the name `bytefaas-sdk`, the canonical dependency-confusion shape used to shadow a private internal package of the same name. `package.json` declares a `preinstall` hook that runs `callback.js`. On any `npm install`, callback.js collects the installer's `os.hostname()`, `os.userInfo().username`, platform, and cwd and transmits them to a third-party Interactsh (oast.fun) endpoint via both a DNS lookup (encoded subdomain) and an HTTPS POST. The HTTPS request sets `rejectUnauthorized: false`, disabling TLS certificate verification on the beacon. The package's README self-describes as a bug-bounty canary against TikTok's internal build systems, but the exfiltration fires unconditionally against any installer whose resolver picks up this public 9999.0.0 release — including unrelated organizations and CI systems. Cover-story framing does not change that non-consenting installers' host identifiers leak to a third-party server.\n","state":0,"publishedAt":"2026-07-08T16:27:34+00:00","modifiedAt":"2026-07-08T17:16:45.3570802+00:00","affected":[{"ecosystem":"npm","name":"bytefaas-sdk","ranges":[],"versions":["9999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bytefaas-sdk/v/9999.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6993","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6993","identifiers":["MAL-2026-6993"]},"retained":false,"historicalAffected":[]}],"coverage":[]}