Back to skill

Security audit

Hookaido Webhook Integration

Security checks for vulnerabilities and agentic risk

Overview

The skill’s installation, webhook forwarding, and maintenance capabilities are disclosed, appropriately scoped, and consistent with its purpose.

Use endpoints you control, dedicated tokens, HTTPS for remote connections, and a restricted agent for incoming webhook content. Keep MCP read-only unless performing an intentional maintenance task, and protect stored webhook data. Manual inspection addressed the scanner’s material coverage gaps; this review did not verify the downloaded upstream binary or establish publisher identity.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (10)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
t the operator's own Hookaido and OpenClaw listeners, the optional pull relay (`scripts/openclaw_pull_relay.sh`, talks only to the two configured URLs and requi

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
a laptop/home box behind NAT; Hookaido on a public VPS/DMZ | Hookaido queues, `scripts/openclaw_pull_relay.sh` next to the Gateway **pulls** and forwards to `1

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% 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 264)May include surrounding context.

md
1. Read first: `GET /healthz?details=1`, `GET /backlog/trends`, `GET /dlq`, `GET /attempts`.
2. Find the cause (auth rejects: `hookaido_ingress_auth_rejected_total{route,reason}`; target errors: attempts list) and fix it before requeueing.
3. Requeue with `POST /dlq/requeue` and an `X-Hookaido-Audit-Reason`; explain expected impact for large batches.
4. `POST /dlq/delete` and revoking a runtime secret (`DELETE /secrets/{name}/{id}`) are destructive and irreversible: list the exact IDs, get explicit confirmation, prefer requeue when in doubt.

## Validation Checklist

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% 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 · references/operations.md (reported line 192)May include surrounding context.

md
- Requires `HOOKAIDO_SECRET_ENCRYPTION_KEY` (32 bytes, base64). Back the key up separately from the database.
- Add a version with `POST /secrets/cituro` and `{"value":"...","not_before":"...","not_after":"..."}`. The response is `201` with an id `sec_...`.
- List with `GET /secrets/cituro` (metadata only). Revoke with `DELETE /secrets/cituro/{id}`.
- Revoking is immediate and cannot be undone. List the pool first and never revoke the last version that is valid now: an empty pool rejects every webhook on the route with `401` until the provider's next secret is added. Name the exact id and get explicit operator confirmation before revoking.
- MCP: `rotate_secret` (admin role plus `--enable-mutations`).
- Never echo secret values in logs or chat.

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.

Docker image referenced without tag or digest: 'docker run -d'.

Medium
Category
MCP Rug Pull
Confidence
75% confidence
Finding

Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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/operations.md (reported line 296)May include surrounding context.

md
H=(-H "Authorization: Bearer $HOOKAIDO_PULL_TOKEN" -H "Content-Type: application/json")
B=http://localhost:9443/pull/github

curl -sS -X POST "$B/dequeue" "${H[@]}" -d '{"batch":10,"lease_ttl":"30s","max_wait":"10s"}'
# -> {"items":[{"id","lease_id","route","target","payload_b64","headers","received_at","attempt"}]}  (empty items = nothing queued)

curl -sS -X POST "$B/ack"    "${H[@]}" -d '{"lease_id":"lease_xyz"}'                 # or {"lease_ids":[...]}

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 · scripts/install_hookaido.sh (reported line 129)May include surrounding context.

sh
archive="${tmpdir}/${artifact}"

  echo "Downloading ${url}"
  curl --proto '=https' --tlsv1.2 -fL "$url" -o "$archive"

  actual_sha="$(normalize_sha256 "$(hash_file_sha256 "$archive")")"
  if [[ "$actual_sha" != "$expected_sha" ]]; 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 · scripts/openclaw_pull_relay.sh (reported line 40)May include surrounding context.

sh
trap 'rm -f "$payload_tmp"' EXIT

pull() {
  curl -sS --fail-with-body --proto "$pull_proto" -X POST "${HOOKAIDO_PULL_URL}/$1" \
    -H "Authorization: Bearer ${HOOKAIDO_PULL_TOKEN}" \
    -H "Content-Type: application/json" -d "$2"
}

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 · scripts/openclaw_pull_relay.sh (reported line 67)May include surrounding context.

sh
if jq -j '.payload_b64' <<<"$item" | base64 -d >"$payload_tmp"; then
      # Idempotency-Key = Hookaido event id, so a redelivered event replays the
      # earlier OpenClaw run instead of starting a second one.
      code="$(curl -sS -o /dev/null -w '%{http_code}' --proto "$hook_proto" -X POST "$OPENCLAW_HOOK_URL" \
        -H "Authorization: Bearer ${OPENCLAW_HOOKS_TOKEN}" \
        -H "Content-Type: ${ctype:-application/json}" \
        -H "Idempotency-Key: ${id}" \