🛡️ SafeAgentSkills

Aicoin

· v1.6.4

High Risk

"This skill should be used when the user asks about crypto prices, market data, K-line charts, funding rates, open interest, whale orders, long/short ratios, crypto news, exchange balances, trading, or any crypto-related query. Use when user says: 'BTC price', 'check price', 'show K-line', 'funding rate', 'whale orders', 'place order', 'check balance', 'crypto news', '查行情', '看价格', '大饼多少钱', 'K线', '资金费率', '多空比', '鲸鱼单', '查余额', '下单', '空投', '新闻快讯', '合约', '做多做空'. Covers 200+ exchanges with real-time data. MUST run node scripts to fetch real data — NEVER generate fake prices or hallucinate market data."

H:4 D:4 A:1 C:1

⚠️ Hazard Flags

EXEC PERSISTENCE 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: MCP_SYS_FILE_DESTRUCTION, INSTRUCTED_BINARY_INSTALL critical

Mitigation: Remove destructive file operations.

Command injection risk: MCP_SCRIPT_TAGS, MCP_CMD_REVERSE_SHELL, TIRITH_DOTFILE_OVERWRITE critical

Mitigation: Remove embedded script tags and encoded payloads.

Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low

Mitigation: Provide clear, detailed description of skill functionality

Data exfiltration patterns: DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_ENV_VARS, DATA_EXFIL_BASE64_AND_NETWORK 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:aicoin:1.6.4",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-05T13:12:52.199Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "Aicoin",
    "version": "1.6.4",
    "format": "agent_skill",
    "description": "\"This skill should be used when the user asks about crypto prices, market data, K-line charts, funding rates, open interest, whale orders, long/short ratios, crypto news, exchange balances, trading, or any crypto-related query. Use when user says: 'BTC price', 'check price', 'show K-line', 'funding rate', 'whale orders', 'place order', 'check balance', 'crypto news', '查行情', '看价格', '大饼多少钱', 'K线', '资金费率', '多空比', '鲸鱼单', '查余额', '下单', '空投', '新闻快讯', '合约', '做多做空'. Covers 200+ exchanges with real-time data. MUST run node scripts to fetch real data — NEVER generate fake prices or hallucinate market data.\"",
    "publisher": "unknown",
    "source": {
      "channel": "local"
    },
    "artifact": {
      "sha256": "d38b0e6933bc9f48333478babdfc38e0a5363df7e01b2359020693b049dcc0b2",
      "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": 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",
      "PERSISTENCE",
      "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": "PERSISTENCE",
        "name": "Persistence Mechanism",
        "description": "Creates scheduled tasks or startup entries in: SKILL.md"
      },
      {
        "code": "FILE_DELETE",
        "name": "File Deletion",
        "description": "Can delete files in: scripts/ft-deploy.mjs"
      },
      {
        "code": "TOOL_ABUSE",
        "name": "Unauthorized Tool Use",
        "description": "MCP_SYS_FILE_DESTRUCTION, INSTRUCTED_BINARY_INSTALL: File destruction or wiping commands"
      },
      {
        "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": "MCP_SCRIPT_TAGS, MCP_CMD_REVERSE_SHELL, TIRITH_DOTFILE_OVERWRITE: Script tags, VBScript, or encoded script data URIs"
      },
      {
        "code": "DATA_EXFILTRATION",
        "name": "Data Exfiltration Risk",
        "description": "DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_ENV_VARS, DATA_EXFIL_BASE64_AND_NETWORK: HTTP client library imports that enable external communication"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 6 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": "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: MCP_SYS_FILE_DESTRUCTION, INSTRUCTED_BINARY_INSTALL",
        "severity": "critical",
        "mitigation": "Remove destructive file operations."
      },
      {
        "risk": "Command injection risk: MCP_SCRIPT_TAGS, MCP_CMD_REVERSE_SHELL, TIRITH_DOTFILE_OVERWRITE",
        "severity": "critical",
        "mitigation": "Remove embedded script tags and encoded payloads."
      },
      {
        "risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
        "severity": "low",
        "mitigation": "Provide clear, detailed description of skill functionality"
      },
      {
        "risk": "Data exfiltration patterns: DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_ENV_VARS, DATA_EXFIL_BASE64_AND_NETWORK",
        "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": "lib/aicoin_data.py",
      "file_path": "lib/aicoin_data.py"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "lib/aicoin-api.mjs",
      "file_path": "lib/aicoin-api.mjs"
    },
    {
      "evidence_id": "EV:file-3",
      "type": "file_excerpt",
      "title": "lib/freqtrade-api.mjs",
      "file_path": "lib/freqtrade-api.mjs"
    },
    {
      "evidence_id": "EV:file-4",
      "type": "file_excerpt",
      "title": "package.json",
      "file_path": "package.json"
    },
    {
      "evidence_id": "EV:file-5",
      "type": "file_excerpt",
      "title": "scripts/auto-trade.mjs",
      "file_path": "scripts/auto-trade.mjs"
    },
    {
      "evidence_id": "EV:file-6",
      "type": "file_excerpt",
      "title": "scripts/coin.mjs",
      "file_path": "scripts/coin.mjs"
    },
    {
      "evidence_id": "EV:file-7",
      "type": "file_excerpt",
      "title": "scripts/exchange.mjs",
      "file_path": "scripts/exchange.mjs"
    },
    {
      "evidence_id": "EV:file-8",
      "type": "file_excerpt",
      "title": "scripts/features.mjs",
      "file_path": "scripts/features.mjs"
    },
    {
      "evidence_id": "EV:file-9",
      "type": "file_excerpt",
      "title": "scripts/ft-deploy.mjs",
      "file_path": "scripts/ft-deploy.mjs"
    },
    {
      "evidence_id": "EV:file-10",
      "type": "file_excerpt",
      "title": "scripts/ft-dev.mjs",
      "file_path": "scripts/ft-dev.mjs"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] lib/aicoin_data.py:34: from urllib.request import urlopen, Request",
      "file_path": "lib/aicoin_data.py"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_ENV_VARS [MEDIUM] lib/aicoin_data.py:90: self.key = os.environ.get('AICOIN_ACCESS_KEY_ID', defaults.get('accessKeyId', ''",
      "file_path": "lib/aicoin_data.py"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_BASE64_AND_NETWORK [CRITICAL] lib/aicoin_data.py:158: sig = base64.b64encode(h.encode()).decode()",
      "file_path": "lib/aicoin_data.py"
    },
    {
      "evidence_id": "EV:cisco-4",
      "type": "file_excerpt",
      "title": "MCP_SCRIPT_TAGS [HIGH] lib/aicoin-api.mjs:96: console.log(`Usage: node <script> <action> [json-params]\\nActions: ${Object.keys",
      "file_path": "lib/aicoin-api.mjs"
    },
    {
      "evidence_id": "EV:cisco-5",
      "type": "file_excerpt",
      "title": "MCP_SCRIPT_TAGS [HIGH] lib/freqtrade-api.mjs:72: console.log(`Usage: node <script> <action> [json-params]\\nActions: ${Object.keys",
      "file_path": "lib/freqtrade-api.mjs"
    },
    {
      "evidence_id": "EV:cisco-6",
      "type": "file_excerpt",
      "title": "MCP_CMD_REVERSE_SHELL [CRITICAL] scripts/ft-deploy.mjs:276: run(`cd ${SRC_DIR} && ./setup.sh -i`, { timeout: 600000 });",
      "file_path": "scripts/ft-deploy.mjs"
    },
    {
      "evidence_id": "EV:cisco-7",
      "type": "file_excerpt",
      "title": "MCP_SYS_FILE_DESTRUCTION [CRITICAL] scripts/ft-deploy.mjs:520: return { removed: true, note: `Process stopped. Config preserved at ${FT_DIR}. T",
      "file_path": "scripts/ft-deploy.mjs"
    },
    {
      "evidence_id": "EV:cisco-8",
      "type": "file_excerpt",
      "title": "INSTRUCTED_BINARY_INSTALL [HIGH] SKILL.md:191: # Exchange trading — only if needed (requires: npm install -g ccxt)",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-9",
      "type": "file_excerpt",
      "title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-10",
      "type": "file_excerpt",
      "title": "MCP_CMD_REVERSE_SHELL [CRITICAL] SKILL.md:663: **One-click Freqtrade deployment via `git clone` + official `setup.sh` (no Docke",
      "file_path": "SKILL.md"
    }
  ]
}