MAL-2026-5792

    Dashboard / Malicious Package / MAL-2026-5792

    MAL-2026-5792

    Published: 15 Jun 2026Last Modified: 15 Jul 2026Aliases: 
    GHSA-vcxp-rm4v-qh5h

    Summary: Malicious code in nativescript-swisspost-imagepicker (npm)

    Details: Source: amazon-inspector (b2271ce1525f722f302ee59b9de3270020e6d1aa84d74cc2972cb6ffa34d9a62) package.json declares `preinstall: node index.js`. On `npm install`, index.js reads `process.env.INIT_CWD` (the installing project's working directory), takes its basename, and POSTs a JSON payload `{pkg, timestamp, transport, project}` to the hardcoded URL `https://deepbounty.dd06-dev.fr/cb/d27071f6-8aa6-43b9-98be-0caf9803fba5`. The package name `nativescript-swisspost-imagepicker`, the package description (`Security PoC for Bug Bounty`), and the comment `Harmless dependency confusion PoC` in index.js identify this as a dependency-confusion squat targeting an internal Swiss Post NativeScript namespace. On install, the installer's internal project name is silently leaked to a third-party endpoint, confirming the existence and naming of private packages and giving the operator of `deepbounty.dd06-dev.fr` a directory of organizations whose builds resolved this public package. Author self-labelling it as a bug-bounty PoC does not change the installer-side impact: unsolicited install-time outbound network carrying installer-side identifiers to an attacker-controlled host. Source: ghsa-malware (1dff7f532e58e82a81a672c5c4b7b8572efb1ed41fafeea0647b19f4e9b5ce1b) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

    Affected packages

    Package

    Name: nativescript-swisspost-imagepicker

    Purl: pkg:npm/nativescript-swisspost-imagepicker

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    52.31.0
    MAL-2026-5792 | CVE-DB