Skip to main content

Malicious code in pinochiomathm (npm)

0
Unknown
Published: 09/10/2026 (09/10/2026, 18:08:42 UTC)
Source: GCVE Database
Product: pinochiomathm

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (135c673bb3925502b10f92d9819d956004ade25faa9c358f6d3fb2c67cd6114e) The package impersonates picomatch (name 'pinochiomathm', description copied from picomatch, homepage pointing at github.com/micromatch/picomach). On require, lib/pinochiomathm.js reads lib/parse.ts.map, base64-decodes it into parsetmp.js, and requires it. The decoded module performs an HTTP GET to https://www.jsonkeeper.com/b/V6NBX with a decoded 'x-secret-key' header, AES-256-CBC-decrypts the response using a hardcoded password, and passes the plaintext to eval(). A second disguised file lib/init.ts.map contains an additional base64-wrapped payload of the same shape. After execution the loader unlinks lib/parse.ts.map, parsetmp.js, lib/init.ts.map and config.js to remove the staged payload from disk. The result is arbitrary remote code execution in the installer's Node process, controlled by whoever edits the jsonkeeper paste, with anti-analysis evasion via sourcemap-filename disguise, base64+AES wrapping, and post-execution cleanup.

Affected software

npmghsa
pinochiomathm
Affected versions
=2.3.4=2.3.3=2.3.2=2.3.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-16123
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6aa3297791cc7f3848d1a3a0

Added to database: 09/10/2026, 22:04:39 UTC

Last updated: 09/10/2026, 22:04:39 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses