OKX Exchange
ยท v1.0.1
>
H:4 D:4 A:1 C:1
โ ๏ธ Hazard Flags
EXEC FS_READ_WORKSPACE FS_READ_USER FS_WRITE_WORKSPACE FS_WRITE_USER FS_DELETE NET_EGRESS_ANY CREDS_ENV CREDS_FILES PI_WEB
๐ 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
Unauthorized tool use: INSTRUCTED_BINARY_INSTALL, MCP_SYS_CRITICAL_ACCESS high
Mitigation: Avoid instructing agents to install arbitrary binaries; bundle dependencies or use sandboxed environments
Command injection risk: TIRITH_DOTFILE_OVERWRITE, COMMAND_INJECTION_USER_INPUT, MCP_SQL_BLIND, COMMAND_INJECTION_EVAL critical
Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low
Mitigation: Provide clear, detailed description of skill functionality
Tool poisoning: hidden behaviors detected (MCP_TOOL_POISONING_SENSITIVE_DATA) high
Mitigation: Remove references to sensitive data collection.
Data exfiltration patterns: DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST, DATA_EXFIL_ENV_VARS, DATA_EXFIL_BASE64_AND_NETWORK, DATA_EXFIL_SENSITIVE_FILES critical
Mitigation: Ensure network access is necessary and documented
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:okx-exchange:1.0.1",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T15:54:24.544Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "OKX Exchange",
"version": "1.0.1",
"format": "agent_skill",
"description": ">",
"publisher": "unknown",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "679b7681c4ec2a2a76b81490443bf4b82dc243394335076d85d1f57d08d71552",
"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": false,
"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": [],
"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"
],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 4,
"D": 4,
"A": 1,
"C": 1
},
"flags": [
"EXEC",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"FS_DELETE",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"PI_WEB"
],
"custom_flags": [
{
"code": "FILE_DELETE",
"name": "File Deletion",
"description": "Can delete files in: scripts/tests/bench_indicators.py, scripts/tests/test_config.py, scripts/tests/test_execute.py, scripts/tests/test_grid.py, scripts/tests/test_learning.py, scripts/tests/test_mode.py, scripts/tests/test_report.py, scripts/tests/test_snapshot.py"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "INSTRUCTED_BINARY_INSTALL, MCP_SYS_CRITICAL_ACCESS: Instructs agent to install external binary or package"
},
{
"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": "TIRITH_DOTFILE_OVERWRITE, COMMAND_INJECTION_USER_INPUT, MCP_SQL_BLIND, COMMAND_INJECTION_EVAL: Redirecting output to home directory dotfiles (shell config, SSH keys, etc.)"
},
{
"code": "TOOL_POISONING",
"name": "Tool Poisoning",
"description": "Hidden secondary behavior detected: MCP_TOOL_POISONING_SENSITIVE_DATA"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST, DATA_EXFIL_ENV_VARS, DATA_EXFIL_BASE64_AND_NETWORK, DATA_EXFIL_SENSITIVE_FILES: HTTP client library imports that enable external communication"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 6 security patterns (22 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": "Unauthorized tool use: INSTRUCTED_BINARY_INSTALL, MCP_SYS_CRITICAL_ACCESS",
"severity": "high",
"mitigation": "Avoid instructing agents to install arbitrary binaries; bundle dependencies or use sandboxed environments"
},
{
"risk": "Command injection risk: TIRITH_DOTFILE_OVERWRITE, COMMAND_INJECTION_USER_INPUT, MCP_SQL_BLIND, COMMAND_INJECTION_EVAL",
"severity": "critical"
},
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
},
{
"risk": "Tool poisoning: hidden behaviors detected (MCP_TOOL_POISONING_SENSITIVE_DATA)",
"severity": "high",
"mitigation": "Remove references to sensitive data collection."
},
{
"risk": "Data exfiltration patterns: DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST, DATA_EXFIL_ENV_VARS, DATA_EXFIL_BASE64_AND_NETWORK, DATA_EXFIL_SENSITIVE_FILES",
"severity": "critical",
"mitigation": "Ensure network access is necessary and documented"
}
],
"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": "README.md",
"file_path": "README.md"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "scripts/account.py",
"file_path": "scripts/account.py"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "scripts/config.py",
"file_path": "scripts/config.py"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "scripts/cron_setup.sh",
"file_path": "scripts/cron_setup.sh"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "scripts/errors.py",
"file_path": "scripts/errors.py"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "scripts/execute.py",
"file_path": "scripts/execute.py"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "scripts/logger.py",
"file_path": "scripts/logger.py"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "scripts/monitor.py",
"file_path": "scripts/monitor.py"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "scripts/okx_client.py",
"file_path": "scripts/okx_client.py"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "scripts/okx_decision.py",
"file_path": "scripts/okx_decision.py"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "INSTRUCTED_BINARY_INSTALL [HIGH] README.md:51: pip install -r requirements.txt",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "TIRITH_DOTFILE_OVERWRITE [HIGH] README.md:32: cat >> ~/.openclaw/workspace/.env << 'EOF'",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] scripts/cron_setup.sh:15: SCRIPTS_DIR=\"$(cd \"$(dirname \"$0\")\" && pwd)\"",
"file_path": "scripts/cron_setup.sh"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] scripts/cron_setup.sh:1: #!/bin/bash",
"file_path": "scripts/cron_setup.sh"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/okx_client.py:10: import requests",
"file_path": "scripts/okx_client.py"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "DATA_EXFIL_HTTP_POST [CRITICAL] scripts/okx_client.py:100: r = requests.post(url, headers=headers, data=data, timeout=10)",
"file_path": "scripts/okx_client.py"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "DATA_EXFIL_ENV_VARS [MEDIUM] scripts/okx_client.py:64: self.api_key = os.getenv(\"OKX_API_KEY_LIVE\", \"\")",
"file_path": "scripts/okx_client.py"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "DATA_EXFIL_BASE64_AND_NETWORK [CRITICAL] scripts/okx_client.py:55: return base64.b64encode(",
"file_path": "scripts/okx_client.py"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "MCP_SQL_BLIND [HIGH] scripts/okx_client.py:115: time.sleep(0.5 * (attempt + 1))",
"file_path": "scripts/okx_client.py"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "DATA_EXFIL_SENSITIVE_FILES [HIGH] scripts/okx_decision.py:25: with open(filepath, 'r') as f:",
"file_path": "scripts/okx_decision.py"
}
]
}