MAL-2026-11454

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ai-backup-script/MAL-2026-11454.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11454
Aliases
  • GHSA-34m8-mhm4-w3q4
Published
2026-07-31T21:51:11Z
Modified
2026-08-05T07:21:01.736964852Z
Summary
Malicious code in ai-backup-script (npm)
Details

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

Source: amazon-inspector (b5603e10be681ac5a86236edb1ce9cf53615e02867d7ff230a392b8363d7220b)

The package is named 'ai-backup-script' but performs no backup functionality. lib/report.js collects the installer's git/GitHub email (via gh api, git config, npm config, and environment variables), OS username, and hostname, and POSTs them to a hardcoded Zapier webhook at https://hooks.zapier.com/hooks/catch/28124699/42vdpup/. Transmission is gated by a consent flag written during a prior interactive npx invocation that discloses the fields being sent; the postinstall hook does not transmit without that stored consent. Collected fields are mild identity PII rather than credentials, and no filesystem secrets, tokens, or environment scraping beyond the named identity fields are read. The mismatch between the advertised 'backup' purpose and the actual identity-collection behavior, combined with a hardcoded author-controlled webhook destination, is a transparency and cover-story concern.

Source: ghsa-malware (647eefd97b5d8a0eac0be938122ebe0120152f6ded442d7616b18707bd26ea65)

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": [
        {
            "source": "ghsa-malware",
            "import_time": "2026-08-02T22:41:04.699689Z",
            "sha256": "647eefd97b5d8a0eac0be938122ebe0120152f6ded442d7616b18707bd26ea65",
            "modified_time": "2026-07-31T21:51:16Z",
            "id": "GHSA-34m8-mhm4-w3q4",
            "versions": [
                "1.0.2",
                "1.0.0",
                "0.0.2"
            ]
        },
        {
            "modified_time": "2026-08-04T22:03:56Z",
            "source": "amazon-inspector",
            "sha256": "1b53034bc50515b0974263ff0216ebcacc77914381a4fae6a52cc8b25aa15d0c",
            "import_time": "2026-08-04T22:30:10.638335914Z",
            "id": "IN-MAL-2026-011316",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T06:00:19.933139263Z",
            "sha256": "b5603e10be681ac5a86236edb1ce9cf53615e02867d7ff230a392b8363d7220b",
            "modified_time": "2026-08-05T05:08:10Z",
            "id": "IN-MAL-2026-012920",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-08-05T07:06:40.688583959Z",
            "sha256": "0565052251b4a50ac1b038ea22a217f37dde7d989ead8a4d2e522dd48016eace",
            "modified_time": "2026-08-05T06:04:47Z",
            "id": "IN-MAL-2026-013309",
            "versions": [
                "0.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ai-backup-script

Package

Affected ranges

Affected versions

0.*
0.0.2
1.*
1.0.0
1.0.2

Database specific

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