{"id":"MAL-2026-16345","revision":"e5bec07594c347d583a5a812e307960e","records":[{"revision":"e5bec07594c347d583a5a812e307960e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16345","aliases":[],"title":"Malicious code in starbucks-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f42de3e225b6f8d6be04fbf613ae4d17458626c92f2cfe1bf1b4476fe132e761)\nThe package's package.json declares a preinstall script that runs callback.js on npm install. callback.js collects os.hostname(), os.userInfo(), os.platform(), the current working directory, and a timestamp, then enumerates process.env and selects keys matching /token|secret|key|pass|auth|api|aws/i (up to 10 entries). The collected data is POSTed via https.request to https://api.telegram.org/bot<BOT_TOKEN>/sendMessage using a hardcoded Telegram bot token and chat_id (bot 8636277735, chat_id 1064260758). The name mimics a legitimate vendor SDK but the package's only behavior is install-time reconnaissance and exfiltration of installer/build-host identity and credential-shaped environment variable names to an attacker-controlled Telegram channel — a dependency-confusion recon payload.\n\n## Source: ossf-package-analysis (cbea0cf6cf424cbaa524691f90c075f11c4c5265e941abdeab442a53ccbb0caf)\nThe OpenSSF Package Analysis project identified 'starbucks-sdk' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","state":0,"publishedAt":"2026-09-20T00:45:28+00:00","modifiedAt":"2026-09-21T05:30:06.3315532+00:00","affected":[{"ecosystem":"npm","name":"starbucks-sdk","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/starbucks-sdk/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16345","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16345","identifiers":["MAL-2026-16345"]},"retained":false,"historicalAffected":[]}],"coverage":[]}