@sqlite-prime/createsql
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-v49c-g99c-qvf9
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @sqlite-prime/createsql (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (01e898636f16aeaf0f90bb35efaccc41186222d35f564d37c65dd1aaf471e03e)
On require/import, index.js constructs a GitHub Gist API URL (https://api.github.com/gists/198a0bbec7a6018e9250615d26e37b90, owned by user 'getchainverse'), fetches the gist JSON, and passes the first file's content directly to eval(). The executed code is not present in the package tarball and can be modified by the gist owner at any time, resulting in arbitrary code execution in any process that loads this package. The endpoint URL is assembled at runtime by string manipulation of a gist page URL, hiding the executed source from static review of the published artifact.
Source: ghsa-malware (42c71216ea3774e6fa87647a18f8f035c45f98ce9f2bbae4eb69a4ae6be7b3cd)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0