BrainDB
ยท v0.5.2
Persistent, semantic memory for AI agents. Gives your AI long-term recall that survives compaction and session resets โ 98% accuracy, 20ms latency.
H:4 D:4 A:1 C:1
โ ๏ธ Hazard Flags
EXEC CODE_EXEC FS_READ_WORKSPACE FS_READ_USER FS_WRITE_WORKSPACE FS_WRITE_USER NET_EGRESS_ANY NET_INGRESS CREDS_ENV CREDS_FILES PI_WEB
๐ Capabilities
Execution
- โ Shell execution
- โ Code execution
- โ Install dependencies
- โ Persistence
- Privilege: user
Filesystem
- โ Read workspace
- โ Write workspace
- โ Read home
- โ Write home
- โ Read system
- โ Delete
Network
- Egress: any
- โ Ingress
Credentials
- โ Environment vars
- โ Credential files
- โ Browser data
- โ Keychain
Actions
โ send messagesโ post publicโ purchaseโ transfer moneyโ deployโ delete external
๐ Containment
Level: maximum
Required:
- SANDBOX_CONTAINER: Code execution capability
Recommended:
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Unauthorized tool use: MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_GIT_CLONE_AND_BUILD high
Mitigation: Avoid accessing system directories unless absolutely necessary.
Command injection risk: COMMAND_INJECTION_USER_INPUT, TIRITH_PLAIN_HTTP_EXEC, COMMAND_INJECTION_EVAL critical
Mitigation: Validate and sanitize all user inputs before using in commands
Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low
Mitigation: Provide clear, detailed description of skill functionality
Data exfiltration patterns: MCP_EXFIL_EXTERNAL_UPLOAD high
Mitigation: Document all external data transfers. Remove suspicious upload references.
Want a deeper analysis?
This report was generated by static analysis. Get an LLM-powered deep review with behavioral reasoning and attack surface mapping.
๐ง Deep Analysis โ $5.00๐จ Incident Response
Kill switch: Stop the agent process
Containment: Review logs for unexpected actions
Recovery: Depends on skill capabilities
๐ Raw SSDS JSON click to expand
{
"meta": {
"document_id": "ssds:auto:braindb:0.5.2",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T12:55:48.266Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "BrainDB",
"version": "0.5.2",
"format": "agent_skill",
"description": "Persistent, semantic memory for AI agents. Gives your AI long-term recall that survives compaction and session resets โ 98% accuracy, 20ms latency.",
"publisher": "unknown",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "74cf4c0fb2a1e4349a75fc31f79bb6e3c899c2589a72ffee1a3b9fb531328e13",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": true,
"privilege_level": "user",
"can_install_deps": true,
"can_persist": false
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": true,
"writes_user_home": true,
"writes_system": false,
"can_delete": false
},
"network": {
"egress": "any",
"ingress": true
},
"credentials": {
"reads_env_vars": true,
"reads_credential_files": true,
"reads_browser_data": false,
"reads_keychain": false
},
"services": [],
"actions": {
"can_send_messages": false,
"can_post_public": false,
"can_purchase": false,
"can_transfer_money": false,
"can_deploy": false,
"can_delete_external": false
},
"prompt_injection_surfaces": [
"web"
],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 4,
"D": 4,
"A": 1,
"C": 1
},
"flags": [
"EXEC",
"CODE_EXEC",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"NET_EGRESS_ANY",
"NET_INGRESS",
"CREDS_ENV",
"CREDS_FILES",
"PI_WEB"
],
"custom_flags": [
{
"code": "NET_INGRESS",
"name": "Network Server",
"description": "Listens for incoming connections in: gateway.js"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_GIT_CLONE_AND_BUILD: Access to critical system directories"
},
{
"code": "SOCIAL_ENGINEERING",
"name": "Social Engineering Risk",
"description": "SOCIAL_ENG_VAGUE_DESCRIPTION: Skill description is too vague or missing"
},
{
"code": "COMMAND_INJECTION",
"name": "Command Injection Risk",
"description": "COMMAND_INJECTION_USER_INPUT, TIRITH_PLAIN_HTTP_EXEC, COMMAND_INJECTION_EVAL: User input used in command substitution - potential injection risk"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "MCP_EXFIL_EXTERNAL_UPLOAD: Description mentions uploading data to external servers"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 5 security patterns (14 vendored rule hits). Review recommended."
},
"rationale": {
"H": "H4: Critical: Privilege escalation or malware detected",
"D": "D4: Critical: Credential theft or data exfiltration",
"A": "A1: Local side effects only",
"C": "C1: General content"
}
},
"containment": {
"level": "maximum",
"required": [
{
"control": "SANDBOX_CONTAINER",
"reason": "Code execution capability"
}
],
"recommended": [
{
"control": "LOG_ACTIONS",
"reason": "Audit trail for all actions"
}
],
"uncontained_risk": "Risk level depends on manual review of actual capabilities."
},
"risks": {
"risks": [
{
"risk": "Unauthorized tool use: MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_GIT_CLONE_AND_BUILD",
"severity": "high",
"mitigation": "Avoid accessing system directories unless absolutely necessary."
},
{
"risk": "Command injection risk: COMMAND_INJECTION_USER_INPUT, TIRITH_PLAIN_HTTP_EXEC, COMMAND_INJECTION_EVAL",
"severity": "critical",
"mitigation": "Validate and sanitize all user inputs before using in commands"
},
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
},
{
"risk": "Data exfiltration patterns: MCP_EXFIL_EXTERNAL_UPLOAD",
"severity": "high",
"mitigation": "Document all external data transfers. Remove suspicious upload references."
}
],
"limitations": [
"Static analysis only - runtime behavior not verified"
]
},
"incident_response": {
"kill_switch": [
"Stop the agent process"
],
"containment": [
"Review logs for unexpected actions"
],
"recovery": [
"Depends on skill capabilities"
]
},
"evidence": [
{
"evidence_id": "EV:file-1",
"type": "file_excerpt",
"title": "auto-capture.js",
"file_path": "auto-capture.js"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "docker-compose.yml",
"file_path": "docker-compose.yml"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "embedder.py",
"file_path": "embedder.py"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "execution-awareness.js",
"file_path": "execution-awareness.js"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "gateway.js",
"file_path": "gateway.js"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "install.sh",
"file_path": "install.sh"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "migrate.cjs",
"file_path": "migrate.cjs"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "package.json",
"file_path": "package.json"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "README.md",
"file_path": "README.md"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "setup.sh",
"file_path": "setup.sh"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] install.sh:7: SCRIPT_DIR=\"$(cd \"$(dirname \"$0\")\" && pwd)\"",
"file_path": "install.sh"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] install.sh:1: #!/usr/bin/env bash",
"file_path": "install.sh"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "TIRITH_PLAIN_HTTP_EXEC [HIGH] install.sh:185: MEMORY_COUNT=$(curl -sf \"http://localhost:$BRAINDB_PORT/health\" 2>/dev/null | no",
"file_path": "install.sh"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_EVAL [CRITICAL] migrate.cjs:340: while ((match = kvPattern.exec(text)) !== null) {",
"file_path": "migrate.cjs"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] README.md:27: git clone https://github.com/Chair4ce/braindb.git",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "MCP_EXFIL_EXTERNAL_UPLOAD [HIGH] README.md:68: curl -X POST http://localhost:3333/memory/encode \\",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] setup.sh:8: SCRIPT_DIR=\"$(cd \"$(dirname \"$0\")\" && pwd)\"",
"file_path": "setup.sh"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] setup.sh:1: #!/usr/bin/env bash",
"file_path": "setup.sh"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "TIRITH_PLAIN_HTTP_EXEC [HIGH] setup.sh:96: echo \" curl -s http://localhost:$GATEWAY_PORT/health | python3 -m json.tool\"",
"file_path": "setup.sh"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] SKILL.md:72: git clone https://github.com/Chair4ce/braindb.git ~/.openclaw/plugins/braindb",
"file_path": "SKILL.md"
}
]
}