Skip to main content

Malicious code in confluence-rest (npm)

0
Critical
Published: 08/28/2026 (08/28/2026, 23:17:05 UTC)
Source: GCVE Database
Product: confluence-rest

Description

The npm package 'confluence-rest' version 30.0.0 contains a malicious self-referential dependency pointing to an external URL. This design allows arbitrary code hosted at that URL to execute during package installation without integrity checks. The package's shipped code is inert, making the external URL the main vector for delivering malicious payloads. Any system with this package installed is considered fully compromised, requiring immediate secret and key rotation and package removal.

Affected software

npmghsa
confluence-rest
Affected versions
=30.0.0

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/09/2026, 21:08:13 UTC

Technical Analysis

The 'confluence-rest' npm package version 30.0.0 declares a self-referential dependency with the same package name but pointing to a bare HTTPS URL (https://repo.securityctrl.com/confluence-rest) instead of a semver range. During 'npm install', this URL is resolved and the tarball it returns is installed and executed, including any lifecycle scripts, without version pinning or integrity verification. The package's own index.js is inert, so the external URL is the sole source of executable code, effectively allowing whoever controls that URL to execute arbitrary code on the installer's machine. This dependency-confusion style attack targets internal package resolution mechanisms. The presence of this package indicates a full system compromise.

Potential Impact

Systems with 'confluence-rest' version 30.0.0 installed are fully compromised, as arbitrary code execution occurs during installation from an untrusted external source. Attackers controlling the external URL can execute any code, potentially stealing secrets and keys. Removal of the package alone does not guarantee eradication of all malicious software introduced. Immediate rotation of all secrets and keys stored on the compromised system is required.

Defensive Guidance

Remove the 'confluence-rest' package version 30.0.0 immediately. Rotate all secrets and keys from a different, uncompromised machine. Because full system compromise is likely, further forensic analysis and remediation may be necessary. Patch status is not confirmed; check vendor advisories for updates. No official fix or patch is currently documented.

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

Threat ID: 6a92f7e3acd9273b49e75cbe

Added to database: 08/29/2026, 15:16:51 UTC

Last enriched: 09/09/2026, 21:08:13 UTC

Last updated: 10/01/2026, 22:27:15 UTC

Views: 23

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