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.
A simple client for reporting 404 server errors to the "404 project" at http://www.dshield.org/tools/404project.html.
Please see the instructions at http://www.dshield.org/tools/404project.html for creating an ISC account retrieving the ISC ID and the Authentication key.
npm install 404project
Using as a plugin for express.js:
var express = require("express");
var reporter = require("404project");
var myUserID = process.argv[2] || "[Your ISC ID]";
var myKey = process.argv[3] || "[Your Authentication Key]";
var app = express.createServer();
app.use(reporter(myUserID, myKey));
app.listen(3000);
The same code also works for connect.js. Just replace
var express = require("express");
with
var express = require("connect");
Users of different frameworks can call the functionreturned by reporter(myUserID, myKey)
directly using:
// ...
var report = reporter(myUserID, myKey);
report(request, response);
// ...
or
// ...
var report = reporter(myUserID, myKey);
report(url, ip, ua, timestamp);
// ...
There is also a command-line tool:
bin/404reporter 036742670 aaaaaaaaaaaabbcccccccccccceeeeeeeeffffff "http://www.jolira.com/__phpamdin" 125.64.23.180 jakarta
In case of error, dshield does not provide a terrific amount of debugging support, but an message is produced
if the value 404project
is part of the NODE_DEBUG
environment variable.
export NODE_DEBUG="404project"
The library prints 404project: OK
if the data was submitted correctly and 404project: ERROR
if it did not.
Please double-check you ISC ID and the Authentication key in case you encounter problems.
FAQs
Report 404 errors to http://www.dshield.org/tools/404project.html
The npm package 404project receives a total of 0 weekly downloads. As such, 404project popularity was classified as not popular.
We found that 404project 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.