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.
AngryMob (AM) is the automated system configuration component of YesMaster.
It combines:
the node
)targets
)acts
)AngryMob values having:
Having zero external dependencies means that AM can be used from the very moment a bare ruby interpreter is installed on a server.
A small, simple core means that debugging and testing the code is simplified. It also allows AM to be embedded directly into other projects.
Please note that AngryMob is a reaction to Chef. Despite this, I retain the utmost respect the Chef movement and the guys who've built it.
AM purposely omits or eschews the following features you might be familiar with from Chef:
AngryMob is young and fluid, but I'm using it a lot in the maintainence of VPSes at PLUS2.
In particular, AM lacks any unit-level specs or tests so far. The servers it maintains are valid functional testing in my eyes ;)
node
is a glob of data representing the thing you're configuring.targets
are things you want to configure.acts
are groups of target invocations. They can also schedule the execution of other acts.mobs
are groups of acts and targets.The Node is a place to hang your data. In essence its a Hash
(though more specifically its an AngryHash, which is similar to Hashie::Mash
)
Targets are parts of the server which you want to configure, for example:
Note the targets interface is likely to change soon. Its overly complicated right now.
Targets perform a similar role to Chef/puppet resource/providers.
TODO talk about Target definition dsl and SingletonTargets
Acts are groups of targets. They're conceptually similar to a rake task. Subsequent acts can be scheduled.
Mobs are groups of target definitions and acts. They can be mixed and matched.
http://github.com/plus2/common_mob
A small toolkit of handy targets:
"chef-solo"-like command for setting an AngryMob on your server.
TODO write!
AngryMob was written by Lachie Cox for PLUS2 and YesMaster.
It lives at http://github.com/plus2/angry_mob.
Please try it out and send us feedback via the github page.
Copyright (c) 2010 PLUS2
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
Unknown package
We found that angry_mob 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.