Scan your whole stack
Are you using deepshield-sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.2
deepshield-sdk was last scanned on 1 Dec 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.2 LATEST | 1 Dec 2026 | No rules fired |
| 0.1.1 | 1 Dec 2026 | No rules fired |
| 0.1.0 | 1 Dec 2026 | No rules fired |
| 0.0.0-stage | 1 Dec 2026 | Not shown |
Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Real-time AI deepfake detection, Grad-CAM explainability, and signed authenticity tokens for any JavaScript or TypeScript app.
Integrate enterprise-grade deepfake verification into your signup, KYC, media upload, or moderation flow in under 2 minutes—regardless of your database or backend stack.
fetch & FormData.sessionId, endUserId, and endUserEmail so every verification is tracked in your DeepShield Developer Dashboard.HS256 JWT (verification_token) you can validate independently.npm install deepshield-sdk
pnpm add deepshield-sdk
yarn add deepshield-sdk
Add your API key from the DeepShield Dashboard → API Keys to your .env file:
DEEPSHIELD_API_KEY=sk_live_dshield_your_key_here
DEEPSHIELD_API_URL=http://127.0.0.1:8000
import { DeepShield } from "deepshield-sdk";
const deepshield = new DeepShield({
apiKey: process.env.DEEPSHIELD_API_KEY!,
baseUrl: process.env.DEEPSHIELD_API_URL,
});
// Verify an end-user's uploaded image or video
const result = await deepshield.verifyVideo(videoFile, {
sessionId: "sess_98421",
endUserId: "usr_42",
endUserEmail: "jane@customer.com",
explain: true,
});
if (result.risk_level === "high") {
console.warn("Deepfake risk detected:", result.authenticity_score);
}
// Independently validate the signed JWT on your backend
const check = await deepshield.validateToken(result.verification_token);
console.log(check.valid, check.payload);
{
"authenticity_score": 96,
"risk_level": "low",
"confidence": 0.9612,
"verification_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"inference_time_seconds": 0.142,
"gradcam_url": "/gradcam/gradcam_a1b2c3.jpg",
"explanation": {
"spatial_attention": "Spatial stream shows low manipulation cues.",
"frequency_anomaly_score": 0.0412
}
}
| Authenticity Score | Risk Level | Recommended Action |
|---|---|---|
80 – 100 |
low |
Allow automatically |
50 – 79 |
medium |
Flag for step-up verification or review |
0 – 49 |
high |
Block or escalate to manual review |
| Method | Endpoint | Description |
|---|---|---|
new DeepShield({ apiKey, baseUrl? }) |
— | Initialize the client |
verifyImage(file, options?) |
POST /api/verify-frame |
Verify a single image (Blob / File) |
verifyVideo(file, options?) |
POST /api/verify |
Verify a video (Blob / File) |
validateToken(token) |
POST /api/validate-token |
Verify JWT signature & expiry |
VerifyOptions| Option | Type | Description |
|---|---|---|
sessionId |
string |
Your app's session ID for audit tracking |
endUserId |
string |
Your end user's unique ID |
endUserEmail |
string |
Your end user's email address |
explain |
boolean |
Return Grad-CAM heatmap URL & forensic explanation |
useQuantized |
boolean |
Enable FP16/quantized inference on the backend |
MIT © DeepShield
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.