Skip to main content

Malicious code in tostpro (npm)

0
High
Published: 10/05/2026 (10/05/2026, 03:34:20 UTC)
Source: GCVE Database
Product: tostpro

Description

The npm package [email protected] contains a malicious preinstall script that executes automatically during installation. This script is obfuscated and designed to send the full environment variables, potentially including sensitive credentials, to a remote server after a specific date in 2026. The package's README falsely claims no network access or data collection, indicating deliberate evasion. This behavior poses a significant risk of credential leakage and unauthorized data exfiltration.

Affected software

npmghsa
tostpro
Affected versions
=100.6.0=100.2.0=100.7.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: 10/11/2026, 21:37:02 UTC

Technical Analysis

The npm package [email protected] includes a preinstall lifecycle hook that runs a shell script (test.sh) on npm install. The script reconstructs and executes a curl command that, after October 4, 2026, posts the installer's environment variables (which may contain sensitive information such as CI tokens, cloud credentials, and API keys) to https://abbishal.com/sh/poc. The code uses string-splitting obfuscation and a time-bomb gate to evade detection. The README misleadingly states that there is no network access or data collection, indicating intentional concealment of malicious activity.

Potential Impact

If triggered, this malicious code can exfiltrate sensitive environment data from the installation environment, including credentials and tokens, potentially leading to unauthorized access and compromise of systems relying on those credentials. The time-bomb mechanism delays activation until after October 4, 2026, which may allow the package to evade early detection and analysis.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the affected versions of tostpro. Review and remove any installations of [email protected], 100.6.0, and 100.7.0. Monitor for any suspicious network activity related to https://abbishal.com/sh/poc. Check the vendor advisory or npm security advisories for updates or fixes. Patch status is not yet confirmed — check the vendor advisory for current 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-17564
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6acc008d2cdf04f656fe3821

Added to database: 10/11/2026, 21:33:01 UTC

Last enriched: 10/11/2026, 21:37:02 UTC

Last updated: 10/11/2026, 21:37:02 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