Back to skill

Security audit

knownas

Security checks for vulnerabilities and agentic risk

Overview

The skill coherently manages knownAs.dev names and routes for OpenClaw, with sensitive actions disclosed and generally gated by user confirmation.

Install only if you intend this agent to manage a public knownAs.dev name for your OpenClaw gateway. Use a narrow, expiring KNOWNAS_API_KEY with the documented scopes, review prompts before approving public route or webhook changes, and avoid setting KNOWNAS_API_URL or KNOWNAS_SECRET_STORE_CMD unless you trust the destination and command.

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 (3)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
90% 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 · scripts/knownas.sh (reported line 213)May include surrounding context.

sh
cmd_remove_route() {
  [ $# -eq 2 ] || die "usage: remove-route ID SERVICE" 2
  is_service "$2" || die "unknown service: $2" 2
  status=$(call DELETE "/v1/identities/$1/routes/$2"); ok_or_die "$status"
  jq '{service, status}' "$TMP/body"
}

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill clearly instructs the agent to use shell commands and network access (sh, curl, openclaw, remote API calls), but it does not declare any explicit tool scope such as permissions or allowed-tools. That mismatch creates a least-privilege failure: a runtime may permit broader capabilities than reviewers or users expect, making it easier for the skill to invoke sensitive operations without transparent authorization boundaries.

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

sh
printf 'header = "Idempotency-Key: %s"\n' "$IDEMPOTENCY_KEY"
    fi
  } | if [ -n "$body" ]; then
    curl -sS --config - -X "$method" -o "$TMP/body" -w '%{http_code}' --data-binary "@$body" "$API$path"
  else
    curl -sS --config - -X "$method" -o "$TMP/body" -w '%{http_code}' "$API$path"
  fi

Static analysis

No suspicious patterns detected.