Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
mkswapfile - make and enable a swap file easily.
This gem supports only Linux.
$ gem install mkswapfile
(you may need to run as root or through sudo.)
$ sudo mkswapfile size
size: 1-8 (GB)
EXAMPLE
$ sudo mkswapfile 2
dd if=/dev/zero of=/swap bs=1M count=2049 && chmod 600 /swap && mkswap /swap && \
(echo '/swap swap swap defaults 0 0' | tee -a /etc/fstab) && swapon /swap
....
$ free -m
total used free shared buff/cache available
Mem: 481 90 11 0 379 378
Swap: 2048 0 2048
Bug reports and pull requests are welcome on GitHub at https://github.com/s3fxn/mkswapfile.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that mkswapfile 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.