Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
commandico
Advanced tools
A tiny - nodejs - command line tool that allows to cleanly create a command-line client.
add commandico
to your package.json:
npm i commandico --save
then instantiate commadico:
var commandico = require('commandico')
, defaultCommand = 'help'
, scope = {
number: 2
};
var app = commandico(scope, defaultCommand)
then give it some commands
app.addCommands([{
aliases: ['help'],
handler: function (scope) {
console.log(scope.number);
}
}])
And further execute the script with some arguments
app.execute(['hello world'])
FAQs
A small tool to write command line application that suits my needs
The npm package commandico receives a total of 154 weekly downloads. As such, commandico popularity was classified as not popular.
We found that commandico 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.