
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
grunt-exec
Advanced tools
Grunt task for executing shell commands.
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-exec
Then add this line to your project's grunt.js
gruntfile:
grunt.loadNpmTasks('grunt-exec');
This task is a multi task, meaning that grunt will automatically iterate over all exec
targets if a target is not specified.
If the command used outputs to stderr, grunt-exec will display a warning and abort grunt immediately. Grunt will continue processing tasks if the --force command-line option was specified.
true
if you want the stdout to be printed. Defaults to false
.grunt.initConfig({
exec: {
remove_logs: {
command: 'rm -f *.log'
},
list_files: {
command: 'ls -l **',
stdout: true
}
}
});
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Copyright (c) 2012 Jake Harding
Licensed under the MIT license.
FAQs
Grunt task for executing shell commands.
The npm package grunt-exec receives a total of 44,583 weekly downloads. As such, grunt-exec popularity was classified as popular.
We found that grunt-exec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.