MAL-2026-18107

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nwfp-build-config/MAL-2026-18107.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18107
Aliases
  • GHSA-fj85-27r8-hgfg
Published
2026-10-20T18:14:53Z
Modified
2026-10-20T19:30:08Z
Summary
Malicious code in nwfp-build-config (npm)
Details

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

Source: amazon-inspector (905a5825cb8abf7b385b98cfade02c315a4bc776bc37cfacd5ab20d5b8d03640)

On require() of nwfp-build-config, index.js loads lib/telemetry.js, which immediately runs an IIFE that reads the installer's hostname (os.hostname()) and username (os.userInfo().username), AES-256-CBC-encrypts the pair with a hardcoded 32-byte key, base32-encodes the ciphertext, splits it into DNS labels of up to 50 characters, and leaks the labels via dns.resolve4() queries to subdomains of cdn-assets.liderydigital.com, framed with start/end sentinel queries. The channel is a purpose-built covert DNS tunnel that bypasses HTTP egress controls; errors are swallowed in silent try/catch blocks. The destination is unrelated to the package's declared purpose of providing build configuration, and the 'telemetry' naming plus hardcoded encryption key are cover-story shaping around identity exfiltration.

Source: ghsa-malware (918305da861c018c4d00872a3fbd1d88902de80581628ba62e66eb1a098ebe56)

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":  [
        {
            "id":  "IN-MAL-2026-021546",
            "import_time":  "2026-10-20T18:46:13.540165675Z",
            "modified_time":  "2026-10-20T18:45:16Z",
            "sha256":  "905a5825cb8abf7b385b98cfade02c315a4bc776bc37cfacd5ab20d5b8d03640",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "GHSA-fj85-27r8-hgfg",
            "import_time":  "2026-10-20T19:23:19.944168827Z",
            "modified_time":  "2026-10-20T18:14:54Z",
            "sha256":  "918305da861c018c4d00872a3fbd1d88902de80581628ba62e66eb1a098ebe56",
            "source":  "ghsa-malware",
            "versions":  [
                "1.0.0",
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / nwfp-build-config

Package

Name
nwfp-build-config
View open source insights on deps.dev
Purl
pkg:npm/nwfp-build-config

Affected ranges

Affected versions

0.*
0.0.0-stage
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"
    },
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "lib/telemetry.js",
            "sha256":  "2ba484b29e2f2edce16e0722e1ac74d3dd1861c84e11e65ac9aa6ffb938ab2c5",
            "tlsh":  "5c41125439fa3834165374e1857be41b619be2133405cd84b7ac73444febe289bde5d4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nwfp-build-config/MAL-2026-18107.json"