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.
github.com/MattSScott/basePlatformSOMAS/v2
basePlatformSOMAS is a generic 'base platform', in the form of a package, used to simplify the development of a self-organising, multi-agent system (SOMAS). This package provides a set of core 'building block' components:
These building blocks come with 1. an interface definition for defining the core functions required for an operational multi-agent system and 2. the building block object itself, to provide a base implementation of these core functions, and allow extension.
For example, the IServer
interface contains a set of functions that all servers in any multi-agent system must perform (the ability to add or remove agents, say), and the BaseServer
object will give a base implementation of these methods.
It is then left to the user of this package to define an ExtendedServer
which adds all of the relevant functionality for their multi-agent scenario, while composing the BaseServer
to get access to the methods provided by this package.
To begin working with basePlatformSOMAS, follow these simple example steps.
This package is entirely build in GoLang (go)
. Your machine therefore needs a golang compiler installed. The relevant download link can be found here.
Since we have defined this repository as a package, it must be included in an existing go
project. As such, you should be initialising a go
repository in a folder of your choice with:
go mod init <your-module-name>
With a working go
repository, you can now include our package:
go get github.com/MattSScott/basePlatformSOMAS/v2
and, for peace of mind, tidy the imports:
go mod tidy
You will now have access to the modules provided by this package:
github.com/MattSScott/basePlatformSOMAS/v2/pkg/server
github.com/MattSScott/basePlatformSOMAS/v2/pkg/agent
github.com/MattSScott/basePlatformSOMAS/v2/pkg/message
For more examples, and a much, much more detailed write-up of the package, please refer to the User Manual or, if you're using an outdated version of the package, refer to the Past Manuals.
basePlatformSOMAS is an open source project made for SOMAS programmers, by SOMAS programmers. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this package better, please fork the repo and create a pull request. If you would rather leave the implementation of this suggestion to us, you can also simply open an issue with the tag "enhancement".
To make a pull request in a helpful way:
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE.txt
for more information.
Matthew Scott - matthew.scott18@imperial.ac.uk
This work was produced by the following developers:
FAQs
Unknown package
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.