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/bsaunders95/accounts-statistics-tool
A tool to fetch accounts data
The following environment variables are used for program execution
Variable | Required | Example | Default | Notes |
---|---|---|---|---|
TRANSACTIONS_MONGODB_URL | ✓ | mongodb://localhost:27017/ | This variable must follow the standardised MongoDB connection string format | |
TRANSACTIONS_MONGODB_DATABASE | ✓ | users_application | ||
LOG_LEVEL | ✗ | debug | info | A lower case representation of the standard log level enumerations. Possible values can be found here |
Bake a Docker image using the following command at the base of the project:
docker build --build-arg transactions_mongodb_url="<your_mongo_connection_string>" --build-arg transactions_mongodb_database="<your_mongo_db_name> -t <image_name> .
An additional --build-arg
flag with key log_level can be optionally set to configure the log level of the environment.
Once built, run the image using:
docker run <image_name>
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.