
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
A self indulgent coffeescript mock of redis.
It works for certain things. It should match the success behavior of the node_redis library. Failure behavior may not match, but we try to do something sane.
It's also very incomplete. I've implemented the basic things I need. I will try to add other things as well, but if it's missing things you need, send a PR.
Multiple instances of Mockis can share the same storage like such:
parent = new Mockis()
child = new Mockis()
parent.addChild(child)
child.set "foo", "bar", ->
parent.get "foo", (err, result) ->
result is "bar" # true
One important note about this is that if the child already has data, it will be lost. There is no merge.
Parents can have arbitrary numbers of children. The whole children of children thing can get wacky. Don't do it.
Contributions are totes welcome. When possible, please submit a PR for each command. This isn't a requirement, but it can streamline reviewing them.
All methods must call callbacks synchronously. Multi requires it.
Please create at least the most basic of tests for any command you add. Also, test only pull requests are greatly appreciated.
Apache 2.0
FAQs
A mock of redis
We found that mockis 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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.