Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Javascript Library for CLI applications.
program.example()
#!/usr/bin/env node
const program = require('animaux');
const app = program('my-app');
app.version('1.0.0').action((command) => {
console.log(`> Cannot execute ${command}`);
});
app
.command('build <src>')
.describe('build amazing application!')
.option('--output, -o', 'Provide output path.', 'out.js')
.action((src, options) => {
console.log(`Building "${src}"...`);
console.log(' options: ', options);
});
app.parse(process.argv);
$ my-app --help
Usage
$ my-app <command> [options]
Commands
build build amazing application!
Options
--help, -h Displays help information.
--version, -v Displays current version.
--output, -o Provide output path. (default out.js)
Run `my-app <command> --help` for more information.
$ my-app build --help
Usage
$ my-app build <src>
build amazing application!
Alias
$ my-app b
$ my-app build
Options
--help, -h Displays help information.
--version, -v Displays current version.
--output, -o Provide output path. (default out.js)
$ my-app build index.ts --output build.js
Building "index.ts"...
options: { output: 'build.js', __: [ 'build', 'index.ts' ] }
MIT
FAQs
Javascript Library for CLI applications.
We found that animaux 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.