Security

Fourteen layers

This page is how Venoly keeps your account and your messages safe: fourteen layers. All of them run without anyone switching them on, except the raid join cap, which a server owner turns on, and the Tripwire honeytokens, which Venoly's owner plants. Most were built here, and each is described below in the words of the people who built it.

login_guard.vnlAbridged. Enforcing.

guard login_protection on login_attempt lock paranoid {   rule failed_attempts when login.failed_count > 3 {    action warn("Multiple failed logins: " + str(login.failed_count) + " failures");    action flag("failed_logins", "Elevated failed login count");  }   rule lockout when login.failed_count > 7 {    action block("account_lockout", "Too many failed login attempts — account temporarily locked");  }   rule credential_stuffing when login.ip_accounts_attempted > 5 {    action block("credential_stuffing", "Suspected credential stuffing attack");  }}

The rules that screen a login are a plain file. This is the live one, shortened; the refusal a locked-out person reads is the sentence written in the rule.

01 / Layers

The layers

The name and its one line on the left; what it actually does on the right.

Venilator policy VM12 policies, 8 enforcing
A custom stack-based VM compiles the 12 hand-written .vnl policy files into bytecode and runs them deterministically on the events each policy guards: sign-in, account changes, server joins, uploads, messages and every API request. Eight can stop a request (block or throttle): account_security, anti_spam, content_filter, ddos_shield, file_upload, global, invite_abuse, login_guard. The other four can only warn, flag, log or notify.
Aegis behavioral engineAnti-DDoS and bot detection
Real-time per-IP and per-user metrics in Redis. Computes timing entropy on the last 50 requests (perfectly even intervals score low, human pauses score high) and feeds the score back into the Venilator policies, so a bot is throttled by its rhythm, not only by its address.
Sentinel account-takeover defenseRisk scoring at sign-in
Device fingerprinting and credential-stuffing detection. Risk-scores every login (password, two-factor and OAuth): a new device adds 30, a country change within an hour of the last login adds 35, and five or more failed attempts in 15 minutes add 20. The score is recorded and logged today; it does not block on its own.
Cipher audit ledgerHash-chained, append-only
Append-only audit log where each entry's SHA-256 hash includes the previous entry's hash, so changing an old entry breaks the chain from that entry on. Venoly's admins run /cipher/verify to walk the whole log and see where it broke. Once a day the head of the chain is copied to a Git repository off the server; that repository is private for now, so the copy proves the log to the owner, not yet to the public.
Warden message provenanceAn HMAC over every channel message
When a message is sent in a server channel, the server signs the author, the message id, its content and its time with a Warden-only key, and re-signs on every edit made through the app. Direct messages and thread replies are not signed. /warden/messages/:id/verify recomputes and compares, so a message changed outside the app verifies as tampered. Signing went live on 3 September 2026; messages from before that verify as unsigned, not as tampered.
Tripwire honeytokensCanary invites and admin routes
Fake invite codes, fake admin endpoints and fake DM threads that Venoly's owner plants across the API. Anyone touching one is acting on data they should never have, which means an automatic flag and a Cipher entry. Catches insider threats and scrapers that enumerate.
Vault encryptionSealed per row
Sensitive columns sit behind a versioned encryption layer. Message and DM content, session metadata, IP addresses and user agents are sealed per row with AES-256-GCM under a key derived from a keyring that never enters the database; a value cannot be replayed onto another row.
Per-user rate limitingKeyed on the account
IP-based limiting alone fails against botnets. Authenticated routes are keyed on the account in Redis, so a botnet spread across many addresses still shares one bucket per account. DMs, search and uploads have their own.
WatchguardAutomatic attacker blocking
Watches per-address request floods and error velocity in-process and hard-blocks an attacking address with escalating timeouts, from 15 minutes to 24 hours. A block is always temporary and never touches an account. An address that three or more established accounts use (verified, more than a day old, in good standing; a carrier NAT or a campus) is never blocked automatically.
CaptchaImage challenge, one-time tokens
A text challenge drawn as an image, with the noise in the same pixels, an encrypted payload and one-time encrypted tokens. Required at sign-up and on friend requests, server creation and server joining, the parts of the platform that automation hits hardest.
Device forensicsConsent-gated
Canvas and WebGL signals, screen and timezone, and hardware specs combine to recognise a device across addresses and rotations, so a banned device cannot come back with a new account. Identifiers are collected only after you have read the disclosure; the hash alone otherwise.
Raid protection and malware scanningJoin throttling, ClamAV
A server owner can switch on raid protection: then a set number of joins get in each minute and the rest are asked to try again. Locking the server outright is left to its owner (raid settings), so a spike never freezes a server on its own. Uploaded files are handed to ClamAV as soon as they arrive; anything found infected is quarantined.
Two-factor and hashed tokensTOTP, rotated refresh tokens
TOTP two-factor with single-use backup codes. Refresh tokens are hashed at rest, rotated on use and revoked when an account is terminated or its password changes. Ending your other sessions drops their live connections at once, cluster-wide.
Account lifecycle30-minute purge
Unverified accounts are deleted 30 minutes after sign-up, which keeps the database clean and starves email-spam vectors. A terminated account has its tokens and sessions revoked together.

02 / Rules

Rules we keep

Most incidents come from skipping fundamentals, so these are not skipped.

  • No tracking pixels, no third-party ad SDKs, no analytics that follow you across the web.
  • On the web, session tokens live in httpOnly, Secure, SameSite=Strict cookies and never in the browser's storage.
  • Raw SQL with strict parameterisation; no ORM-generated query surface.
  • Every WebSocket payload is validated before it reaches application logic.

03 / Disclosure

Found something?

Write to security@venoly.nl. Reports are acknowledged within 24 hours and triaged within five business days; fixes ship inside a 90-day window, sooner for anything being exploited, and responsible disclosure is credited. The scope, the safe-harbour terms and the rewards are on the bug bounty page.

Out of scope: volumetric denial of service, social engineering, physical attacks, and findings against third-party infrastructure (Vercel, Cloudflare, our DNS provider). For anything that is not a security report, there is support.

Venoly
Venoly
Loading