Back to skill

Security audit

TinkerClaw Jarvis Voice

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign because the scanners found no clear malicious intent, but they report behavior that conflicts with the skill’s advertised offline purpose, including optional text sent to an external language service and workspace files that the instructions say to delete; confidence is medium.

Before installing, consider whether you are comfortable with the optional language-detection feature sending part of supplied text and an API key being used for that request. The scan also reports instructions to delete workspace configuration files and notes that the skill does not declare its tool scope. The verdict is benign, but these behaviors deserve review, and the scan records some missing local references, so its evidence is not fully complete.

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
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Rogue AgentSelf-Modification, Session Persistence
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
Findings (19)

Tainted flow: 'req' from os.environ.get (line 108, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · bin/jarvis-lang (reported line 114)May include surrounding context.

text
method="POST",
        headers={"Authorization": "Bearer " + key, "Content-Type": "application/json"},
    )
    with urllib.request.urlopen(req, timeout=timeout) as resp:
        return json.loads(resp.read())

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

Language detection supports multilingual speech, so its role as a helper is not itself a mismatch. However, the implementation explicitly makes an authenticated POST request to https://api.typesafe.ai/v1/systemone containing a portion of the supplied text. This materially contradicts the description's offline claim and introduces undisclosed external processing. The comments describe this helper as opt-in through a separate launcher, but that launcher is not supplied, and optional activation does not make the network capability offline. The local ledger contains metadata rather than the input text and is a supporting implementation detail.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied code removes local workspace files rather than implementing voice synthesis, multilingual speech, or personality features. This destructive filesystem operation is not disclosed by the description, and the chunk provides no evidence that it is a necessary supporting implementation detail.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · SKILL.md (reported line 168)May include surrounding context.

bash
JARVIS_MUTE=1 jarvis "..."              # silence one call
touch ~/.openclaw/jarvis-voice.mute     # silence permanently
rm ~/.openclaw/jarvis-voice.mute        # audible again
# the Tinker UI mute toggle writes ~/.openclaw/data/jarvis-muted.json; the script obeys it

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · SKILL.md (reported line 353)May include surrounding context.

Uninstall — removes every persistent change, immediately:

bash
rm -f ~/.openclaw/workspace/{VOICE,SESSION,HUMOR}.md

Precedence, so there are no surprises. Your instructions beat these files, every time. Ask

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · bin/jarvis (reported line 163)May include surrounding context.

text
# symlinked by another process of the same user.
WORKDIR="$(mktemp -d "${TMPDIR:-/tmp}/jarvis.XXXXXXXXXX")" || exit 6
chmod 700 "$WORKDIR"
cleanup() { local rc=$?; rm -rf "$WORKDIR"; voice_failed $rc; }
trap cleanup EXIT INT TERM
RAW="$WORKDIR/raw.wav"
FINAL="$WORKDIR/final.wav"

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · tests/run.sh (reported line 96)May include surrounding context.

sh
eq "home session plays"            "$(TC_SESSION_KEY=agent:main:tinker:abc speak)" 0:played
eq "no session key plays"          "$(speak)" 0:played
eq "JARVIS_MUTE"                   "$(JARVIS_MUTE=1 quiet)" 0:silent
eq "mute file"                     "$(touch "$HOME/.openclaw/jarvis-voice.mute"; quiet; rm -f "$HOME/.openclaw/jarvis-voice.mute")" 0:silent
eq "Tinker UI mute"                "$(echo '{"muted": true}' > "$HOME/.openclaw/data/jarvis-muted.json"; quiet)" 0:silent
eq "Tinker UI unmuted plays"       "$(echo '{"muted":false}' > "$HOME/.openclaw/data/jarvis-muted.json"; speak)" 0:played
eq "WhatsApp session key"          "$(TC_SESSION_KEY=agent:main:whatsapp:+34 quiet)" 0:silent

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · templates/VOICE.md (reported line 1)May include surrounding context.

md
# VOICE.md — Jarvis voice output rules

> **Optional file.** Copying this into your workspace root changes agent behaviour in every
> future session. Delete it to stop, immediately and completely. Your explicit instructions

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · templates/VOICE.md (reported line 44)May include surrounding context.

md
overheard and the transcript is visible to anyone reading the chat later. Summarise instead:
  "the credentials are in the reply below."
- **Metadata.** Channel gating uses only the channel name: `JARVIS_CHANNEL`, or the channel part of
  the session key Tinker passes to the script. Do not log session identifiers for this purpose.
</consent_and_silence>

<rules>

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

Scanner excerpt · tests/run.sh (reported line 17)May include surrounding context.

sh
T="$(mktemp -d "${TMPDIR:-/tmp}/jarvis-test.XXXXXX")"
export TMPDIR="$T/tmp"; mkdir -p "$TMPDIR"
python3 "$HERE/mock_jev.py" "$T/port" & MOCK=$!
trap 'kill $MOCK 2>/dev/null; rm -rf "$T"' EXIT
for _ in $(seq 50); do [ -s "$T/port" ] && break; sleep 0.1; done
PORT="$(cat "$T/port")"

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · tests/run.sh (reported line 88)May include surrounding context.

