MAL-2026-6564

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@thone33/core-utils/MAL-2026-6564.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6564
Aliases
  • GHSA-w2wf-8vp4-86mq
Published
2026-06-29T04:50:05Z
Modified
2026-07-27T10:08:16.054307037Z
Summary
Malicious code in @thone33/core-utils (npm)
Details

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

Source: amazon-inspector (05561d1a31165dab72c5090437ccfa7a85035a2b4fdf6a646eca59b62dd87120)

@thone33/core-utils 1.0.4 is a loader stub. Its main entry (index.js) imports activate from the same-author dependency @thone33/analytics-injector and invokes it at module top level whenever process.env.NODE_ENV === 'production'. The author's own inline comment describes this as silently activating a payload in production ('ATIVA O PAYLOAD SILENCIOSAMENTE (em produção)'). The package is advertised as 'Core utilities', which does not justify production-gated invocation of an 'analytics-injector' dependency. The NODE_ENV=production gate is a developer-laptop-dormant / production-fires evasion pattern: consumers' local dev and CI environments see nothing, while deployed production processes execute whatever code the author publishes under @thone33/analytics-injector. Because the injector is in the same author scope and pinned as ^1.0.0, the author can ship arbitrary additional code into consumers' production runtimes via a minor/patch release without any change to this package.

Source: ghsa-malware (734ac2e7b7bf060338154bbcca4efa5f64fddd9a6f3832d5127751ba37be9edb)

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": [
        {
            "sha256": "05561d1a31165dab72c5090437ccfa7a85035a2b4fdf6a646eca59b62dd87120",
            "import_time": "2026-06-29T05:07:07.880941184Z",
            "id": "IN-MAL-2026-007731",
            "modified_time": "2026-06-29T04:50:23Z",
            "source": "amazon-inspector",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "1.0.4"
            ]
        },
        {
            "sha256": "bc21b99e8aa825cc496faec3251ba814d5fdec8a7fe6294407a9b067e0558b2c",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007734",
            "modified_time": "2026-06-29T04:50:48Z",
            "import_time": "2026-06-29T05:07:08.39959735Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "1.0.0"
            ]
        },
        {
            "sha256": "cfc57cb70348ed66a74b958d3155234acebe740fd4d72e8c5f4e1fd939ea8ec7",
            "import_time": "2026-06-29T05:07:08.121973167Z",
            "id": "IN-MAL-2026-007733",
            "modified_time": "2026-06-29T04:50:40Z",
            "source": "amazon-inspector",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "1.0.3"
            ]
        },
        {
            "sha256": "0bc45a824950b13adc9f82ee769e0025f4c353cf74a1ddd62e7b9626a8e5ca68",
            "import_time": "2026-06-29T05:07:07.999080066Z",
            "id": "IN-MAL-2026-007732",
            "modified_time": "2026-06-29T04:50:31Z",
            "source": "amazon-inspector",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "1.0.1"
            ]
        },
        {
            "sha256": "2e89994f9f3c8da051834049643a2a04df8b6fa9c14452fafceb6080e9f85be9",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007729",
            "modified_time": "2026-06-29T04:50:05Z",
            "import_time": "2026-06-29T05:07:07.637802061Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "1.0.5"
            ]
        },
        {
            "sha256": "80421aa7cecd55d71cbde625bbb0dd5febc8aef00f32a1a6e1b8601b1c8d2673",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-007730",
            "modified_time": "2026-06-29T04:50:14Z",
            "import_time": "2026-06-29T05:07:07.758162926Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "1.0.2"
            ]
        },
        {
            "sha256": "734ac2e7b7bf060338154bbcca4efa5f64fddd9a6f3832d5127751ba37be9edb",
            "id": "GHSA-w2wf-8vp4-86mq",
            "modified_time": "2026-07-27T01:30:47Z",
            "import_time": "2026-07-27T09:43:03.855025144Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @thone33/core-utils

Package

Name
@thone33/core-utils
View open source insights on deps.dev
Purl
pkg:npm/%40thone33/core-utils

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "81e68f85145ccabfac55d8c22c31644cb56d2a70a132a1ba132f6dbfc6fa613b",
            "path": "index.js",
            "tlsh": "671197d658c6702102b33375a79a8501f93c2857bea82278b02cd7312f2175893a6c5a"
        },
        {
            "sha256": "64760d1671cf65e5a7916a387f3e381b6fea768377f70605cf7c258c39f0ab98",
            "path": "package.json",
            "tlsh": "33e0c2a7c7209c6b02f69795b8a90303f7b0032f6140e85a357c121c8fb12a3e0cda0d"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-9xdmsCJyCWY+HWAfFGkYAC9ME15ErPyczbRweGjzL4YJawsO9GqxRDKIpz4QKsdKhWo23GiOMS8uBKd+Dmtl0A==",
                "sha1": "cd417a3214c25e46b200ec502aba1c957cad0ee8"
            },
            "filename": "core-utils-1.0.4.tgz"
        }
    ]
}
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"
    },
    {
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@thone33/core-utils/MAL-2026-6564.json"