High Risk
Render and preview Markdown files in browser with GitHub-flavored formatting and syntax highlighting
H:4 D:4 A:0 C:1
โ ๏ธ Hazard Flags
EXEC FS_READ_USER NET_EGRESS_ANY CREDS_BROWSER PI_WEB PI_DOCUMENTS
๐ 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
Base64 decode + execute pattern in: templates/scripts/utils.js critical
Mitigation: Decode and review obfuscated content before use.
Prompt injection patterns detected in: lib/browser-utils.sh high
Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.
Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS critical
Mitigation: Remove system modification commands
Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SCRIPT_TAGS 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
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:preview-markdown:0.1.0",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T10:59:56.850Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "Preview Markdown",
"version": "0.1.0",
"format": "agent_skill",
"description": "Render and preview Markdown files in browser with GitHub-flavored formatting and syntax highlighting",
"publisher": "ClawHub",
"source": {
"channel": "clawhub",
"slug": "preview-markdown",
"owner": "veelenga",
"downloads": 1452,
"stars": 0
},
"artifact": {
"sha256": "1ab0d2c96bfbdf9804bd15b6cda6ff7db00de3a1daf5eaeace7224355df3ebec",
"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": false,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": false,
"writes_user_home": false,
"writes_system": false,
"can_delete": false
},
"network": {
"egress": "any",
"ingress": false
},
"credentials": {
"reads_env_vars": false,
"reads_credential_files": false,
"reads_browser_data": true,
"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",
"FS_READ_USER",
"NET_EGRESS_ANY",
"CREDS_BROWSER",
"PI_WEB",
"PI_DOCUMENTS"
],
"custom_flags": [
{
"code": "BASE64_EXEC",
"name": "Base64 Execute",
"description": "Decodes and executes obfuscated code in: templates/scripts/utils.js"
},
{
"code": "PROMPT_INJECTION",
"name": "Prompt Injection Risk",
"description": "Contains prompt injection patterns in: lib/browser-utils.sh"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_CRITICAL_ACCESS: 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: User input used in command substitution - potential injection risk"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 5 security patterns (11 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": "Base64 decode + execute pattern in: templates/scripts/utils.js",
"severity": "critical",
"mitigation": "Decode and review obfuscated content before use."
},
{
"risk": "Prompt injection patterns detected in: lib/browser-utils.sh",
"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",
"severity": "critical",
"mitigation": "Remove system modification commands"
},
{
"risk": "Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SCRIPT_TAGS",
"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"
}
],
"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": "templates/scripts/utils.js",
"file_path": "templates/scripts/utils.js"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "templates/scripts/markdown-renderer.js",
"file_path": "templates/scripts/markdown-renderer.js"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "templates/scripts/common-ui.js",
"file_path": "templates/scripts/common-ui.js"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "SKILL.md",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "run.sh",
"file_path": "run.sh"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "lib/html-generator.sh",
"file_path": "lib/html-generator.sh"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "lib/content-utils.sh",
"file_path": "lib/content-utils.sh"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "lib/browser-utils.sh",
"file_path": "lib/browser-utils.sh"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "config.sh",
"file_path": "config.sh"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] run.sh:86: ADDITIONAL_PARAMS=$(get_additional_params \"$@\")",
"file_path": "run.sh"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] run.sh:185: chmod 644 \"$USER_CODE_FILE\"",
"file_path": "run.sh"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] run.sh:1: #!/usr/bin/env bash",
"file_path": "run.sh"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] lib/html-generator.sh:321: chmod 644 \"$output\" 2>/dev/null || true",
"file_path": "lib/html-generator.sh"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] lib/html-generator.sh:1: #!/usr/bin/env bash",
"file_path": "lib/html-generator.sh"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "MCP_SCRIPT_TAGS [HIGH] lib/html-generator.sh:214: scripts+=\" <script src=\\\"${cdn_url}\\\" integrity=\\\"${integrity}\\\" crossorigin=",
"file_path": "lib/html-generator.sh"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] lib/content-utils.sh:1: #!/usr/bin/env bash",
"file_path": "lib/content-utils.sh"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] lib/browser-utils.sh:32: chmod 700 \"$TEMP_DIR\" 2>/dev/null || true",
"file_path": "lib/browser-utils.sh"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] lib/browser-utils.sh:1: #!/usr/bin/env bash",
"file_path": "lib/browser-utils.sh"
}
]
}