Threat model and defense boundaries
Status: normative design analysis; formal security assessment remains a deployment requirement.
Assets and adversaries
Protect operator data, exact private transcripts, model artifacts and licenses, provider spend authority, approved static rules, cloud credentials, receipts, worker identity, source integrity and evidence provenance. Consider malicious user input, compromised extension/package, prompt injection in retrieved documents, stolen chat session, malicious provider image, network attacker, compromised worker, billing API ambiguity and mistakes by well-meaning operators.
Primary controls
| Threat | Required mitigation |
|---|---|
| Prompt claims to be admin | Authentication/authorization in trusted policy code, never chat text |
| Retrieved instructions ask to leak secrets | Content sanitization, trusted tool scopes, no model access to provider keys |
| Package supply-chain compromise | Quarantine, signed release, pinned dependencies, SBOM, scans, isolated tests |
| Cross-owner knowledge leak | Scoped evidence IDs, ACL filtering before search and per-owner encryption policy |
| Code injection through learned rule | No eval or runtime source rewriting; offline reviewed build, allowlisted DSL |
| GPU orphan / uncontrolled charge | Independent provider guardian, tags, TTL, inventory reconcile and spend alert |
| Quoted cost manipulated | Timestamped quote digest, exact provider/account/region scope, max cost |
| Lease replay | Fencing generation, idempotency, expiry, durable outbox |
| Artifact substitution | Digest and signature checks at every boundary |
| Replay of old operator approvals | Nonce, revocation, expiration, plan digest and owner binding |
| Offline marketing overclaim | Per-capability manifests with network dependency list and blocked-network tests |
| UI misinformation | Explicit simulated/preview/verified states, no magic green check |
Security test program
Include STRIDE-style threat review on each effect path, dependency supply-chain scans, property/fuzz tests for template parsers and boundary cases, tenant isolation, SSRF and path traversal tests, abuse rate limits, denial-of-service, sensitive-content logs, emergency kill switch drills, credentials rotation and red-team prompt injection. Use a separate private origin; the public site accepts no user file uploads and possesses no execution or money credentials.
Related
Authority · Jobs · Acceptance.