1.6 KiB
Threat Model
ModelForge M6 boundary
The ModelForge credential is a mode-0600 read-only mounted file, not environment content. Adapter requests contain transient text but logs/metrics contain only provider name, correlation and timing. The adapter rejects cloud hosts and has no cloud fallback. Public retrieval cannot select the shadow collection; only the operator command may target it.
Assets
Documentbytes, parsed content, embeddings, queries, answers, credentials, grants, modelroutes, auditlogs en hersteldata.
Trust boundaries
Internet/LAN client -> reverse proxy -> RAGCore app -> internal services; source connector -> ingestion; RAGCore -> modelprovider; operator -> backupmedia.
Belangrijkste dreigingen
- Cross-workspace/space data leakage, inclusief operationele metadata: joblijsten,
statustellers, source-namen en foreign job retry (zie Operations isolation in
SECURITY_CONTROLS.md). - Gestolen service token of sessie.
- Prompt injection in documenten.
- Data poisoning of kwaadaardige bronupdates.
- Path traversal, SSRF, archive bomb en parser exploit.
- Onbedoeld versturen van local-only data naar cloudprovider.
- Qdrant/DB exposure of filterbypass.
- Citation IDOR en historical-content leakage.
- Job duplication/race die halfgepubliceerde index veroorzaakt.
- Backup met secrets of onverifieerbare restore.
- Resource exhaustion via uploads, queries of modelcalls.
- Supply-chain of model-update regressie.
Security acceptance
Voor ieder bedreigingsscenario bestaan preventieve controls, detectie, negatieve tests en een herstel/runbook. Critical/high bevindingen blokkeren milestone release.