MAL-2025-4517

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vite-config-pretty-js/MAL-2025-4517.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-4517
Aliases
  • GHSA-qp38-rr6j-g797
Published
2025-05-27T05:09:38Z
Modified
2025-05-28T00:59:51.195831Z
Summary
Malicious code in vite-config-pretty-js (npm)
Details

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

Source: ghsa-malware (7a3f6b7466ad8fab94eb697f86931898faaaa7437f3361c93556cfae5f75f99f)

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-qp38-rr6j-g797",
            "source": "ghsa-malware",
            "sha256": "7a3f6b7466ad8fab94eb697f86931898faaaa7437f3361c93556cfae5f75f99f",
            "modified_time": "2025-05-27T05:09:38Z",
            "import_time": "2025-05-28T00:37:42.42824192Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ]
        }
    ]
}
References

Affected packages

npm / vite-config-pretty-js

Package

Name
vite-config-pretty-js
View open source insights on deps.dev
Purl
pkg:npm/vite-config-pretty-js

Affected ranges

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

Database specific

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