MAL-2026-19958

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-json-database/MAL-2026-19958.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-19958
Aliases
  • GHSA-qhmg-8r8f-cggq
Published
2026-11-16T15:53:41Z
Modified
2026-11-16T22:45:05Z
Summary
Malicious code in express-json-database (npm)
Details

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

Source: amazon-inspector (950a7ef25e94361b7b331e793cefa10d3bb50b95ae895d792e8a06774c9801c5)

express-json-database@2.1.2 presents itself as a json-database feed client but its exported server() function performs a challenge/attest handshake against https://cafrino-feed.onrender.com (posting process.platform and placeholder envKeys/processes fields, with a bypass-tunnel-reminder header), then fetches arbitrary text from /api/feed and passes it to inlinearray(text, true). The required module inline-array is not declared in package.json dependencies, so resolution of that name is uncontrolled — whoever registers or controls that npm name supplies the code that runs in the consumer's process, while the remote onrender.com endpoint simultaneously controls the input fed to it. The handshake fields (platform, placeholders for env keys and processes) have no cryptographic function for a plaintext feed and let the server target responses by caller environment. Together these form a two-sided remote-content execution channel: attacker-controlled code (via the undeclared dependency) processes attacker-controlled, platform-targeted input.

Source: ghsa-malware (d63ae6104b5d547ff2c51680ddca3e3079d9eebf791105b0c7b5c49d2e2a9fee)

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": "GHSA-qhmg-8r8f-cggq",
            "import_time": "2026-11-16T16:19:40.443329288Z",
            "modified_time": "2026-11-16T15:53:41Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "d63ae6104b5d547ff2c51680ddca3e3079d9eebf791105b0c7b5c49d2e2a9fee",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022796",
            "import_time": "2026-11-16T22:36:31.088166011Z",
            "modified_time": "2026-11-16T22:24:40Z",
            "sha256": "090019cd577dcef0045e96646b8f3c67928618e86ccb8a62092e66a971ec8f5a",
            "source": "amazon-inspector",
            "versions": [
                "2.1.4"
            ]
        },
        {
            "id": "IN-MAL-2026-022797",
            "import_time": "2026-11-16T22:36:31.148808637Z",
            "modified_time": "2026-11-16T22:24:46Z",
            "sha256": "3c80f3dcf2df5477c20bfbe6523af672941b08bbc28b110e648032462e16cc78",
            "source": "amazon-inspector",
            "versions": [
                "2.1.3"
            ]
        },
        {
            "id": "IN-MAL-2026-022798",
            "import_time": "2026-11-16T22:36:31.217099819Z",
            "modified_time": "2026-11-16T22:24:55Z",
            "sha256": "950a7ef25e94361b7b331e793cefa10d3bb50b95ae895d792e8a06774c9801c5",
            "source": "amazon-inspector",
            "versions": [
                "2.1.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / express-json-database

Package

Name
express-json-database
View open source insights on deps.dev
Purl
pkg:npm/express-json-database

Affected ranges

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

Affected versions

2.*
2.1.2
2.1.3
2.1.4

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"
    },
    {
        "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": "index.js",
            "sha256": "0e11ac9c5ad341c7d9f91f7df9076d7e9950df1caf6826d526bc9919b5288530",
            "tlsh": "5b71419df1fb212982ab3761405ba016b73ac002249cad61bbec03413fdd12da573e9d"
        },
        {
            "path": "package.json",
            "sha256": "8e5eefe1e5d690268a4ea0a017c29f96c30f070b99afbf70a9d648f6278d8066",
            "tlsh": "abc012300b64691314cd46546dda87c552611d1b0044fc0d2b97922443b86723cbb219"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/express-json-database/MAL-2026-19958.json"