smart-router
Β· v0.1.2
>
H:4 D:4 A:1 C:1
β οΈ Hazard Flags
EXEC PERSISTENCE FS_READ_WORKSPACE FS_READ_USER FS_WRITE_WORKSPACE FS_WRITE_USER NET_EGRESS_ANY CREDS_ENV CREDS_FILES 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
Prompt injection patterns detected in: dashboard.py, router_gateway.py, semantic_router.py, SKILL.md high
Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.
Resource abuse detected: RESOURCE_ABUSE_INFINITE_LOOP high
Mitigation: Add proper exit conditions or limits to loops
Unauthorized tool use: INSTRUCTED_GIT_CLONE_AND_BUILD medium
Mitigation: Use pre-built packages or vendored dependencies instead of cloning repos
Command injection risk: MCP_SQL_BLIND high
Mitigation: Remove SQL exploitation patterns.
Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION, SOCIAL_ENG_ANTHROPIC_IMPERSONATION low
Mitigation: Provide clear, detailed description of skill functionality
Data exfiltration patterns: DATA_EXFIL_SENSITIVE_FILES, MCP_EXFIL_CONVERSATION high
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:smart-router:0.1.2",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T02:34:32.799Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "smart-router",
"version": "0.1.2",
"format": "agent_skill",
"description": ">",
"publisher": "ClawHub",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "370033e8905629e4c5de90d0810c9010c509ad0e015dd05eaf1015df764d8a1e",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": false,
"privilege_level": "user",
"can_install_deps": false,
"can_persist": true
},
"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": 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": 1,
"C": 1
},
"flags": [
"EXEC",
"PERSISTENCE",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"PI_WEB",
"PI_DOCUMENTS"
],
"custom_flags": [
{
"code": "PROMPT_INJECTION",
"name": "Prompt Injection Risk",
"description": "Contains prompt injection patterns in: dashboard.py, router_gateway.py, semantic_router.py, SKILL.md"
},
{
"code": "PERSISTENCE",
"name": "Persistence Mechanism",
"description": "Creates scheduled tasks or startup entries in: README.md"
},
{
"code": "RESOURCE_ABUSE",
"name": "Resource Abuse Risk",
"description": "RESOURCE_ABUSE_INFINITE_LOOP detected: Infinite loop without clear exit condition"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "INSTRUCTED_GIT_CLONE_AND_BUILD: Instructs agent to clone and potentially build from source"
},
{
"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": "MCP_SQL_BLIND: Blind SQL injection, system table access, or stored procedure abuse"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "DATA_EXFIL_SENSITIVE_FILES, MCP_EXFIL_CONVERSATION: Accessing sensitive system or credential files"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 7 security patterns (9 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": "Prompt injection patterns detected in: dashboard.py, router_gateway.py, semantic_router.py, SKILL.md",
"severity": "high",
"mitigation": "Review SKILL.md for hidden instructions. Do not use with untrusted input."
},
{
"risk": "Resource abuse detected: RESOURCE_ABUSE_INFINITE_LOOP",
"severity": "high",
"mitigation": "Add proper exit conditions or limits to loops"
},
{
"risk": "Unauthorized tool use: INSTRUCTED_GIT_CLONE_AND_BUILD",
"severity": "medium",
"mitigation": "Use pre-built packages or vendored dependencies instead of cloning repos"
},
{
"risk": "Command injection risk: MCP_SQL_BLIND",
"severity": "high",
"mitigation": "Remove SQL exploitation patterns."
},
{
"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, MCP_EXFIL_CONVERSATION",
"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": "compactor.py",
"file_path": "compactor.py"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "context_guard.py",
"file_path": "context_guard.py"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "dashboard.py",
"file_path": "dashboard.py"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "executor.py",
"file_path": "executor.py"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "log_decision.py",
"file_path": "log_decision.py"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "_meta.json",
"file_path": "_meta.json"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "README.md",
"file_path": "README.md"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "router_gateway.py",
"file_path": "router_gateway.py"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "router_hook.py",
"file_path": "router_hook.py"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "semantic_router.py",
"file_path": "semantic_router.py"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "DATA_EXFIL_SENSITIVE_FILES [HIGH] compactor.py:28: ROUTER_STATE_DIR = Path(os.environ.get(",
"file_path": "compactor.py"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] README.md:93: git clone https://github.com/c0nSpIc0uS7uRk3r/smart-router.git",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "MCP_EXFIL_CONVERSATION [HIGH] README.md:102: That's it! The router works automatically. Send messages normally and the best m",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "RESOURCE_ABUSE_INFINITE_LOOP [HIGH] router_gateway.py:1247: while True:",
"file_path": "router_gateway.py"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "RESOURCE_ABUSE_INFINITE_LOOP [HIGH] router_hook.py:455: while True:",
"file_path": "router_hook.py"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "MCP_SQL_BLIND [HIGH] router_hook.py:316: time.sleep(interval)",
"file_path": "router_hook.py"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "SOCIAL_ENG_ANTHROPIC_IMPERSONATION [MEDIUM] SKILL.md:189: β β
Request completed using: anthropic/claude-sonnet-4-5 β",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "MCP_EXFIL_CONVERSATION [HIGH] SKILL.md:39: The router operates transparentlyβusers send messages normally and get responses",
"file_path": "SKILL.md"
}
]
}