Skip to main content

Malicious code in common-array-token (npm)

0
High
Published: 08/29/2026 (08/29/2026, 02:14:47 UTC)
Source: GCVE Database
Product: common-array-token

Description

The npm package 'common-array-token' version 1.0.0 contains malicious code in its postinstall script. During installation, it reconstructs an obfuscated URL and fetches JavaScript code from a remote server, then executes it with the installer's user privileges. This behavior poses a risk of arbitrary code execution on the machine performing the npm install.

Affected software

npmghsa
common-array-token
Affected versions
=1.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:37:43 UTC

Technical Analysis

The 'common-array-token' npm package version 1.0.0 declares a postinstall script that runs 'node index.js'. This script reconstructs a URL from a numeric character array, which decodes to 'https://access-token-delta.vercel.app/'. It fetches JSON from this endpoint and passes the 'token' field to eval(), executing any JavaScript code served by the remote endpoint with the installer's privileges. The obfuscation of the URL conceals the destination from plaintext scanning. There is no legitimate reason for fetching and executing remote code in this manner during package installation, indicating malicious intent.

Potential Impact

Any user installing the affected package version executes arbitrary JavaScript code controlled by the attacker with their user privileges. This can lead to compromise of the installer's environment, including potential data theft, system modification, or further malware installation. The impact is limited to users who install this specific package version.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing 'common-array-token' version 1.0.0. Since the package fetches and executes remote code during installation, the safest mitigation is to remove or block this package from use. Monitor for updates or advisories from the package repository or npm for any official 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-15550
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a92f7d9acd9273b49e75a8e

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

Last enriched: 09/09/2026, 21:37:43 UTC

Last updated: 10/01/2026, 22:26:58 UTC

Views: 29

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