13 — Security Standards

Status: Ratified Version: 1.0.0 Applies to: All code, plugins, adapters, execution, secrets, supply chain, audit


1. Security Posture

HunterX is a security product; it must practice what it preaches. Security is a design property, not a feature. Every layer enforces: least privilege, isolation, defense in depth, and auditability.

Threat model scope (primary assets to protect):

  1. Operator credentials and secrets.
  2. Engagement target data and evidence (confidentiality).
  3. The platform’s own integrity (supply chain, sandbox escape, injection).
  4. Availability of the platform (abuse, DoS by tools/targets).

2. Secure Coding


3. Sandbox

All external process execution (tools, skills, plugins) goes through the Tool Execution Sandbox (02 §5.9, 06 §12).

Layer Control
Container Run in an ephemeral container (no host mount unless required), read-only rootfs where possible, no privileged mode
Process Resource limits: CPU, memory, fd, runtime deadline
Network Egress to scope envelope only (allow-list via proxy/iptables); DNS to scoped targets
Filesystem tmpfs workdir; only artifact output paths writable
User Non-root execution user; capability drop

Sandbox decisions are documented per tool in its knowledge file (07 §9, §12). Tools that cannot be sandboxed are either rejected or marked unsandboxed-requires-operator and never run without explicit per-run approval.

Sandbox escape or scope violation → process killed, mission paused, incident audit, quarantine of the offending tool/plugin.


4. Permissions & Least Privilege


5. Secrets Management


6. Isolation

Boundary Isolation
Process Subprocess/container per tool run; no shared memory with core
Plugin Plugin host isolation (05 §5)
Tenant/Engagement Data access scoped by engagement; cross-tenant queries impossible by design
Network Platform segments: API, workers, DB, cache separated; no public DB
Filesystem Per-mission artifact directories; evidence read paths controlled

7. Tool Execution Security


8. Supply Chain


9. Integrity & Cryptographic Controls


10. Audit Logging


11. API & Network Security


12. Data Security (at rest / in use)


13. Incident Response


14. Compliance Mappings (reference)


15. Security Testing Requirements

Mandatory security tests in CI (15 - Testing Standards.md §6):


16. References