MAL-2026-11267

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/compose-logger-stand/MAL-2026-11267.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11267
Aliases
  • GHSA-9wv2-6h9j-773q
Published
2026-07-30T21:40:23Z
Modified
2026-08-04T23:04:53.572829669Z
Summary
Malicious code in compose-logger-stand (npm)
Details

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

Source: amazon-inspector (a34de797bc2020fd52b9b36fda8513a111610612c3a50e75d8ea8a79440be4f0)

compose-logger-stand@1.0.126 presents itself as a logger but its shipped code implements a credential-harvest and exfiltration pipeline. dist/secretScan/contentScanner.js and dist/secretScan/agentStartupAudit.js scan for secrets and POST results to huggingface.co endpoints (agentStartupAudit.js lines 490-563). dist/discord/discordRelayUpload.js (and its dist/-root duplicate) implements upload-via-Discord relay with base64-decoded payloads and repeated POST calls (lines 306/321/398), together with host reconnaissance primitives (ping). dist/relay/relayServer.js embeds a relay server with the same recon primitives. dist/core/deploymentDefaults.js and dist/hf/hfCredentials.js carry base64-encoded blobs holding embedded credentials/config used to authenticate to those services (scripts/encode-deployment.mjs is the author's own encoder utility for producing them). scripts/postinstall-agent.mjs is wired as a lifecycle agent that performs network I/O (GET, ping) at install time, so installing the package auto-executes the exfiltration/relay agent without any explicit user invocation. The combination — install-time agent + hardcoded third-party relay endpoints + shipped base64-obfuscated credentials + secret-scanning modules feeding those relays — is a credential-distribution / active-exfiltration package, not a logging library.

Source: ghsa-malware (a2806aaee4d412283a023e43465c94a4ad670b665fc8c0948b25ab0f66536450)

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": [
        {
            "import_time": "2026-07-31T01:10:09.617544844Z",
            "modified_time": "2026-07-30T21:40:23Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-9wv2-6h9j-773q",
            "sha256": "a2806aaee4d412283a023e43465c94a4ad670b665fc8c0948b25ab0f66536450",
            "source": "ghsa-malware"
        },
        {
            "import_time": "2026-08-04T22:30:08.245355845Z",
            "sha256": "a34de797bc2020fd52b9b36fda8513a111610612c3a50e75d8ea8a79440be4f0",
            "modified_time": "2026-08-04T21:56:51Z",
            "id": "IN-MAL-2026-011269",
            "versions": [
                "1.0.126"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / compose-logger-stand

Package

Name
compose-logger-stand
View open source insights on deps.dev
Purl
pkg:npm/compose-logger-stand

Affected ranges

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

Affected versions

1.*
1.0.126

Database specific

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "dist/core/deploymentDefaults.js",
            "sha256": "cbf70b0d8654138a0b4dfcb152824c85fecab500e1a5fade53c2049da4c0dc48",
            "tlsh": "e1f16549b8e7b0100663b5f8861bc8973bdcad07260ed444b35e93956f1f831a3b76e6"
        },
        {
            "path": "dist/deploymentDefaults.js",
            "sha256": "cbf70b0d8654138a0b4dfcb152824c85fecab500e1a5fade53c2049da4c0dc48",
            "tlsh": "e1f16549b8e7b0100663b5f8861bc8973bdcad07260ed444b35e93956f1f831a3b76e6"
        },
        {
            "path": "dist/discord/discordRelayUpload.js",
            "sha256": "d48dffc3294eb56409550df2f8ac2b2df71ca1a486f0d45036686bf972e5f3d1",
            "tlsh": "67e296fab5f724311162b6698b5bd0057328b147741eeca47a8ca29c9f9c025c2f7fc6"
        },
        {
            "path": "dist/discordRelayUpload.js",
            "sha256": "debe8ff010dd0e4bec0af85cbd8708ba345158fc103b9fe68eb12b4d68539c19",
            "tlsh": "d4e296fab5f724311162b6698b5bd0057328b147741eeca47a8ca29c9f9c025c2f7fc6"
        },
        {
            "path": "dist/hf/hfCredentials.js",
            "sha256": "73498999ff9d587684def3acd7f7852c8577ce9d4d742b373e36261d88e5334d",
            "tlsh": "6ee184066ef690200177907a912be01576b0703f6ae1d1f2f69ddec9af12c768ae3dc1"
        },
        {
            "path": "dist/hfCredentials.js",
            "sha256": "bf0091702bbc62eff2319360ab7103a33fee8f5bfad4e63aa359175285de7f49",
            "tlsh": "cae184062ef6902001779079912be01576b0703f6ae1d5f2f69ddec9af12c768ae3dc1"
        },
        {
            "path": "dist/relay/relayServer.js",
            "sha256": "5b7f4dc30c699d50598b93c91c04d3f3620d69049336fe2d12facb5d429c853c",
            "tlsh": "ed93c68a69f360324363f2bd5b5b8001b339d1077558ddd4fa9c8258af8d92883f1be9"
        },
        {
            "path": "dist/relayServer.js",
            "sha256": "3cadd8c077bb28c0a5a03ddc83eb12527992d397853cad5e4a9bf82e53bfdfcc",
            "tlsh": "5e93b58a69f360324363f2bd5b5b8001b339d1077558ddd4fa9c8258af9d92883f1be9"
        },
        {
            "path": "dist/secretScan/agentStartupAudit.js",
            "sha256": "a4ebea897ca7712bd57c1c1cb3ffa74c409bbce225195689f6bc63c6d212cb56",
            "tlsh": "a3e2eb9a69f32432826371be5a4f9005f660b427214ce8a47a5cc299ff454b8d3f7fd8"
        },
        {
            "path": "dist/secretScan/contentScanner.js",
            "sha256": "5f983523fea613c052e726cf94f86c894e72c34261a538e6e6f3999cd76191a5",
            "tlsh": "7212824a6af320514d2330fe1b8b8500b97aa847351cdd28be9c83906f5597c9af7bdc"
        },
        {
            "path": "scripts/encode-deployment.mjs",
            "sha256": "36c301a61abec8b3658aa278f9cdcdfa0edf6409f4eec68449724d68ef222ea8",
            "tlsh": "34b1b70368e9947041fee3d25953b90b7afdf7153302acc5766e46b90b6bc31026be0a"
        },
        {
            "path": "scripts/postinstall-agent.mjs",
            "sha256": "9822fa46896aba178c533b4ed1579ec737869984dc44760dc3ad618c39614118",
            "tlsh": "3292e88ce6e71a7606a1e79d7a1f150667a0d1470648e4b4f0dd82887f2d03d83b7ebe"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/compose-logger-stand/MAL-2026-11267.json"