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.
tm-consul-cluster-manager
Advanced tools
Trinity mirror, configuration manager. watches consul KV store, and writes out the configuration files. Manages the PM2 cluster, by restarting the scripts
Trinity mirror cluster manager, tied to Hashicorp consul for configuration management.
Watches a consul KV endpoint, For a configuration file list, defined as a JSON array. Contacts those KV endpoints and downloads and writes out the NodeJS configuration files for the scripts to consume. Upon either modification or startup, manages the PM2 process manager to start or restart the cluster.Cluster is defined from a pm2.json file.
Set the enviroment variable
CONSUL_URL=http://192.168.99.100:8500/v1/kv/configmanifest
This is the config manifest file list which is defined as such
[{
"key": "development",
"dest": "config/development.js"
}]
This will then load the value store in the 'key' attribute, and save it in to the specified 'dest' file
see example/master.js
FAQs
Trinity mirror, configuration manager. watches consul KV store, and writes out the configuration files. Manages the PM2 cluster, by restarting the scripts
The npm package tm-consul-cluster-manager receives a total of 1 weekly downloads. As such, tm-consul-cluster-manager popularity was classified as not popular.
We found that tm-consul-cluster-manager 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.