{"id":"GHSA-72jw-j77j-v6vv","kind":"package","aliases":["GHSA-72jw-j77j-v6vv","MAL-2026-17815"],"related":[],"title":"Malicious code in amprem (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (61910a4032ec54fa4fc9563754df94a67c45a324a3fb6210d51cb0f03d2b0a07)\namprem@0.0.2 is advertised as an 'API Scraper untuk Alight Motion Premium Activator' targeting the third-party service alight-motion-premium.site.je (AES-128-CBC cookie bypass for premium license activation). lib/api.js and lib/aes.js are heavily obfuscated using a custom XOR string-table decoder with zero-width/hidden-Unicode variable names, and run a top-level async IIFE at require() time. The IIFE resolves `require`, `await import(\"module\")`, and `process` from decoded strings, so its actual network destinations and command surface cannot be statically verified against the README-declared behavior (plain HTTPS + AES to alight-motion-premium.site.je, 'zero dependencies'). No install-lifecycle scripts are declared; execution occurs on module load. Offensive tooling against a third party is not itself installer harm, but the combination of opaque runtime-resolved built-ins and a mismatch with the declared 'zero dependencies' surface means the on-import behavior is unverifiable.\n\n## Source: ghsa-malware (2a1fce1d60e5a65e3872606d1167bd97dde29477b3d541736a537955c7dfe132)\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":"amprem","fixed":[],"affected":"all versions","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-12T15:21:00+00:00","first_seen_at":"2026-10-29T14:24:36+00:00","triaged_at":"2026-10-29T14:25:47+00:00","updated_at":"2026-10-29T18:52:51+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-128':57C '-17815':13A '-2026':12A '/hidden-unicode':83C '0.0.2':37C '2a1fce1d60e5a65e3872606d1167bd97dde29477b3d541736a537955c7dfe132':189C '61910a4032ec54fa4fc9563754df94a67c45a324a3fb6210d51cb0f03d2b0a07':35C '72jw':8A,16A 'activ':48C,64C 'actual':111C 'advertis':39C 'ae':56C,129C 'alight':45C 'alight-motion-premium.site.je':55C,131C 'amazon':33C 'amazon-inspector':32C 'amprem':4A,19A,36C 'api':42C 'async':92C 'await':101C 'behavior':126C,182C 'built':166C 'built-in':165C 'bypass':60C 'cannot':117C 'cbc':58C 'code':2A 'combin':159C 'command':115C 'compromis':203C 'comput':191C,211C,219C,231C 'consid':201C 'control':228C 'cooki':59C 'custom':73C 'declar':125C,140C,173C 'decod':78C,107C 'depend':133C,175C 'destin':113C 'detail':24C 'differ':218C 'edit':27C 'entiti':239C 'execut':141C 'full':227C 'fulli':202C 'ghsa':7A,15A,187C 'ghsa-72jw-j77j-v6vv':6A,14A 'ghsa-malwar':186C 'given':235C 'guarante':243C 'harm':156C 'heavili':69C 'https':128C 'iif':93C,98C 'immedi':215C 'import':102C,181C 'in':167C 'inspector':34C 'instal':136C,155C,196C,255C 'install-lifecycl':135C 'j77j':9A,17A 'key':207C 'level':91C 'lib/aes.js':67C 'lib/api.js':65C 'licens':63C 'lifecycl':137C 'line':30C 'load':145C 'mal':11A 'malici':1A,20B,251C 'malwar':188C 'may':232C 'mean':177C 'mismatch':170C 'modul':103C,144C 'motion':46C 'name':85C 'network':112C 'npm':5A 'obfusc':70C 'occur':142C 'offens':146C 'on-import':179C 'opaqu':161C 'outsid':238C 'packag':21B,195C,221C,247C 'parti':53C,151C 'per':22C 'plain':127C 'premium':47C,62C 'process':105C 'readm':124C 'readme-declar':123C 'remov':224C,245C,249C 'requir':95C,100C 'resolv':99C,164C 'result':253C 'rotat':214C 'run':87C,198C 'runtim':163C 'runtime-resolv':162C 'scraper':43C 'script':138C 'secret':205C 'servic':54C 'softwar':252C 'sourc':23C,31C,185C 'static':119C 'store':208C 'string':76C,108C 'string-tabl':75C 'surfac':116C,176C 'tabl':77C 'target':49C 'third':52C,150C 'third-parti':51C 'time':96C 'tool':147C 'top':90C 'top-level':89C 'untuk':44C 'unverifi':184C 'use':71C 'v6vv':10A,18A 'variabl':84C 'verifi':120C 'width':82C 'xor':74C 'zero':81C,132C,174C 'zero-width':80C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":"developers","plain_action":null,"first_public_at":"2026-10-12T15:21:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-17815","url":"https://osv.dev/vulnerability/MAL-2026-17815","severity":"critical","published_at":"2026-10-12T15:21:00+00:00","modified_at":"2026-10-29T13:48:10+00:00","first_seen_at":"2026-10-29T14:24:36+00:00","fetched_at":"2026-10-29T14:24:36+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}