Skip to main content

Malicious code in @cryptosrvc/no-brainer-sdk (npm)

0
High
Published: 08/05/2026 (08/05/2026, 13:01:29 UTC)
Source: GCVE Database
Product: @cryptosrvc/no-brainer-sdk

Description

The npm package @cryptosrvc/no-brainer-sdk version 1.0.18 contains malicious code that executes during the postinstall lifecycle event. This code collects detailed host information including hostname, username, sudo user, home directory, current working directory, network interfaces, DNS domain, and environment variables related to credentials and cloud services. The collected data is sent unencrypted via HTTP to a hardcoded external IP address, potentially exposing sensitive environment details. No official patch or remediation guidance is provided.

Affected software

npmghsa
@cryptosrvc/no-brainer-sdk
Affected versions
=1.0.18

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:16:40 UTC

Technical Analysis

The @cryptosrvc/no-brainer-sdk npm package version 1.0.18 includes a postinstall script (dist/recon.js) that performs host reconnaissance by gathering system and environment details such as hostname, username, SUDO_USER, home directory, current working directory, network interfaces including internal IPs, DNS domain, and npm lifecycle context. It enumerates environment variables filtering for keys related to cloud providers, authentication tokens, secrets, and credentials. This information is serialized and transmitted in JSON format over plain HTTP to a hardcoded IP address (138.68.108.20:80/cb) with a misleading user-agent and comment claiming the data is 'NON-SENSITIVE telemetry only'. This behavior occurs automatically upon package installation, constituting malicious exfiltration of potentially sensitive data.

Potential Impact

The malicious postinstall script can expose sensitive environment variables and system information to an external attacker-controlled server. This may lead to credential leakage, unauthorized access to cloud resources, and compromise of the host environment where the package is installed. The use of plain HTTP for data exfiltration increases the risk of interception. There is no indication of active exploitation in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing or using version 1.0.18 of @cryptosrvc/no-brainer-sdk. Review and audit dependencies for malicious postinstall scripts. Consider using package integrity verification and restricting execution of lifecycle scripts in npm.

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

Threat ID: 6a735743bf8831d539159c53

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

Last enriched: 08/05/2026, 17:16:40 UTC

Last updated: 09/07/2026, 22:00:04 UTC

Views: 17

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