Skip to content

Security: nodemode-dev/formcite

Security

SECURITY.md

Security policy

Supported versions

Security fixes go into the newest release. Please update before reporting, and check whether the problem is still there.

Version Supported
Latest release Yes
Anything older No

Reporting a vulnerability

Do not open a public issue for a security problem. Use GitHub's private reporting instead: on the repository's Security tab, choose Report a vulnerability. Include what you found, the steps to reproduce it, the version and platform, whether you ran the desktop shell or a source checkout opened in a browser, and what an attacker could do with it and what they need first (a web page you visit, a program on the same computer).

You can expect an acknowledgement within a week. We will keep you informed while it is fixed and credit you, unless you would rather not be named.

What counts

FormCite runs on your own machine, so the things that matter most are the ways something could reach it from outside:

  • The engine listens on loopback (port 8330 in development, a random loopback port in the desktop app). Anything that makes it reachable from another machine, or lets a web page on another origin drive it.
  • Your library: anything that lets a program or web page other than FormCite's own window read or change what FormCite keeps on your computer. The engine gives the window a key when it starts; requests that change something, and the routes that list credentials, are refused without it.
  • The cite service, service tokens and the MCP server: an app or an agent getting an answer before the person approved a token, a token reading more than its scope (read or write) allows, or a revoked token still working. Only the FormCite window can approve, deny or revoke. Every method on /api/cite/v1/ and /mcp asks for a token, and the engine keeps only each token's hash.
  • The agent dock (from 0.15.0): anything other than FormCite's own window on this computer reaching a terminal or an agent program through it.
  • Lookups and the network: any connection other than one a person or an agent asked for, to a host that is not declared, or made while the network is switched off. The rules are in docs/NETWORK.md.
  • Files: an import, a dropped PDF or an attached file handled in a way that writes outside where it should, or that lets something other than the window open one.
  • Secrets: anything that leaks a credential FormCite is given, a service token above all.

Bugs that need someone to already control your machine, or to run a modified build of FormCite, are ordinary bugs: please open an issue for those.

Trust model

FormCite has three parts on one computer: the window (frontend), the engine (backend, a local HTTP server) and the desktop shell (src-tauri). This is the summary of the model.

The engine listens on this computer only

The engine binds 127.0.0.1 and nothing else (backend/formcite_engine.py). A page on another machine therefore cannot reach it.

Only the window changes things

The window trades a one-time launch code for its key. Routes that change something need the key, so another program on this computer, or a web page, cannot change your library. Another app or an agent reaches the library only through the cite service and the MCP server, with a token you approved (docs/SERVICE_TOKENS.md).

Network

FormCite has no telemetry, no crash reporting and no update check. It goes on the network only when you or an agent ask for a lookup, to the services docs/NETWORK.md lists, and every call is logged.

Outside this policy

A program you chose to run acts with your user's rights; what it does is that program's behavior and not a flaw in FormCite.

There aren't any published security advisories