
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@opensyber/tokenforge
Advanced tools
Device-bound session security — ECDSA P-256 signatures for every request after login
Device-bound session security. Add one script tag — every request is cryptographically signed with a device key that never leaves the browser. A stolen cookie without the device key is useless.
<script
src="https://tokenforge-api.opensyber.cloud/sdk.js"
data-api-key="tf_your_api_key"
></script>
That's it. The script auto-generates ECDSA P-256 device keys, binds the session, and signs every fetch() request with X-TF-* headers.
npm install @opensyber/tokenforge
Express
import { tokenForgeMiddleware } from '@opensyber/tokenforge/express';
app.use(tokenForgeMiddleware({ apiKey: process.env.TOKENFORGE_API_KEY! }));
// req.tf.bound, req.tf.trustScore, req.tf.deviceId
Next.js
import { withTokenForge } from '@opensyber/tokenforge/nextjs';
export const GET = withTokenForge(handler, { apiKey: process.env.TOKENFORGE_API_KEY! });
Fastify
import { tokenForgePlugin } from '@opensyber/tokenforge/fastify';
fastify.register(tokenForgePlugin, { apiKey: process.env.TOKENFORGE_API_KEY! });
Hono
import { tokenForgeMiddleware } from '@opensyber/tokenforge/hono';
app.use('/api/*', tokenForgeMiddleware({ apiKey: env.TOKENFORGE_API_KEY }));
Sign up free at tokenforge.opensyber.cloud. Free tier: 1,000 verifications/month.
Authentication protects login. TokenForge protects everything after login:
Browser TokenForge API Your Server
│ │ │
│ 1. Script auto-generates │ │
│ ECDSA P-256 key pair │ │
│ │ │
│ 2. POST /v1/bind ─────────────>│ Store public key │
│ <──────────────────────────────│ Return deviceId │
│ │ │
│ 3. fetch('/api/data') │ │
│ + X-TF-Signature header ────────────────────────────────> │
│ │ │
│ │ <── POST /v1/edge/verify ── │
│ │ Verify signature │
│ │ Check nonce replay │
│ │ Compute trust score │
│ │ ── { allow, score: 92 } ──> │
│ │ │
│ <──────────────────────────────────── 200 OK ─────────────── │
All verification runs on TokenForge's infrastructure. Your server sends request context, gets back allow/deny. No crypto libraries, no database, no storage to manage.
7 signals scored 0-100 on every request:
| Signal | Weight | Detects |
|---|---|---|
| Signature | 30 | Tampering, missing device key |
| IP Address | 15 | IP change since binding |
| Geo Location | 15 | Country mismatch |
| Fingerprint | 15 | Browser fingerprint drift |
| Velocity | 10 | Multiple IPs in short window |
| Timing | 10 | Clock skew beyond tolerance |
| Nonce | 5 | Replay attacks |
Score >= 80: allow. Score 40-79: step-up auth. Score < 40: block.
For React apps or when you need more control than the script tag:
import { TokenForgeProvider, useTokenForge } from '@opensyber/tokenforge/react';
function App() {
return (
<TokenForgeProvider config={{
apiBase: '/api',
getSessionId: () => getSession(),
}}>
<YourApp />
</TokenForgeProvider>
);
}
Microsoft Entra ID, Clerk, Auth.js, NextAuth, Firebase, Supabase, Okta, or custom JWT. TokenForge runs after authentication — no changes to your auth flow.
| Plan | Price | Verifications/mo |
|---|---|---|
| Free | $0 | 1,000 |
| Pro | $49/mo | 50,000 |
| Team | $199/mo | 250,000 |
| Enterprise | Custom | Unlimited |
Client SDK: MIT | Server verification requires a TokenForge API key from tokenforge.opensyber.cloud.
FAQs
Device-bound session security — W3C DBSC + ECDSA P-256 signatures + AitM detection. Drop-in for Auth0 / Okta / Clerk / Entra ID.
The npm package @opensyber/tokenforge receives a total of 8 weekly downloads. As such, @opensyber/tokenforge popularity was classified as not popular.
We found that @opensyber/tokenforge 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.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.