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…

Malicious code in routing-controls (npm)

0
High
Published: 06/11/2026 (06/11/2026, 09:44:59 UTC)
Source: GCVE Database
Product: routing-controls

Description

The npm package 'routing-controls' version 1.0.1 is a malicious clone of the popular 'routing-controllers' package. It contains a code path that reloads a stub file named 'lib.min.js' on every POST request, which currently only logs a message but structurally allows future versions to execute arbitrary code on POST requests. There is no evidence of active exploitation or credential theft in the current version, but the package poses a latent risk if updated maliciously. Removal is recommended due to the potential for full system compromise.

Affected software

npmghsa
routing-controls
Affected versions
=1.0.1

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/09/2026, 09:53:16 UTC

Technical Analysis

The 'routing-controls' package (version 1.0.1) is a one-edit variant of the legitimate 'routing-controllers' npm package, designed to appear identical. It includes a suspicious mechanism in the 'executeAction' method that reloads a 'lib.min.js' file on every POST request, bypassing the require cache. Currently, this file only logs a timestamped message, but the structure enables a hot-swappable backdoor that could run arbitrary code in future versions. Although no active malicious behavior such as exfiltration or credential access is present now, the package is considered malicious due to its potential for future exploitation. The package should be treated as fully compromising any system where it is installed.

Potential Impact

If exploited in a future version, the package could execute arbitrary code on every POST request within applications using it, potentially leading to full system compromise. Currently, the version 1.0.1 does not perform harmful actions beyond logging, but the presence of a hot-swappable code path means the risk is latent and could be activated by a malicious update. Systems with this package installed should be considered compromised due to the possibility of future malicious payloads. Secrets and keys on affected systems should be rotated as a precaution.

Mitigation Recommendations

No official patch or fix is currently available for this package. The recommended mitigation is to immediately remove the 'routing-controls' package version 1.0.1 from all systems. Rotate all secrets and keys stored on affected computers from a separate, trusted environment. Monitor for any suspicious activity and avoid using this package in any environment. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates or official remediation guidance.

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-5635
Osv Schema Version
1.7.4
Aliases
["GHSA-jmhh-mvpj-27qq"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4f6c3968715ace431588fd

Added to database: 07/09/2026, 09:39:05 UTC

Last enriched: 07/09/2026, 09:53:16 UTC

Last updated: 07/26/2026, 15:34:44 UTC

Views: 7

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