
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@gasbuddy/configured-postgres-client
Advanced tools
A small wrapper around pg/pg-promise to allow configuration from confit and tracking of start/finish/error on all queries.
Supports the following methods from pg-promise: connect, any, none, one, oneOrNone, many, manyOrNone, result, tx, task
This module also supports Query files from PGPromise. In your config, pass in the directory of your query files. You will then get an object that has the same structure as the folders you defined.
If your folder structure looks like this:
- feature
- create.sql
- getById.sql
You could make a DB call like this:
async getById(featureId, locale) {
let returnFeature = null;
const sqlFiles = this.dbClient.sqlFiles;
const dbFeature = await this.dbClient.oneOrNone(sqlFiles.feature.getById, [featureId, locale]);
if (dbFeature) {
returnFeature = dbFeature.metadata;
}
return returnFeature;
}
FAQs
A configuration driven postgres client
We found that @gasbuddy/configured-postgres-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.