
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@tshttp/header
Advanced tools
Ultra **typed**, over **documented**, and neatly **organised** HTTP header enums, to use for a great developper experience.
@tshttp/header
📰Ultra typed, over documented, and neatly organised HTTP header enums, to use for a great developper experience.
yarn add @tshttp/header
npm install @tshttp/header
import { Header } from '@tshttp/header'
req.header(Header.ContentType)
Header
enum is composed of the following exported enums:
RequestHeader
for the HTTP request headers.ResponseHeader
for the HTTP response headers.import { RequestHeader, ResponseHeader } from '@tshttp/header'
req.get(RequestHeader.XForwardedFor)
res.set(ResponseHeader.Allow, 'GET')
These enums are actually object litterals with a const
assertion.`
When use as a type, each category is a union of corresponding headers.
import { Header, ResponseHeader } from '@tshttp/status'
function setHeader(name: ResponseHeader, value: string) {
//...
}
FAQs
Ultra **typed**, over **documented**, and neatly **organised** HTTP header enums, to use for a great developper experience.
The npm package @tshttp/header receives a total of 35 weekly downloads. As such, @tshttp/header popularity was classified as not popular.
We found that @tshttp/header 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.