MAL-2024-10843

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/import-path-rewrite/MAL-2024-10843.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-10843
Aliases
  • GHSA-qmh5-4jrp-pff6
Published
2024-11-17T23:24:27Z
Modified
2024-11-30T00:42:15.891073Z
Summary
Malicious code in import-path-rewrite (npm)
Details

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

Source: ghsa-malware (363c6630aff7d40a97f07e4d51dbc96358a4ff0a5365c7587cf6570e7005cf8d)

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.

Source: ossf-package-analysis (72d3532dbfac3bcbc5b72984ea671243a3163497ac15799819726a2dff7ad836)

The OpenSSF Package Analysis project identified 'import-path-rewrite' @ 10.0.2 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
References
Credits

Affected packages

npm / import-path-rewrite

Package

Name
import-path-rewrite
View open source insights on deps.dev
Purl
pkg:npm/import-path-rewrite

Affected ranges

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

Affected versions

10.*

10.0.2

12.*

12.1.3

Database specific

{
    "cwes": [
        {
            "description": "The product contains code that appears to be malicious in nature.",
            "cweId": "CWE-506",
            "name": "Embedded Malicious Code"
        }
    ]
}