Skip to content

RizomaDB

Threat model (STRIDE) — initial draft ​

Assets: database credentials, queried data, history and audit log, integrity of written data, supply chain.

ThreatCategoryControl
A secret ends up in settings, logs or historyInformation disclosureOnly SecretStorage; a central redactor; tests
A webview injects messagesTampering / elevation of privilegeStrict CSP, zod validation at both ends, minimal localResourceRoots
Generated SQL with injectionTamperingEscaping of identifiers and literals, parameters, fuzzing
An untrusted workspace loads connections or policiesElevation of privilegeWorkspace Trust: restricted mode
Accidental write to productionTamperingEnvironment labels, read-only on server and client, a reviewable queue
MITM / TLS turned offSpoofingTLS verified by default, a visible warning, SSH fingerprints
Compromised dependencyTamperingLockfile, audit, SBOM, provenance
Leak through AI / MCPInformation disclosureOff by default, schema only, confirmation, audit
Repudiation of operationsRepudiationLocal JSONL audit log
DoS through huge resultsDenial of serviceRow and memory limits, streaming, workers

This document is kept alive and reviewed at each phase.