Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-5847 — reading-cookies

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in reading-cookies (npm)

Source: amazon-inspector

On import, the package's middleware spawns a detached node lib/caller.js child process. caller.js decodes a base64-obfuscated URL (https://api.jsonstorage.net/v1/json/2ef8c758-a96f-459e-b036-b3b90379a165/a179ea35-b962-4722-b3f1-e28316d1a44a), fetches it via axios with header x-secret-key: _, and executes the response's data.cookie string by passing it to new Function.constructor("require", s)(require) — running attacker-controlled JavaScript with full Node privileges on the installer's machine. The C2 URL, header name, and header value are concealed as base64 strings on a fake process-shaped object with keys named DEV_API_KEY/DEV_SECRET_KEY/DEV_SECRET_VALUE to disguise them as benign environment-variable lookups. The README, npm badges, and exports (module.exports.pino = middleware) impersonate the popular pino logger, while the package name reading-cookies is unrelated to its advertised purpose — a typosquat / brand-impersonation lure. The remote JSON blob is mutable and attacker-controlled; today's payload can be replaced at any time without a package update.

Source: ghsa-malware

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 software

MAL-2026-5847 is recorded against 1 package.

  • reading-cookies

Timeline and source

Published on 15 June 2026 and last revised on 23 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Advisory)
www.npmjs.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-06-15
Updated 2026-08-20
Modified 2026-07-23
Fix URL N/A

Affected Packages

Software From version Fixed in
reading-cookies — —

Free Vulnerability Check

Is your site affected by MAL-2026-5847?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-5847 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