Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
node.js package for parsing http-like protocols
npm install httplike
var Parser = require('httplike');
var p = new Parser(socket);
p.on('message', function(msg) {
console.log(msg.method);
console.log(msg.headers);
console.log(msg.content);
});
httplike
assumes that the incoming protocol follows HTTP standards on using the Content-Length header to determine how many bytes to wait for in a response body.
parseHeader
from public interface on ClientParser
and ServerParser
lodash
trim()
to method and headersgetHeader()
function instead of headers[]
). See tests for example usage.FAQs
library for parsing http-like protocols
The npm package httplike receives a total of 8 weekly downloads. As such, httplike popularity was classified as not popular.
We found that httplike 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.