Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in nativescript-swisspost-imagepicker (npm)

0
Critical
Published: 06/15/2026 (06/15/2026, 15:54:11 UTC)
Source: GCVE Database
Product: nativescript-swisspost-imagepicker

Description

The npm package nativescript-swisspost-imagepicker version 52.31.0 contains malicious code that exfiltrates the installer's internal project name to an attacker-controlled server during installation. This behavior leaks sensitive information about private package namespaces and organizations using the package. The package is identified as a dependency confusion squat targeting an internal Swiss Post NativeScript namespace. The malicious code executes silently on npm install by sending a JSON payload with project details to a hardcoded URL. Removal of the package may not fully remediate the compromise, as the attacker may have gained full control of the affected system.

Affected software

npmghsa
nativescript-swisspost-imagepicker
Affected versions
=52.31.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: 07/15/2026, 12:54:19 UTC

Technical Analysis

The nativescript-swisspost-imagepicker npm package version 52.31.0 includes a preinstall script that reads the installer's working directory name and sends it as a JSON payload to a hardcoded external URL (https://deepbounty.dd06-dev.fr/cb/d27071f6-8aa6-43b9-98be-0caf9803fba5). This action leaks internal project identifiers, confirming the existence and naming of private packages, effectively enabling an attacker to map organizations using this package. The package is a dependency confusion attack vector masquerading as a security proof-of-concept but results in unauthorized data exfiltration. The package installation compromises the host, potentially granting full control to the attacker. The advisory from ghsa-malware states that any system with this package installed should be considered fully compromised, requiring immediate secret and key rotation from a clean environment.

Potential Impact

Installation of this package results in the silent exfiltration of internal project names to an attacker-controlled server, leaking sensitive organizational information. The attacker may gain full control over the compromised system, making all stored secrets and keys potentially exposed. The compromise is severe enough that removal of the package alone does not guarantee eradication of malicious presence, necessitating a full security incident response including secret rotation.

Mitigation Recommendations

No official patch or fix is currently available. Users should immediately remove the nativescript-swisspost-imagepicker package version 52.31.0 from their environments. Treat any system with this package installed as fully compromised. Rotate all secrets and keys from a separate, uncompromised system. Conduct a thorough security review and incident response to identify and remediate any persistent malicious activity resulting from the compromise.

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-5792
Osv Schema Version
1.7.4
Aliases
["GHSA-vcxp-rm4v-qh5h"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a577eee68715ace43b41493

Added to database: 07/15/2026, 12:37:02 UTC

Last enriched: 07/15/2026, 12:54:19 UTC

Last updated: 07/23/2026, 09:58:40 UTC

Views: 6

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