Skip to main content

Agent Security

Security Hardening Summary

The agent-server communication channel has been hardened through a dedicated internal audit covering 9 findings (all resolved).

Transport Security

ProtectionImplementation
TLS Enforcementskip_tls_verify blocked for non-localhost; --allow-insecure override required
Replay ProtectionX-Request-Timestamp with 5-minute skew window; payload-level defense-in-depth

Authentication

ProtectionImplementation
API Key RotationZero-downtime via heartbeat; 5-minute dual-key grace period
Timing Oracle PreventionConstant-time bcrypt comparison; dummy hash when no match
Encrypted CredentialsAES-256-GCM; key from machine ID (non-portable)

Binary Integrity

ProtectionImplementation
SHA256 VerificationChecksum verified before execution
Ed25519 SignaturesDetached signatures on agent binaries
Isolated ExecutionTemp directories (0700), cleaned after execution

Rate Limiting

EndpointLimit
Enrollment5 / 15 min per IP
Device100 / 15 min per agent
Download10 / 15 min per IP
Rotation3 / 15 min per IP

Platform Hardening

  • File Permissions: Binary 0700, config 0600, work dirs 0700
  • Windows ACLs: SYSTEM + Administrators only via icacls
  • Heartbeat Jitter: +/-5s randomization prevents thundering herd