| Version | Supported |
|---|---|
| 0.1.x | ✅ |
If you discover a security vulnerability in u2-mcp, please report it responsibly:
- Do NOT open a public GitHub issue for security vulnerabilities
- Email the maintainers directly with details of the vulnerability
- Include steps to reproduce the issue
- Allow reasonable time for a fix before public disclosure
- Database credentials are loaded from environment variables, never hardcoded
- Credentials are never logged or exposed in error messages
- The
U2_PASSWORDfield is treated as sensitive data
Dangerous TCL commands are blocked by default:
DELETE.FILE- Prevents file deletionCLEAR.FILE- Prevents data clearingCNAME- Prevents file renamingCREATE.FILE- Prevents file creation (in read-only mode)
Configure additional blocked commands via U2_BLOCKED_COMMANDS:
export U2_BLOCKED_COMMANDS="DELETE.FILE,CLEAR.FILE,CNAME,ED,AE"Enable read-only mode to prevent all write operations:
export U2_READ_ONLY=trueThis disables:
write_recorddelete_recordbegin_transaction/commit_transaction- Any TCL command that modifies data
The execute_query tool only allows safe query commands:
LISTSELECTSSELECTSORTCOUNTSUM
Commands like DELETE, COPY, ED are rejected.
Query results are limited by U2_MAX_RECORDS (default: 10,000) to prevent accidental large data exports.
When running in HTTP mode, configure CORS origins to restrict access:
export U2_HTTP_CORS_ORIGINS="https://trusted-app.example.com"- Use read-only mode for exploration and development
- Restrict blocked commands based on your security requirements
- Use dedicated service accounts with minimal Universe permissions
- Store credentials securely using secrets management (not plain text)
- Limit network access to the HTTP server if deployed centrally
- Review knowledge files - they may contain sensitive schema information
- The MCP protocol transmits data in plain text over stdio
- HTTP mode should use HTTPS in production (configure via reverse proxy)
- Knowledge files are stored as plain text markdown