
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Modern network analyze tool. Alternatives to Hoxy, Charles, etc.
npm i esniffer
yarn add esniffer
// index.js
import ESniffer from "esniffer";
import fs from "fs";
// Required if you want to monitor over HTTPS
const key = fs.readFileSync(`path/to/root-key.pem`);
const cert = fs.readFileSync(`path/to/root-cert.pem`);
const proxy = ESniffer.createServer({ secure: { key, cert } });
proxy.listen(8080);
proxy.on("request", (req) => {
req.pipe(process.stdout);
});
proxy.on("response", (res) => {
res.pipe(process.stdout);
});
proxy.on("info", (info) => {
console.log(info);
});
proxy.on("error", (e) => {
console.error(e.message);
});
node index.js
In your mac, from System Preferences > Network > Advanced... > Proxies tab
, configure the proxy as follows:
Protocol | Host | Port |
---|---|---|
Web Proxy (HTTP) | 127.0.0.1 | 8080 |
Secure Web Proxy (HTTPS) | 127.0.0.1 | 8080 |
Finally, don't forget OK
and Apply
.
name | description | type |
---|---|---|
info | Logs of the proxy server | string |
error | Errors occurring on the proxy server | Error |
request | Request object to the actual server | http.IncomingMessage |
response | Response object to the actual server | http.IncomingMessage |
FAQs
Modern network analyze tool. Alternatives to Hoxy, Charles, etc.
The npm package esniffer receives a total of 0 weekly downloads. As such, esniffer popularity was classified as not popular.
We found that esniffer 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.