
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@collaborne/use-cgroup-memory-limits
Advanced tools
Wrapper to apply cgroup memory limits to a Node process
A small wrapper around NodeJS that looks at the Cgroups memory settings, and sets the --max-old-space-size command-line argument in NODE_OPTIONS when it is not yet set.
Install as a runtime dependency
npm install @collaborne/use-group-memory-limits
Use use-cgroup-memory-limits instead of node in your start scripts
{
"name": "my-package",
// ...
"scripts": {
"start": "use-cgroup-memory-limits my-package-index.js"
},
// ...
}
This software is licensed under the Apache 2 license, quoted below.
Copyright 2020 Collaborne B.V. <http://github.com/Collaborne/>
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
FAQs
Wrapper to apply cgroup memory limits to a Node process
The npm package @collaborne/use-cgroup-memory-limits receives a total of 9 weekly downloads. As such, @collaborne/use-cgroup-memory-limits popularity was classified as not popular.
We found that @collaborne/use-cgroup-memory-limits demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.