{"id":"GHSA-wqv4-64mh-f93c","kind":"package","aliases":["GHSA-wqv4-64mh-f93c","MAL-2026-16387"],"related":[],"title":"Malicious code in @mr-supun-fernando/supunmd-bail (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (86c68c82f6ead4ab3b823b81fd6805991bfdd65cdc901d83aeb561cdd8f27b19)\npackage.json declares `\"libsignal\": \"github:tenka-san/libsignal-node\"` — an off-registry dependency source pointing at a personal-user GitHub repository with no commit SHA, no tag, and no integrity check. On `npm install`, npm clones the current tip of that repository and installs whatever it contains, running any lifecycle scripts (`preinstall`/`install`/`postinstall`/`prepare`) inside the fetched tree on the installer's machine. The dependency key `libsignal` shadows the well-known Signal protocol library, but the source is a personal user's fork rather than the upstream signalapp organization, so whoever controls the tenka-san/libsignal-node repository controls install-time code execution on every installer of this package. The source is mutable — content that resolves benign today can be replaced without any change to this package. A secondary observation: lib/Utils/generics.js line 403 references `ping`, but this is unrelated to the primary install-time execution concern.\n\n## Source: ghsa-malware (74fbd7734143676fbf1115232ad723a4e0f2e9561ff863a56f5511403976f39b)\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":"@mr-supun-fernando/supunmd-bail","note":"all versions","fixed":[],"affected":"","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-09-22T16:05:01+00:00","first_seen_at":"2026-11-16T20:06:44+00:00","triaged_at":"2026-11-16T20:08:32+00:00","updated_at":"2026-11-16T20:08:32+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-16387':17A '-2026':16A '/libsignal-node':51C,143C '/supunmd-bail':8A,27A '403':180C '64mh':13A,21A '74fbd7734143676fbf1115232ad723a4e0f2e9561ff863a56f5511403976f39b':199C '86c68c82f6ead4ab3b823b81fd6805991bfdd65cdc901d83aeb561cdd8f27b19':43C 'amazon':41C 'amazon-inspector':40C 'benign':164C 'chang':171C 'check':75C 'clone':80C 'code':2A,149C 'commit':68C 'compromis':213C 'comput':201C,221C,229C,241C 'concern':194C 'consid':211C 'contain':91C 'content':161C 'control':138C,145C,238C 'current':82C 'declar':45C 'depend':56C,110C 'detail':32C 'differ':228C 'edit':35C 'entiti':249C 'everi':152C 'execut':150C,193C 'f93c':14A,22A 'fernando':7A,26A 'fetch':102C 'fork':129C 'full':237C 'fulli':212C 'ghsa':11A,19A,197C 'ghsa-malwar':196C 'ghsa-wqv4-64mh-f93c':10A,18A 'github':47C,64C 'given':245C 'guarante':253C 'immedi':225C 'insid':100C 'inspector':42C 'instal':78C,88C,97C,106C,147C,153C,191C,206C,265C 'install-tim':146C,190C 'integr':74C 'key':111C,217C 'known':117C 'lib/utils/generics.js':178C 'librari':120C 'libsign':46C,112C 'lifecycl':94C 'line':38C,179C 'machin':108C 'mal':15A 'malici':1A,28B,261C 'malwar':198C 'may':242C 'mr':5A,24A 'mr-supun-fernando':4A,23A 'mutabl':160C 'npm':9A,77C,79C 'observ':177C 'off-registri':53C 'organ':135C 'outsid':248C 'packag':29B,156C,174C,205C,231C,257C 'package.json':44C 'per':30C 'person':62C,126C 'personal-us':61C 'ping':182C 'point':58C 'postinstal':98C 'preinstal':96C 'prepar':99C 'primari':189C 'protocol':119C 'rather':130C 'refer':181C 'registri':55C 'remov':234C,255C,259C 'replac':168C 'repositori':65C,86C,144C 'resolv':163C 'result':263C 'rotat':224C 'run':92C,208C 'san':50C,142C 'script':95C 'secondari':176C 'secret':215C 'sha':69C 'shadow':113C 'signal':118C 'signalapp':134C 'softwar':262C 'sourc':31C,39C,57C,123C,158C,195C 'store':218C 'supun':6A,25A 'tag':71C 'tenka':49C,141C 'tenka-san':48C,140C 'time':148C,192C 'tip':83C 'today':165C 'tree':103C 'unrel':186C 'upstream':133C 'user':63C,127C 'well':116C 'well-known':115C 'whatev':89C 'whoever':137C 'without':169C 'wqv4':12A,20A","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["supunmdbail"],"ptokens":["bail","fernando","mr","supun","supunmd"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-16387':17A '-2026':16A '/supunmd-bail':8A,27A '64mh':13A,21A 'code':2A 'f93c':14A,22A 'fernando':7A,26A 'ghsa':11A,19A 'ghsa-wqv4-64mh-f93c':10A,18A 'mal':15A 'malici':1A 'mr':5A,24A 'mr-supun-fernando':4A,23A 'npm':9A 'supun':6A,25A 'wqv4':12A,20A","search_b":"'malici':28B 'packag':29B","search_c":"'/libsignal-node':51C,143C '403':180C '74fbd7734143676fbf1115232ad723a4e0f2e9561ff863a56f5511403976f39b':199C '86c68c82f6ead4ab3b823b81fd6805991bfdd65cdc901d83aeb561cdd8f27b19':43C 'amazon':41C 'amazon-inspector':40C 'benign':164C 'chang':171C 'check':75C 'clone':80C 'code':149C 'commit':68C 'compromis':213C 'comput':201C,221C,229C,241C 'concern':194C 'consid':211C 'contain':91C 'content':161C 'control':138C,145C,238C 'current':82C 'declar':45C 'depend':56C,110C 'detail':32C 'differ':228C 'edit':35C 'entiti':249C 'everi':152C 'execut':150C,193C 'fetch':102C 'fork':129C 'full':237C 'fulli':212C 'ghsa':197C 'ghsa-malwar':196C 'github':47C,64C 'given':245C 'guarante':253C 'immedi':225C 'insid':100C 'inspector':42C 'instal':78C,88C,97C,106C,147C,153C,191C,206C,265C 'install-tim':146C,190C 'integr':74C 'key':111C,217C 'known':117C 'lib/utils/generics.js':178C 'librari':120C 'libsign':46C,112C 'lifecycl':94C 'line':38C,179C 'machin':108C 'malici':261C 'malwar':198C 'may':242C 'mutabl':160C 'npm':77C,79C 'observ':177C 'off-registri':53C 'organ':135C 'outsid':248C 'packag':156C,174C,205C,231C,257C 'package.json':44C 'per':30C 'person':62C,126C 'personal-us':61C 'ping':182C 'point':58C 'postinstal':98C 'preinstal':96C 'prepar':99C 'primari':189C 'protocol':119C 'rather':130C 'refer':181C 'registri':55C 'remov':234C,255C,259C 'replac':168C 'repositori':65C,86C,144C 'resolv':163C 'result':263C 'rotat':224C 'run':92C,208C 'san':50C,142C 'script':95C 'secondari':176C 'secret':215C 'sha':69C 'shadow':113C 'signal':118C 'signalapp':134C 'softwar':262C 'sourc':31C,39C,57C,123C,158C,195C 'store':218C 'tag':71C 'tenka':49C,141C 'tenka-san':48C,140C 'time':148C,192C 'tip':83C 'today':165C 'tree':103C 'unrel':186C 'upstream':133C 'user':63C,127C 'well':116C 'well-known':115C 'whatev':89C 'whoever':137C 'without':169C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-09-22T16:05:01+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-16387","url":"https://osv.dev/vulnerability/MAL-2026-16387","severity":"critical","published_at":"2026-09-22T16:05:01+00:00","modified_at":"2026-11-16T19:30:06+00:00","first_seen_at":"2026-11-16T20:06:44+00:00","fetched_at":"2026-11-16T20:06:44+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"}