Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@regulaforensics/idv-capture-web

Latest version: v4.0.702-nightly

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: ikliashchou, regula
170 Versions
11.0K Downloads

Scan summary

@regulaforensics/idv-capture-web was last scanned on 28 Nov 2026 at version 4.0.702-nightly. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 170 versions; the latest 5 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 4.0.702-nightly.
  • Downloads: 11,024 downloads.

Versions

170 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.0.702-nightly LATEST 28 Nov 2026 No rules fired
4.0.701-nightly 27 Nov 2026 No rules fired
4.0.700-rc 27 Nov 2026 No rules fired
4.0.699-nightly 26 Nov 2026 Not shown
4.0.698-nightly 25 Nov 2026 Not shown

No rules fired in 4.0.702-nightly

Findings

Findings for v4.0.702-nightly. 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 4.0.702-nightly; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

IDV Platform Web Components

  • Overview
  • Before You Start
  • Content Security Policy (CSP)
  • Compatibility
  • Install via NPM
  • Install via CDN
  • Setup
  • Events
  • Configuration
  • Methods
  • Examples

Overview

The available component is <idv-flow>.

The component is designed to run IDV workflows, collect data from users, and send it to the Platform.

Before You Start

  • Components require HTTPS — they will not work over plain HTTP.
  • The library automatically registers web components. Import it before adding the components to your HTML.

Content Security Policy (CSP)

If your application uses a Content Security Policy (CSP), make sure it allows the resources required by the Web Components.

The <idv-flow> component can use the @regulaforensics/idv-face and @regulaforensics/idv-document modules, which rely on Web Workers and WebAssembly (WASM). For these to work correctly together with CSP, we recommend adjusting your CSP headers as follows:

script-src 'unsafe-inline' 'unsafe-eval' blob:;
worker-src https://wasm.regulaforensics.com blob:;

For more background on WebAssembly and CSP, see WebAssembly Content Security Policy.

Supported Browsers

The the latest version of the following browsers are supported:

  • Google Chrome
  • Mozilla Firefox
  • Safari

Install via NPM

If you are starting a new project, initialize it:

cd /path/to/project
npm init

Install the main package:

npm i @regulaforensics/idv-capture-web

Optionally, install additional modules:

npm i @regulaforensics/idv-face
npm i @regulaforensics/idv-document

Create index.html and index.js files in the root directory of the project.

Import @regulaforensics/idv-capture-web into your index.js:

import './node_modules/@regulaforensics/idv-capture-web/dist/main.js';

In index.html, add the component and load index.js:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>My app</title>
    </head>
    <body>
        <idv-flow></idv-flow>
        <script type="module" src="index.js"></script>
    </body>
</html>

Here is an example of index.js file.

Install via CDN

Use a CDN if you don’t have a build process (for example, a plain HTML/JS project). Add the following script tags to your .html file. The CDN link format is unpkg.com/:package@:version/:file:

<script src="https://unpkg.com/@regulaforensics/idv-capture-web@latest/dist/main.iife.js"></script>

<script src="https://unpkg.com/@regulaforensics/idv-face@latest/dist/main.iife.js"></script>
<script src="https://unpkg.com/@regulaforensics/idv-document@latest/dist/main.iife.js"></script>

Setup

The setup process involves four steps: Initialize → Configure → Prepare → Start.

Initialize
import { IdvIntegrationService } from '@regulaforensics/idv-capture-web';
import { FaceIdv } from '@regulaforensics/idv-face';
import { DocumentIdv } from '@regulaforensics/idv-document';

const service = new IdvIntegrationService();

// Event listener
service.eventListener = (event) => console.log(event);

// Initialize modules
const initResult = await service.initialize({
  modulesConfig: { docreader: { devLicense: 'yourBase64license' } }, // For development use only. Do not use it in production.
  includedModules: [FaceIdv, DocumentIdv],
});

