Back to skill

Security audit

OpenClaw News

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed OpenClaw news-monitoring skill that uses network lookups and local state for briefings, with no evidence of hidden exfiltration or destructive behavior.

Install this only if you want your agent to make scheduled or on-demand network checks against GitHub, ClawHub, and web search sources, and possibly deliver results to the configured channel. Review the cron schedule and channel before enabling it, and remove the cron entry or delete the state files if you no longer want ongoing briefings.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill schedules recurring external data collection and message delivery via cron, but the description does not clearly warn users that it will perform ongoing network requests and send outbound briefings automatically. That missing disclosure can lead to users enabling persistent monitoring and notifications without understanding the privacy, operational, or cost implications.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The on-demand trigger phrase is very broad (e.g. 'what's new in OpenClaw? or similar'), which can cause the agent to invoke the skill in response to loosely related user messages without clear consent. In this skill, invocation leads to external queries and potentially message delivery, so ambiguous triggering increases the risk of unintended data collection, network access, and noisy or surprise notifications.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/agent_collect.py (reported line 54)May include surrounding context.

python
def run_gh(*args):
    """Run a gh CLI command and return parsed JSON."""
    try:
        result = subprocess.run(
            ["gh"] + list(args),
            capture_output=True, text=True, timeout=30
        )

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/agent_collect.py (reported line 98)May include surrounding context.

python
def collect_clawhub():
    """Query ClawdHub registry for skills."""
    try:
        result = subprocess.run(
            ["clawdhub", "explore", "--registry", "https://www.clawhub.ai"],
            capture_output=True, text=True, timeout=30
        )

Session Persistence

Medium
Category
Rogue Agent
Confidence
80% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · state/raw_data.json (reported line 120)May include surrounding context.

json
{
      "number": 4908,
      "state": "closed",
      "title": "fix(daemon): use environment-aware service name resolver in systemd install/uninstall",
      "updated": "2026-02-01T12:25:37Z",
      "url": "https://github.com/openclaw/openclaw/pull/4908"
    },

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

This code invokes gh api and clawdhub explore to fetch external data and the module docstring says the script is designed to be called directly by an agent. While there are stderr progress messages, there is no explicit user-facing warning that running the script will make outbound service requests to GitHub and ClawdHub, which may matter for privacy or network-restricted environments.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

This code path performs a file write to state/briefing.md via tee and only informs the user after the save has already occurred. While the --save flag implies persistence, the script does not provide a visible pre-action disclosure that the existing file may be overwritten.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.