Malicious code in ng-search-api (npm)
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.
AI Analysis
Technical Summary
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.
Mitigation Recommendations
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.
Malicious code in ng-search-api (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.