@sqlite-labs/nodesql
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-86f7-qh62-pq7c
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @sqlite-labs/nodesql (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (77614b62a827121762f2140a37b26e96408f18c0ccd122069c2ae311918541ef)
@sqlite-labs/[email protected] ships an index.js that is a copy of the feross/buffer library with a single injected top-of-file statement var ins = require('@sqlite-labs/createsql');. The imported binding ins is never referenced anywhere else in the module; its sole effect is to trigger execution of the sibling package @sqlite-labs/createsql whenever a consumer performs require('@sqlite-labs/nodesql') or imports it. Package metadata reinforces the lure shape: description is empty, keywords are the generic node/sql, homepage points at github.com/guilderguzman/sql-link, and the README is titled bare-stream and instructs the reader to npm i @sql-access/nods — a different scope and name than the published package. The scope @sqlite-labs resembles established SQLite-ecosystem names but is not affiliated with them. Installing and importing this package causes attacker-controlled code in @sqlite-labs/createsql to run in the consumer's process at load time; no lifecycle hook is required.
Source: ghsa-malware (f65b25d073ba8ebd2e2939ef74c84104486404c6b973550898fb5a54b97be63d)
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