TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:04:37

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Threat model (MITRE ATLAS)

    OpenClaw Threat Model v1.0

    MITRE ATLAS Framework

    Version: 1.0-draft Last Updated: 2026-02-04 Methodology: MITRE ATLAS + Data Flow Diagrams Framework: MITRE ATLAS (Adversarial Threat Landscape for AI Systems)

    Framework attribution

    This threat model is built on MITRE ATLAS, the industry-standard framework for documenting adversarial threats to AI/ML systems. ATLAS is maintained by MITRE in collaboration with the AI security community.

    Key ATLAS Resources:

    • ATLAS Techniques
    • ATLAS Tactics
    • ATLAS Case Studies
    • ATLAS GitHub
    • Contributing to ATLAS

    Contributing to This Threat Model

    This is a living document maintained by the OpenClaw community. See CONTRIBUTING-THREAT-MODEL.md for guidelines on contributing:

    • Reporting new threats
    • Updating existing threats
    • Proposing attack chains
    • Suggesting mitigations

    1. Introduction

    1.1 Purpose

    This threat model documents adversarial threats to the OpenClaw AI agent platform and ClawHub skill marketplace, using the MITRE ATLAS framework designed specifically for AI/ML systems.

    1.2 Scope

    ComponentIncludedNotes
    OpenClaw Agent RuntimeYesCore agent execution, tool calls, sessions
    GatewayYesAuthentication, routing, channel integration
    Channel IntegrationsYesWhatsApp, Telegram, Discord, Signal, Slack, etc.
    ClawHub MarketplaceYesSkill publishing, moderation, distribution
    MCP ServersYesExternal tool providers
    User DevicesPartialMobile apps, desktop clients

    1.3 Out of Scope

    Nothing is explicitly out of scope for this threat model.


    2. System Architecture

    2.1 Trust Boundaries

    text
    ┌─────────────────────────────────────────────────────────────────┐ │ UNTRUSTED ZONE │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ WhatsApp │ │ Telegram │ │ Discord │ ... │ │ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │ │ │ │ │ │ └─────────┼────────────────┼────────────────┼──────────────────────┘ │ │ │ ▼ ▼ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ TRUST BOUNDARY 1: Channel Access │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ GATEWAY │ │ │ │ • Device Pairing (1h DM / 5m node grace period) │ │ │ │ • AllowFrom / AllowList validation │ │ │ │ • Token/Password/Tailscale auth │ │ │ └──────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘ │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ TRUST BOUNDARY 2: Session Isolation │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ AGENT SESSIONS │ │ │ │ • Session key = agent:channel:peer │ │ │ │ • Tool policies per agent │ │ │ │ • Transcript logging │ │ │ └──────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘ │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ TRUST BOUNDARY 3: Tool Execution │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ EXECUTION SANDBOX │ │ │ │ • Docker sandbox OR Host (exec-approvals) │ │ │ │ • Node remote execution │ │ │ │ • SSRF protection (DNS pinning + IP blocking) │ │ │ └──────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘ │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ TRUST BOUNDARY 4: External Content │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ FETCHED URLs / EMAILS / WEBHOOKS │ │ │ │ • External content wrapping (XML tags) │ │ │ │ • Security notice injection │ │ │ └──────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘ │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ TRUST BOUNDARY 5: Supply Chain │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ CLAWHUB │ │ │ │ • Skill publishing (semver, SKILL.md required) │ │ │ │ • Pattern-based moderation flags │ │ │ │ • VirusTotal scanning (coming soon) │ │ │ │ • GitHub account age verification │ │ │ └──────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘

    2.2 Data Flows

    FlowSourceDestinationDataProtection
    F1ChannelGatewayUser messagesTLS, AllowFrom
    F2GatewayAgentRouted messagesSession isolation
    F3AgentToolsTool invocationsPolicy enforcement
    F4AgentExternalweb_fetch requestsSSRF blocking
    F5ClawHubAgentSkill codeModeration, scanning
    F6AgentChannelResponsesOutput filtering

    3. Threat Analysis by ATLAS Tactic

    3.1 Reconnaissance (AML.TA0002)

    T-RECON-001: Agent Endpoint Discovery

    AttributeValue
    ATLAS IDAML.T0006 - Active Scanning
    DescriptionAttacker scans for exposed OpenClaw gateway endpoints
    Attack VectorNetwork scanning, shodan queries, DNS enumeration
    Affected ComponentsGateway, exposed API endpoints
    Current MitigationsTailscale auth option, bind to loopback by default
    Residual RiskMedium - Public gateways discoverable
    RecommendationsDocument secure deployment, add rate limiting on discovery endpoints

    T-RECON-002: Channel Integration Probing

    AttributeValue
    ATLAS IDAML.T0006 - Active Scanning
    DescriptionAttacker probes messaging channels to identify AI-managed accounts
    Attack VectorSending test messages, observing response patterns
    Affected ComponentsAll channel integrations
    Current MitigationsNone specific
    Residual RiskLow - Limited value from discovery alone
    RecommendationsConsider response timing randomization

    3.2 Initial Access (AML.TA0004)

    T-ACCESS-001: Pairing Code Interception

    AttributeValue
    ATLAS IDAML.T0040 - AI Model Inference API Access
    DescriptionAttacker intercepts pairing code during pairing grace period (1h for DM channel pairing, 5m for node pairing)
    Attack VectorShoulder surfing, network sniffing, social engineering
    Affected ComponentsDevice pairing system
    Current Mitigations1h expiry (DM pairing) / 5m expiry (node pairing), codes sent via existing channel
    Residual RiskMedium - Grace period exploitable
    RecommendationsReduce grace period, add confirmation step

    T-ACCESS-002: AllowFrom Spoofing

    AttributeValue
    ATLAS IDAML.T0040 - AI Model Inference API Access
    DescriptionAttacker spoofs allowed sender identity in channel
    Attack VectorDepends on channel - phone number spoofing, username impersonation
    Affected ComponentsAllowFrom validation per channel
    Current MitigationsChannel-specific identity verification
    Residual RiskMedium - Some channels vulnerable to spoofing
    RecommendationsDocument channel-specific risks, add cryptographic verification where possible

    T-ACCESS-003: Token Theft

    AttributeValue
    ATLAS IDAML.T0040 - AI Model Inference API Access
    DescriptionAttacker steals authentication tokens from config files
    Attack VectorMalware, unauthorized device access, config backup exposure
    Affected Components~/.openclaw/credentials/, config storage
    Current MitigationsFile permissions
    Residual RiskHigh - Tokens stored in plaintext
    RecommendationsImplement token encryption at rest, add token rotation

    3.3 Execution (AML.TA0005)

    T-EXEC-001: Direct Prompt Injection

    AttributeValue
    ATLAS IDAML.T0051.000 - LLM Prompt Injection: Direct
    DescriptionAttacker sends crafted prompts to manipulate agent behavior
    Attack VectorChannel messages containing adversarial instructions
    Affected ComponentsAgent LLM, all input surfaces
    Current MitigationsPattern detection, external content wrapping
    Residual RiskCritical - Detection only, no blocking; sophisticated attacks bypass
    RecommendationsImplement multi-layer defense, output validation, user confirmation for sensitive actions

    T-EXEC-002: Indirect Prompt Injection

    AttributeValue
    ATLAS IDAML.T0051.001 - LLM Prompt Injection: Indirect
    DescriptionAttacker embeds malicious instructions in fetched content
    Attack VectorMalicious URLs, poisoned emails, compromised webhooks
    Affected Componentsweb_fetch, email ingestion, external data sources
    Current MitigationsContent wrapping with XML tags and security notice
    Residual RiskHigh - LLM may ignore wrapper instructions
    RecommendationsImplement content sanitization, separate execution contexts

    T-EXEC-003: Tool Argument Injection

    AttributeValue
    ATLAS IDAML.T0051.000 - LLM Prompt Injection: Direct
    DescriptionAttacker manipulates tool arguments through prompt injection
    Attack VectorCrafted prompts that influence tool parameter values
    Affected ComponentsAll tool invocations
    Current MitigationsExec approvals for dangerous commands
    Residual RiskHigh - Relies on user judgment
    RecommendationsImplement argument validation, parameterized tool calls

    T-EXEC-004: Exec Approval Bypass

    AttributeValue
    ATLAS IDAML.T0043 - Craft Adversarial Data
    DescriptionAttacker crafts commands that bypass approval allowlist
    Attack VectorCommand obfuscation, alias exploitation, path manipulation
    Affected Componentsexec-approvals.ts, command allowlist
    Current MitigationsAllowlist + ask mode
    Residual RiskHigh - No command sanitization
    RecommendationsImplement command normalization, expand blocklist

    3.4 Persistence (AML.TA0006)

    T-PERSIST-001: Malicious Skill Installation

    AttributeValue
    ATLAS IDAML.T0010.001 - Supply Chain Compromise: AI Software
    DescriptionAttacker publishes malicious skill to ClawHub
    Attack VectorCreate account, publish skill with hidden malicious code
    Affected ComponentsClawHub, skill loading, agent execution
    Current MitigationsGitHub account age verification, pattern-based moderation flags
    Residual RiskCritical - No sandboxing, limited review
    RecommendationsVirusTotal integration (in progress), skill sandboxing, community review

    T-PERSIST-002: Skill Update Poisoning

    AttributeValue
    ATLAS IDAML.T0010.001 - Supply Chain Compromise: AI Software
    DescriptionAttacker compromises popular skill and pushes malicious update
    Attack VectorAccount compromise, social engineering of skill owner
    Affected ComponentsClawHub versioning, auto-update flows
    Current MitigationsVersion fingerprinting
    Residual RiskHigh - Auto-updates may pull malicious versions
    RecommendationsImplement update signing, rollback capability, version pinning

    T-PERSIST-003: Agent Configuration Tampering

    AttributeValue
    ATLAS IDAML.T0010.002 - Supply Chain Compromise: Data
    DescriptionAttacker modifies agent configuration to persist access
    Attack VectorConfig file modification, settings injection
    Affected ComponentsAgent config, tool policies
    Current MitigationsFile permissions
    Residual RiskMedium - Requires local access
    RecommendationsConfig integrity verification, audit logging for config changes

    3.5 Defense Evasion (AML.TA0007)

    T-EVADE-001: Moderation Pattern Bypass

    AttributeValue
    ATLAS IDAML.T0043 - Craft Adversarial Data
    DescriptionAttacker crafts skill content to evade moderation patterns
    Attack VectorUnicode homoglyphs, encoding tricks, dynamic loading
    Affected ComponentsClawHub moderation.ts
    Current MitigationsPattern-based FLAG_RULES
    Residual RiskHigh - Simple regex easily bypassed
    RecommendationsAdd behavioral analysis (VirusTotal Code Insight), AST-based detection

    T-EVADE-002: Content Wrapper Escape

    AttributeValue
    ATLAS IDAML.T0043 - Craft Adversarial Data
    DescriptionAttacker crafts content that escapes XML wrapper context
    Attack VectorTag manipulation, context confusion, instruction override
    Affected ComponentsExternal content wrapping
    Current MitigationsXML tags + security notice
    Residual RiskMedium - Novel escapes discovered regularly
    RecommendationsMultiple wrapper layers, output-side validation

    3.6 Discovery (AML.TA0008)

    T-DISC-001: Tool Enumeration

    AttributeValue
    ATLAS IDAML.T0040 - AI Model Inference API Access
    DescriptionAttacker enumerates available tools through prompting
    Attack Vector"What tools do you have?" style queries
    Affected ComponentsAgent tool registry
    Current MitigationsNone specific
    Residual RiskLow - Tools generally documented
    RecommendationsConsider tool visibility controls

    T-DISC-002: Session Data Extraction

    AttributeValue
    ATLAS IDAML.T0040 - AI Model Inference API Access
    DescriptionAttacker extracts sensitive data from session context
    Attack Vector"What did we discuss?" queries, context probing
    Affected ComponentsSession transcripts, context window
    Current MitigationsSession isolation per sender
    Residual RiskMedium - Within-session data accessible
    RecommendationsImplement sensitive data redaction in context

    3.7 Collection & Exfiltration (AML.TA0009, AML.TA0010)

    T-EXFIL-001: Data Theft via web_fetch

    AttributeValue
    ATLAS IDAML.T0009 - Collection
    DescriptionAttacker exfiltrates data by instructing agent to send to external URL
    Attack VectorPrompt injection causing agent to POST data to attacker server
    Affected Componentsweb_fetch tool
    Current MitigationsSSRF blocking for internal networks
    Residual RiskHigh - External URLs permitted
    RecommendationsImplement URL allowlisting, data classification awareness

    T-EXFIL-002: Unauthorized Message Sending

    AttributeValue
    ATLAS IDAML.T0009 - Collection
    DescriptionAttacker causes agent to send messages containing sensitive data
    Attack VectorPrompt injection causing agent to message attacker
    Affected ComponentsMessage tool, channel integrations
    Current MitigationsOutbound messaging gating
    Residual RiskMedium - Gating may be bypassed
    RecommendationsRequire explicit confirmation for new recipients

    T-EXFIL-003: Credential Harvesting

    AttributeValue
    ATLAS IDAML.T0009 - Collection
    DescriptionMalicious skill harvests credentials from agent context
    Attack VectorSkill code reads environment variables, config files
    Affected ComponentsSkill execution environment
    Current MitigationsNone specific to skills
    Residual RiskCritical - Skills run with agent privileges
    RecommendationsSkill sandboxing, credential isolation

    3.8 Impact (AML.TA0011)

    T-IMPACT-001: Unauthorized Command Execution

    AttributeValue
    ATLAS IDAML.T0031 - Erode AI Model Integrity
    DescriptionAttacker executes arbitrary commands on user system
    Attack VectorPrompt injection combined with exec approval bypass
    Affected ComponentsBash tool, command execution
    Current MitigationsExec approvals, Docker sandbox option
    Residual RiskCritical - Host execution without sandbox
    RecommendationsDefault to sandbox, improve approval UX

    T-IMPACT-002: Resource Exhaustion (DoS)

    AttributeValue
    ATLAS IDAML.T0031 - Erode AI Model Integrity
    DescriptionAttacker exhausts API credits or compute resources
    Attack VectorAutomated message flooding, expensive tool calls
    Affected ComponentsGateway, agent sessions, API provider
    Current MitigationsNone
    Residual RiskHigh - No rate limiting
    RecommendationsImplement per-sender rate limits, cost budgets

    T-IMPACT-003: Reputation Damage

    AttributeValue
    ATLAS IDAML.T0031 - Erode AI Model Integrity
    DescriptionAttacker causes agent to send harmful/offensive content
    Attack VectorPrompt injection causing inappropriate responses
    Affected ComponentsOutput generation, channel messaging
    Current MitigationsLLM provider content policies
    Residual RiskMedium - Provider filters imperfect
    RecommendationsOutput filtering layer, user controls

    4. ClawHub Supply Chain Analysis

    4.1 Current Security Controls

    ControlImplementationEffectiveness
    GitHub Account Age
    text
    requireGitHubAccountAge()
    Medium - Raises bar for new attackers
    Path Sanitization
    text
    sanitizePath()
    High - Prevents path traversal
    File Type Validation
    text
    isTextFile()
    Medium - Only text files, but can still be malicious
    Size Limits50MB total bundleHigh - Prevents resource exhaustion
    Required SKILL.mdMandatory readmeLow security value - Informational only
    Pattern ModerationFLAG_RULES in moderation.tsLow - Easily bypassed
    Moderation Status
    text
    moderationStatus
    field
    Medium - Manual review possible

    4.2 Moderation Flag Patterns

    Current patterns in

    text
    moderation.ts
    :

    javascript
    // Known-bad identifiers /(keepcold131\/ClawdAuthenticatorTool|ClawdAuthenticatorTool)/i // Suspicious keywords /(malware|stealer|phish|phishing|keylogger)/i /(api[-_ ]?key|token|password|private key|secret)/i /(wallet|seed phrase|mnemonic|crypto)/i /(discord\.gg|webhook|hooks\.slack)/i /(curl[^\n]+\|\s*(sh|bash))/i /(bit\.ly|tinyurl\.com|t\.co|goo\.gl|is\.gd)/i

    Limitations:

    • Only checks slug, displayName, summary, frontmatter, metadata, file paths
    • Does not analyze actual skill code content
    • Simple regex easily bypassed with obfuscation
    • No behavioral analysis

    4.3 Planned Improvements

    ImprovementStatusImpact
    VirusTotal IntegrationIn ProgressHigh - Code Insight behavioral analysis
    Community ReportingPartial (
    text
    skillReports
    table exists)
    Medium
    Audit LoggingPartial (
    text
    auditLogs
    table exists)
    Medium
    Badge SystemImplementedMedium -
    text
    highlighted
    ,
    text
    official
    ,
    text
    deprecated
    ,
    text
    redactionApproved

    5. Risk Matrix

    5.1 Likelihood vs Impact

    Threat IDLikelihoodImpactRisk LevelPriority
    T-EXEC-001HighCriticalCriticalP0
    T-PERSIST-001HighCriticalCriticalP0
    T-EXFIL-003MediumCriticalCriticalP0
    T-IMPACT-001MediumCriticalHighP1
    T-EXEC-002HighHighHighP1
    T-EXEC-004MediumHighHighP1
    T-ACCESS-003MediumHighHighP1
    T-EXFIL-001MediumHighHighP1
    T-IMPACT-002HighMediumHighP1
    T-EVADE-001HighMediumMediumP2
    T-ACCESS-001LowHighMediumP2
    T-ACCESS-002LowHighMediumP2
    T-PERSIST-002LowHighMediumP2

    5.2 Critical Path Attack Chains

    Attack Chain 1: Skill-Based Data Theft

    text
    T-PERSIST-001 → T-EVADE-001 → T-EXFIL-003 (Publish malicious skill) → (Evade moderation) → (Harvest credentials)

    Attack Chain 2: Prompt Injection to RCE

    text
    T-EXEC-001 → T-EXEC-004 → T-IMPACT-001 (Inject prompt) → (Bypass exec approval) → (Execute commands)

    Attack Chain 3: Indirect Injection via Fetched Content

    text
    T-EXEC-002 → T-EXFIL-001 → External exfiltration (Poison URL content) → (Agent fetches & follows instructions) → (Data sent to attacker)

    6. Recommendations Summary

    6.1 Immediate (P0)

    IDRecommendationAddresses
    R-001Complete VirusTotal integrationT-PERSIST-001, T-EVADE-001
    R-002Implement skill sandboxingT-PERSIST-001, T-EXFIL-003
    R-003Add output validation for sensitive actionsT-EXEC-001, T-EXEC-002

    6.2 Short-term (P1)

    IDRecommendationAddresses
    R-004Implement rate limitingT-IMPACT-002
    R-005Add token encryption at restT-ACCESS-003
    R-006Improve exec approval UX and validationT-EXEC-004
    R-007Implement URL allowlisting for web_fetchT-EXFIL-001

    6.3 Medium-term (P2)

    IDRecommendationAddresses
    R-008Add cryptographic channel verification where possibleT-ACCESS-002
    R-009Implement config integrity verificationT-PERSIST-003
    R-010Add update signing and version pinningT-PERSIST-002

    7. Appendices

    7.1 ATLAS Technique Mapping

    ATLAS IDTechnique NameOpenClaw Threats
    AML.T0006Active ScanningT-RECON-001, T-RECON-002
    AML.T0009CollectionT-EXFIL-001, T-EXFIL-002, T-EXFIL-003
    AML.T0010.001Supply Chain: AI SoftwareT-PERSIST-001, T-PERSIST-002
    AML.T0010.002Supply Chain: DataT-PERSIST-003
    AML.T0031Erode AI Model IntegrityT-IMPACT-001, T-IMPACT-002, T-IMPACT-003
    AML.T0040AI Model Inference API AccessT-ACCESS-001, T-ACCESS-002, T-ACCESS-003, T-DISC-001, T-DISC-002
    AML.T0043Craft Adversarial DataT-EXEC-004, T-EVADE-001, T-EVADE-002
    AML.T0051.000LLM Prompt Injection: DirectT-EXEC-001, T-EXEC-003
    AML.T0051.001LLM Prompt Injection: IndirectT-EXEC-002

    7.2 Key Security Files

    PathPurposeRisk Level
    text
    src/infra/exec-approvals.ts
    Command approval logicCritical
    text
    src/gateway/auth.ts
    Gateway authenticationCritical
    text
    src/infra/net/ssrf.ts
    SSRF protectionCritical
    text
    src/security/external-content.ts
    Prompt injection mitigationCritical
    text
    src/agents/sandbox/tool-policy.ts
    Tool policy enforcementCritical
    text
    src/routing/resolve-route.ts
    Session isolationMedium

    7.3 Glossary

    TermDefinition
    ATLASMITRE's Adversarial Threat Landscape for AI Systems
    ClawHubOpenClaw's skill marketplace
    GatewayOpenClaw's message routing and authentication layer
    MCPModel Context Protocol - tool provider interface
    Prompt InjectionAttack where malicious instructions are embedded in input
    SkillDownloadable extension for OpenClaw agents
    SSRFServer-Side Request Forgery

    This threat model is a living document. Report security issues to security@openclaw.ai

    Related

    • Formal verification
    • Contributing to the threat model

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine