MAL-2026-2888

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-as-encrypted/MAL-2026-2888.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-2888
Aliases
  • GHSA-5m93-37pp-5rc3
Published
2026-04-15T22:05:03Z
Modified
2026-07-09T09:32:31Z
Summary
Malicious code in chai-as-encrypted (npm)
Details

chai-as-encrypted is a malicious npm package that when imported downloads a C2 dropper from https://api.npoint[.]io/29ebd497b6f232e6b0a9 and executes it (similar to malware in to chai-await-test).


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

Source: amazon-inspector (dfb6c123f5eba4181918855f8beed0a215d004463947ad5df587298dac555a14)

The package chai-as-encrypted was found to contain malicious code.

Source: ghsa-malware (852d51d07fcb5997c5789823a3ac844c3788de931fcf80b9e8c589a87f3274fb)

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
{
    "iocs": {
        "urls": [
            "https://api.npoint.io/29ebd497b6f232e6b0a9"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "GHSA-5m93-37pp-5rc3",
            "import_time": "2026-04-22T01:55:19.65870226Z",
            "modified_time": "2026-04-22T01:27:05Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "852d51d07fcb5997c5789823a3ac844c3788de931fcf80b9e8c589a87f3274fb",
            "source": "ghsa-malware"
        },
        {
            "import_time": "2026-04-23T20:49:08.900511458Z",
            "modified_time": "2026-04-23T20:43:56Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "dfb6c123f5eba4181918855f8beed0a215d004463947ad5df587298dac555a14",
            "source": "amazon-inspector"
        },
        {
            "id": "RLMA-2026-04985",
            "import_time": "2026-07-09T09:16:21.083646455Z",
            "modified_time": "2026-07-07T12:43:07Z",
            "sha256": "15fdb0caf479b0a28b2468e3f715217e4f1c3877fd72982b4fc9edbb6b4c42ee",
            "source": "reversing-labs",
            "versions": [
                "2.0.6",
                "2.0.7",
                "2.0.8",
                "2.0.11"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / chai-as-encrypted

Package

Name
chai-as-encrypted
View open source insights on deps.dev
Purl
pkg:npm/chai-as-encrypted

Affected ranges

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

Affected versions

2.*
2.0.6
2.0.7
2.0.8
2.0.11

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/chai-as-encrypted/MAL-2026-2888.json"