Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10116: Malicious code in jwtmethod (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 06:43:55 UTC)
Source: GCVE Database
Product: jwtmethod

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3dbd06d83019ce10a1c0da788fc10633f55f9f6c82058ca6841c4650b5611afb) On module load, jwtmethod's decode.js executes a top-level routine that performs an HTTPS GET to https://jsonkeeper.com/b/E69V3 and passes the response body to `new Function.constructor('require', errCode)`, then invokes the resulting function with the host's `require`. The fetched content is attacker-controlled (jsonkeeper.com is a mutable third-party paste host) and is executed with full Node capabilities, giving the attacker arbitrary code execution on the installer's machine the moment any consumer imports the package. Package metadata is forged to impersonate the auth0/jsonwebtoken ecosystem: package.json sets `author: auth0` and points `repository`/`bugs` at github.com/radix-ui/primitives, and README.md is the unrelated `react-text` documentation from radix-ui — a lure designed to entice installers looking for a JWT library.

Affected software

npmghsa
jwtmethod
Affected versions
=1.1.10

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:27:08 UTC

Technical Analysis

The jwtmethod npm package (version 1.1.10) includes a top-level routine in decode.js that performs an HTTPS GET request to a mutable third-party paste host (jsonkeeper.com). The response body is passed to a dynamically constructed function which is executed with the host's require context, enabling arbitrary code execution on the installer's machine immediately upon importing the package. The package metadata is falsified to mimic the auth0/jsonwebtoken ecosystem, including author and repository fields, and the README is unrelated content from another project, designed to lure users seeking JWT functionality.

Potential Impact

Any user who installs and imports jwtmethod version 1.1.10 is at risk of arbitrary code execution on their system due to the execution of attacker-controlled code with full Node.js privileges. This can lead to complete compromise of the host environment where the package is used.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing or using jwtmethod version 1.1.10. Verify package authenticity before installation and prefer well-known, trusted JWT libraries. Monitor for updates from the package maintainer or npm advisories for any future fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10116
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba2668715ace4357c215

Added to database: 07/10/2026, 09:23:50 UTC

Last enriched: 07/10/2026, 09:27:08 UTC

Last updated: 07/10/2026, 09:29:15 UTC

Views: 3

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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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