MAL-2026-6338

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/log-taker/MAL-2026-6338.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6338
Aliases
  • GHSA-x8v5-5q93-844w
Published
2026-06-23T20:20:56Z
Modified
2026-08-05T06:36:18.599811575Z
Summary
Malicious code in log-taker (npm)
Details

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

Source: amazon-inspector (30b4bde2f8e6fa87d896e86967b814a70ae3e46f1b1d58ed4552d1d909fbfcfe)

index.js imports child_process and invokes execSync with bash and zsh shell strings (around lines 315 and 331). The pattern of spawning interactive shells from a package named 'log-taker' is unusual and warrants human review, but the available evidence does not include the literal command strings, network destinations, credential reads, or lifecycle-hook bindings needed to confirm an installer-side attack. There is no traced exfiltration endpoint, no read of installer-secret paths, and no confirmed install-time auto-execution path. Disposition is review pending verification of where these shell calls fire (lifecycle hook vs. user-invoked CLI) and what commands they execute.

Source: ghsa-malware (da82bef02d4ac93d8e8ba83f8e45e2044f4137588d99a272f064fb5d1ca3bfe0)

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": [
                "0.1.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007361",
            "modified_time": "2026-06-23T20:20:56Z",
            "import_time": "2026-06-23T20:48:31.205519585Z",
            "sha256": "35623f56ea43d8a9a7ac1caa84678ed40d6923fdf19d8d23f7d4aacdde1a8c4a"
        },
        {
            "import_time": "2026-07-27T09:43:03.864847283Z",
            "source": "ghsa-malware",
            "sha256": "da82bef02d4ac93d8e8ba83f8e45e2044f4137588d99a272f064fb5d1ca3bfe0",
            "modified_time": "2026-07-27T01:17:59Z",
            "id": "GHSA-x8v5-5q93-844w",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        },
        {
            "versions": [
                "0.0.7"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013031",
            "modified_time": "2026-08-05T05:24:00Z",
            "import_time": "2026-08-05T06:00:33.14953378Z",
            "sha256": "30b4bde2f8e6fa87d896e86967b814a70ae3e46f1b1d58ed4552d1d909fbfcfe"
        },
        {
            "versions": [
                "0.0.8"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013029",
            "modified_time": "2026-08-05T05:23:40Z",
            "import_time": "2026-08-05T06:00:32.948781159Z",
            "sha256": "3adde5271b451a9f42e704079f308de98eee028b37eb8e4a36b504d5697a38a5"
        },
        {
            "versions": [
                "0.0.9"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013025",
            "modified_time": "2026-08-05T05:23:09Z",
            "import_time": "2026-08-05T06:00:32.426488545Z",
            "sha256": "d374286127b2714da1b74690cf942f79e6fcac99ed8a7e8cf26035e747550f5a"
        }
    ]
}
References
Credits

Affected packages

npm / log-taker

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.7
0.0.8
0.0.9
0.1.0

Database specific

indicators
{
    "evidence_files": [
        {
            "tlsh": "f382985e25fb213281e373e4554f10167679d443360ade49778c87982fae928a2f2fec",
            "sha256": "67490d46bcfdd64cec9b8c94cdb7a674ba6bb95e38e0db951fbfecc58849bdbd",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "log-taker-0.1.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-KQ5AjqIQxRxfHI2RLI0yLw9jTwPxt7RBG0NKdLTDhcg9jwfLr7rKSUyCN1NOOQjYlUbtb1BC60C92/ntwP+AFA==",
                "sha1": "892ac6b456f5dd6c9c2c63e767841a4a194d9ed8"
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/log-taker/MAL-2026-6338.json"
cwes
[
    {
        "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.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]