🛡️ SafeAgentSkills

Literature Report

· v1.0.4

High Risk

自动科研文献汇报系统。每天自动检索顶级期刊最新论文,AI辅助筛选,生成双语摘要,推送到飞书。使用方法:1. 用户说"设置文献汇报"或"每天推送论文"时激活;2. 用户要求自定义研究主题时激活;3. 用户要求文献检索和推送时激活。

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

⚠️ Hazard Flags

EXEC FS_READ_WORKSPACE NET_EGRESS_ANY ACT_SEND_MESSAGE 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:
  • APPROVE_SEND: Can send messages
  • SANDBOX_CONTAINER: Code execution capability
Recommended:
  • LOG_ACTIONS: Audit trail for all actions

⚡ Risks

Unauthorized tool use: MCP_SYS_CRITICAL_ACCESS high

Mitigation: Avoid accessing system directories unless absolutely necessary.

Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SQL_BLIND, COMMAND_INJECTION_EVAL critical

Mitigation: Validate and sanitize all user inputs before using in commands

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_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST 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:literature-report:1.0.4",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-07T14:18:53.921Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "Literature Report",
    "version": "1.0.4",
    "format": "agent_skill",
    "description": "自动科研文献汇报系统。每天自动检索顶级期刊最新论文,AI辅助筛选,生成双语摘要,推送到飞书。使用方法:1. 用户说\"设置文献汇报\"或\"每天推送论文\"时激活;2. 用户要求自定义研究主题时激活;3. 用户要求文献检索和推送时激活。",
    "publisher": "unknown",
    "source": {
      "channel": "local"
    },
    "artifact": {
      "sha256": "0d9f54318c9d3c8d640c820f2974fce10bec38be516095a345d69a5fbe40aea1",
      "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": false,
      "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": false,
      "reads_keychain": false
    },
    "services": [],
    "actions": {
      "can_send_messages": true,
      "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": 3,
      "C": 1
    },
    "flags": [
      "EXEC",
      "FS_READ_WORKSPACE",
      "NET_EGRESS_ANY",
      "ACT_SEND_MESSAGE",
      "PI_WEB"
    ],
    "custom_flags": [
      {
        "code": "TOOL_ABUSE",
        "name": "Unauthorized Tool Use",
        "description": "MCP_SYS_CRITICAL_ACCESS: Access to critical system directories"
      },
      {
        "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": "COMMAND_INJECTION_USER_INPUT, MCP_SQL_BLIND, COMMAND_INJECTION_EVAL: User input used in command substitution - potential injection risk"
      },
      {
        "code": "DATA_EXFILTRATION",
        "name": "Data Exfiltration Risk",
        "description": "DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST: HTTP client library imports that enable external communication"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 4 security patterns (13 vendored rule hits). Review recommended."
    },
    "rationale": {
      "H": "H4: Critical: Privilege escalation or malware detected",
      "D": "D4: Critical: Credential theft or data exfiltration",
      "A": "A3: External actions (deploy/message/post)",
      "C": "C1: General content"
    }
  },
  "containment": {
    "level": "maximum",
    "required": [
      {
        "control": "APPROVE_SEND",
        "reason": "Can send messages"
      },
      {
        "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_CRITICAL_ACCESS",
        "severity": "high",
        "mitigation": "Avoid accessing system directories unless absolutely necessary."
      },
      {
        "risk": "Command injection risk: COMMAND_INJECTION_USER_INPUT, MCP_SQL_BLIND, COMMAND_INJECTION_EVAL",
        "severity": "critical",
        "mitigation": "Validate and sanitize all user inputs before using in commands"
      },
      {
        "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_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST",
        "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": "install.sh",
      "file_path": "install.sh"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "package.json",
      "file_path": "package.json"
    },
    {
      "evidence_id": "EV:file-3",
      "type": "file_excerpt",
      "title": "README.md",
      "file_path": "README.md"
    },
    {
      "evidence_id": "EV:file-4",
      "type": "file_excerpt",
      "title": "scripts/ai_filter.py",
      "file_path": "scripts/ai_filter.py"
    },
    {
      "evidence_id": "EV:file-5",
      "type": "file_excerpt",
      "title": "scripts/config_loader.py",
      "file_path": "scripts/config_loader.py"
    },
    {
      "evidence_id": "EV:file-6",
      "type": "file_excerpt",
      "title": "scripts/fetch_papers.py",
      "file_path": "scripts/fetch_papers.py"
    },
    {
      "evidence_id": "EV:file-7",
      "type": "file_excerpt",
      "title": "scripts/generate_summary.py",
      "file_path": "scripts/generate_summary.py"
    },
    {
      "evidence_id": "EV:file-8",
      "type": "file_excerpt",
      "title": "scripts/llm_client.py",
      "file_path": "scripts/llm_client.py"
    },
    {
      "evidence_id": "EV:file-9",
      "type": "file_excerpt",
      "title": "scripts/main.py",
      "file_path": "scripts/main.py"
    },
    {
      "evidence_id": "EV:file-10",
      "type": "file_excerpt",
      "title": "scripts/md_to_pdf.py",
      "file_path": "scripts/md_to_pdf.py"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] install.sh:11: python_version=$(python3 --version 2>&1 | awk '{print $2}')",
      "file_path": "install.sh"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "MCP_SYS_CRITICAL_ACCESS [HIGH] install.sh:1: #!/bin/bash",
      "file_path": "install.sh"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/ai_filter.py:8: import requests",
      "file_path": "scripts/ai_filter.py"
    },
    {
      "evidence_id": "EV:cisco-4",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_HTTP_POST [CRITICAL] scripts/ai_filter.py:52: response = requests.post(",
      "file_path": "scripts/ai_filter.py"
    },
    {
      "evidence_id": "EV:cisco-5",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/fetch_papers.py:10: import requests",
      "file_path": "scripts/fetch_papers.py"
    },
    {
      "evidence_id": "EV:cisco-6",
      "type": "file_excerpt",
      "title": "MCP_SQL_BLIND [HIGH] scripts/fetch_papers.py:227: time.sleep(0.5)",
      "file_path": "scripts/fetch_papers.py"
    },
    {
      "evidence_id": "EV:cisco-7",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/llm_client.py:8: import requests",
      "file_path": "scripts/llm_client.py"
    },
    {
      "evidence_id": "EV:cisco-8",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_HTTP_POST [CRITICAL] scripts/llm_client.py:52: response = requests.post(",
      "file_path": "scripts/llm_client.py"
    },
    {
      "evidence_id": "EV:cisco-9",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/send_to_feishu.py:8: import requests",
      "file_path": "scripts/send_to_feishu.py"
    },
    {
      "evidence_id": "EV:cisco-10",
      "type": "file_excerpt",
      "title": "COMMAND_INJECTION_EVAL [CRITICAL] scripts/verify_install.py:37: __import__(dep)",
      "file_path": "scripts/verify_install.py"
    }
  ]
}