Back to skill

Security audit

Elephantastic

Security checks for vulnerabilities and agentic risk

Overview

The package presents itself as a deprecated rename notice but bundles active agent task-management, monitoring, and persistent-memory workflows that can change local state.

Review this package before installing. It is not just an inert deprecation shim: it includes workflows and scripts that can manage your Taskwarrior data, inspect activity history, maintain heartbeat state, and guide edits to persistent agent memory files. Use the renamed package only if you intentionally want that local executive-function system, and require explicit approval for task deletion, heartbeat cron setup, and any edits to AGENTS.md, SOUL.md, TOOLS.md, or identity files.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
Findings (2)

T05 · Unauthorized Access and Privilege Escalation

Error
Location
scripts/task_manager.py:104
Finding

Witness Gate Authorization Can Be Bypassed with a Caller-Controlled Flag

Content
View full analysis
Remediation
View remediation

T02 · Agent Memory Poisoning

Warning
Location
references/review-runbook.md:66
Finding

Untrusted Learning Entries Can Be Promoted into Persistent Agent Control Files

Content
View full analysis
3 else "Inbox" tags = sys.argv[4:] if len(sys.argv) > 4 else [] result = gtd_capture(desc, proj, tags) print(result) ``` ### Technical Analysis The review workflow directs the Agent to promote recurring Taskwarrior entries into persistent control files such as `AGENTS.md`, `SOUL.md`, and `TOOLS.md`. These files can influence the Agent’s instructions, identity, tool behavior, and decisions in future sessions. Task descriptions and tags are accepted directly from command-line callers and stored wit ...[truncated 2738 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
Findings (20)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is described as inert, yet the finding reports monitoring behavior, external command execution, parsing of local tool output, reading a heartbeat file, and signaling via exit codes. Covert monitoring and local-state inspection in a supposedly deprecated skill create a strong deception signal and expose user activity metadata and system context without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is described as inert, yet the finding reports monitoring behavior, external command execution, parsing of local tool output, reading a heartbeat file, and signaling via exit codes. Covert monitoring and local-state inspection in a supposedly deprecated skill create a strong deception signal and expose user activity metadata and system context without clear disclosure.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is described as inert, yet the finding reports monitoring behavior, external command execution, parsing of local tool output, reading a heartbeat file, and signaling via exit codes. Covert monitoring and local-state inspection in a supposedly deprecated skill create a strong deception signal and expose user activity metadata and system context without clear disclosure.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill metadata says the package is only a deprecation notice, but the bundled code implements active task listing, modification, completion, and deletion operations. This mismatch is dangerous because users and reviewers may trust-install a seemingly inert deprecated package while it still performs meaningful local state changes, enabling hidden or unexpected task manipulation by an agent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The metadata claims the skill is deprecated and merely renamed, while the README presents a live, fully featured autonomous task-management and memory system. This mismatch can mislead reviewers, users, or automated policy gates into under-scrutinizing the package, increasing the chance that powerful agent behaviors are installed or trusted without appropriate review.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
87% confidence
Finding

The skill manifest declares no tool restrictions even though the associated behavior reportedly uses shell and environment access. In an agent ecosystem, undeclared capabilities undermine least-privilege expectations and can cause a seemingly harmless deprecated skill to execute code or access local state without clear user consent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The phrase "Run at natural breakpoints: session start, after a major task, weekly" leaves key activation terms like "natural breakpoints" and "major task" undefined. In a markdown runbook, this can cause inconsistent or unintended invocation because the scope and exclusions are not clearly specified.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/taskwarrior-schema.md (reported line 12)May include surrounding context.

bash
# Debian/Ubuntu
sudo apt install taskwarrior

# macOS
brew install task

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

Scanner excerpt · references/taskwarrior-schema.md (reported line 18)May include surrounding context.

bash
# Debian/Ubuntu
sudo apt install taskwarrior

# macOS
brew install task

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% 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 · references/vitality-heartbeat.md (reported line 65)May include surrounding context.

Alternative: File-Based Heartbeat

If Timewarrior isn't available, write a timestamp on each tool use:

bash
echo "$(date -u +%Y%m%dT%H%M%S)" > ~/.agent/last_active

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill metadata says the package is deprecated and only provides a rename/install notice, but this script still performs active session handoff operations by invoking task_manager.py. That mismatch can mislead reviewers and users about the skill's real behavior, reducing scrutiny and causing unexpected file or state changes when the script is used.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The script explicitly disables Taskwarrior confirmation prompts and then exposes delete/done operations that can be triggered non-interactively. In an agent context, this increases the chance of accidental or unauthorized destructive changes to a user's task database, especially because the witness gate only protects tasks tagged gate and not all sensitive operations.

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/task_manager.py (reported line 24)May include surrounding context.

python
def run_task(args, capture=True):
    """Execute a task command with consistent overrides."""
    cmd = ["task"] + DEFAULT_RC + args
    result = subprocess.run(cmd, capture_output=capture, text=True)
    return result.stdout if capture else result.returncode

def gtd_list(filter_query=None):

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill metadata says the package is only deprecated and renamed, but the shipped code performs active local monitoring and state inspection. That mismatch is dangerous because users or automated tooling may install or retain the skill expecting inert behavior, while it still executes logic that reads local activity data and influences agent behavior.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

A rename-only or deprecation-only skill has no stated need to invoke Timewarrior and Taskwarrior, yet this code executes local binaries and parses their output. In context, the issue is not classic command injection but undisclosed capability: the skill interacts with host tooling and local work-history data despite presenting itself as inert, which increases the chance of deceptive or unauthorized behavior.

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/vitality_check.py (reported line 20)May include surrounding context.

python
def get_timew_export():
    """Get timewarrior export data."""
    try:
        result = subprocess.run(
            ["timew", "export"],
            capture_output=True, text=True, check=True
        )

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/vitality_check.py (reported line 48)May include surrounding context.

python
def get_last_task():
    """Try to get last active task from Taskwarrior."""
    try:
        result = subprocess.run(
            ["task", "active", "export"],
            capture_output=True, text=True
        )

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

This markdown file includes an instruction to write ops/session_state.md, which is a file-modifying operation. The surrounding documentation does not provide any warning or disclosure that the skill may create or update local files, so users may not realize it affects persistent data.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The comment says the script will find task_manager.py using a local path first and then fall back to an elephantastic install. But the conditional actually tests for the existence of ~/.openclaw/skills/agent-gtd/scripts/task_manager.py while assigning ~/.openclaw/skills/elephantastic/scripts/task_manager.py, so the documented intent and implemented logic do not align.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The script reads environment-controlled configuration and later inspects a local heartbeat file under the user's home directory, even though the manifest describes only deprecation/rename information. This undisclosed local state inspection is risky because it expands the skill's access to user environment and filesystem data without clear user expectation or justification.

Content

No source excerpt is available for this finding.