
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@dazn/chaos-squirrel-attack-memory-background
Advanced tools
Chaos Squirrel attack to fill memory in a background process
Use lots of memory in a forked process. This will apply memory pressure to your service, without impacting garbage collection or risking the process being killed.
Basic memory attack.
import BackgroundMemoryAttack from '@dazn/chaos-squirrel-attack-memory-background';
const createBackgroundMemoryAttack = BackgroundMemoryAttack.configure({
size: 2e9 // ~2gb
});
const backgroundMemoryAttack = createBackgroundMemoryAttack();
backgroundMemoryAttack.start();
// ~2gb of memory will be used in a forked process
backgroundMemoryAttack.stop(); // kills the process
Progressive memory attack.
import BackgroundMemoryAttack from '@dazn/chaos-squirrel-attack-memory-background';
const createBackgroundMemoryAttack = BackgroundMemoryAttack.configure({
size: 2e9 // ~2gb
stepSize: 2e8, // ~200mb
stepTime: 1e3 // 1s
});
const backgroundMemoryAttack = createBackgroundMemoryAttack();
backgroundMemoryAttack.start();
// ~2gb of memory will be used in forked processes, starting from 0gb & increasing by ~200mb every 1s
backgroundMemoryAttack.stop(); // kills the processes
0.10.1 (2021-07-20)
Note: Version bump only for package @dazn/chaos-squirrel
FAQs
Chaos Squirrel attack to fill memory in a background process
The npm package @dazn/chaos-squirrel-attack-memory-background receives a total of 18 weekly downloads. As such, @dazn/chaos-squirrel-attack-memory-background popularity was classified as not popular.
We found that @dazn/chaos-squirrel-attack-memory-background demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.