Sign In

@decionis/presence-web

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@decionis/presence-web

Official Presence browser SDK for capture, challenges, and intent verification.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
22
-90.95%
Maintainers
1
Weekly downloads
 
Created
Source

Human Presence Verification for the Browser

Presence SDK — verify human presence before consequential actions execute.

Applications send intent and context. Presence verifies the person. Decionis decides whether execution proceeds.

This SDK is the subject-side handoff. It never accepts a tenant key.

On-device ONNX liveness

OnnxLivenessEngine runs the bundled Open Model Zoo anti-spoof-mn3 model with ONNX Runtime Web. The engine verifies the model's pinned SHA-256 digest before loading it and returns only media-free evidence; video frames remain in the browser. Production integrations must serve dist/models/ and dist/ort/ beside their application assets and pass those URLs to OnnxModelSession. Treat model or runtime loading failures as an unavailable step-up, never as a pass.

The current model measures visual presentation attacks. It deliberately marks rPPG, audio, and active-challenge signals as unmeasured. SimulatedInferenceEngine is for deterministic demos and tests only.

Install

npm install @decionis/presence-web

Thirty seconds to a verdict

import { Presence } from "@decionis/presence-web";

const presence = new Presence({ apiBaseUrl: "https://presence.decionis.com" });
const invitationToken = new URL(location.href).searchParams.get("presence_invitation");
if (!invitationToken) throw new Error("Missing Presence invitation");

const result = await presence.verifyInvitation({ invitationToken });
console.log(result.outcome);

What happens

Application

↓

Intent + Context

↓

Presence

↓

Biometrics

↓

Liveness

↓

Presence Record

↓

Decionis Verdict

↓

Continue

Every Presence Check produces a signed Presence Record — portable evidence of who approved what, where, when, and on which device.

Quickstart

Install

↓

Configure

↓

Send Intent

↓

Receive Presence Result

↓

Verify Signature

↓

Done

Five minutes: docs/quickstart.md.

Supported scenarios

Wire Transfer

Treasury

Password Reset

Executive Meeting

Vendor Change

AI Approval

Examples

ExampleWhat it proves
simpleYour first Presence Check.
bankingA wire transfer with a verified Presence Record.
zoomAn executive meeting instruction held for review.
treasuryA treasury wire read through Shadow Mode enforcement.

Documentation

Product documentation lives at presence.decionis.com.

Support

License

Apache-2.0. Use of the hosted Presence service is governed separately.

FAQs

Package last updated on 10 Aug 2026

Related posts