docs.vims

Docs/Security Center

Security Center

Defend this computer: decoys and honeytokens that catch intruders, a host watch, attacker case files, vulnerability patching on approval, a firewall that blocks by your rules, and security meshes that share what you prove — plus app scans, approval levels and the audit log.

Open in VIMSDownload VIMS

The Views

Security has three panels: the views on the left, the open view in the middle and the security assistant on the right (VIMS or an external agent; it reads what you have open). The views follow the security teams:

  • Overview — what happened today, what is blocked, what needs you.
  • Detect (blue team) — every detection, by kind and severity, live.
  • Deceive — decoys, the maze and honeytokens.
  • Attackers — a case file per attacking address.
  • Fix (green team) — vulnerable packages to patch, plus app and system scans.
  • Findings (green team) — issues you are tracking, each with evidence and retests.
  • Attack surface (red team) — what an attacker would find reachable on this computer.
  • Rules (white team) — rules of engagement, blocked addresses, the audit of actions and approvals.
  • Lessons (orange team) — the MITRE ATT&CK techniques seen here, with guidance.
  • Intel and Meshes — what you share with other nodes.
  • Devices — your gadgets' attestations.
  • Cameras — this computer as a watch post: its cameras and what they saw.
  • Pads — what protects the tunnels to your other devices, and the one-time pads shared with them.

The ? to the left of Overview explains whichever view is open.

See also: One-Time Pads

Decoys, the Maze and Honeytokens

Decoys are services nobody legitimate uses, so any contact is a high-confidence detection. Each listens on its own port — SSH 2222, HTTP 8880, telnet 2323, MySQL 3307, Postgres 5433, Redis 6390, RDP 3390, SMB 4455 — answers like the real thing, never grants access to anything real, and records everything. They are off until you turn them on in Deceive.

The HTTP decoy and the SSH decoy's shell serve the maze: an endless, believable file tree generated from each path's hash, so it costs nothing to store and never ends. Its credential files carry a breadcrumb honeytoken.

Honeytokens are planted credentials, API keys, canary URLs and access documents (optionally written as a new file in your home folder). Only someone who found the planted copy can present one, so its use is a critical event.

Detections and Attacker Case Files

The host watch checks what is listening on this computer, who it talks to, and who keeps failing to log in to its real services (journald and auth.log on Linux, the unified log on macOS, event 4625 on Windows). Decoys, honeytokens, the host watch and your gadgets all feed Detect, each event tagged with its MITRE ATT&CK technique.

Attackers keeps one profile per address: score, targets, the usernames and passwords tried, clients, tokens used and your notes. From a profile you can block it, export a STIX 2.1 bundle (what CERTs, ISACs and SIEMs ingest) or a plain case report for an abuse desk.

Every detection reaches your notifications at the policy's level, the defense.detection webhook, and the assistant.

Vulnerabilities and Patching

Fix lists vulnerable installed packages (the package inventory checked against OSV, scored by CVSS) with the update that fixes each. Patch runs exactly that package's upgrade, behind your administrator password; Ignore keeps it out of the queue. With auto-patch on in the policy, security updates apply without asking (only where the system allows it without a password). App and system scans live here too.

Findings

Findings tracks a security issue until it is closed: open, then verified, then fixed — or ignored. Each finding carries evidence (notes, logs, screenshots, proofs of concept; up to 6 MiB each) and retests. A retest that reproduces the issue verifies it; one that shows it fixed closes it.

App, system and pre-publish scans file their findings here on their own. A finding that is gone from a later scan of the same kind is closed with a retest; one that comes back after being fixed is reopened as a regression. Findings you ignored are left alone.

Evidence is stored under its own SHA-256 and re-hashed every time it is read. A file that no longer matches is never served: you get an error and a high-severity entry in the audit log.

Attack Surface

Attack surface is the red team's view of this computer: listeners an attacker could reach, and the SSH settings (password logins, root login and the like) that decide whether getting in is easy, each with how to fix it.

Rules of Engagement and Blocking

The policy (Rules) says what VIMS may do on its own. By default it watches, deceives and asks, and blocks only what decoys prove hostile: an address is blocked automatically once its score reaches 10, for 24 hours. Addresses in your never-block list (and loopback) are never blocked. Your rules of engagement default to: defend this computer only — deceive, record and block; never touch an attacker's systems; report them.

