MAL-2026-14331

    Dashboard / Malicious Package / MAL-2026-14331

    MAL-2026-14331

    Published: 20 Aug 2026Last Modified: 20 Aug 2026Aliases: 
    GHSA-3g8c-37c3-75vv

    Summary: Malicious code in exam-kit (npm)

    Details: Source: amazon-inspector (29cd95c1b59238861675a30a947648a2280420c11e53dcb4f8501db5cb736313) On any require/import of exam-kit, the main entry runs a top-level await that reads an out-of-package file at../../../../public/logo.ico, DES-decrypts it using a hardcoded key ('bf497c0b9cee'), and pipes the plaintext into a detached `node` child process via stdin (spawn('node', [], {detached:true, stdio:['pipe','ignore','ignore']}); stdin.write(rsaDecrypted); unref()). The decrypted bytes are opaque code executed on the installer's host with no integrity check. The loader hides its purpose with cover-story naming: a variable named `rsaDecrypted` actually holds DES-decrypted content, the function `readLogoIco` treats an.ico asset as ciphertext, and errors are logged as 'ThetaSDK initialization error' — unrelated to the package's stated exam-session purpose. The path-traversal source (../../../../public/logo.ico), hardcoded symmetric key, misleading log strings, and detached/unref'd spawn are dropper-loader characteristics rather than legitimate library behavior. Source: ghsa-malware (e817468936bfd06bc41640b486d0d044e5934bb8e7653bd97340efd4920d8b7a) 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.

    Affected packages

    Package

    Name: exam-kit

    Purl: pkg:npm/exam-kit

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.2
    1.0.3
    1.0.1
    1.0.0
    MAL-2026-14331 | CVE-DB