sh
# (up to a minute on a slow machine) and for the temp dir to go. A gate stops before that session exists:
# one second later there must be no player call and no render in progress.
rendering() { [ -n "$(find "$TMPDIR" -maxdepth 1 -name 'jarvis.*')" ]; }
speak() { rm -f "$T/played"; TYPESAFE_API_KEY=http-402 bash "$BIN/jarvis" "$@" "Testing."; local rc=$?
          for _ in $(seq 600); do [ -f "$T/played" ] && ! rendering && break; sleep 0.1; done
          echo "$rc:$([ -f "$T/played" ] && echo played || echo silent)"; }
quiet() { rm -f "$T/played"; TYPESAFE_API_KEY=http-402 bash "$BIN/jarvis" "Testing."; local rc=$?

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · tests/run.sh (reported line 91)May include surrounding context.

sh
speak() { rm -f "$T/played"; TYPESAFE_API_KEY=http-402 bash "$BIN/jarvis" "$@" "Testing."; local rc=$?
          for _ in $(seq 600); do [ -f "$T/played" ] && ! rendering && break; sleep 0.1; done
          echo "$rc:$([ -f "$T/played" ] && echo played || echo silent)"; }
quiet() { rm -f "$T/played"; TYPESAFE_API_KEY=http-402 bash "$BIN/jarvis" "Testing."; local rc=$?
          sleep 1; echo "$rc:$({ [ -f "$T/played" ] || rendering; } && echo played || echo silent)"; }
eq "home session plays"            "$(TC_SESSION_KEY=agent:main:tinker:abc speak)" 0:played
eq "no session key plays"          "$(speak)" 0:played

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

Scanner excerpt · tests/run.sh (reported line 96)May include surrounding context.

sh
eq "home session plays"            "$(TC_SESSION_KEY=agent:main:tinker:abc speak)" 0:played
eq "no session key plays"          "$(speak)" 0:played
eq "JARVIS_MUTE"                   "$(JARVIS_MUTE=1 quiet)" 0:silent
eq "mute file"                     "$(touch "$HOME/.openclaw/jarvis-voice.mute"; quiet; rm -f "$HOME/.openclaw/jarvis-voice.mute")" 0:silent
eq "Tinker UI mute"                "$(echo '{"muted": true}' > "$HOME/.openclaw/data/jarvis-muted.json"; quiet)" 0:silent
eq "Tinker UI unmuted plays"       "$(echo '{"muted":false}' > "$HOME/.openclaw/data/jarvis-muted.json"; speak)" 0:played
eq "WhatsApp session key"          "$(TC_SESSION_KEY=agent:main:whatsapp:+34 quiet)" 0:silent

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_write, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
65% 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 · bin/jarvis (reported line 82)May include surrounding context.

text
# Agents start this in the background of a tool call, and the tool's cleanup can
  # kill it before a slow machine has finished rendering. Finish in a session of its
  # own; the caller gets exit 0 at once.
  if [ -z "${JARVIS_DETACHED:-}" ] && command -v setsid >/dev/null 2>&1; then
    JARVIS_DETACHED=1 JARVIS_LANG="$FORCE_LANG" setsid -f "$(readlink -f "${BASH_SOURCE[0]}")" -- "$TEXT" \
      >/dev/null 2>&1 < /dev/null
    exit 0

Session Persistence

Medium
Category
Rogue Agent
Confidence
65% 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 · bin/jarvis (reported line 83)May include surrounding context.

text
# kill it before a slow machine has finished rendering. Finish in a session of its
  # own; the caller gets exit 0 at once.
  if [ -z "${JARVIS_DETACHED:-}" ] && command -v setsid >/dev/null 2>&1; then
    JARVIS_DETACHED=1 JARVIS_LANG="$FORCE_LANG" setsid -f "$(readlink -f "${BASH_SOURCE[0]}")" -- "$TEXT" \
      >/dev/null 2>&1 < /dev/null
    exit 0
  fi

The advertised offline voice skill includes an optional online language-detection path.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

The manifest describes the skill as operating offline, but when JARVIS_LANG_DETECT=1 and additional voices are installed, this branch passes the complete utterance to jarvis-lang. The file's own documentation at L012-L014 identifies that helper as performing an HTTPS language-detection call when an API key is set, so the advertised offline workflow includes an optional external-processing path.

Content

No source excerpt is available for this finding.

The skill advertises offline operation, but language detection sends speech text to an external API.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The manifest describes multilingual voice operation as offline. When TYPESAFE_API_KEY is present and nonempty text is supplied, detect() passes approximately the first 400 characters to ask_jev(), which posts them to https://api.typesafe.ai/v1/systemone. Although the module documents this network dependency and an upstream opt-in, the manifest does not disclose that language detection transmits text outside the machine.

Content

No source excerpt is available for this finding.

Tainted flow: 'path' from os.environ.get (line 119, credential/environment) → open (file write)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · bin/jarvis-lang (reported line 127)May include surrounding context.

text
return
    try:
        os.makedirs(os.path.dirname(path), exist_ok=True)
        with open(path, "a", encoding="utf-8") as fh:
            fh.write(json.dumps(row, separators=(",", ":")) + "\n")
    except OSError:
        pass