Back to skill

Security audit

eKYC Suite

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed cloud KYC client that uploads user-approved identity media to a configured HTTPS endpoint, so it is proportionate to its stated purpose but still handles very sensitive data.

Install only if you have a trusted eKYC backend endpoint, a valid API key, user authorization to process the media, and clear retention/access-control rules. Treat uploaded identity documents, bank cards, selfies, and videos as sensitive regulated data, and do not use this skill as the sole basis for automated legal, financial, or eligibility decisions.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (6)

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

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · CHANGELOG.md (reported line 1)May include surrounding context.

md
# Changelog

## 1.1.25 - 2026-08-17

Undeclared Tool Scope

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

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This client sends highly sensitive identity artifacts—selfies, videos, ID cards, bank cards, and license images—to a remote cloud backend, but the code provides no explicit user-facing disclosure, consent prompt, or warning at the point of use. In a KYC context this is especially sensitive because the transmitted data may include biometric and regulated identity information, making undisclosed transfer a significant privacy and compliance risk.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

The capabilities list states support for Chinese national ID cards, Chinese driver's licenses, and Chinese vehicle licenses. Because SQP-3 covers natural-language locale policy concerns, this can be read as a locale-specific constraint that is not explicitly justified in the capability section itself, even though it may be legitimate product scope.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.potential_exfiltration

Python code base64-encodes a local file and sends it over the network.

Critical
Code
suspicious.potential_exfiltration
Location
scripts/ekyc_api.py:57