---
id: "GHSA-v68r-r4xh-39qw"
page: "https://infrastack.ai/live/GHSA-v68r-r4xh-39qw"
kind: "package"
aliases: ["GHSA-v68r-r4xh-39qw", "MAL-2026-16441"]
title: "Malicious code in moidevl (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "moidevl", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-09-23T02:44:31+00:00"
first_seen_at: "2026-11-16T21:06:51+00:00"
updated_at: "2026-11-16T21:08:37+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-16441", "first_seen_at": "2026-11-16T21:06:51+00:00"}]
exploit_sources: []
---

# Malicious code in moidevl (npm)

Link for people: https://infrastack.ai/live/GHSA-v68r-r4xh-39qw (this .md is for agents)

## Affected

- npm:moidevl affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-16T21:06:51+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-16441

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (76b05c7a5581562edc719cbaaf2f6b317d322a6a2ef96c9fc905b53394e42101)
Despite a README describing a 'Windows diagnostic utility,' the package implements an anti-proctoring overlay for cheating on remote exams (Safe Exam Browser / AMCAT). main.js drives an Electron window hidden from screen capture via SetWindowDisplayAffinity(WDA_EXCLUDEFROMCAPTURE) and WS_EX_TOOLWINDOW/NOACTIVATE, launched as a detached process renamed to 'SearchApp.exe' to masquerade as Windows Search, and polls for a proctoring process 'core.exe' via `tasklist /FI "IMAGENAME eq core.exe"` to temporarily normalize the affinity flag while the proctor scans. bin/kalamasha-tool.js spawns a 'Ghost Watchdog' that copies node_modules/electron/dist/electron.exe to SearchApp.exe and immortally respawns it with backoff when killed, logging to %LOCALAPPDATA%\Microsoft\Windows\Diagnostics\boot.log. bin/chrome_cookies.ps1 walks Chrome/Edge/Brave 'User Data' profile directories, copies the locked Cookies SQLite DB to %TEMP%, reads the DPAPI-wrapped os_crypt.encrypted_key from Local State, and AES-256-GCM-decrypts cookie values for openai.com, chatgpt.com, auth0.openai.com and auth.openai.com; the decrypted cookies are injected into an embedded Electron session to drive those AI services under the browser owner's identity. main.js captures the foreground exam window (screenshot plus UI-Automation text extraction) and posts the content to https://ipc.shadxino.internal via HTTP POST from lines 364 and 368. The tarball also ships a 27MB opaque bin/uia_extract.exe alongside a Python source equivalent, invoked as `python "${pyPath}" || "${exePath}"`.

## Source: ghsa-malware (6efded76cf15a4f9f325f00b44a04f5f6590291074b0bc97182f815c890ed92c)
Any 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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
