Back to skill

Security audit

ekyc-suite

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign with medium confidence: the scans report identity-verification related network activity and a missing declared tool scope, with no AIG findings, though Skillspector reported an exit error.

Before installing, consider whether the skill’s identity-verification features justify sending files or environment-related data to an external service, and review its destination and declared tool scope. The scan reports all components as covered, but Skillspector also reported an exit status error, so the evidence has a reliability limitation.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • 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 (4)

Tainted flow: 'url' from os.environ.get (line 65, credential/environment) → requests.post (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 · scripts/ekyc_api.py (reported line 85)May include surrounding context.

python
"x-ekyc-package-manager": os.environ.get("CLAW_HOME") and "clawhub",
    }
    headers.update({key: value for key, value in optional_headers.items() if value})
    response = requests.post(url, json=payload, headers=headers, timeout=120)
    trace_id = response.headers.get("x-ekyc-trace-id")
    try:
        data = response.json()

Tainted flow: 'payload' from pathlib.Path.read_bytes (line 106, file read) → requests.post (network output)

High
Category
Data Flow
Confidence
80% confidence
Finding

File contents flow to a network sink. This may indicate data exfiltration of sensitive files.

Content

Scanner excerpt · scripts/ekyc_api.py (reported line 85)May include surrounding context.

python
"x-ekyc-package-manager": os.environ.get("CLAW_HOME") and "clawhub",
    }
    headers.update({key: value for key, value in optional_headers.items() if value})
    response = requests.post(url, json=payload, headers=headers, timeout=120)
    trace_id = response.headers.get("x-ekyc-trace-id")
    try:
        data = response.json()

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

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.

External Transmission

Medium
Category
Data Exfiltration
Confidence
80% 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/ekyc_api.py (reported line 85)May include surrounding context.

python
"x-ekyc-package-manager": os.environ.get("CLAW_HOME") and "clawhub",
    }
    headers.update({key: value for key, value in optional_headers.items() if value})
    response = requests.post(url, json=payload, headers=headers, timeout=120)
    trace_id = response.headers.get("x-ekyc-trace-id")
    try:
        data = response.json()