Back to skill

Security audit

iaqualink-curl

Security checks for vulnerabilities and agentic risk

Overview

This pool-status skill also permits equipment changes without required confirmation and exposes authentication tokens in debugging output.

Treat installation as granting pool-control capability, even for temperature queries. Prefer a read-restricted helper, and require explicit approval and state verification for equipment changes. Keep debugging output private, fix token redaction and password argument handling, and protect the cached session file. No live equipment requests were made; eXO behavior and the absent API reference remain unverified.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (14)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The read-focused description leads users to authorize status retrieval, but the skill also exposes authenticated equipment-control commands. Recommending the MCP for writes does not prevent direct execution, so an agent could change pumps, heaters, or auxiliary equipment outside the expected read-only workflow.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill supplies a temperature-setting command despite advertising a read-oriented purpose. If executed without separate approval, it can change physical operating conditions and energy consumption rather than merely retrieve temperatures.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

Setup (once)

bash
# The Keychain item: account = your iAqualink email, password = the secret (prompted).
security add-generic-password -s iaqualink -a 'you@example.com' -w
. skills/iaqualink-curl/references/iaqualink.sh   # bash or zsh

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/iaqualink.sh (reported line 10)May include surrounding context.

sh
# get_home / get_devices reads have been seen working on a real panel; the eXO
# shadow read has not.
#
# Credentials come from the macOS Keychain item with service "iaqualink":
#   security add-generic-password -s iaqualink -a 'you@example.com' -w
# (the account attribute is the email, the password is the secret). For a dry
# run or a test, IAQ_EMAIL / IAQ_PASSWORD override the Keychain.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/iaqualink.sh (reported line 13)May include surrounding context.

sh
# Credentials come from the macOS Keychain item with service "iaqualink":
#   security add-generic-password -s iaqualink -a 'you@example.com' -w
# (the account attribute is the email, the password is the secret). For a dry
# run or a test, IAQ_EMAIL / IAQ_PASSWORD override the Keychain.
#
# IAQ_DRY_RUN=1 prints each request (password redacted) instead of sending it.
#

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/iaqualink.sh (reported line 56)May include surrounding context.

sh
local email pw out
  email=$(iaq_email); pw=$(iaq_password)
  if [ -z "$email" ] || [ -z "$pw" ]; then
    echo 'iaq_login: no credential — add the Keychain item (see the header) or set IAQ_EMAIL/IAQ_PASSWORD' >&2
    return 2
  fi
  if [ "${IAQ_DRY_RUN:-}" = "1" ]; then

The read-focused skill exposes authenticated commands that can change pool equipment state.

High
Category
Excessive Agency
Confidence
99% confidence
Finding

The helper accepts arbitrary command names and additional query parameters while attaching account credentials, so its capability is not restricted to reads. Its own comments identify write toggles, but no allowlist or confirmation check prevents unintended physical equipment changes.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: 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.

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
70% confidence
Finding

Shadow Command Trigger: description clause 'the sign-in, system list and iAqua reads are seen live, the eXO shadow read is not yet' conflicts with built-in command 'read'

Content

No source excerpt is available for this finding.

The read-focused manifest is expanded to include pool-control write commands.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

This section expands a read-oriented workflow into equipment writes, including non-idempotent toggles and a concrete temperature-change example. Its warnings reduce accidental misuse but do not enforce confirmation or prevent state changes through the shell.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/iaqualink.sh (reported line 35)May include surrounding context.

sh
security find-generic-password -s iaqualink -w 2>/dev/null
}

# _iaq_curl <args...>: run curl, or print it when IAQ_DRY_RUN=1. Bodies always
# arrive on stdin (--data @-) so the password never appears in `ps`.
_iaq_curl() {
  if [ "${IAQ_DRY_RUN:-}" = "1" ]; then

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/iaqualink.sh (reported line 61)May include surrounding context.

sh
fi
  if [ "${IAQ_DRY_RUN:-}" = "1" ]; then
    jq -n --arg k "$IAQ_API_KEY" --arg e "$email" --arg p "$pw" '{api_key:$k,email:$e,password:$p}' |
      _iaq_curl -X POST https://prod.zodiac-io.com/users/v1/login --data @-
    return 0
  fi
  out=$(jq -n --arg k "$IAQ_API_KEY" --arg e "$email" --arg p "$pw" '{api_key:$k,email:$e,password:$p}' |

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/iaqualink.sh (reported line 65)May include surrounding context.

sh
return 0
  fi
  out=$(jq -n --arg k "$IAQ_API_KEY" --arg e "$email" --arg p "$pw" '{api_key:$k,email:$e,password:$p}' |
    _iaq_curl -X POST https://prod.zodiac-io.com/users/v1/login --data @-) || {
    echo 'iaq_login: refused — check the email/password; not retrying' >&2
    return 1
  }

External Transmission

Medium
Category
Data Exfiltration
Confidence
70% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/iaqualink.sh (reported line 80)May include surrounding context.

sh
iaq_refresh() {
  local out
  out=$(jq -n --arg e "$(_iaq_get email)" --arg r "$(_iaq_get refresh_token)" '{email:$e,refresh_token:$r}' |
    _iaq_curl -X POST https://prod.zodiac-io.com/users/v1/refresh --data @-) || return 1
  [ "${IAQ_DRY_RUN:-}" = "1" ] && { printf '%s\n' "$out"; return 0; }
  local tmp="$IAQ_SESSION.tmp"
  (umask 077 && jq --argjson n "$out" '. + {authentication_token: $n.authentication_token,