
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
grunt-redis-clear
Advanced tools
A Grunt plugin to clear keys from your redis database, automatically, when using redis as a cache engine.
A Grunt plugin to delete keys from your redis database, automatically. Useful when using redis as a cache engine.
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-clear-redis --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-clear-redis');
In your project's Gruntfile, add a section named clear_redis
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
clear_redis: {
development: {
keys: [
'cakephp_cake_core_*',
'cakephp_cake_model_*',
'cakephp_cache_*',
],
}
production: {
database: 1,
keys: [
'cakephp_cake_core_*',
'cakephp_cake_model_*',
'cakephp_cache_*',
],
}
},
});
And that's all.
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.
v0.2.0 Added support for multiple databases. v0.1.0 First useful but limited prototype.
FAQs
A Grunt plugin to clear keys from your redis database, automatically, when using redis as a cache engine.
The npm package grunt-redis-clear receives a total of 4 weekly downloads. As such, grunt-redis-clear popularity was classified as not popular.
We found that grunt-redis-clear 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 uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.