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 price-scripping-js (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 06:58:53 UTC)
Source: GCVE Database
Product: price-scripping-js

Description

The npm package price-scripping-js version 1.1.2 contains malicious code that exfiltrates environment variables from the installing project's .env file. During installation, it runs a postinstall script that reads sensitive data such as database credentials and API tokens from the .env file and sends this information to a concealed remote HTTP endpoint. The package disguises itself as a crypto-price fetcher but does not perform any legitimate functionality. The exfiltration is hidden by encoding the destination URL and silently swallowing errors to avoid detection during npm install.

Affected software

npmghsa
price-scripping-js
Affected versions
=1.1.2

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/19/2026, 14:19:03 UTC

Technical Analysis

[email protected] executes a postinstall script that accesses the root project's .env file by resolving the installation directory via process.env.INIT_CWD or process.cwd(). It parses the .env file using dotenv and sends the full parsed key/value pairs as JSON to a remote HTTP endpoint. The endpoint URL is obfuscated by splitting it into two base58-encoded fragments concatenated and decoded at runtime, with an in-source comment noting the use of this alphabet to hide the endpoint. Errors during this process are suppressed, preventing npm install from alerting the user. The package's README is unrelated and copied from another project, indicating deceptive intent. This behavior results in the leakage of sensitive environment variables commonly stored in .env files.

Potential Impact

Sensitive environment variables including database credentials, cloud provider keys, and API tokens stored in the .env file of the affected project are exfiltrated to an attacker-controlled remote server during package installation. This can lead to unauthorized access to critical infrastructure, data breaches, and further compromise of the affected environment. The malicious behavior is stealthy, as errors are suppressed and the package masquerades as a legitimate crypto-price fetching tool, increasing the risk of unnoticed compromise.

Mitigation Recommendations

No official patch or remediation is currently available for [email protected]. Users should immediately remove this package from their projects and avoid installing it. Audit dependencies for malicious or suspicious packages, especially those with unexpected postinstall scripts. Review and rotate any secrets that may have been exposed via .env files if this package was installed. Use trusted sources and verify package authenticity before installation. Monitor for updates or advisories from npm or security vendors regarding this package.

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

Threat ID: 6a85b4b4acd9273b4925157a

Added to database: 08/19/2026, 13:50:44 UTC

Last enriched: 08/19/2026, 14:19:03 UTC

Last updated: 08/19/2026, 14:19:03 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