๐Ÿ›ก๏ธ SafeAgentSkills

Private Web App (PWA)

ยท v1.0.3

High Risk

"Personal PWA dashboard server with plugin apps. Use when: (1) installing or setting up PrivateApp, (2) starting/stopping/restarting the service, (3) building frontends after changes, (4) adding new app plugins, (5) configuring push notifications. Requires Python 3.9+, Node.js 18+. Runs as systemd user service or launchd plist."

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

โš ๏ธ Hazard Flags

EXEC PRIVILEGED PERSISTENCE FS_READ_WORKSPACE FS_READ_USER FS_WRITE_WORKSPACE FS_WRITE_USER NET_EGRESS_ANY NET_INGRESS CREDS_ENV CREDS_FILES ACT_SEND_MESSAGE PI_WEB

๐Ÿ“‹ Capabilities

Execution

  • โœ… Shell execution
  • โŒ Code execution
  • โœ… Install dependencies
  • โœ… Persistence
  • Privilege: admin

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

Pipe-to-shell pattern detected (curl|bash) in: scripts/install.sh critical

Mitigation: Do not execute. Review source for malicious intent.

Base64 decode + execute pattern in: frontend/src/pushUtils.ts critical

Mitigation: Decode and review obfuscated content before use.

Unauthorized tool use: INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_CRITICAL_ACCESS high

Mitigation: Use pre-built packages or vendored dependencies instead of cloning repos

Command injection risk: MCP_CMD_DANGEROUS_SYSTEM, COMMAND_INJECTION_EVAL critical

Mitigation: Remove dangerous system commands.

Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low

Mitigation: Provide clear, detailed description of skill functionality

