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.
Simple nodejs boot tasks manager. Executes a list of tasks, sync or async. That's all.
Simple nodejs boot tasks manager. Executes a list of tasks, sync or async. That's all.
## Usage example in CoffeeScript:
BootTasks = require 'boot-tasks'
# Set final callback
tasks = new BootTasks ->
console.log " [*] Server %s listening on %s:%d"
, server.nodename
, argv.host
, argv.port
server.listen argv.port, argv.host
# Set sync mode
tasks.sync()
# Add a task: redis
tasks.task ->
redisClient = redis.createClient config.redis.port
, config.redis.host
, config.redis.params
redisClient.on 'ready', ->
console.log " [ ] redisClient ready"
tasks.done()
# Run tasks
tasks.do()
BootTasks = require 'boot-tasks'
tasks = new BootTasks(end)
Optional end parameter as a function to call at the end.
Set the execution mode. Default: sync
Function callback to call at the end.
Add a func function as a task.
Call at the end of every task to continue execution (only sync mode).
Process all the tasks. Optional context parameter for the tasks.
FAQs
Simple nodejs boot tasks manager. Executes a list of tasks, sync or async. That's all.
The npm package boot-tasks receives a total of 3 weekly downloads. As such, boot-tasks popularity was classified as not popular.
We found that boot-tasks 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.