
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@padho/gimlet
Advanced tools
Gimlet is an open source Node.js module for Apache Drill - and the first that supports authentication. It's build using modern JavaScript and supports promises and async/await.
You can either use npm...
$ npm i @padho/gimlet
... or yarn
$ yarn add @padho/gimlet
Using Gimlet is simple. Let's take a look at the following basic example:
// Import Gimlet
const {Gimlet} = require('@padho/gimlet');
let data;
// Create a new Gimlet instance
let options = {
host: '127.0.0.1', // Host
port: 8047, // Port
user: null, // Drill user
password: null, // Drill user password
ssl: false, // Use SSL
restTimeout: 15000 // Timeout for running queries
};
let gimlet = new Gimlet(options);
try {
data = await gimlet.query(
'select * from dfs.`/Users/Patrick/Data/myCoolDataSet.csv` limit 3'
);
} catch(e) {
// Some error occured!
}
Gimlet currently provides support for following REST APIs of Apache Drill:
// ...
// Sends a query to Drill (default queryType is SQL)
gimlet.query(query, queryType);
// Lists all installed storage plugins
gimlet.getStorageList();
// Gets the config of a specific storage plugin by name
gimlet.getStoragePluginByName(name);
// Enables a specific storage plugin by name
gimlet.enableStoragePluginByName(name);
// Disables a specific storage plugin by name
gimlet.disableStoragePluginByName(name);
//Creates a new storage plugin by name and definition
gimlet.createStoragePluginByName(definition);
// Deletes a specific storage plugin by name
gimlet.deleteStoragePluginByName(name);
// Deletes a specific storage plugin by name
gimlet.deleteStoragePluginByName(name);
// Checks if a specific storage plugin exists
gimlet.storagePluginExists(name);
Apache-2.0 © Patrick Holl
FAQs
A JavaScript client for Apache Drill
The npm package @padho/gimlet receives a total of 0 weekly downloads. As such, @padho/gimlet popularity was classified as not popular.
We found that @padho/gimlet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.