Skip to main content

Malicious code in ap3-components-ui (npm)

0
High
Published: 07/10/2026 (07/10/2026, 16:47:46 UTC)
Source: GCVE Database
Product: ap3-components-ui

Description

The npm package 'ap3-components-ui' version 9.999.0 contains malicious code that executes a preinstall hook to collect sensitive installer environment data and exfiltrates it via DNS queries to an attacker-controlled domain. The package is a dependency-confusion squat designed to override legitimate internal packages. Installation of this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.

Affected software

npmghsa
ap3-components-ui
Affected versions
=9.999.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/12/2026, 18:31:52 UTC

Technical Analysis

The 'ap3-components-ui' npm package at version 9.999.0 includes a preinstall script that collects installer-side identifiers such as hostname, current working directory, username, and public IP address by querying ifconfig.me. This data is hex-encoded and exfiltrated as DNS subdomain queries to a malicious Interactsh collector domain controlled by an attacker. The package contains no legitimate library code and is structured as a dependency-confusion attack to supersede internal package versions. The presence of this package indicates a high risk of full system compromise.

Potential Impact

Any system with this package installed or running should be considered fully compromised. The attacker may have obtained sensitive environment information and potentially full control of the system. All secrets and keys stored on the compromised system should be rotated immediately from a separate, trusted machine. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.

Mitigation Recommendations

Remove the 'ap3-components-ui' package version 9.999.0 immediately. Rotate all secrets and keys that were stored or used on the compromised system from a different, secure computer. Because full system compromise is possible, conduct a thorough investigation and remediation of the affected host. No official patch or fix is available; the package itself is malicious and should be avoided.

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

Threat ID: 6a520ed768715ace4390b6e4

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

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

Last updated: 09/12/2026, 18:31:52 UTC

Views: 54

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