Back to skill

Security audit

AdsTurbo 广告视频复刻 · AdsTurbo Ad Video Clone

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it reports public media uploads without a privacy warning and a possible missing confirmation gate before credit-charging submissions.

Consider the exposure of any media you upload and whether you are comfortable with it being reachable through a public link. Before installing, consider whether the credit-charging submission step reliably waits for your confirmation. The scan covered 11 of 12 components and was marked partial, so its evidence is incomplete.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/ad_clone.py
Finding

Credit-charging draft submission does not enforce the required confirmation gate

Content
View full analysis

Impact

Credits can be consumed before approval, or for parameters different from those the user approved.

Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (10)

Tainted flow: 'request' from os.environ.get (line 122, 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/shared/client.py (reported line 133)May include surrounding context.

python
},
        )
        try:
            with _OPENER.open(request, timeout=timeout) as resp:
                return resp.status, dict(resp.headers), resp.read().decode("utf-8", "replace")
        except urllib.error.HTTPError as err:
            return err.code, dict(err.headers or {}), err.read().decode("utf-8", "replace")

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
e user the image at `captcha_url` (or the local file `captcha_file`), ask them to type the characters, then run `python3 scripts/login.py captcha --code <what they typed>`. The user must read and type the captcha themselves; never solve it on their behalf
3. Once it returns `"next": "enter_email_code"`, ask the user for the code AdsTurbo emailed them (check spam too) and run `python3 scripts/login.py verify --code <code>`
4. On success the API key is saved on this machine in `~/.config/adsturbo/credentials.json` and every script picks it up; just re-run the command that needed it

A new email is signed up automatically; an existing user is simply logged in and no duplicate key is created. `login.py status` shows whether a key is available; run `login.py logout` before switching accounts. The old way still works too: sign up at https://adsturbo.ai?channel=clawhub, create a key at https://adsturbo.ai/iris/api and `export ADSTURBO_API_KEY=<key>`; the environment variable takes precedence.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
1. 问用户的邮箱,执行 `python3 scripts/login.py start --email <邮箱>`
2. 如果返回 `"next": "enter_captcha"`:把 `captcha_url` 这张图(或本地文件 `captcha_file`)给用户看,请他照图输入字符,再执行 `python3 scripts/login.py captcha --code <用户输入>`。图形验证码必须由用户本人辨认输入,不要自己识别代填
3. 返回 `"next": "enter_email_code"` 后,请用户去邮箱(也看看垃圾箱)找 AdsTurbo 发来的验证码,执行 `python3 scripts/login.py verify --code <验证码>`
4. 成功后 API Key 保存在本机 `~/.config/adsturbo/credentials.json`,之后所有脚本自动使用,直接重跑刚才的命令

新邮箱自动注册,老用户就是登录,不会重复创建 Key。`login.py status` 查看是否已登录,换账号先 `login.py logout`。也可以照旧在 https://adsturbo.ai?channel=clawhub 注册后到 https://adsturbo.ai/iris/api 创建 Key 并 `export ADSTURBO_API_KEY=<Key>`,环境变量优先。

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/login.py (reported line 10)May include surrounding context.

python
captcha --code    only when start said next=enter_captcha: what the user read off the image
  verify --code     the emailed code -> account (new or existing) -> API key saved locally

The key goes to ~/.config/adsturbo/credentials.json (0600), keyed by site, and
every other script picks it up when ADSTURBO_API_KEY is unset. It is never
printed: output only carries its last four characters.
"""

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/login.md (reported line 33)May include surrounding context.

md
## Where the key lives

- File: `~/.config/adsturbo/credentials.json` (mode 600), saved per site so the test and production sites never mix; set `ADSTURBO_CONFIG_DIR` to use another directory
- Every script reads it when `ADSTURBO_API_KEY` is unset; the environment variable wins
- If the account already has a key named `adsturbo-skill`, it is reused rather than duplicated
- Output only carries the key's last four characters; never echo the full key in a reply

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/login.md (reported line 85)May include surrounding context.

md
## Key 存在哪

- 文件:`~/.config/adsturbo/credentials.json`(权限 600),按站点分别保存,测试站和正式站互不影响;可用环境变量 `ADSTURBO_CONFIG_DIR` 换目录
- 所有脚本在 `ADSTURBO_API_KEY` 没设置时自动读它;环境变量优先
- 账号里已有名为 `adsturbo-skill` 的 Key 就直接复用,不会重复创建
- 输出只带 Key 的末 4 位,回复里不要回显完整 Key

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/shared/client.py (reported line 54)May include surrounding context.

python
"scripts/login.py (email + verification code), or set ADSTURBO_API_KEY."
)
CONFIG_DIR_ENV = "ADSTURBO_CONFIG_DIR"
CREDENTIALS_FILE = "credentials.json"


def config_dir() -> Path:

The local-video upload workflow lacks a privacy warning about externally hosting user media.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The workflow directs the agent to upload local video to externally hosted, publicly accessible storage without requiring informed consent. Although uploading is relevant to the task, users may not expect unpublished advertising or personal footage to become accessible to anyone possessing the resulting URL.

Content

No source excerpt is available for this finding.

The workflow instructs uploading local videos for public-URL access without a privacy warning.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The reference directs uploading local videos to obtain public URLs without a privacy warning or consent checkpoint. The public-URL requirement is disclosed technically, but the agent is not instructed to explain the exposure implications before transferring potentially confidential footage.

Content

No source excerpt is available for this finding.

The workflow uploads personal photos and voice recordings to publicly accessible URLs without a privacy warning.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The example uploads personal photographs and voice recordings to publicly accessible URLs without requiring consent to that exposure. These assets can reveal identity and support impersonation, making silent publication more consequential than uploading ordinary public advertising material.

Content

No source excerpt is available for this finding.