Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@beanstalk/core
Advanced tools
|
A 0 dependency, full-featured, battle-tested beanstalk client library.
NOTE
While version is lower thanv1.0.0
the API might change slightly
yarn add @beanstalk/core
import { BeanstalkClient } from '@beanstalk/core';
/**
* Usage: node put.js
*/
async function main() {
const client = new BeanstalkClient();
await client.connect(); // defaults to localhost:11300
const id = await client.put('Hello World');
console.log(`Job created with '${id}'`);
client.quit();
}
main().catch((err) => {
console.error(err.message);
process.exit(1);
});
import { BeanstalkClient } from '@beanstalk/core';
/**
* Usage: node reserve.js > out
*/
async function main() {
const client = new BeanstalkClient();
await client.connect(); // defaults to localhost:11300
await client.watch('my-tube');
await client.ignore('default'); // 'default' is watched by default
// hangs until a job gets ready on 'my-tube'
const [id, payload] = await client.reserve();
console.error(`Job ID: ${id}`);
await new Promise((resolve, reject) => {
process.stdout.write(payload, (err) => err ? reject(err) : resolve());
});
client.quit();
}
main().catch((err) => {
console.error(err.message);
process.exit(1);
});
FAQs
Yet another Beanstalkd client library
The npm package @beanstalk/core receives a total of 0 weekly downloads. As such, @beanstalk/core popularity was classified as not popular.
We found that @beanstalk/core 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.