Back to Home
rainmana icon

tinybrain

Verified Safe

by rainmana

Overview

A security-focused LLM memory storage system for intelligence gathering, reverse engineering, and threat analysis, designed for AI assistants and security professionals.

Installation

Run Command
docker run -p 8090:8090 rainmana/tinybrain

Environment Variables

  • TINYBRAIN_HTTP
  • TINYBRAIN_DATA_DIR
  • POCKETBASE_DATA_DIR

Security Notes

The TinyBrain server is designed with a strong security-first approach, focusing on sensitive intelligence and offensive security tasks. The project's internal repository and service layers (`internal/repository`, `internal/services`) show robust implementations using PocketBase (embedded SQLite) for sessions, memory entries, relationships, context snapshots, and task progress, all backed by comprehensive unit and integration tests. These tests demonstrate proper data handling, validation, and metadata management. The `internal/repository/security_repository.go` also contains concrete SQL interactions for storing and querying NVD and MITRE ATT&CK datasets. **CRITICAL NOTE**: As explicitly stated in the `README.md` and confirmed by inspecting `cmd/tinybrain/main.go`, the publicly exposed MCP tool handlers in the `v1.2.1` binary primarily return **mock responses**. This means that while the underlying architecture is designed for real, secure operations, this specific build of the server does not actively perform persistent database interactions for most MCP tool calls through its main entry point. This significantly reduces immediate risks of sensitive data compromise via this specific executable, but also limits its real-world functional capabilities in this version. No `eval`, obfuscation, hardcoded critical secrets, or malicious patterns were identified in the provided `main.go` source. The project follows industry standards like OWASP, CWE, and NIST for its security patterns.

Similar Servers

Stats

Interest Score30
Security Score8
Cost ClassMedium
Avg Tokens500
Stars1
Forks0
Last Update2025-12-05

Tags

LLMMemory StorageSecurityOSINTReverse EngineeringMITRE ATT&CKGoPocketBaseThreat IntelligenceVulnerability ManagementAI Assistant Tool