Back to skill

Security audit

DuoPlus AI

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill benign with medium confidence: its findings were judged expected for its purpose, though Skillspector’s scan was partial and raised several concerns requiring context.

The verdict is benign, not risk-free. Consider the medium confidence and incomplete Skillspector analysis: it inspected all six listed components, but four local references were unresolved. The AIG scan completed with no findings. Review the declared tool scope and unresolved references before installing if those details matter to your decision.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (6)

Tainted flow: 'request' from os.environ.get (line 423, credential/environment) → urllib.request.build_opener.open (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/duoplus_ai.py (reported line 426)May include surrounding context.

python
request = Request(url, data=raw_payload, headers=headers, method="POST")
            try:
                # No environment proxy or redirect may silently change the credential destination.
                with build_opener(ProxyHandler({}), NoCredentialRedirect()).open(
                        request, timeout=timeout or self.timeout) as response:
                    status = int(response.status)
                    body = response.read()

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

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
## Configure credentials privately

Use an existing securely injected `DUOPLUS_API_KEY`, or a user-selected private file through `DUOPLUS_API_KEY_FILE` / `--api-key-file PATH`. Read [Credential setup](references/credentials.md) for requirements and safe setup. Do not ask users to paste keys into chat, put keys in command arguments, read unrelated credential stores, or create permanent shell-profile settings. If credentials are missing, state that no request was sent and ask the user to configure one of these private channels. Do not repeat a key the user has already pasted; recommend replacing an exposed key.

Commands below assume secure environment injection. With a private file, place `--api-key-file /absolute/private/key-file` before the subcommand; the argument is a path, never the key. Only Python 3.8+ and its standard library are required; no OpenClaw/ClawHub CLI is needed to run the already installed client. Resolve scripts and references relative to this installed skill, not

The required API headers hard-code Chinese without a language choice or documented justification.

Low
Category
Output Handling
Confidence
90% confidence
Finding

The instruction that all calls use these headers makes Lang: zh mandatory. This imposes a specific API response language without user opt-in or an explanation of why that locale is required.

Content

No source excerpt is available for this finding.

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/duoplus_ai.py (reported line 1098)May include surrounding context.

python
("group_id", "group_id"),
            ("proxy_id", "proxy_id"),
        ):
            value = getattr(args, source)
            if value is not None:
                filters[target] = value
        response = client.all_phones(filters) if args.all else client.phones(filters)

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · scripts/duoplus_ai.py (reported line 1196)May include surrounding context.

python
"proxy": proxy,
        }
        for name in ("name", "dpi_name", "network_mode", "brand", "model"):
            value = getattr(args, name)
            if value is not None:
                image[name] = value
        _emit(client.control("/api/v1/cloudPhone/initProxy", {"images": [image]}))