Data exfiltration patterns: DATA_EXFIL_NETWORK_REQUESTS medium

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:privateapp:1.0.3",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-05T14:44:17.685Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "Private Web App (PWA)",
    "version": "1.0.3",
    "format": "agent_skill",
    "description": "\"Personal PWA dashboard server with plugin apps. Use when: (1) installing or setting up PrivateApp, (2) starting/stopping/restarting the service, (3) building frontends after changes, (4) adding new app plugins, (5) configuring push notifications. Requires Python 3.9+, Node.js 18+. Runs as systemd user service or launchd plist.\"",
    "publisher": "unknown",
    "source": {
      "channel": "local"
    },
    "artifact": {
      "sha256": "0ae5eea8dc0d576412f761bee366e199054cfe7083fc66f5febdafc99ee4d239",
      "hash_method": "files_sorted"
    }
  },
  "capabilities": {
    "execution": {
      "can_exec_shell": true,
      "can_exec_code": false,
      "privilege_level": "admin",
      "can_install_deps": true,
      "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": false
    },
    "network": {
      "egress": "any",
      "ingress": true
    },
    "credentials": {
      "reads_env_vars": true,
      "reads_credential_files": true,
      "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",
      "PRIVILEGED",
      "PERSISTENCE",
      "FS_READ_WORKSPACE",
      "FS_READ_USER",
      "FS_WRITE_WORKSPACE",
      "FS_WRITE_USER",
      "NET_EGRESS_ANY",
      "NET_INGRESS",
      "CREDS_ENV",
      "CREDS_FILES",
      "ACT_SEND_MESSAGE",
      "PI_WEB"
    ],
    "custom_flags": [
      {
        "code": "PIPE_TO_SHELL",
        "name": "Pipe to Shell",
        "description": "Downloads and executes remote code (curl|bash pattern) in: scripts/install.sh"
      },
      {
        "code": "BASE64_EXEC",
        "name": "Base64 Execute",
        "description": "Decodes and executes obfuscated code in: frontend/src/pushUtils.ts"
      },
      {
        "code": "PERSISTENCE",
        "name": "Persistence Mechanism",
        "description": "Creates scheduled tasks or startup entries in: README.md, scripts/install.sh, SKILL.md"
      },
      {
        "code": "PRIVILEGE_ESCALATION",
        "name": "Privilege Escalation",
        "description": "Uses elevated privileges (sudo/root) in: apps/system-monitor/backend/routes.py, scripts/install.sh"
      },
      {
        "code": "NET_INGRESS",
        "name": "Network Server",
        "description": "Listens for incoming connections in: apps/file-browser/backend/routes.py, apps/system-monitor/backend/routes.py, scripts/install.py, scripts/install.sh, scripts/server.py"
      },
      {
        "code": "TOOL_ABUSE",
        "name": "Unauthorized Tool Use",
        "description": "INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_CRITICAL_ACCESS: Instructs agent to clone and potentially build from source"
      },
      {
        "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_CMD_DANGEROUS_SYSTEM, COMMAND_INJECTION_EVAL: Dangerous system commands or Windows exploitation"
      },
      {
        "code": "DATA_EXFILTRATION",
        "name": "Data Exfiltration Risk",
        "description": "DATA_EXFIL_NETWORK_REQUESTS: HTTP client library imports that enable external communication"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 9 security patterns (9 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": "Pipe-to-shell pattern detected (curl|bash) in: scripts/install.sh",
        "severity": "critical",
        "mitigation": "Do not execute. Review source for malicious intent."
      },
      {
        "risk": "Base64 decode + execute pattern in: frontend/src/pushUtils.ts",
        "severity": "critical",
        "mitigation": "Decode and review obfuscated content before use."
      },
      {
        "risk": "Unauthorized tool use: INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_CRITICAL_ACCESS",
        "severity": "high",
        "mitigation": "Use pre-built packages or vendored dependencies instead of cloning repos"
      },
      {
        "risk": "Command injection risk: MCP_CMD_DANGEROUS_SYSTEM, COMMAND_INJECTION_EVAL",
        "severity": "critical",
        "mitigation": "Remove dangerous system commands."
      },
      {
        "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",
        "severity": "medium",
        "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": "apps/file-browser/backend/routes.py",
      "file_path": "apps/file-browser/backend/routes.py"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "apps/file-browser/frontend/package.json",
      "file_path": "apps/file-browser/frontend/package.json"
    },
    {
      "evidence_id": "EV:file-3",
      "type": "file_excerpt",
      "title": "apps/file-browser/frontend/src/App.tsx",
      "file_path": "apps/file-browser/frontend/src/App.tsx"
    },
    {
      "evidence_id": "EV:file-4",
      "type": "file_excerpt",
      "title": "apps/file-browser/frontend/src/env.d.ts",
      "file_path": "apps/file-browser/frontend/src/env.d.ts"
    },
    {
      "evidence_id": "EV:file-5",
      "type": "file_excerpt",
      "title": "apps/file-browser/frontend/src/main.tsx",
      "file_path": "apps/file-browser/frontend/src/main.tsx"
    },
    {
      "evidence_id": "EV:file-6",
      "type": "file_excerpt",
      "title": "apps/file-browser/frontend/vite.config.ts",
      "file_path": "apps/file-browser/frontend/vite.config.ts"
    },
    {
      "evidence_id": "EV:file-7",
      "type": "file_excerpt",
      "title": "apps/system-monitor/backend/routes.py",
      "file_path": "apps/system-monitor/backend/routes.py"
    },
    {
      "evidence_id": "EV:file-8",
      "type": "file_excerpt",
      "title": "apps/system-monitor/frontend/package.json",
      "file_path": "apps/system-monitor/frontend/package.json"
    },
    {
      "evidence_id": "EV:file-9",
      "type": "file_excerpt",
      "title": "apps/system-monitor/frontend/src/App.tsx",
      "file_path": "apps/system-monitor/frontend/src/App.tsx"
    },
    {
      "evidence_id": "EV:file-10",
      "type": "file_excerpt",
      "title": "apps/system-monitor/frontend/src/env.d.ts",
      "file_path": "apps/system-monitor/frontend/src/env.d.ts"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] frontend/public/manifest.json:1: {",
      "file_path": "frontend/public/manifest.json"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "MCP_CMD_DANGEROUS_SYSTEM [CRITICAL] frontend/src/pushUtils.ts:14: .then(reg => { _reg = reg; return reg })",
      "file_path": "frontend/src/pushUtils.ts"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] README.md:28: git clone https://github.com/camopel/PrivateApp.git",
      "file_path": "README.md"
    },
    {
      "evidence_id": "EV:cisco-4",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/commons/openclaw_client.py:21: import urllib.request",
      "file_path": "scripts/commons/openclaw_client.py"
    },
    {
      "evidence_id": "EV:cisco-5",
      "type": "file_excerpt",
      "title": "DATA_EXFIL_NETWORK_REQUESTS [MEDIUM] scripts/commons/push_client.py:20: import urllib.request",
      "file_path": "scripts/commons/push_client.py"
    },
    {
      "evidence_id": "EV:cisco-6",
      "type": "file_excerpt",
      "title": "COMMAND_INJECTION_EVAL [CRITICAL] scripts/install.py:98: encoding=__import__(\"cryptography.hazmat.primitives.serialization\", fromlist=[\"E",
      "file_path": "scripts/install.py"
    },
    {
      "evidence_id": "EV:cisco-7",
      "type": "file_excerpt",
      "title": "MCP_SYS_CRITICAL_ACCESS [HIGH] scripts/install.sh:1: #!/usr/bin/env bash",
      "file_path": "scripts/install.sh"
    },
    {
      "evidence_id": "EV:cisco-8",
      "type": "file_excerpt",
      "title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] SKILL.md:20: git clone https://github.com/camopel/PrivateApp.git ~/Workspace/PrivateApp",
      "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"
    }
  ]
}