🛡️ SafeAgentSkills

Novel Character Profile Builder

· v1.0.0

High Risk

"Novel Character Profile Builder (小说人物档案创建工具) — A bilingual CN/EN skill for creating structured, detailed character profiles for fiction writing. Generates complete markdown profiles including backstory, personality, relationships, character arcs, and consistency checks. Supports protagonist, antagonist, and supporting character templates with built-in conflict detection and relationship matrix tools. Ideal for web novel (网文), fantasy, romance, and literary fiction authors."

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

⚠️ Hazard Flags

CODE_EXEC FS_READ_WORKSPACE FS_DELETE

📋 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

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

Data exfiltration patterns: DATA_EXFIL_SENSITIVE_FILES 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:character-profile:1.0.0",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-05T15:32:15.796Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "Novel Character Profile Builder",
    "version": "1.0.0",
    "format": "agent_skill",
    "description": "\"Novel Character Profile Builder (小说人物档案创建工具) — A bilingual CN/EN skill for creating structured, detailed character profiles for fiction writing. Generates complete markdown profiles including backstory, personality, relationships, character arcs, and consistency checks. Supports protagonist, antagonist, and supporting character templates with built-in conflict detection and relationship matrix tools. Ideal for web novel (网文), fantasy, romance, and literary fiction authors.\"",
    "publisher": "unknown",
    "source": {
      "channel": "local"
    },
    "artifact": {
      "sha256": "5414d5244fdc939ecacd5f5f8156f68bc786a20ef6718af31a361b5f0158b319",
      "hash_method": "files_sorted"
    }
  },
  "capabilities": {
    "execution": {
      "can_exec_shell": false,
      "can_exec_code": true,
      "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": true
    },
    "network": {
      "egress": "none",
      "ingress": false
    },
    "credentials": {
      "reads_env_vars": false,
      "reads_credential_files": false,
      "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": [
      "CODE_EXEC",
      "FS_READ_WORKSPACE",
      "FS_DELETE"
    ],
    "custom_flags": [
      {
        "code": "FILE_DELETE",
        "name": "File Deletion",
        "description": "Can delete files in: scripts/lore_bible_manager.py, scripts/profile_session.py"
      },
      {
        "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"
      },
      {
        "code": "DATA_EXFILTRATION",
        "name": "Data Exfiltration Risk",
        "description": "DATA_EXFIL_SENSITIVE_FILES: Accessing sensitive system or credential files"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 4 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": "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"
      },
      {
        "risk": "Data exfiltration patterns: DATA_EXFIL_SENSITIVE_FILES",
        "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": "scripts/analyze_profile.py",
      "file_path": "scripts/analyze_profile.py"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "scripts/conflict_detector.py",
      "file_path": "scripts/conflict_detector.py"
    },
    {
      "evidence_id": "EV:file-3",
      "type": "file_excerpt",
      "title": "scripts/generate_profile.py",
      "file_path": "scripts/generate_profile.py"
    },
    {
      "evidence_id": "EV:file-4",
      "type": "file_excerpt",
      "title": "scripts/lore_bible_manager.py",
      "file_path": "scripts/lore_bible_manager.py"
    },
    {
      "evidence_id": "EV:file-5",
      "type": "file_excerpt",
      "title": "scripts/profile_session.py",
      "file_path": "scripts/profile_session.py"
    },
    {
      "evidence_id": "EV:file-6",
      "type": "file_excerpt",
      "title": "scripts/subagent_orchestrator.py",
      "file_path": "scripts/subagent_orchestrator.py"
    },
    {
      "evidence_id": "EV:file-7",
      "type": "file_excerpt",
      "title": "scripts/validate_profile.py",
      "file_path": "scripts/validate_profile.py"
    },
    {
      "evidence_id": "EV:file-8",
      "type": "file_excerpt",
      "title": "SKILL.md",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:file-9",
      "type": "file_excerpt",
      "title": "test/test_enhancement.py",
      "file_path": "test/test_enhancement.py"
    },
    {
      "evidence_id": "EV:file-10",
      "type": "file_excerpt",
      "title": "_meta.json",
      "file_path": "_meta.json"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_SENSITIVE_FILES [HIGH] scripts/analyze_profile.py:72: with open(filepath, 'r', encoding='utf-8') as f:",
      "file_path": "scripts/analyze_profile.py"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "COMMAND_INJECTION_EVAL [CRITICAL] scripts/subagent_orchestrator.py:260: return eval(condition, {}, local_vars)",
      "file_path": "scripts/subagent_orchestrator.py"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "MCP_SQL_BLIND [HIGH] scripts/subagent_orchestrator.py:577: time.sleep(1)  # 重试前等待",
      "file_path": "scripts/subagent_orchestrator.py"
    },
    {
      "evidence_id": "EV:cisco-4",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_SENSITIVE_FILES [HIGH] scripts/validate_profile.py:130: with open(filepath, 'r', encoding='utf-8') as f:",
      "file_path": "scripts/validate_profile.py"
    },
    {
      "evidence_id": "EV:cisco-5",
      "type": "file_excerpt",
      "title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
      "file_path": "SKILL.md"
    }
  ]
}