Skip to main content

Malicious code in items-validator (npm)

0
Critical
Published: 09/28/2026 (09/28/2026, 22:03:57 UTC)
Source: GCVE Database
Product: items-validator

Description

The npm package 'items-validator' version 1.0.5 contains malicious code that launches a persistent background process executing server-supplied JavaScript code with full Node.js require access. This behavior is undisclosed and unrelated to the package's stated purpose as a validator library. The code fetches a payload from a hardcoded external endpoint and executes it after a signature check that is controlled by the package author, providing no independent integrity guarantee. This allows anyone controlling the endpoint or its DNS/TLS to execute arbitrary code as the installing user.

Affected software

npmghsa
items-validator
Affected versions
=1.0.5

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: 09/29/2026, 04:47:45 UTC

Technical Analysis

The 'items-validator' npm package (version 1.0.5) invokes a daemon process on require that fetches JavaScript code from a hardcoded external URL and executes it within the Node.js process using 'new Function'. Although an RSA signature check is performed, the signing key and verifier are controlled by the package author, rendering the check ineffective for independent integrity verification. This design enables remote code execution by anyone controlling the external endpoint or its DNS/TLS, allowing arbitrary code execution with the privileges of the installing user. The malicious behavior is not disclosed and is unrelated to the package's advertised functionality.

Potential Impact

An attacker who controls the external endpoint or its DNS/TLS can execute arbitrary code on the victim's system with the same privileges as the user installing or running the package. This can lead to full system compromise, data theft, persistence, or further lateral movement. The malicious code runs persistently in the background for the lifetime of the host process, increasing the attack surface and risk.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately stop using the 'items-validator' package version 1.0.5 and remove it from their environments. Avoid installing or running this package until a trusted, verified version is released. Monitor for any unauthorized processes spawned by this package and consider system integrity checks to detect compromise.

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-17235
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6abb4187f7a7c54106cc2f8e

Added to database: 09/29/2026, 04:41:43 UTC

Last enriched: 09/29/2026, 04:47:45 UTC

Last updated: 09/29/2026, 10:20:09 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