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 akamaijs-sensor (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:00:24 UTC)
Source: GCVE Database
Product: akamaijs-sensor

Description

The npm package akamaijs-sensor version 3.0.0 contains malicious code that executes attacker-controlled JavaScript within the consumer's Node.js process. It hides this code using invisible Unicode variation-selector characters inside a comment, which is decoded and executed dynamically. Additionally, it fetches a personal Google Calendar ICS feed to retrieve a rotating command-and-control URL, enabling the attacker to remotely execute arbitrary code via the package's sensor() API.

Affected software

npmghsa
akamaijs-sensor
Affected versions
=3.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: 08/05/2026, 17:17:48 UTC

Technical Analysis

The akamaijs-sensor npm package (version 3.0.0) masquerades as an Akamai sensor generator but embeds two malicious mechanisms. First, index.js contains a comment filled with invisible Unicode variation-selector characters encoding arbitrary JavaScript bytes. The sync-metrics.js file decodes this hidden code and executes it using new Function(), running attacker-authored code in the consumer's Node.js environment when the sensor() API is called. Second, index.js fetches a hardcoded Google Calendar ICS feed, extracting a URL from event descriptions that acts as a dynamic command-and-control endpoint. This endpoint can be rotated by the attacker via calendar event edits, allowing remote code execution with no legitimate purpose in the package.

Potential Impact

This malicious package enables remote code execution in the context of the Node.js process that imports it, allowing an attacker to run arbitrary code on the affected system. The dynamic command-and-control mechanism via a Google Calendar feed allows the attacker to change payloads and commands without updating the package, increasing stealth and persistence.

Mitigation Recommendations

No official patch or remediation is currently documented for this package. Users should immediately remove version 3.0.0 of akamaijs-sensor from their environments and avoid using this package. Verify dependencies and replace with trusted alternatives. Monitor for any unexpected network connections to Google Calendar URLs or suspicious behavior related to this package. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.

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-12337
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735743bf8831d539159c5f

Added to database: 08/05/2026, 15:31:15 UTC

Last enriched: 08/05/2026, 17:17:48 UTC

Last updated: 08/05/2026, 17:17:48 UTC

Views: 2

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