{"id":"MAL-2026-12100","revision":"584c00af140e4490b8881dc98b545b05","records":[{"revision":"584c00af140e4490b8881dc98b545b05","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12100","aliases":[],"title":"Malicious code in @wethenorth12/solana-spl-token (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7dde46db2fbc17fae2957070f85bc43fdb1d265444f2e5adc936faa6f82e96e2)\n@wethenorth12/solana-spl-token is a typosquat of the legitimate @solana/spl-token package. On module load, index.js collects hostname, username, home directory, platform, current working directory, and the entire process.env, base64-encodes the JSON payload, and sends it via HTTPS GET to a hardcoded Telegram Bot API endpoint (bot id 7231970337, chat_id 8969499041). A flag file in the OS tmpdir prevents re-sending on subsequent requires. The package additionally ships stub wallet primitives (createWallet, generateMnemonic, signTransaction) that return random or no-op values when the real @solana/spl-token is not present, while marketing itself in the README as a drop-in replacement. Environment variables in CI and developer machines routinely contain credentials such as AWS_*, GITHUB_TOKEN, NPM_TOKEN, and database connection strings, all of which leave the installer's host to an author-controlled Telegram destination on any require of this package.\n","state":0,"publishedAt":"2026-08-05T06:24:04+00:00","modifiedAt":"2026-08-05T07:20:56.7956635+00:00","affected":[{"ecosystem":"npm","name":"@wethenorth12/solana-spl-token","ranges":[],"versions":["0.4.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@wethenorth12/solana-spl-token/v/0.4.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12100","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12100","identifiers":["MAL-2026-12100"]},"retained":false,"historicalAffected":[]}],"coverage":[]}