EVIDENCE CHAIN_
daLogbook + daChain
- Every significant event produces an evidence entry
- SHA-256 hash chain — each entry linked to previous
- Server-signed checkpoints every 200 entries or 30s
- Cross-session verification via run IDs
- Evidence grades: EVIDENCE_GRADE, UNTRUSTED_EVIDENCE, BROKEN
- A single tainted entry flags the entire chain
Immutable evidence — cryptographically anchored to the server
CAPABILITY TOKENS_
daCapability
- Sensitive ops require capability tokens
- Bound to { op, moduleId, sessionId }
- Single-use, time-expiring, closure-held
- Well-known ops: AUDIT_CLEAR, VAULT_RESET, QUARANTINE
- Dual-gate verification via requireAdmin()
- No operation proceeds without valid token + caller match
Operation-scoped authorization — no blanket admin access
EGRESS GATE_
daEgressGate + daURLValidator
- Captures native fetch, XHR, WebSocket at boot
- Policy-enforcing wrappers on all outbound requests
- IPv6 link-local, multicast, mapped-v4 blocked
- Protocol-relative + credential-bearing URLs rejected
- Cross-origin scripts require SRI integrity
- Only sha256/sha384/sha512 accepted
Every outbound request passes through the gate — no exceptions
HARDENING SURFACE_
N0 through N17
- N0–N4: Capability token engine, session-bound, single-use
- N5–N8: Hash-chain evidence, SPKI key pinning via daKeyPin
- N9–N12: Egress gate, CSP tightening, security mode enforcement
- N13–N16: URL normalization, nonce replay protection, Trusted Types
- N17: Nonce-based style CSP — zero unsafe-inline remaining
- 84+ security checks passing — CSP debt: ZERO
17 hardening levels — each one independently verifiable
OPERATIONS_
Server-Side Threat Defence
- Real-time firewall with pattern detection — SQL injection, XSS, path traversal, scanners
- Automatic threat scoring and IP blocking via CrowdSec + Fail2Ban + UFW
- File integrity monitoring with SHA-256 baselines — tamper alerts within minutes
- Rate limiting on API and authentication endpoints — brute force protection
- Geo-blocking with country-level access control — block or flag by region
- Two-factor authentication (TOTP) on admin access — Google Authenticator compatible
- SSL expiry tracking with automated alerts at 14-day and 7-day thresholds
- Uptime monitoring every 3 minutes with instant Discord/Slack notifications
- Security score grading (A+ to F) across 7 categories — 100-point scale
- Real-time Discord webhook alerts for critical events, intrusion attempts, and downtime
Your infrastructure is monitored 24/7 — threats are detected, scored, and blocked automatically