
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Machine access control middleware with signed decision receipts. Configurable identity disclosure — Private, Scoped, or Named. Ed25519-signed, independently verifiable.
Signed receipts for machine decisions. You choose what identity goes in.
For MCP servers: Use protect-mcp instead — trust-tier gating, credential vault, signed receipts, per-tool policies.
npx protect-mcp -- node your-server.js
Use ScopeBlind if your project needs:
npm install scopeblind
curl -X POST https://api.scopeblind.com/provision \
-H "Content-Type: application/json" \
-d '{"target_url": "https://yourapp.com/api/signup", "email": "you@company.com"}'
Or programmatically:
import { provision } from 'scopeblind';
const tenant = await provision({
targetUrl: 'https://yourapp.com/api/signup',
email: 'you@company.com',
});
console.log(tenant.slug); // 'a1b2c3d4e5f6'
console.log(tenant.scriptTag); // '<script async src="https://api.scopeblind.com/sb/a1b2c3d4e5f6.js"></script>'
console.log(tenant.dashboardUrl); // 'https://scopeblind.com/t/a1b2c3d4e5f6'
Save the mgmtToken — it's shown only once.
Add this to your HTML <head>:
<script async src="https://api.scopeblind.com/sb/{slug}.js"></script>
The script runs silently — no UI, no popup, no CAPTCHA.
import express from 'express';
import { scopeblind } from 'scopeblind';
const app = express();
// Block unverified devices on signup
app.post('/api/signup', scopeblind(), (req, res) => {
// req.scopeblind.verified === true
// req.scopeblind.deviceId === unique non-PII device hash
res.json({ ok: true });
});
// Flag but allow (for monitoring before enforcement)
app.post('/api/action', scopeblind({ onFail: 'flag' }), (req, res) => {
if (!req.scopeblind.verified) {
console.log('Unverified device detected');
}
res.json({ ok: true });
});
scopeblind(options?)Express middleware for device verification.
| Option | Type | Default | Description |
|---|---|---|---|
onFail | 'block' | 'flag' | 'allow' | 'block' | What to do when verification fails |
cookieName | string | 'sb_pass' | Cookie name for the JWT |
headerName | string | 'x-scopeblind-token' | Header name fallback |
jwksUrl | string | ScopeBlind production | Custom JWKS endpoint |
errorBody | object | { error: 'device_not_verified' } | Custom 403 response body |
After verification, req.scopeblind contains:
{
verified: boolean; // Whether the device proof is valid
deviceId: string | null; // Unique non-PII device hash
payload: JWTPayload; // Full JWT claims
}
verify(token, options?)Standalone JWT verification (non-Express):
import { verify } from 'scopeblind';
const result = await verify(tokenString);
if (result.verified) {
console.log('Device:', result.deviceId);
}
provision(options)Create a new tenant programmatically:
import { provision } from 'scopeblind';
const tenant = await provision({
targetUrl: 'https://yourapp.com/api/signup',
email: 'you@company.com',
});
// app/api/signup/route.ts
import { verify } from 'scopeblind';
import { cookies } from 'next/headers';
export async function POST(request: Request) {
const cookieStore = await cookies();
const token = cookieStore.get('sb_pass')?.value;
if (!token) {
return Response.json({ error: 'device_not_verified' }, { status: 403 });
}
const result = await verify(token);
if (!result.verified) {
return Response.json({ error: 'invalid_proof' }, { status: 403 });
}
// result.deviceId = unique device hash (not PII)
// ... handle the signup
}
After deploying, visit https://scopeblind.com/t/{slug} to see:
ScopeBlind starts in observe mode (observe only). Enable enforcement when ready.
MIT
FAQs
Machine access control middleware with signed decision receipts. Configurable identity disclosure — Private, Scoped, or Named. Ed25519-signed, independently verifiable.
We found that scopeblind demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.