Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
License: (MIT) Copyright (C) 2013 Phil Chen.
Process Watch monitors processes and workflows in your Linux system for anomalies or situations which when arise trigger predetermined actions you designate.
This is useful for systems issues, automating troubleshooting, provisioning, scaling, and much more.
Seeing if a daemon/process is running and if not execute some combination of notify and starting it
Detecting if a process is a runaway if so execute some combination of notify and killing it
Email system utilization statistics in the state prior to correcting the runaway process or starting a dead one
Linux, Ruby, Cron (Or some other scheduler)
$ gem install processwatch
Create a file setup.rb
require 'processwatch'
include Processwatch_setup
setup
Run the setup.rb
ruby setup.rb
Configure the configuration files locate in /usr/local/processwatch/conf/
Note you can have multiple services monitored for restart. See example restart configuration file restart_ssh You can add more restart processes with the naming convention restart_uniqueappname (note prefix restart_)
The processwatch executable is /usr/local/processwatch/processwatch.rb you will want to set it on a cron like:
*/5 * * * * /usr/bin/ruby /usr/local/processwatch/processwatch.rb
FAQs
Unknown package
We found that processwatch 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.