if (initResult.error) {
  console.error(initResult.error);
}
Configure

Use credentials, API key, or token URL.

With username/password

const configureResult = await service.configure({
  baseUrl: 'https://your.host.com',
  userName: '',
  password: '',
});

With API key

const configureResult = await service.configure({
  baseUrl: 'https://your.host.com',
  apiKey: 'yourApiKey',
  ttl: 86400, // Optional. Default is 86400 seconds (24h). You can set a custom TTL in seconds.
});

With token URL

const configureResult = await service.configure({
  url: 'your-token-url',
});
Prepare Workflow
const prepareResult = await service.prepareWorkflow({
  workflowId: 'your_workflow_id',
});

// Error handling
if (prepareResult.error) {
  console.error(prepareResult.error);
}
Start Workflow
const metadata = { anyMetadata: 'Any Metadata' };
const locale = 'en-us';

const startWorkflowResult = await service.startWorkflow({
  locale,
  metadata,
});

// Error handling
if (startWorkflowResult.error) {
  console.error(startWorkflowResult.error);
}

console.log('WORKFLOW FINISHED:', startWorkflowResult);
Start Login
const startLoginResult = await service.startLogin({
  applicationId: 'your_application_id',
  baseUrl: 'https://your.host.com',
  metadata: { anyMetadata: 'Any Metadata' },
  locale: 'en-us',
});

// Error handling
if (typeof startLoginResult !== 'string') {
  console.error(startLoginResult);
} else {
  console.log('IAM AUTH CODE:', startLoginResult);
}

Events

You can subscribe to service events such as status updates, errors, and workflow progress by assigning a listener:

const service = new IdvIntegrationService();

// Define your listener
service.eventListener = (event) => {
    console.log('Event received:', event);
};

Configuration

Setters
Setter Description
nonce Sets a CSP nonce for <style> tags.
sessionRestoreMode Restores a session if the page reloads. false by default.
const service = new IdvIntegrationService();
service.nonce = 'nonceId';
service.sessionRestoreMode = true;
Getters
Getter Description
version Returns the version of the component.
currentSessionId Returns the current session ID if a session has been started; otherwise, returns null.
const service = new IdvIntegrationService();
console.log(service.version);

Methods

Method Description Type Notes
initialize(config: InitConfig) Initializes the service. Returns error if initialization fails. async initialize(config: InitConfig): Promise<{ error?: BaseInitializationError }> Call this first before any other method.
configure(config) Configures the service with credentials, API key, or token. async configure(config: CredentialConnectionConfig \| TokenConnectionConfig \| ApiKeyConnectionConfig): Promise<ConfigureCompletion \| TokenConfigureCompletion> Required before preparing a workflow.
getWorkFlows(params?) Returns a list of available workflows. async getWorkFlows(params?: WorkflowListRequest): Promise<WorkflowListCompletion> Useful for dynamically displaying workflows to users.
prepareWorkflow({ workflowId }) Prepares the service for the given workflow. Checks module and step compatibility. async prepareWorkflow({ workflowId }: { workflowId: string }): Promise<PrepareWorkflowCompletion> Must be called after configure. Validates workflow and modules.
startWorkflow(config?) Starts the workflow. Show the web component before running and remove it after completion. async startWorkflow(config?: StartWorkflowConfig): Promise<WorkflowCompletion> Display the component before calling. Pass locale/metadata if needed.
startLogin(config) Runs the IAM login flow: IAM auth start, configure, prepare, and start workflow. Returns the IAM auth code on success. async startLogin(config: LoginConfig): Promise<StartLoginCompletion> Requires initialize first. Display the component before calling.
deinitialize() Deinitializes the service. Run initialize again to restart. Recommended after completing work. async deinitialize(): Promise<DeinitializeCompletion> Clean up resources after finishing a workflow. Use initialize to start again.

Examples

You can find examples of using the components on the Samples page.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @regulaforensics/idv-capture-web

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229