VadiGuard shield logoVadiGuard
Home / How it works

How VadiGuard works

VadiGuard is a layered system, so protection does not depend on the browser alone. A JavaScript SDK collects signals, your server asks the verification API for a decision, and every result is logged in the dashboard.

The four layers

1. JavaScript SDK

One script tag on pages with forms. It adds a hidden token and a honeypot field, tracks basic behaviour such as how fast a form is filled, and sends those signals when the form is submitted.

2. Verification API

Your backend posts the token, IP address, user agent, domain and form payload to /api/v1/verify with your secret key. The API answers with allowed, risk_score, action and reason.

3. Server-side middleware

Ready-made code for CodeIgniter 3, Laravel, Node.js / Express, WordPress and plain PHP checks the answer before anything is saved. A blocked request gets a 403.

4. Admin dashboard

Live traffic, attack logs, form submissions, blocked IPs, rules and alerts for each website, with the reason behind every decision.

VadiGuard free demo sign-up screen: name, company, work email, optional phone and password, with one protected website included
Getting started: the free demo sign-up screen, which includes one protected website.

A request, step by step

  1. A visitor fills in your contact, signup or login form. The SDK has already attached a short-lived token issued by /api/v1/token.
  2. The form posts to your own server as usual.
  3. Your middleware calls /api/v1/verify with the token and request details.
  4. The risk engine and your rules score the request from 0 to 100 and pick an action.
  5. Your code saves the submission only if allowed is true. The event appears in the dashboard either way.

Risk score and actions

Each signal adds weight to the score. Examples from the scoring engine:

SignalWeight
Honeypot field filled in+40
Form submitted too fast+25
SQL injection pattern+50
Disposable email address+20
Bad IP reputation+30
ScoreAction
0 to 30Allow
31 to 60Suspicious: allowed and logged
61 to 80Challenge
81 to 100Block

Confirmed SQL injection, XSS and domain mismatches are blocked whatever the score, because they are attacks rather than guesses. Repeat offenders can be put on a temporary or permanent block.

What it checks

AI tools in the dashboard

The dashboard adds a plain-English daily threat summary, a risk explanation for any blocked request, a lead classifier that marks submissions as genuine, spam or low quality, rules written from a sentence (for example "block disposable emails from Russia"), an adaptive baseline that flags unusual spikes for each site, and alerts by Slack, Telegram, webhook or email.

If VadiGuard is unreachable

SDK calls fail open. If the API cannot be reached, your forms keep working normally, so the security layer never takes your site down.

Next: pick your stack on the integrations page, or compare plans.