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.
== Process Starter
A gem for Ruby 1.8 to start process in parallel, 1) don't wait for it finish 2) dont inherit io file handles 3) both in windows/linux. Ruby 1.9 dont need it because it has spawn method.
== Usage
ProcessStarter.start("somecmd arg1 arg2")
will invoke 'somecmd' with command line arg1 arg2.
ProcessStarter.allowed_methods = [:psexec,:start,:spawn,:fork]
specify which methods are allowed to start the process. So we have psexec (if found on the target machine) and 'cmd /c start ...' for windows, and spawn (if in ruby 1.9) or fork in linux. This is the default, but you can redefine it, for example: ProcessStarter.allowed_methods = [:start,:fork]
Also you can set allowed methods in command call:
ProcessStarter.start("somecmd arg1 arg2", [:start,:fork] )
This overrides ProcessStarter.allowed_methods values.
== How to install
gem install process_starter
== Ruby versions Useful for Ruby 1.8, not so useful for Ruby 1.9
== Todo
== Changelog
== Legal
Found a bug? Fix it and email pull request to me: pavel.vasev@gmail.com
Want to add a feature? Implement it and email the patch!
Pavel Vasev [ pavel.vasev@gmail.com ]
Released under the MIT license (included)
FAQs
Unknown package
We found that process_starter 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.