Skip to main content

Malicious code in openai-pr-reviewer (npm)

0
Critical
Published: 08/24/2026 (08/24/2026, 16:45:53 UTC)
Source: GCVE Database
Product: openai-pr-reviewer

Description

The openai-pr-reviewer npm package version 1.0.0 contains malicious code that executes automatically during installation. Its preinstall script collects sensitive system information including hostname, username, home directory, DNS servers, current working directory, package.json contents, and contents of /etc/passwd and /etc/hosts. This data is exfiltrated via HTTPS to a hardcoded external server. Installation requires no user interaction, making compromise silent and immediate. Systems with this package installed should be considered fully compromised, and all secrets and keys on those systems should be rotated from a different, trusted machine.

Affected software

npmghsa
openai-pr-reviewer
Affected versions
=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, 05:24:51 UTC

Technical Analysis

The openai-pr-reviewer npm package version 1.0.0 includes a preinstall lifecycle script that runs automatically on npm install. This script executes index.js, which gathers extensive system and user environment data, including sensitive files such as /etc/passwd and /etc/hosts, and sends this information over HTTPS to a hardcoded Burp Collaborator subdomain. This behavior constitutes malicious code embedded in the package, enabling remote attackers to gain sensitive information and potentially full control of the affected system. The compromise is silent and requires no user interaction, making detection difficult. The package should be removed, but due to the severity of the compromise, full remediation may require system rebuild and credential rotation.

Potential Impact

Any system that installs openai-pr-reviewer version 1.0.0 is at high risk of full compromise. The malicious preinstall script exfiltrates sensitive system and user information to an attacker-controlled server. This can lead to unauthorized access, credential theft, and persistent control over the affected machine. Because the compromise occurs automatically during installation, users may be unaware of the breach. The presence of this package on a system implies that all stored secrets and keys should be considered compromised and rotated immediately from a separate, secure environment.

Defensive Guidance

There is no official patch or fix available for this malicious package. Immediate removal of openai-pr-reviewer version 1.0.0 from all affected systems is required. Due to the high likelihood of full system compromise, all secrets, credentials, and keys stored on the affected machines must be rotated from a different, trusted system. Consider rebuilding or thoroughly cleaning the affected systems to ensure removal of any persistent malicious artifacts. Avoid installing this package or any untrusted npm packages without thorough vetting.

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-14434
Osv Schema Version
1.7.4
Aliases
["GHSA-wpv4-wxrh-hvmh"]
Ecosystems
["npm"]

Threat ID: 6a9f9110acd9273b49ff2ac9

Added to database: 09/08/2026, 04:37:36 UTC

Last enriched: 09/08/2026, 05:24:51 UTC

Last updated: 10/01/2026, 23:21:07 UTC

Views: 20

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