| Version | Supported |
|---|---|
| 0.5.x | ✅ |
| < 0.5 | ❌ |
If you discover a security vulnerability in SAME, please report it responsibly:
Email: dev@sgx-labs.dev
What to include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Any suggested fixes (optional)
Response timeline:
- Acknowledgment within 48 hours
- Initial assessment within 7 days
- Fix timeline communicated based on severity
Please do not:
- Open public GitHub issues for security vulnerabilities
- Exploit vulnerabilities beyond proof-of-concept
- Share vulnerability details before a fix is released
SAME is designed with a local-first security model:
- All data (embeddings, database, config) stays on your machine
- No telemetry, analytics, or external API calls from SAME itself
- The only network calls are to Ollama (localhost) or optionally OpenAI (if configured)
- Ollama URL is validated to be localhost-only (
127.0.0.1,localhost,::1) - Prevents SSRF attacks via malicious config
- Directories named
_PRIVATEare excluded from indexing - Private content is never surfaced to AI agents
- Configurable skip patterns via
skip_dirs
- Surfaced snippets are scanned for prompt injection patterns before injection
- Uses go-promptguard for detection
- Suspicious content is blocked from context surfacing
- MCP
get_notetool validates paths stay within vault boundary - Relative path components (
..) are rejected
- All user inputs are validated before processing
- SQL queries use parameterized statements (no injection risk)
Evaluation test fixtures (ground truth, test queries, expected results) must never reference real vault content:
- No real
_PRIVATE/paths or note titles - No real client names, project names, or business terms
- No real vault note content or snippets
Eval data must be either entirely synthetic or use a purpose-built demo vault with public sample data.
-
Trust boundary: Content surfaced to your AI tool is sent to that tool's API. SAME doesn't control what happens after context is injected.
-
Embedding model: If using OpenAI embeddings, your note content is sent to OpenAI's API. Use Ollama for fully local operation.
-
No encryption at rest: The SQLite database is not encrypted. Use disk encryption if needed.
Run same doctor to verify:
- Ollama URL is localhost-only
- Private directories are excluded
- Database is accessible only to current user
- Vector search is functioning
- Context surfacing respects skip patterns