{"id":"GHSA-j83w-xhgf-7m58","kind":"package","aliases":["GHSA-j83w-xhgf-7m58","MAL-2026-18329"],"related":[],"title":"Malicious code in @iobandamwer/cache-helper (npm)","description":"---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b0a88993bf967d1bbbc61cb5f43b4d9af5d9ef74b920e70d828b4a52bf880979)\nThe package advertises itself as 'Cache utilities' but ships no source, no binding.gyp, and no build configuration — only two prebuilt native addons (addon.node ELF for Linux, addon_win.node PE for Windows) and a 4,164,844-byte opaque, high-entropy file named.napi_cache with no readable strings and no magic header. The package.json postinstall hook runs `node -e \"try{require(process.platform==='win32'?'./addon_win.node':'./addon.node').init()}catch(e){}\"`, loading the platform-specific native binary and invoking init() on every install, with the error swallowed to suppress install-time noise. The Linux addon contains the format string '%s/.napi_cache' alongside fopen64/fread, references a '/tmp/.%u' staging path, and uses fork, setsid, execlp, chmod and _exit primitives — the shape of a drop-and-detach loader that reads the bundled.napi_cache blob, writes it to a hidden /tmp path, chmods it executable and runs it as a detached process. The addon also encodes an extensive evasion suite: environment checks for GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NETLIFY, VERCEL, CF_BUILD_ID and SANDBOX; container probes against /proc/1/cgroup, docker, containerd, kubepod and podman; a TracerPid: debugger check via /proc/self/status; and host fingerprinting through /proc/meminfo, /proc/cpuinfo and /proc/self/maps. The combination — hollow self-description, source-less native binaries, lifecycle-hook execution of a staged opaque payload, and CI/sandbox/debugger gating — has no overlap with any legitimate cache library and is the fingerprint of an install-time dropper for attacker-controlled code.\n\n## Source: ghsa-malware (529f7b16fb0c62ee71033377d3aebf3048f045e18f982b99224a584be9c264f6)\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":"@iobandamwer/cache-helper","fixed":[],"affected":"= 1.1.3; = 1.1.2; = 1.1.1; = 1.1.0; = 1.0.9; = 1.0.8; = 1.0.7; = 1.0.6; = 1.0.5; = 1.0.4; = 1.0.3; = 1.0.2; = 0.0.0-stage","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-10-26T16:25:43+00:00","first_seen_at":"2026-10-26T20:51:55+00:00","triaged_at":"2026-10-26T20:53:36+00:00","updated_at":"2026-10-26T21:05:48+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-18329':13A '-2026':12A '/addon.node':99C '/addon_win.node':98C '/proc/1/cgroup':223C '/proc/cpuinfo':240C '/proc/meminfo':239C '/proc/self/maps':242C '/proc/self/status':234C '/tmp':138C,171C '164':69C '4':68C '529f7b16fb0c62ee71033377d3aebf3048f045e18f982b99224a584be9c264f6':293C '7m58':10A,18A '844':70C 'action':195C 'addon':57C,128C,184C 'addon.node':58C 'addon_win.node':62C 'advertis':38C 'alongsid':134C 'also':185C 'amazon':33C 'amazon-inspector':32C 'appveyor':206C 'attack':286C 'attacker-control':285C 'b0a88993bf967d1bbbc61cb5f43b4d9af5d9ef74b920e70d828b4a52bf880979':35C 'binari':109C,253C 'binding.gyp':48C 'bitbucket':210C 'blob':165C 'build':51C,204C,211C,216C 'buildkit':202C 'bundled.napi':163C 'byte':71C 'cach':41C,78C,164C,272C 'catch':101C 'cf':215C 'check':192C,232C 'chmod':147C,173C 'ci':197C 'ci/sandbox/debugger':264C 'circleci':199C 'code':2A,288C 'codebuild':203C 'combin':244C 'compromis':307C 'comput':295C,315C,323C,335C 'configur':52C 'consid':305C 'contain':129C,220C 'containerd':225C 'control':287C,332C 'debugg':231C 'descript':248C 'detach':158C,181C 'detail':24C 'differ':322C 'docker':224C 'drop':156C 'drop-and-detach':155C 'dropper':283C 'e':93C,102C 'edit':27C 'elf':59C 'encod':186C 'entiti':343C 'entropi':75C 'environ':191C 'error':118C 'evas':189C 'everi':114C 'execlp':146C 'execut':175C,257C 'exit':149C 'extens':188C 'file':76C 'fingerprint':237C,277C 'fopen64/fread':135C 'fork':144C 'format':131C 'full':331C 'fulli':306C 'gate':265C 'ghsa':7A,15A,291C 'ghsa-j83w-xhgf-7m58':6A,14A 'ghsa-malwar':290C 'github':194C 'gitlab':196C 'given':339C 'guarante':347C 'header':86C 'hidden':170C 'high':74C 'high-entropi':73C 'hollow':245C 'hook':90C,256C 'host':236C 'id':205C,217C 'immedi':319C 'init':100C,112C 'inspector':34C 'instal':115C,123C,281C,300C,359C 'install-tim':122C,280C 'invok':111C 'iobandamwer/cache-helper':4A,19A 'j83w':8A,16A 'jenkin':200C 'key':311C 'kubepod':226C 'legitim':271C 'less':251C 'librari':273C 'lifecycl':255C 'lifecycle-hook':254C 'line':30C 'linux':61C,127C 'load':103C 'loader':159C 'magic':85C 'mal':11A 'malici':1A,20B,355C 'malwar':292C 'may':336C 'named.napi':77C 'nativ':56C,108C,252C 'netlifi':213C 'node':92C 'nois':125C 'npm':5A 'number':212C 'opaqu':72C,261C 'outsid':342C 'overlap':268C 'packag':21B,37C,299C,325C,351C 'package.json':88C 'path':141C,172C 'payload':262C 'pe':63C 'per':22C 'platform':106C 'platform-specif':105C 'podman':228C 'postinstal':89C 'prebuilt':55C 'primit':150C 'probe':221C 'process':182C 'process.platform':96C 'read':161C 'readabl':81C 'refer':136C 'remov':328C,349C,353C 'requir':95C 'result':357C 'rotat':318C 'run':91C,177C,302C 's/.napi_cache':133C 'sandbox':219C 'secret':309C 'self':247C 'self-descript':246C 'semaphor':207C 'setsid':145C 'shape':152C 'ship':44C 'softwar':356C 'sourc':23C,31C,46C,250C,289C 'source-less':249C 'specif':107C 'stage':140C,260C 'store':312C 'string':82C,132C 'suit':190C 'suppress':121C 'swallow':119C 'teamciti':208C 'time':124C,282C 'tracerpid':230C 'travi':198C 'tri':94C 'two':54C 'u':139C 'url':201C 'use':143C 'util':42C 'vercel':214C 'version':209C 'via':233C 'win32':97C 'window':65C 'write':166C 'xhgf':9A,17A","nicknames":[],"mitigations":[],"who_affected":null,"tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-26T16:25:43+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-18329","url":"https://osv.dev/vulnerability/MAL-2026-18329","severity":"critical","published_at":"2026-10-26T16:25:43+00:00","modified_at":"2026-10-26T19:00:41+00:00","first_seen_at":"2026-10-26T20:51:55+00:00","fetched_at":"2026-10-26T20:51:55+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"}