Blocked addresses get refused by VIMS itself. Apply to firewall makes the operating system drop them too — nftables on Linux, a pf anchor on macOS, a Windows Firewall rule — behind your administrator password.

What VIMS Never Blocks on Its Own

Automatic blocks, and blocks imported from other nodes, skip this computer's own addresses, its default gateways and the addresses of people logged in to it right now. The attacker's profile says it was spared and why, and the address is not passed on to other nodes. You can still block a gateway or a session's address by hand; a computer's own address can never be blocked.

Decoys take at most 512 connections at once, 8 from any one address; the rest are closed and recorded once as a connection flood. Attacker profiles are capped at 20,000, and the ones dropped first are unblocked addresses you never touched — never one you annotated, reported or blocked yourself.

Intercept Rules

Intercept rules are your own allow, deny and ask gates on what agents and assistants do, checked before anything else. A rule matches a tool, an action, optionally a pattern in the call's parameters, and optionally where the call came from (a chat surface, a flow, a meeting, an agent, the SDK). The first match in priority order decides:

  • deny — the call is refused. Deny rules apply to every tool, including ones that never ask.
  • ask — the call waits for your approval, naming the rule.
  • allow — the call skips the remaining approval checks, but never the patterns that are always blocked.

Rules are edited in the wheel's Security Settings tab, under Rules of engagement, where Test shows what a call would hit without running it. Every decision a rule makes is written to the audit log.

The same tab sets the approval level per app: each assistant, agents, flows, meetings and the SDK can have their own level, or one level can apply across all of them.

See also: Security Center: Approval Levels, Security Center: How Approvals Work

Intel and the Public Mesh

With sharing on, your node publishes what it has proven (decoy and honeytoken contacts, brute force) as one signed Nostr event, every 15 minutes, and imports the indicators of publishers you trust. Only indicators travel — an address, its confidence, the techniques seen — never logs, names or anything about your network, and never an address or host that isn't publicly routable (private ranges, CGNAT, Tailscale, .local, .internal, .corp and similar).

The public mesh reads every publisher but keeps an indicator only once at least 3 independent publishers report it (you can set the floor, minimum 2), so one node — or a few colluding ones — can't get an address blocked. security.vims.com shows the public mesh live: reports, lookups, publishers and their reputation, with feeds (RSS, a live stream and TAXII 2.1) for other tools.

Detection Packs

A detection pack is a named, versioned list of indicators that you sign and that follows you to every device you own. Make one in Intel — one indicator per line, type value [confidence] — or pack everything this computer has proven. Its indicators take effect at once and are never re-shared to the public mesh as your own.

Deleting a pack removes exactly its indicators on every one of your devices, and a deleted pack does not come back: your devices keep a signed record of the deletion and refuse to import it again.

Private Security Meshes

A private mesh is a company's, agency's or group's machines sharing everything they prove — internal addresses and full case files included — and taking one fleet policy from their admins. It is a private, closed group on a groups relay (groups.vims.com by default, or your organization's own, on-premises included); every message is encrypted to the mesh's own key, which members get in their invite and the relay never sees. Meshes sync every minute.

In Meshes: create or join one with an invite code, mint and revoke invites, admit members by npub, push the fleet policy, share a case file, and open the mesh's dashboard on security.vims.com. Each mesh decides what may pass on to the public mesh (a confidence floor and a delay); private addresses never do. Leaving forgets the key and everything that came only from that mesh.

Pads: Post-Quantum Tunnels and One-Time Pads

Your devices reach each other over encrypted tunnels. Two VIMS devices that both support it agree their keys with ML-KEM as well as X25519, so a tunnel recorded today stays closed to a future quantum computer. Pads shows what protects each device right now — classical, post-quantum, or post-quantum plus a pad.

A pad is random bytes that only two of your devices hold. Every tunnel between them spends a little of it, and no byte is used twice. Once a pad has been used, the other device gets no tunnel without it, so someone who copies your identity key still cannot reach that device.

Save a pad to carry writes a file to move to the other device yourself; Send a pad now sends it over a post-quantum tunnel. Seal a secret encrypts a password or recovery phrase with pad bytes for the other device to open, once. Under Tunnels to this computer you can require post-quantum tunnels, or accept your identity only from devices that share a pad.

