
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@arcjet/headers
Advanced tools
@arcjet/headersArcjet extension of the Headers class.
This is an internal utility to help us deal with Headers.
This exists to prevent the cookie header from being set and non-string values
from being set.
You should not use this but use Headers or plain objects instead.
This package matches our current needs which are likely different from yours.
This package is ESM only. Install with npm in Node.js:
npm install @arcjet/headers
import { ArcjetHeaders } from "@arcjet/headers";
const headers = new ArcjetHeaders({ abc: "123" });
console.log(headers.get("abc")); // => "123"
This package exports the identifier
ArcjetHeaders.
The default export is ArcjetHeaders.
This package exports no TypeScript types.
new ArcjetHeaders([init])Creates a new ArcjetHeaders instance. We use this internally to prevent
the cookie header from being set and to ensure only string values are used.
init (Headers | Array<[string, string]> | Record<string, Array<string> | string | undefined>, optional)
— initial headers to setAn ArcjetHeaders instance that extends the standard Headers class.
FAQs
Arcjet extension of the Headers class
The npm package @arcjet/headers receives a total of 65,229 weekly downloads. As such, @arcjet/headers popularity was classified as popular.
We found that @arcjet/headers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.