MAL-2026-13422

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beautiful-ui-monitoring/MAL-2026-13422.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13422
Published
2026-08-06T13:11:08Z
Modified
2026-08-06T14:34:49.470673919Z
Summary
Malicious code in beautiful-ui-monitoring (npm)
Details

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

Source: amazon-inspector (ca55a4e9c07b4e285b702c515ae40bba4c641662d4513f2e26cb99e111cd3101)

beautiful-ui-monitoring@1.0.8 advertises itself as a UI package (description 'creates a beautiful ui design', keywords c/gcc/native) but ships no UI code. Its postinstall script invokes gcc -shared -fPIC -o /tmp/monitoring.so src/monitoring.c, compiling a shipped C source into a shared library at a world-writable path. The compiled library declares a __attribute__((constructor)) that, on load, unlinks every *.so file under /tmp and writes the current uid/gid to /tmp/monitoring.log. The tarball also ships a test.js that loads the library via LD_PRELOAD=/tmp/monitoring.so and a co-shipped native test-loader that dlopens the same path, demonstrating the intended trigger. The package.json author field is empty and no shipped file implements the advertised UI purpose. Installing the package plants a destructive native artifact in a shared, world-writable location under a misleading package description.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-016367",
            "import_time": "2026-08-06T14:19:45.467772403Z",
            "sha256": "ca55a4e9c07b4e285b702c515ae40bba4c641662d4513f2e26cb99e111cd3101",
            "modified_time": "2026-08-06T13:11:08Z",
            "versions": [
                "1.0.8"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / beautiful-ui-monitoring

Package

Name
beautiful-ui-monitoring
View open source insights on deps.dev
Purl
pkg:npm/beautiful-ui-monitoring

Affected ranges

Affected versions

1.*
1.0.8

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-YJbJH6LRMxzwA06VQ004NhZ7e26khAxsGOkW9TI1EQAzUsm7PEV6mc8VLQ2ama6SeJRzTY9dYxUAnCkkWpe24Q==",
                "sha1": "735257754d58181f05aea45a2072c187146d5d0a"
            },
            "filename": "beautiful-ui-monitoring-1.0.8.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "d87f2e2c7175be3c97b8ec3acff9ffc52e4b7f1e9d1fe230ee5df4493260b6f5",
            "tlsh": "94e07d30cd215db334c0ae311e31538af8714c1f42d4b90863ab4018439f67e09fa50d"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/beautiful-ui-monitoring/MAL-2026-13422.json"