Security

How Halgent is secured

What Halgent protects against, who can change your rules, and what reaches Halgent.

Threat model in plain words

  • An agent does what you did not want

    It runs terraform or pushes to main. A rule stops the calls it names in Halgent's hook and gateway. Rules are checked by code, not by a model, so the agent cannot talk its way past them.

  • Someone tries to change your rules

    A rule counts only when it is signed with a passkey your team holds. Gateways enforce rules from signers they trust and nothing else.

  • Your data

    Your code, keys, full command lines and file contents never reach Halgent. We see program names like Bash: git push.

Who can change your rules

Only a passkey your team holds. Each gateway keeps a list of the signer keys it trusts and enforces only rules those keys signed.

Trust is confirmed by a person. A machine trusts a new signer only after a person confirms the fingerprint the signer sees. Keys it already trusts stay trusted. Compare the fingerprint on the signer's own device.

What reaches Halgent, and what never does

Reaches Halgent

  • A random session id, times, the client name, the isolation level and the mode
  • The project as 2 to 4 path segments, like acme/api
  • Tool and program names, with up to two listed words the tool defines: Bash: gh pr merge
  • A command's shape: its program names and separators, like pwd; git status
  • MCP server and tool names, agent types
  • GitHub metadata: repo, PR, branches, commit, login
  • Email recipients only as internal, external or mixed
  • The verdict, the rule that decided it, the rule set version and status marks
  • The kinds of service the machine holds credentials for, like github or aws, never a host or a path
  • The names of plugins, hooks and settings that go around the gateway
  • A result only as HTTP <code> or exit code <N>
  • Host name and OS user, once, when you confirm the pairing

Never reaches Halgent

  • Full command lines and any other argument
  • File paths and file contents
  • Diffs, titles, bodies and comments
  • Recipient addresses and domains
  • Any token or key

When you write a rule in words, an AI model turns your sentence into a structured rule. You review it before you sign.

Where logs live

Command logs stay on your machine, masked. Halgent's cloud receives only the names listed above.

Normal mode and locked mode

Normal modeLocked mode
ForYour laptopServers and CI
What runsYour agents work as they do today. Signed rules stop the calls they name. A rule on GitHub, Postgres or HTTPS also sends the network through Halgent from the next session.The full lockdown. Every call no rule allows is denied.
Holds againstMistakes by an agent doing its jobAn agent that works around them