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.
express-har-capture
Advanced tools
Express middleware that captures HAR-traces of passing requests.
Currently very alpha, so use with caution
var app = express();
app.use(harCapture({}))
app.get('/', function (req, res, next) { ... });
This will output a HAR-file for each request in the webserver's current working directory.
mapRequestToName
: Function that given the req
will come up with a sensible
filename for the HAR to be put in.
harOutputDir
: Where to put the HAR-files. Defaults to process.cwd()
.
Three-clause BSD
FAQs
Express middleware for capturing HAR (HTTP ARchive)-files
We found that express-har-capture 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.