The One-Time Pads article covers all of it: grades, refills, how far pads scale, and what to do after a restore.

See also: One-Time Pads, One-Time Pads: Sharing a Pad, One-Time Pads: How Far Pads Scale, One-Time Pads: Backups, Restores and Recovery

Gadgets and Lessons

Paired gadgets attest the hash of their own software, their OS, kernel and listening ports on every connect, and report new listeners and failed SSH logins. A software change shows in Devices until you confirm it after an update.

Lessons turns what was seen here into guidance: each ATT&CK technique observed, how often and by how many attackers, what to do about it, and a link to the technique.

Cameras

Cameras turns this computer into a watch post. Add a camera by its address and press Test. The computer pulls stills, notices change, and has a changed still read for people and objects — on its own GPU or processor, or by a device in your pool. What a camera saw arrives in Detect as a camera event with the still, which is kept on this computer for a limited time.

Set closed hours to be told about anyone seen then. Recognising particular people is off until you turn it on and enrol them.

From the Assistant, MCP and the SDK

The security assistant reads everything above and can block, change decoys and honeytokens, scan, patch and apply the firewall — always asking first. External agents get the same through MCP: vims_defense_overview, vims_defense_events, vims_defense_attackers, vims_defense_case_report, vims_defense_block, vims_defense_unblock, vims_defense_decoys, vims_defense_honeytokens, vims_defense_host, vims_defense_exposure, vims_defense_vulnerabilities, vims_defense_patch, vims_defense_policy, vims_defense_intel, vims_defense_guidance, vims_defense_devices, vims_defense_meshes, vims_defense_mesh_create, vims_defense_mesh_invite, vims_defense_mesh_join, vims_defense_mesh_push_policy and vims_defense_mesh_share_case. From the SDK: client.defense.overview(), client.defense.attackers(), client.defense.block(ip), client.defense.vulnerabilities(), client.defense.meshes() and the rest of client.defense.

Scanning Apps

Scan checks an app's folder — or this whole system — and scores it out of 100. Findings are grouped by what they need: Fix immediately, Fix before publish, Recommended. The scan also lists what the app can reach: network, files, system commands, environment variables, native code, camera, microphone and more. Defense keeps recent scans and verifies installed apps against the file hashes of a full scan to catch tampering; Remediation turns findings into fixes.

Approval Levels

  • strict — every action asks first.
  • selective (default) — risky actions ask: deleting, sending money, transfers and the like.
  • chaos — nothing asks. Patterns that are always blocked (rm -rf /, fork bombs, formatting disks) stay blocked.

Set it in Settings → Security (or Agents → Settings → Safety), or with POST /api/fleet/config {"hitl_level": "selective"}; agents and apps follow it.

How Approvals Work

An action that needs approval waits as a card — what it would do, its risk, who asked (you, an agent, an app) and whether it came from chat, voice or an automated run. Approve runs it; Deny cancels it, and the assistant is told either way. An approval that isn't answered in time expires and counts as denied.

Pending approvalsbash
curl -s 127.0.0.1:8089/api/hitl/pending | jq
Approve onebash
curl -sX POST 127.0.0.1:8089/api/hitl/confirm/$ID

The Audit Log

Every security event is written to a daily audit log on this computer: prompt injections detected, actions blocked, approvals given and denied, approved actions run, and calls apps make into VIMS (with argument names, never values). Audit Log filters it by type, severity, origin and date. Secrets are redacted before a record is written.

Each record carries the hash of the one before it, so the log is a chain. Verify walks every file and names the first break: a record changed, removed, reordered or inserted, a missing day, or a log that ends earlier than it should.

A chain alone cannot show that someone rewrote everything after some point, or cut the end off while VIMS was stopped. Your other devices can: each records signed checkpoints of the others' logs — a record number and its hash, nothing else — and Verify holds this log to every checkpoint another device recorded. You can also turn on public anchors, which publish a signed checkpoint hourly and have it timestamped against Bitcoin.

Prompt-Injection Detection

Content from outside — emails, web pages, files — is checked for injection attempts ("ignore previous instructions", role switches, system-prompt resets) before a model sees it; what is caught is held back and recorded. Treat it as one layer of defence, not a guarantee.