
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
redis-delete-wildcard
Advanced tools
Addon to node_redis for atomic deletes using wildcards in keys
Delete a set of keys from a pattern with wildcard. Operation is done through a lua script, and therefore atomic. It extends standard [node_redis][] library with a new method delwild
.
[node_redis]: https://github.com/mranney/node_redis
Install the module with: npm install redis-delete-wildcard
// Create a redis client
var redis = require('redis');
require('redis-delete-wildcard')(redis); //pass in redis so prototype can be extended
var client = redis.createClient();
// Usage
client.delwild('pattern:*', function(error, numberDeletedKeys) {
console.log(numberDeletedKeys);
}
KEYS
command in Redis is not recommended for large sets of data.unpack()
in LUA can give some errors when sets of data are couple of thousandflush
/flushdb
SCAN
instead of KEYS
SCRIPT LOAD
& EVALSHA
instead of EVAL
FAQs
Addon to node_redis for atomic deletes using wildcards in keys
We found that redis-delete-wildcard 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.