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.
coffeebreak
Advanced tools
CoffeeBreak is an extensive testrunner UI for javascript unit tests using mocha. Runs backend tests for node.js and frontend tests as well.
npm install -g coffeebreak
$ coffeebreak [options]
-h, --help output usage information
-V, --version output the version number
-d, --dev Run in debug mode
-q, --logRequests Log requests and response
-p, --port <port> Set server port
-c, --coverage Enable code coverage
-r , --project <project> Run only <project>
-i , --diff <match> Test title must match <match>
A CoffeeBreak project is a folder with a coffeebreak.json file This file tells CoffeeBreak where all your files and test are stored.
Create a coffeebreak.json
file in your project root.
{
"project": "Project Name",
"browser": true,
"files": ["src/**/*.js"],
"tests": ["tests/**/*.spec.js"]
}
project - Sets a test project name.
browser - Tells the testrunner that Javascript tests should be handeled as frontend tests.
files - Path to required source files
tests - Path to your spec files
watch - Watch this files for changes. If this property isn't set, all files from the files
and `tests' properties are watched for changes
FAQs
Test runner for Mocha
The npm package coffeebreak receives a total of 1 weekly downloads. As such, coffeebreak popularity was classified as not popular.
We found that coffeebreak 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.