
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@arcjet/analyze
Advanced tools
@arcjet/analyze
Arcjet helps developers protect their apps in just a few lines of code. Implement rate limiting, bot protection, email verification, and defense against common attacks.
This is the Arcjet local analysis engine.
This package provides functionality to analyze requests.
The work is done in WebAssembly but is called here from JavaScript.
The functionality is wrapped up into rules in our core package
(arcjet
),
in turn exposed from our adapters (such as @arcjet/next
).
The WebAssembly files are in
@arcjet/analyze-wasm
.
They are separate because we need to change the import structure for each
runtime that we support in the bindings.
Separate packages lets us not duplicate code while providing a combined
higher-level API for calling our core functionality.
This is an internal Arcjet package not designed for public use. See our Get started guide for how to use Arcjet in your application.
This package is ESM only. Install with npm in Node.js:
npm install @arcjet/analyze
import { generateFingerprint, isValidEmail } from "@arcjet/analyze";
const fingerprint = await generateFingerprint(
{ characteristics: [] },
{ ip: "127.0.0.1" },
);
console.log(fingerprint);
// => "fp::2::0d219da6100b99f95cf639b77e088c6df3c096aa5fd61dec5287c5cf94d5e545"
const result = await isValidEmail({}, "hello@example.com", {
tag: "allow-email-validation-config",
val: {
allowDomainLiteral: false,
allow: [],
requireTopLevelDomain: true,
},
});
console.log(result);
// => { blocked: [], validity: "valid" }
1.0.0-beta.10 (2025-08-04)
$env
, not process.env
(#4754) (5a87f0d)ip
tests (#4632) (aea416a)FAQs
Arcjet local analysis engine
The npm package @arcjet/analyze receives a total of 8,522 weekly downloads. As such, @arcjet/analyze popularity was classified as popular.
We found that @arcjet/analyze demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
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.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.