OpenClaw Memory Core
ยท v0.1.1
Core utilities for OpenClaw memory plugins (redaction, local store, embeddings).
โ ๏ธ Hazard Flags
๐ 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
๐ Containment
Level: maximum
- SANDBOX_CONTAINER: Code execution capability
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Mitigation: Verify legitimate need for cloud credential access.
Mitigation: Remove hardcoded secrets. Use environment variables instead.
Mitigation: Deobfuscate and review code before use.
Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.
Mitigation: Remove system modification commands
Mitigation: Validate and sanitize all user inputs before using in commands
Mitigation: Provide clear, detailed description of skill functionality
Mitigation: Do not access credential files or sensitive system files
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:openclaw-memory-core:0.1.1",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-06T08:12:37.770Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "OpenClaw Memory Core",
"version": "0.1.1",
"format": "agent_skill",
"description": "Core utilities for OpenClaw memory plugins (redaction, local store, embeddings).",
"publisher": "unknown",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "b8cd52c67bf12f277d2d30d5d0f8eddb6bbc892aa823c193de663af817ab46f6",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": false,
"privilege_level": "user",
"can_install_deps": false,
"can_persist": false
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": true,
"writes_user_home": true,
"writes_system": true,
"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": [
{
"service": "email",
"operations": [
"read",
"write"
]
},
{
"service": "messaging",
"operations": [
"read",
"write"
]
}
],
"actions": {
"can_send_messages": false,
"can_post_public": false,
"can_purchase": false,
"can_transfer_money": false,
"can_deploy": false,
"can_delete_external": true
},
"prompt_injection_surfaces": [
"web",
"documents"
],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 4,
"D": 4,
"A": 3,
"C": 1
},
"flags": [
"EXEC",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"FS_WRITE_SYSTEM",
"FS_DELETE",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"ACT_DELETE_EXTERNAL",
"PI_WEB",
"PI_DOCUMENTS"
],
"custom_flags": [
{
"code": "CRED_CLOUD",
"name": "Cloud Credential Access",
"description": "Accesses cloud credentials (AWS/GCP/Azure) in: README.md, src/redaction.ts, tests/redaction.test.ts"
},
{
"code": "OBFUSCATED_CODE",
"name": "Obfuscated Code",
"description": "Contains obfuscated code patterns in: tests/injection.test.ts"
},
{
"code": "HARDCODED_SECRET",
"name": "Hardcoded Secrets",
"description": "Contains hardcoded secrets/API keys in: README.md, tests/redaction.test.ts, tests/injection.test.ts"
},
{
"code": "PROMPT_INJECTION",
"name": "Prompt Injection Risk",
"description": "Contains prompt injection patterns in: tests/injection.test.ts, tests/redaction.test.ts"
},
{
"code": "FILE_DELETE",
"name": "File Deletion",
"description": "Can delete files in: tests/injection.test.ts"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS, MCP_SYS_FILE_DESTRUCTION: Modifying system permissions or configuration"
},
{
"code": "SOCIAL_ENGINEERING",
"name": "Social Engineering Risk",
"description": "SOCIAL_ENG_VAGUE_DESCRIPTION, SOCIAL_ENG_ANTHROPIC_IMPERSONATION: Skill description is too vague or missing"
},
{
"code": "COMMAND_INJECTION",
"name": "Command Injection Risk",
"description": "COMMAND_INJECTION_USER_INPUT, MCP_SCRIPT_TAGS, MCP_SQL_TAUTOLOGY: User input used in command substitution - potential injection risk"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "DATA_EXFIL_SENSITIVE_FILES: Accessing sensitive system or credential files"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 9 security patterns (16 vendored rule hits). Review recommended."
},
"rationale": {
"H": "H4: Critical: Privilege escalation or malware detected",
"D": "D4: Critical: Credential theft or data exfiltration",
"A": "A3: External actions (deploy/message/post)",
"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": "Cloud credential access patterns in: README.md, src/redaction.ts, tests/redaction.test.ts",
"severity": "high",
"mitigation": "Verify legitimate need for cloud credential access."
},
{
"risk": "Hardcoded secrets detected in: README.md, tests/redaction.test.ts, tests/injection.test.ts",
"severity": "high",
"mitigation": "Remove hardcoded secrets. Use environment variables instead."
},
{
"risk": "Code obfuscation detected in: tests/injection.test.ts",
"severity": "medium",
"mitigation": "Deobfuscate and review code before use."
},
{
"risk": "Prompt injection patterns detected in: tests/injection.test.ts, tests/redaction.test.ts",
"severity": "high",
"mitigation": "Review SKILL.md for hidden instructions. Do not use with untrusted input."
},
{
"risk": "Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS, MCP_SYS_FILE_DESTRUCTION",
"severity": "critical",
"mitigation": "Remove system modification commands"
},
{
"risk": "Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SCRIPT_TAGS, MCP_SQL_TAUTOLOGY",
"severity": "critical",
"mitigation": "Validate and sanitize all user inputs before using in commands"
},
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION, SOCIAL_ENG_ANTHROPIC_IMPERSONATION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
},
{
"risk": "Data exfiltration patterns: DATA_EXFIL_SENSITIVE_FILES",
"severity": "high",
"mitigation": "Do not access credential files or sensitive system files"
}
],
"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": "package.json",
"file_path": "package.json"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "README.md",
"file_path": "README.md"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "scripts/scan-secrets.sh",
"file_path": "scripts/scan-secrets.sh"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "SKILL.md",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "src/embedding.ts",
"file_path": "src/embedding.ts"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "src/index.ts",
"file_path": "src/index.ts"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "src/redaction.ts",
"file_path": "src/redaction.ts"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "src/store-jsonl.ts",
"file_path": "src/store-jsonl.ts"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "src/types.ts",
"file_path": "src/types.ts"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "src/utils.ts",
"file_path": "src/utils.ts"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] README.md:384: safePath(\"/etc/passwd\"); // throws Error",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "SECRET_CONNECTION_STRING [HIGH] README.md:308: const input = \"Connect to postgres://admin:[email protected]:5432/mydb\";",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] scripts/scan-secrets.sh:8: REPO_ROOT=\"$(cd \"$(dirname \"$0\")/..\" && pwd)\"",
"file_path": "scripts/scan-secrets.sh"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] scripts/scan-secrets.sh:1: #!/usr/bin/env bash",
"file_path": "scripts/scan-secrets.sh"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "SOCIAL_ENG_ANTHROPIC_IMPERSONATION [MEDIUM] SKILL.md:13: - API keys (OpenAI, Anthropic, Stripe, Google, GitHub PATs)",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "DATA_EXFIL_SENSITIVE_FILES [HIGH] tests/injection.test.ts:688: expect(() => safePath(\"/etc/passwd\")).toThrow();",
"file_path": "tests/injection.test.ts"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] tests/injection.test.ts:84: channel: \"../../etc/passwd\",",
"file_path": "tests/injection.test.ts"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "SECRET_PRIVATE_KEY [CRITICAL] tests/injection.test.ts:182: const pem = \"-----BEGIN RSA PRIVATE KEY-----\\n MIICXAIBAAJBANRiMLAH\\n abcdefgh",
"file_path": "tests/injection.test.ts"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "SECRET_PASSWORD_VAR [MEDIUM] tests/injection.test.ts:773: const secret = \"sk-abcdefghijklmnopqrstuvwxyz1234567890\";",
"file_path": "tests/injection.test.ts"
}
]
}