MAL-2026-11457

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/capacitor-assets/MAL-2026-11457.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11457
Aliases
  • GHSA-8v58-g8f8-2gpp
Published
2026-07-31T21:53:52Z
Modified
2026-08-05T06:36:04.149426312Z
Summary
Malicious code in capacitor-assets (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (02650efb5b0f2e8ca581f927c0ca3e50966bc8b425e81a6e2dc9f45c70234422)

Package name typosquats the legitimate @capacitor/assets. On postinstall (via postinstall.js invoking lib/report.js), the package collects developer identity information — email harvested via gh api/git config/npm config, OS username from os.userInfo(), and hostname from os.hostname() — and POSTs it as JSON to a hardcoded author-controlled Zapier webhook at https://hooks.zapier.com/hooks/catch/28124699/42vdpup/. lib/report.js requires child_process, https, fs, and os; uses execSync to invoke git/gh/npm to extract the developer's email, and https.request to transmit. The postinstall path is gated by a consent flag stored in ~/.install-email-research.json and a CLI prompt, but the package's name-confusion with a well-known Capacitor scope combined with a hardcoded author endpoint receiving developer identity fields matches the credential/identity-harvest shape rather than legitimate telemetry. No opt-in disclosure exists in the package name or README before install, and the destination is a generic Zapier catch hook rather than an identifiable vendor endpoint.

Source: ghsa-malware (9b3684fbb41e490eea74489dc2453b1f37022ced6d2fba0c72a82ebbc42f4f80)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-02T22:41:04.858888Z",
            "sha256": "9b3684fbb41e490eea74489dc2453b1f37022ced6d2fba0c72a82ebbc42f4f80",
            "id": "GHSA-8v58-g8f8-2gpp",
            "modified_time": "2026-07-31T21:53:52Z",
            "source": "ghsa-malware"
        },
        {
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-05T06:00:15.707581426Z",
            "sha256": "02650efb5b0f2e8ca581f927c0ca3e50966bc8b425e81a6e2dc9f45c70234422",
            "id": "IN-MAL-2026-012884",
            "modified_time": "2026-08-05T05:03:08Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / capacitor-assets

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "lib/report.js",
            "sha256": "0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9",
            "tlsh": "adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/capacitor-assets/MAL-2026-11457.json"