Skip to main content

Malicious code in ksp-app (npm)

0
High
Published: 10/11/2026 (10/11/2026, 13:57:22 UTC)
Source: GCVE Database
Product: ksp-app

Description

The ksp-app npm package version 100.100.100 is a malicious dependency-confusion package that contains a prebuilt Linux x64 native addon. Upon installation, it executes a postinstall script that loads the native addon, which exfiltrates environment variables including HOSTNAME, npm_package_name, and npm_config_registry to a hardcoded IP address. The package exports no functional JavaScript code, indicating its sole purpose is to confirm installation in victim environments and disclose internal npm registry URLs to a third party.

Affected software

npmghsa
ksp-app
Affected versions
=100.100.100

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:44:03 UTC

Technical Analysis

The ksp-app package at version 100.100.100 is a malicious npm package designed for dependency confusion attacks. It contains an opaque prebuilt ELF native addon for Linux x64 that is loaded during the postinstall phase via a script declared in package.json. This native addon reads environment variables related to the host and npm configuration and sends them via an HTTP POST request to a hardcoded IP address (64.181.165.115). The package has no source code or build tooling, and its JavaScript stub exports an empty object, indicating that all malicious behavior is embedded in the native binary. This behavior is consistent with exfiltration of internal environment details and npm registry URLs to an attacker-controlled endpoint.

Potential Impact

The malicious package can leak sensitive environment information such as the hostname, package name, and npm registry URL configured in the victim's environment. This can lead to exposure of internal infrastructure details and potentially facilitate further targeted attacks. The package does not appear to execute arbitrary code beyond data exfiltration, but the disclosure of internal registry URLs can aid attackers in reconnaissance and supply chain compromise.

Mitigation Recommendations

No official patch or remediation is indicated for this package. Users should avoid installing the ksp-app package at version 100.100.100 from untrusted sources. Review and restrict npm package sources to trusted registries to prevent dependency confusion attacks. Monitor for and remove any installations of this package. Since this is a malicious package rather than a vulnerability in legitimate software, remediation involves removing the package and preventing its installation.

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

Threat ID: 6acc00a32cdf04f656fecb2f

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

Last enriched: 10/11/2026, 21:44:03 UTC

Last updated: 10/11/2026, 21:44:03 UTC

Views: 4

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