{"id":"GHSA-v62j-7p69-5q4q","kind":"package","aliases":["GHSA-v62j-7p69-5q4q","MAL-2026-4675"],"related":[],"title":"Malicious code in supership-scan (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0aebde5ba55a72b6d4c6917ccf22db1427d434fed04cecc22dd16844e2d39033)\nThe package advertises itself as a local-only static analyzer (README: \"Runs locally. Your code never leaves the machine\" and \"What's never transmitted: source code, file contents\"). The actual implementation in src/cli.mjs and src/server.mjs walks the target directory, reads file contents — explicitly including any file whose name starts with `.env` (cli.mjs line 74: `if (!SCAN_EXTENSIONS.has(ext) &&!entry.startsWith('.env')) continue;`) — and POSTs the full file map to `https://supership.crestsystems.ai/scan/<tier>` (cli.mjs line ~99, server.mjs line ~108). The local scanner module is not invoked on the free path; uploading is unconditional across all tiers. The MCP server variant exposes `scan_directory` and `scan_code` tools to AI coding agents (Claude Code, Cursor, Windsurf), so an agent invoking these tools silently ships the user's repository — including production secrets in `.env`, `.env.production`, `.env.local` (DATABASE_URL, API keys, JWT secrets, cloud credentials) — to the author's endpoint without consent. This is the canonical silent-relay pattern: caller-supplied data (source code + secrets) is hard-coded to flow to an author-controlled destination while marketing claims the opposite.\n\n## Source: ghsa-malware (0e482ca14e9c633ea9b8642c2f13acf558f7425f474f918ea95e2c46d56c6c0b)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"supership-scan","fixed":[],"affected":"= 1.0.0","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-05-20T22:01:48+00:00","first_seen_at":"2026-11-10T21:15:52+00:00","triaged_at":"2026-11-10T21:16:26+00:00","updated_at":"2026-11-10T21:16:26+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-2026':14A '-4675':15A '/scan/':110C '0aebde5ba55a72b6d4c6917ccf22db1427d434fed04cecc22dd16844e2d39033':39C '0e482':223C '108':116C '5q4q':12A,20A '74':94C '7p69':11A,19A '99':113C 'across':131C 'actual':70C 'advertis':42C 'agent':148C,155C 'ai':146C 'amazon':37C 'amazon-inspector':36C 'analyz':50C 'api':174C 'author':182C,211C 'author-control':210C 'ca14e9c633ea9b8642c2f13acf558f7425f474f918ea95e2c46d56c6c0b':224C 'caller':196C 'caller-suppli':195C 'canon':190C 'claim':216C 'claud':149C 'cli.mjs':92C,111C 'cloud':178C 'code':2A,55C,66C,143C,147C,150C,200C,205C 'compromis':238C 'comput':226C,246C,254C,266C 'consent':186C 'consid':236C 'content':68C,82C 'continu':100C 'control':212C,263C 'credenti':179C 'cursor':151C 'data':198C 'databas':172C 'destin':213C 'detail':28C 'differ':253C 'directori':79C,140C 'edit':31C 'endpoint':184C 'entiti':274C 'entry.startswith':98C 'env':91C,99C,169C 'env.local':171C 'env.production':170C 'explicit':83C 'expos':138C 'ext':97C 'file':67C,81C,86C,105C 'flow':207C 'free':126C 'full':104C,262C 'fulli':237C 'ghsa':9A,17A,221C 'ghsa-malwar':220C 'ghsa-v62j-7p69-5q4q':8A,16A 'given':270C 'guarante':278C 'hard':204C 'hard-cod':203C 'immedi':250C 'implement':71C 'includ':84C,165C 'inspector':38C 'instal':231C,290C 'invok':123C,156C 'jwt':176C 'key':175C,242C 'leav':57C 'line':34C,93C,112C,115C 'local':47C,53C,118C 'local-on':46C 'machin':59C 'mal':13A 'malici':1A,24B,286C 'malwar':222C 'map':106C 'market':215C 'may':267C 'mcp':135C 'modul':120C 'name':88C 'never':56C,63C 'npm':7A 'opposit':218C 'outsid':273C 'packag':25B,41C,230C,256C,282C 'path':127C 'pattern':194C 'per':26C 'post':102C 'product':166C 'read':80C 'readm':51C 'relay':193C 'remov':259C,280C,284C 'repositori':164C 'result':288C 'rotat':249C 'run':52C,233C 'scan':6A,23A,139C,142C 'scan_extensions.has':96C 'scanner':119C 'secret':167C,177C,201C,240C 'server':136C 'server.mjs':114C 'ship':160C 'silent':159C,192C 'silent-relay':191C 'softwar':287C 'sourc':27C,35C,65C,199C,219C 'src/cli.mjs':73C 'src/server.mjs':75C 'start':89C 'static':49C 'store':243C 'supership':5A,22A 'supership-scan':4A,21A 'supership.crestsystems.ai':109C 'supership.crestsystems.ai/scan/':108C 'suppli':197C 'target':78C 'tier':133C 'tool':144C,158C 'transmit':64C 'uncondit':130C 'upload':128C 'url':173C 'user':162C 'v62j':10A,18A 'variant':137C 'walk':76C 'whose':87C 'windsurf':152C 'without':185C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["supershipscan"],"ptokens":["scan","supership"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-2026':14A '-4675':15A '5q4q':12A,20A '7p69':11A,19A 'code':2A 'ghsa':9A,17A 'ghsa-v62j-7p69-5q4q':8A,16A 'mal':13A 'malici':1A 'npm':7A 'scan':6A,23A 'supership':5A,22A 'supership-scan':4A,21A 'v62j':10A,18A","search_b":"'malici':24B 'packag':25B","search_c":"'/scan/':110C '0aebde5ba55a72b6d4c6917ccf22db1427d434fed04cecc22dd16844e2d39033':39C '0e482':223C '108':116C '74':94C '99':113C 'across':131C 'actual':70C 'advertis':42C 'agent':148C,155C 'ai':146C 'amazon':37C 'amazon-inspector':36C 'analyz':50C 'api':174C 'author':182C,211C 'author-control':210C 'ca14e9c633ea9b8642c2f13acf558f7425f474f918ea95e2c46d56c6c0b':224C 'caller':196C 'caller-suppli':195C 'canon':190C 'claim':216C 'claud':149C 'cli.mjs':92C,111C 'cloud':178C 'code':55C,66C,143C,147C,150C,200C,205C 'compromis':238C 'comput':226C,246C,254C,266C 'consent':186C 'consid':236C 'content':68C,82C 'continu':100C 'control':212C,263C 'credenti':179C 'cursor':151C 'data':198C 'databas':172C 'destin':213C 'detail':28C 'differ':253C 'directori':79C,140C 'edit':31C 'endpoint':184C 'entiti':274C 'entry.startswith':98C 'env':91C,99C,169C 'env.local':171C 'env.production':170C 'explicit':83C 'expos':138C 'ext':97C 'file':67C,81C,86C,105C 'flow':207C 'free':126C 'full':104C,262C 'fulli':237C 'ghsa':221C 'ghsa-malwar':220C 'given':270C 'guarante':278C 'hard':204C 'hard-cod':203C 'immedi':250C 'implement':71C 'includ':84C,165C 'inspector':38C 'instal':231C,290C 'invok':123C,156C 'jwt':176C 'key':175C,242C 'leav':57C 'line':34C,93C,112C,115C 'local':47C,53C,118C 'local-on':46C 'machin':59C 'malici':286C 'malwar':222C 'map':106C 'market':215C 'may':267C 'mcp':135C 'modul':120C 'name':88C 'never':56C,63C 'opposit':218C 'outsid':273C 'packag':41C,230C,256C,282C 'path':127C 'pattern':194C 'per':26C 'post':102C 'product':166C 'read':80C 'readm':51C 'relay':193C 'remov':259C,280C,284C 'repositori':164C 'result':288C 'rotat':249C 'run':52C,233C 'scan':139C,142C 'scan_extensions.has':96C 'scanner':119C 'secret':167C,177C,201C,240C 'server':136C 'server.mjs':114C 'ship':160C 'silent':159C,192C 'silent-relay':191C 'softwar':287C 'sourc':27C,35C,65C,199C,219C 'src/cli.mjs':73C 'src/server.mjs':75C 'start':89C 'static':49C 'store':243C 'supership.crestsystems.ai':109C 'supership.crestsystems.ai/scan/':108C 'suppli':197C 'target':78C 'tier':133C 'tool':144C,158C 'transmit':64C 'uncondit':130C 'upload':128C 'url':173C 'user':162C 'variant':137C 'walk':76C 'whose':87C 'windsurf':152C 'without':185C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-05-20T22:01:48+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-4675","url":"https://osv.dev/vulnerability/MAL-2026-4675","severity":"critical","published_at":"2026-05-20T22:01:48+00:00","modified_at":"2026-11-10T20:30:04+00:00","first_seen_at":"2026-11-10T21:15:52+00:00","fetched_at":"2026-11-10T21:15:52+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}