{"id":"MAL-2026-14299","revision":"a9f99c426fd943fb857c8423fec330d7","records":[{"revision":"a9f99c426fd943fb857c8423fec330d7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14299","aliases":[],"title":"Malicious code in gear-composer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f697d2d145e4ade11da0d34433b5f69b46fde8736031c5ffe63af4d2f843eaad)\nThe package ships multiple components consistent with an install-time credential harvest and exfiltration pipeline. scripts/postinstall-agent.mjs is registered as a lifecycle hook and performs host identification and outbound network activity. dist/secretScan/contentScanner.js and dist/secretScan/agentStartupAudit.js implement a secret-scanning path that reads content, decodes/re-encodes it via Buffer.from(..., 'base64'), and issues fetch() calls to huggingface.co endpoints (agentStartupAudit.js lines 490-563). dist/discord/discordRelayUpload.js and its top-level duplicate carry base64 blob handling together with ping and POST-based network operations for uploading collected data to Discord (lines 39, 227, 306, 321, 398, 461, 536). dist/relay/relayServer.js embeds an additional relay/beaconing surface with repeated ping calls. dist/hf/hfCredentials.js decodes base64-embedded credentials at load time (line 50). scripts/encode-deployment.mjs and dist/core/deploymentDefaults.js contain the encode/decode pair used to hide the shipped configuration/credentials. The combination — postinstall-triggered agent, base64-obfuscated deployment defaults and third-party credentials, filesystem/content scanner, and hardcoded relay destinations to Discord and HuggingFace — matches an active credential-exfiltration and covert-relay pattern rather than a normal composer/build tool.\n","state":0,"publishedAt":"2026-08-19T09:53:53+00:00","modifiedAt":"2026-08-19T10:15:12.7309411+00:00","affected":[{"ecosystem":"npm","name":"gear-composer","ranges":[],"versions":["1.0.126"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/gear-composer/v/1.0.126"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14299","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14299","identifiers":["MAL-2026-14299"]},"retained":false,"historicalAffected":[]}],"coverage":[]}