MAL-2026-21080

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lilys-builder/MAL-2026-21080.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-21080
Published
2026-12-03T20:39:39Z
Modified
2026-12-03T20:45:08Z
Summary
Malicious code in lilys-builder (npm)
Details

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

Source: amazon-inspector (90132a18a5e7b6d8d79baef169899da7ed0cd498cec48ce7b843addfbf2d2390)

package.json declares postinstall: node lib/index.js --install, causing npm install lilys-builder to execute lib/index.js automatically. lib/index.js is a single-line ~6.3 MB file whose entire body is one JSFuck-style eval(...) expression that reconstructs its strings at runtime from [][...] / (!![]+[])[n] primitives. The same file is also the package's main/module/exports target (with lib/index.mjs re-exporting it via require('./index.js')), so any consumer that does require('lilys-builder') re-executes the same opaque blob at load time. A clean, human-readable Baileys/Nixel interactive-message builder implementation is present in script/MessageBuilder.js but is not referenced by main, module, exports, or bin — the readable code that matches the advertised purpose is unused, and only the obfuscated blob runs. The MessageBuilder.js header attributes the readable code to a third party ('NIXCODE... Created by Nixel') under a no-redistribution notice, while the package is published as lilys-builder by a different author, consistent with a cover-story repackaging.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023227",
            "import_time":  "2026-12-03T20:41:50.651406010Z",
            "modified_time":  "2026-12-03T20:39:39Z",
            "sha256":  "90132a18a5e7b6d8d79baef169899da7ed0cd498cec48ce7b843addfbf2d2390",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / lilys-builder

Package

Name
lilys-builder
View open source insights on deps.dev
Purl
pkg:npm/lilys-builder

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "lib/index.js",
            "sha256":  "59cdece50f9e37c7e88bd64374e4e1be739c97c845516db3dfac5312dd184271",
            "tlsh":  "2556caae41137f51f50b95e880665e644b0e0ac7e8d097997b7ce0fa8d9edfed183022"
        },
        {
            "path":  "lib/index.mjs",
            "sha256":  "8a2324cba4089752e871d9e212e0b0be16596123058b5e273348be94d07f1b6a",
            "tlsh":  "dfe0126231e2f2ac586854d6d25243eb4795a5d03b069491fe4dc72c91d3100c6ef671"
        },
        {
            "path":  "script/MessageBuilder.js",
            "sha256":  "1dd2839658f2821bc6d6d920a1a7c2b19bac65fe4030d0054b3800b4866fa3d5",
            "tlsh":  "02834e49a9f61c16426370392eeba406b434c00b2d09fd187fcc42ec5f9e56e96fa79d"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "lilys-builder-1.0.0.tgz",
            "hashes":  {
                "sha1":  "1aad2cc814d16b4f545002cddbeb57ff61f987d4",
                "sha512_sri":  "sha512-LBIGLZohV0RapyaDqRPAXBZWU40JupcxJK8tLgpAWF1BVRh3WHaI0yAVJ9HvNNU7d3ql7IHX8kouP9tO2ePEVQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lilys-builder/MAL-2026-21080.json"