Skip to main content

Malicious code in mapkit-loader (npm)

0
Medium
Published: 08/19/2026 (08/19/2026, 03:16:17 UTC)
Source: GCVE Database
Product: mapkit-loader

Description

The npm package 'mapkit-loader' version 1.0.0 is a typosquatting malicious package impersonating the official scoped '@apple/mapkit-loader'. Upon installation, it executes a postinstall script that sends a persistent UUID and other metadata to a third-party endpoint, enabling operational tracking of hosts that install it. No credential or filesystem data is exfiltrated. This behavior constitutes a supply-chain threat via name confusion and install-time beaconing.

Affected software

npmghsa
mapkit-loader
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: 08/19/2026, 14:37:06 UTC

Technical Analysis

The unscoped npm package 'mapkit-loader' (version 1.0.0) impersonates the official scoped '@apple/mapkit-loader' package to exploit user mistyping during 'npx mapkit-loader' commands. Its postinstall lifecycle script unconditionally sends an HTTPS POST request to a hardcoded third-party endpoint with a persistent UUID stored in the user's cache directory, package version, trigger source, and timestamp. This allows the attacker to track installations and executions of the package on victim hosts. There is no evidence of credential or filesystem data exfiltration. This is a supply-chain typosquatting attack with an operational tracking channel.

Potential Impact

The primary impact is operational tracking of users who mistakenly install or run the malicious package due to name confusion. While no direct credential theft or filesystem compromise is reported, the presence of a persistent identifier and external beaconing can lead to privacy violations and targeted follow-up attacks. This undermines trust in the npm ecosystem and can facilitate further malicious activity if combined with other exploits.

Mitigation Recommendations

Users should avoid installing the unscoped 'mapkit-loader' package and instead use the official scoped '@apple/mapkit-loader'. Audit dependencies carefully to detect typosquatting packages. Since no patch or fix is available for the malicious package itself, the best mitigation is to remove it from projects and registries and educate users about the risk of similarly named packages. Monitor for any unexpected network activity related to the described endpoint.

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

Threat ID: 6a85b4c7acd9273b49252829

Added to database: 08/19/2026, 13:51:03 UTC

Last enriched: 08/19/2026, 14:37:06 UTC

Last updated: 10/02/2026, 13:52:26 UTC

Views: 27

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