Skip to main content

Malicious code in ng-search-api (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 16:24:50 UTC)
Source: GCVE Database
Product: ng-search-api

Description

The npm package 'ng-search-api' contains malicious code that compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected machine should be rotated immediately from a different, trusted computer. Removing the package alone does not guarantee removal of all malicious software, as the attacker may have gained full control of the system.

Affected software

npmghsa
ng-search-api

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/12/2026, 18:31:47 UTC

Technical Analysis

The 'ng-search-api' npm package has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host system. Due to the nature of the compromise, attackers may have persistent control beyond the presence of the package itself, necessitating immediate secret/key rotation and thorough remediation.

Potential Impact

Any system with the 'ng-search-api' package installed or running is considered fully compromised. Attackers may have access to all stored secrets and keys, potentially leading to further unauthorized access and data breaches. Removal of the package does not guarantee elimination of the threat, as additional malicious software may have been installed.

Defensive Guidance

Remove the 'ng-search-api' package immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted machine. Conduct a comprehensive security assessment and remediation of the affected system, as the attacker may have established persistent control. No official patch or fix is available; the package itself is malicious.

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-10146
Osv Schema Version
1.7.4
Aliases
["GHSA-rgrc-mmg8-pgrr"]
Ecosystems
["npm"]

Threat ID: 6a520edb68715ace43915a5d

Added to database: 07/11/2026, 09:37:31 UTC

Last enriched: 09/12/2026, 18:31:47 UTC

Last updated: 09/13/2026, 02:38:03 UTC

Views: 56

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