High Risk
Diagram to PNG renderer (Excalidraw/DrawIO)
H:4 D:4 A:3 C:1
โ ๏ธ Hazard Flags
EXEC PRIVILEGED FS_READ_WORKSPACE FS_WRITE_WORKSPACE FS_WRITE_USER NET_EGRESS_ANY CREDS_ENV ACT_SEND_MESSAGE PI_WEB
๐ 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
โ
send messagesโ post publicโ purchaseโ transfer moneyโ deployโ delete external
๐ Containment
Level: maximum
Required:
- APPROVE_SEND: Can send messages
- SANDBOX_CONTAINER: Code execution capability
Recommended:
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Code obfuscation detected in: scripts/diagram-to-image.ts medium
Mitigation: Deobfuscate and review code before use.
Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS, MCP_SYS_PERMISSION_MANIPULATION critical
Mitigation: Remove system modification commands
Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SCRIPT_TAGS, MCP_SQL_BLIND high
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, MCP_EXFIL_CONVERSATION, DATA_EXFIL_BASE64_AND_NETWORK, DATA_EXFIL_ENV_VARS, DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST critical
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:anygen-diagram-renderer:1.0.0",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-16T12:09:48.580Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "Diagram Generator",
"version": "1.0.0",
"format": "agent_skill",
"description": "Diagram to PNG renderer (Excalidraw/DrawIO)",
"publisher": "ClawHub",
"source": {
"channel": "clawhub",
"slug": "anygen-diagram-generator",
"owner": "LogicTortoise",
"downloads": 459,
"stars": 1
},
"artifact": {
"sha256": "c552a39a644506044dfbe4bfe2929e9ce1e385e45f068fd0576f320eba761573",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": false,
"privilege_level": "admin",
"can_install_deps": true,
"can_persist": false
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": false,
"reads_system": false,
"writes_workspace": true,
"writes_user_home": true,
"writes_system": false,
"can_delete": false
},
"network": {
"egress": "any",
"ingress": false
},
"credentials": {
"reads_env_vars": true,
"reads_credential_files": false,
"reads_browser_data": false,
"reads_keychain": false
},
"services": [],
"actions": {
"can_send_messages": true,
"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": 3,
"C": 1
},
"flags": [
"EXEC",
"PRIVILEGED",
"FS_READ_WORKSPACE",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"NET_EGRESS_ANY",
"CREDS_ENV",
"ACT_SEND_MESSAGE",
"PI_WEB"
],
"custom_flags": [
{
"code": "OBFUSCATED_CODE",
"name": "Obfuscated Code",
"description": "Contains obfuscated code patterns in: scripts/diagram-to-image.ts"
},
{
"code": "PRIVILEGE_ESCALATION",
"name": "Privilege Escalation",
"description": "Uses elevated privileges (sudo/root) in: scripts/diagram-to-image.ts"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS, MCP_SYS_PERMISSION_MANIPULATION: Modifying system permissions or configuration"
},
{
"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, MCP_SCRIPT_TAGS, MCP_SQL_BLIND: User input used in command substitution - potential injection risk"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "MCP_EXFIL_EXTERNAL_UPLOAD, MCP_EXFIL_CONVERSATION, DATA_EXFIL_BASE64_AND_NETWORK, DATA_EXFIL_ENV_VARS, DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST: Description mentions uploading data to external servers"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 6 security patterns (15 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": "APPROVE_SEND",
"reason": "Can send messages"
},
{
"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": "Code obfuscation detected in: scripts/diagram-to-image.ts",
"severity": "medium",
"mitigation": "Deobfuscate and review code before use."
},
{
"risk": "Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS, MCP_SYS_PERMISSION_MANIPULATION",
"severity": "critical",
"mitigation": "Remove system modification commands"
},
{
"risk": "Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SCRIPT_TAGS, MCP_SQL_BLIND",
"severity": "high",
"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, MCP_EXFIL_CONVERSATION, DATA_EXFIL_BASE64_AND_NETWORK, DATA_EXFIL_ENV_VARS, DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST",
"severity": "critical",
"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": "_meta.json",
"file_path": "_meta.json"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "SKILL.md",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "scripts/render-diagram.sh",
"file_path": "scripts/render-diagram.sh"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "scripts/package.json",
"file_path": "scripts/package.json"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "scripts/fileutil.py",
"file_path": "scripts/fileutil.py"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "scripts/diagram-to-image.ts",
"file_path": "scripts/diagram-to-image.ts"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "scripts/auth.py",
"file_path": "scripts/auth.py"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "scripts/anygen.py",
"file_path": "scripts/anygen.py"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] SKILL.md:56: - Configure key: `python3 scripts/anygen.py config set api_key \"sk-xxx\"` (saved ",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "MCP_EXFIL_EXTERNAL_UPLOAD [HIGH] SKILL.md:184: Step 1 (Upload image): POST https://open.feishu.cn/open-apis/im/v1/images",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "MCP_EXFIL_CONVERSATION [HIGH] SKILL.md:164: - After completing ALL steps (including sending messages to the user), your FINA",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] scripts/render-diagram.sh:36: Usage: $(basename \"$0\") <type> <input> <output> [options]",
"file_path": "scripts/render-diagram.sh"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] scripts/render-diagram.sh:1: #!/usr/bin/env bash",
"file_path": "scripts/render-diagram.sh"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "MCP_SCRIPT_ANSI_DECEPTION [HIGH] scripts/render-diagram.sh:22: GREEN='\\033[0;32m'",
"file_path": "scripts/render-diagram.sh"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "TIRITH_ANSI_ESCAPE_IN_STRING [HIGH] scripts/render-diagram.sh:22: GREEN='\\033[0;32m'",
"file_path": "scripts/render-diagram.sh"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "DATA_EXFIL_BASE64_AND_NETWORK [CRITICAL] scripts/fileutil.py:54: \"file_data\": base64.b64encode(content).decode(\"utf-8\"),",
"file_path": "scripts/fileutil.py"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "MCP_SYS_PERMISSION_MANIPULATION [CRITICAL] scripts/diagram-to-image.ts:88: args: ['--no-sandbox', '--disable-setuid-sandbox'],",
"file_path": "scripts/diagram-to-image.ts"
}
]
}