Skip to content

Security: tokumag/Hora

Security

docs/SECURITY.md

HORA — Security Model & Policies

1. Security Philosophy

Autonomous multi-agent systems present unique security challenges, particularly when coordinating workers capable of modifying the local filesystem or running shell commands.

Core Axiom: Safety by default. The system operates with minimal host privileges, explicit human-in-the-loop gates for destructive actions, and complete separation between credentials and workflow artifacts.


2. Core Security Principles

2.1 Restricted Host Access

Workers do not automatically receive unrestricted host access. In future execution levels where workers run shell commands or mutate project source code, file system operations will be confined to the project workspace directory tree.

2.2 Explicit Permissioning for OS Automation

Future OS-level automation (Level 3 integration — window focus, keystrokes, UI clicks) must be explicitly enabled per application by the user. HORA will never perform unannounced background desktop manipulation.

2.3 Credential Isolation

API keys, OAuth tokens, and system credentials:

  • Must NEVER be stored in workflow definitions, task payloads, or generated artifacts (PROJECT_SPEC.md, AUDIT_REPORT.md).
  • Must NEVER be leaked into public event logs.
  • Provider authentication is managed in an isolated credential store outside the deterministic core.

2.4 Security Policy Layer (Planned for Phase 6)

Sensitive operations will require evaluation through a policy engine before dispatch:

  • Deleting files or formatting directories.
  • Invoking arbitrary shell commands or installing system packages.
  • Pushing to remote Git remotes.
  • Deploying to cloud infrastructure.
  • Exfiltrating telemetry or communications outside the local machine.

2.5 Phase Boundary

  • Phase 1: Only mock workers run. No host commands, network calls, clipboard access, or desktop automation are present.
  • Phase 6+: Policy engine, approval gating for sensitive operations, and isolated credential storage.

There aren't any published security advisories