Spaces:
Paused
Paused
|
Download docs/THREAT_MODEL.md from dineshb/DataPilot-AI-Agent: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/spaces/dineshb/DataPilot-AI-Agent/resolve/main/docs/THREAT_MODEL.md
- Command line
-
hf download hf://spaces/dineshb/DataPilot-AI-Agent/docs/THREAT_MODEL.md
-
curl -L -o THREAT_MODEL.md https://huggingface.co/spaces/dineshb/DataPilot-AI-Agent/resolve/main/docs/THREAT_MODEL.md
1.27 kB
Threat model
Assets
Uploaded datasets, API keys, database credentials, generated artifacts, fitted models, run metadata, and operational logs.
Trust boundaries
Client β authenticated API β bounded job queue β isolated worker β run database/object storage β optional Gemini API. The local threaded queue is a development adapter; production deployments should use a durable queue and isolated workers.
Principal threats and controls
| Threat | Control |
|---|---|
| Malicious or oversized upload | extension/size/shape limits; content never executed |
| Category explosion | sparse encoding, per-feature cap, estimated-width guard |
| Prompt injection in data | metadata-first prompts; controlled tools; output evaluation |
| Secret/PII disclosure | masking, redaction, secret scanning, bounded AI payload |
| Path traversal | resolved artifact-root containment check |
| Resource exhaustion | rate limits, worker bounds, timeouts, quotas in production |
| Cross-tenant access | production authentication, tenant-scoped storage and authorization |
| Dependency compromise | Dependabot, lock file, pip-audit, Trivy, pinned Actions |
Residual risk and deployment responsibilities are documented in docs/SECURITY.md.