Rssh2 - SSH远程自动化工具
· v1.0.1
SSH远程自动化工具 - 会话管理、隧道、文件传输。使用场景:需要远程执行命令、建立SSH隧道、传输文件时。
H:4 D:4 A:0 C:1
⚠️ Hazard Flags
EXEC CODE_EXEC FS_READ_WORKSPACE FS_READ_USER FS_DELETE NET_INGRESS CREDS_FILES
📋 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: none
- ✅ 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
SSH key access patterns in: SKILL.md high
Mitigation: Verify legitimate need for SSH access. Consider sandboxing.
Command injection risk: COMMAND_INJECTION_EVAL, MCP_SQL_BLIND critical
Mitigation: Avoid eval(), exec(), and compile(). Use safer alternatives like ast.literal_eval()
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:rssh2:1.0.1",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T15:55:27.859Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "Rssh2 - SSH远程自动化工具",
"version": "1.0.1",
"format": "agent_skill",
"description": "SSH远程自动化工具 - 会话管理、隧道、文件传输。使用场景:需要远程执行命令、建立SSH隧道、传输文件时。",
"publisher": "unknown",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "ff205d9fee936966804f3e3edc8124254eb51bcee913f39ab9c56c1107ebd8cd",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": true,
"privilege_level": "user",
"can_install_deps": true,
"can_persist": false
},
"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": "none",
"ingress": true
},
"credentials": {
"reads_env_vars": false,
"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": [],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 4,
"D": 4,
"A": 0,
"C": 1
},
"flags": [
"EXEC",
"CODE_EXEC",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_DELETE",
"NET_INGRESS",
"CREDS_FILES"
],
"custom_flags": [
{
"code": "CRED_SSH",
"name": "SSH Key Access",
"description": "Accesses SSH keys in: SKILL.md"
},
{
"code": "FILE_DELETE",
"name": "File Deletion",
"description": "Can delete files in: sftp-manager.js"
},
{
"code": "NET_INGRESS",
"name": "Network Server",
"description": "Listens for incoming connections in: tunnel-manager.js"
},
{
"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, MCP_SQL_BLIND: Dangerous code execution functions that can execute arbitrary code"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 5 security patterns (5 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": "SSH key access patterns in: SKILL.md",
"severity": "high",
"mitigation": "Verify legitimate need for SSH access. Consider sandboxing."
},
{
"risk": "Command injection risk: COMMAND_INJECTION_EVAL, MCP_SQL_BLIND",
"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"
}
],
"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": "index.js",
"file_path": "index.js"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "package.json",
"file_path": "package.json"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "session-manager.js",
"file_path": "session-manager.js"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "sftp-manager.js",
"file_path": "sftp-manager.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": "test.js",
"file_path": "test.js"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "tunnel-manager.js",
"file_path": "tunnel-manager.js"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "_meta.json",
"file_path": "_meta.json"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_EVAL [CRITICAL] index.js:117: async exec(command, options = {}) {",
"file_path": "index.js"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_EVAL [CRITICAL] session-manager.js:150: async exec(command, options = {}) {",
"file_path": "session-manager.js"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "MCP_SQL_BLIND [HIGH] session-manager.js:174: await this.sleep(opts.retryDelay);",
"file_path": "session-manager.js"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_EVAL [CRITICAL] test.js:25: const result = await rssh2.exec('uptime');",
"file_path": "test.js"
}
]
}