Security and Data Handling
Security Posture
Locus is a memory implementation layer and may process sensitive conversational state. Treat all stored node content as potentially sensitive.
Data Classification Guidance
- Treat raw node text and content layer fields as confidential by default.
- Treat session identifiers and tenant identifiers as sensitive metadata.
- Treat provider credentials and endpoint secrets as secrets at all times.
Secret Management
- Never commit credentials, tokens, or endpoint secrets to source control.
- Use environment variables or secret managers for runtime configuration.
- Rotate credentials on incident response or role changes.
PII and Sensitive Content
- Avoid storing direct PII when not required for product behavior.
- Apply redaction/minimization before persistence where possible.
- Ensure logs do not include raw secrets or unredacted sensitive payloads.
Transport and Storage Controls
- Use TLS-enabled transports for remote database and provider calls.
- Restrict database access using least privilege credentials.
- Scope operations by tenant/session to avoid cross-tenant data leakage.
Operational Security Checklist
- Validate dependency updates and lockfile changes during review.
- Run parser/validator tests to avoid unsafe ingestion regressions.
- Audit error paths for accidental raw payload leakage.
- Keep incident response runbooks updated with containment steps.
Incident Handling Baseline
- Contain by rotating keys and restricting affected endpoints.
- Identify scope using session/tenant trace data.
- Patch and verify with deterministic replay payloads.
- Document remediation and prevention actions in release notes.