brain-v3-skill
ยท v0.1.10
"Claw Brain - Personal AI Memory System for OpenClaw/ClawDBot. Provides memory, personality, bonding, and learning capabilities with encrypted secrets support. Auto-refreshes on service restart."
โ ๏ธ Hazard Flags
๐ Capabilities
Execution
- โ Shell execution
- โ Code execution
- โ Install dependencies
- โ Persistence
- Privilege: admin
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
๐ Containment
Level: maximum
- SANDBOX_CONTAINER: Code execution capability
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Mitigation: Do not execute. Review source for malicious intent.
Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.
Mitigation: Avoid accessing system directories unless absolutely necessary.
Mitigation: Avoid eval(), exec(), and compile(). Use safer alternatives like ast.literal_eval()
Mitigation: Provide clear, detailed description of skill functionality
Mitigation: Remove references to sensitive data collection.
Mitigation: Minimize access to environment variables
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:clawbrain:0.1.10",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T01:38:07.089Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "brain-v3-skill",
"version": "0.1.10",
"format": "agent_skill",
"description": "\"Claw Brain - Personal AI Memory System for OpenClaw/ClawDBot. Provides memory, personality, bonding, and learning capabilities with encrypted secrets support. Auto-refreshes on service restart.\"",
"publisher": "ClawHub",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "a19b74f8ae919c271571267a4ccc7157b95a3ea5e3c4e7cf62f1941b29f0880d",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": false,
"privilege_level": "admin",
"can_install_deps": false,
"can_persist": true
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": false,
"writes_user_home": false,
"writes_system": false,
"can_delete": true
},
"network": {
"egress": "any",
"ingress": false
},
"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",
"documents"
],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 4,
"D": 4,
"A": 0,
"C": 1
},
"flags": [
"EXEC",
"PRIVILEGED",
"PERSISTENCE",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_DELETE",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"PI_WEB",
"PI_DOCUMENTS"
],
"custom_flags": [
{
"code": "PIPE_TO_SHELL",
"name": "Pipe to Shell",
"description": "Downloads and executes remote code (curl|bash pattern) in: remote-install.sh"
},
{
"code": "PROMPT_INJECTION",
"name": "Prompt Injection Risk",
"description": "Contains prompt injection patterns in: pyproject.toml"
},
{
"code": "PERSISTENCE",
"name": "Persistence Mechanism",
"description": "Creates scheduled tasks or startup entries in: install.sh, README.md, SKILL.md"
},
{
"code": "PRIVILEGE_ESCALATION",
"name": "Privilege Escalation",
"description": "Uses elevated privileges (sudo/root) in: clawbrain_cli.py, __init__.py, install.sh, README.md, SKILL.md, tests/test_openclaw_integration.sh"
},
{
"code": "FILE_DELETE",
"name": "File Deletion",
"description": "Can delete files in: clawbrain_cli.py, tests/run_local_tests.sh"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_BINARY_INSTALL, INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_FILE_DESTRUCTION, MCP_SYS_PROCESS_MANIPULATION: 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_EVAL, SQL_INJECTION_STRING_FORMAT: Dangerous code execution functions that can execute arbitrary code"
},
{
"code": "TOOL_POISONING",
"name": "Tool Poisoning",
"description": "Hidden secondary behavior detected: MCP_TOOL_POISONING_SENSITIVE_DATA"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "DATA_EXFIL_ENV_VARS: Reading environment variables that may contain secrets"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 10 security patterns (28 vendored rule hits). Review recommended."
},
"rationale": {
"H": "H4: Critical: Privilege escalation or malware detected",
"D": "D4: Critical: Credential theft or data exfiltration",
"A": "A0: No side effects detected",
"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": "Pipe-to-shell pattern detected (curl|bash) in: remote-install.sh",
"severity": "critical",
"mitigation": "Do not execute. Review source for malicious intent."
},
{
"risk": "Prompt injection patterns detected in: pyproject.toml",
"severity": "high",
"mitigation": "Review SKILL.md for hidden instructions. Do not use with untrusted input."
},
{
"risk": "Unauthorized tool use: MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_BINARY_INSTALL, INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_FILE_DESTRUCTION, MCP_SYS_PROCESS_MANIPULATION",
"severity": "critical",
"mitigation": "Avoid accessing system directories unless absolutely necessary."
},
{
"risk": "Command injection risk: COMMAND_INJECTION_EVAL, SQL_INJECTION_STRING_FORMAT",
"severity": "critical",
"mitigation": "Avoid eval(), exec(), and compile(). Use safer alternatives like ast.literal_eval()"
},
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
},
{
"risk": "Tool poisoning: hidden behaviors detected (MCP_TOOL_POISONING_SENSITIVE_DATA)",
"severity": "high",
"mitigation": "Remove references to sensitive data collection."
},
{
"risk": "Data exfiltration patterns: DATA_EXFIL_ENV_VARS",
"severity": "medium",
"mitigation": "Minimize access to environment variables"
}
],
"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": "brain/__init__.py",
"file_path": "brain/__init__.py"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "brain/hooks/clawbrain-startup/handler.js",
"file_path": "brain/hooks/clawbrain-startup/handler.js"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "brain/README.md",
"file_path": "brain/README.md"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "brain/scripts/brain_bridge.py",
"file_path": "brain/scripts/brain_bridge.py"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "brain/scripts/migrate_agent_id.py",
"file_path": "brain/scripts/migrate_agent_id.py"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "clawbrain_cli.py",
"file_path": "clawbrain_cli.py"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "clawbrain.py",
"file_path": "clawbrain.py"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "hooks/clawbrain-startup/handler.js",
"file_path": "hooks/clawbrain-startup/handler.js"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "__init__.py",
"file_path": "__init__.py"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "install.sh",
"file_path": "install.sh"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_EVAL [CRITICAL] clawbrain_cli.py:529: __import__(module)",
"file_path": "clawbrain_cli.py"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "SQL_INJECTION_STRING_FORMAT [CRITICAL] clawbrain.py:451: cursor.execute(f\"SELECT * FROM memories WHERE {where} ORDER BY importance DESC, ",
"file_path": "clawbrain.py"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "DATA_EXFIL_ENV_VARS [MEDIUM] clawbrain.py:141: \"postgres_password\": os.environ.get(\"BRAIN_POSTGRES_PASSWORD\", \"\"),",
"file_path": "clawbrain.py"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] install.sh:1: #!/bin/bash",
"file_path": "install.sh"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "INSTRUCTED_BINARY_INSTALL [HIGH] README.md:22: pip install clawbrain",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] README.md:309: git clone https://github.com/clawcolab/clawbrain.git ClawBrain",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "MCP_TOOL_POISONING_SENSITIVE_DATA [HIGH] README.md:14: - ๐ **Encrypted Secrets** - Securely store API keys and credentials",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] remote-install.sh:1: #!/bin/bash",
"file_path": "remote-install.sh"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "INSTRUCTED_BINARY_INSTALL [HIGH] SKILL.md:32: pip install clawbrain[all]",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] SKILL.md:55: git clone https://github.com/clawcolab/clawbrain.git",
"file_path": "SKILL.md"
}
]
}