Skip to main content

Malicious code in hrp987 (npm)

0
Critical
Published: 09/09/2025 (09/09/2025, 16:28:32 UTC)
Source: GCVE Database
Product: hrp987

Description

The npm package 'hrp987' contains malicious code that communicates with a domain linked to malicious activity. Installation or execution of this package can lead to a full compromise of the affected computer. Secrets and keys stored on the compromised system should be rotated immediately from a different, secure machine. Removing the package alone may not fully eliminate the malicious presence, as the attacker may have established persistent control.

Affected software

npmghsa
hrp987
Affected versions
>=1.0.0=1.0.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: 09/08/2026, 10:53:06 UTC

Technical Analysis

The 'hrp987' package in the npm ecosystem is identified as malicious due to its communication with a domain associated with malicious activity. According to the source details, any system with this package installed or running should be considered fully compromised. The attacker may have gained full control over the system, making it necessary to rotate all secrets and keys from a separate secure environment. Removal of the package is recommended but may not guarantee complete remediation due to potential persistence mechanisms.

Potential Impact

Systems with the 'hrp987' package installed or running are considered fully compromised, implying that attackers may have unauthorized control over the system. All stored secrets and keys on the affected system are at risk and should be rotated immediately. The presence of this package can lead to significant security breaches, data loss, or further malicious activity.

Defensive Guidance

Remove the 'hrp987' package immediately from affected systems. Rotate all secrets and keys stored on the compromised machine from a different, secure computer. Due to the potential for persistent compromise, consider rebuilding the affected system or performing a thorough forensic analysis to ensure complete removal of malicious components.

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-2025-47118
Osv Schema Version
1.7.4
Aliases
["GHSA-wgc4-hm5f-vjx5"]
Ecosystems
["npm"]

Threat ID: 6a96f318acd9273b49e495e5

Added to database: 09/01/2026, 15:45:28 UTC

Last enriched: 09/08/2026, 10:53:06 UTC

Last updated: 09/08/2026, 10:53:06 UTC

Views: 3

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