Back to skill

Security audit

EasyEDA Agent

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marked this skill suspicious because its scanners report an unverified remote installer and several ways edits could damage or expose design data; confidence is medium, and parts of the scan were incomplete.

Consider the verdict a reason to review carefully before installing. The strongest concerns are the unverified installer and operations that may alter schematic content; scan coverage was partial (95.8%), so the results do not establish that unreported behavior is safe. Prefer a version-pinned installer that you can verify, and review the skill's permission needs and editing workflows before granting access to important projects.

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/sch.py
Finding

Bulk schematic deletion helper lacks an enforced authorization and target gate

Content
View full analysis

Impact

All wires and every component whose type is neither part nor sheet are deleted from the active schematic, regardless of the subset authorized for a repair. This can remove unrelated connectivity and annotations. The helper itself does not save; permanent loss is not established.

Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
Findings (39)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
求解器、样例或模型生成的数据均须满足[数据契约](references/schematic-data.md#数据驱动架构基准);不强制某个求解器。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| 原理图数据、布局与 Apply | [数据契约](references/schematic-data.md)、[执行步骤](references/auto-layout-sop.md) |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
完成前按[布局规则](references/pcb-layout.md)通过连续两轮自检,第二轮包含保存重载和新回读;修复后重来。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| PCB 布局与机械 | [PCB](references/pcb.md)、[布局](references/pcb-layout.md) |

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
| PCB 布线、铺铜与禁布区 | [布线](references/pcb-routing.md) |

Chaining Abuse

High
Category
Tool Misuse
Confidence
97% confidence
Finding

Piping the HTTP response directly into bash crosses the trust boundary from remote content to local code execution without an intervening verification step. This is the same underlying unsafe-installation issue as the SC2 finding, not evidence of a separate malicious tool chain; the installation-only context limits exposure but does not remove the risk.

Content

Scanner excerpt · references/environment-setup.md (reported line 58)May include surrounding context.

发布版安装 CLI 和 Skill:

bash
curl -fsSL https://raw.githubusercontent.com/zhoushoujianwork/easyeda-agent/main/install.sh | bash
easyeda update --check
easyeda update

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
75% 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 · references/pcb-layout.md (reported line 411)May include surrounding context.

md
irst** (reports paths/lines/arcs WITHOUT mutating — safe on any board, even one you don't want to change), then run for real and `pcb save`. Flags: `--selected` (only tracks selected in EasyEDA, default whole board), `--net` (**repeatable** — `--net USB_DP --net USB_DM` beautifies only those nets; the safest way to apply on a dense board — small blast radius, dry-run + DRC each net), `--layer` filter, `--force-arc` (round even too-short segments), `--merge-u` (fuse tight U-bends into one arc), `--no-protect`/`--no-drc`/`--no-pour-rebuild`. **On a dense, not-yet-DRC-clean board prefer per-net over a full-board pass** — a whole-board run both has a large blast radius and surfaces the board's pre-existing violations alongside its own. Absorbed from the open-source **Easy_EDA_PCB_Beautify** (m-RNA, Apache-2.0; see repo `NOTICE`). Line-width bezier smoothing is a documented follow-up. Advice from upstream: pad-to-track joints may need a manual look, exclude RF/high-speed nets from a global

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
75% 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 · references/reusable-module-library.md (reported line 48)May include surrounding context.

md
### 从已完成原理图直接提取

优先使用现场 `sch read --no-check` 的制造网表,不再从 PDF 重猜连接;再用 `lib by-lcsc`
将每个供应商编号解析成 32 位 Device UUID。公开 `*.topology.json` 必须把原位号转换为模块内
角色、把匿名网改为 `internal.*`、把跨模块网改为 `port.*`,并保留全部物理引脚。只有
`sch read.floatingPins` 明确列出的脚才能记录为 `connectionState:"unconnected"`;字段缺失不能

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

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.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

The tile-repositioning workflow instructs the agent to clear the page without warning that unrelated or manually edited content may be lost.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The tile-repositioning workflow directs the agent to clear the page and regenerate blocks without requiring a backup, content inventory, or authorization to delete existing content. In an EDA skill operating on existing projects, regeneration may omit unrelated circuitry and manual edits; the later scratch-page authorization requirement applies to probing and does not explicitly protect this workflow.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/blocks-pin-audit.py (reported line 70)May include surrounding context.

python
if name.endswith('.json') and not name.startswith('_')]
    binary = cli_binary()
    def query(args):
        proc = subprocess.run([binary, 'blocks'] + args, capture_output=True,
                              encoding='utf-8', errors='replace', timeout=30)
        if proc.returncode:
            raise RuntimeError(f'embedded block lookup failed: {proc.stderr.strip() or proc.stdout.strip()}')

Tainted flow: 'binary' from os.environ.get (line 68, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scripts/blocks-pin-audit.py (reported line 70)May include surrounding context.

python
if name.endswith('.json') and not name.startswith('_')]
    binary = cli_binary()
    def query(args):
        proc = subprocess.run([binary, 'blocks'] + args, capture_output=True,
                              encoding='utf-8', errors='replace', timeout=30)
        if proc.returncode:
            raise RuntimeError(f'embedded block lookup failed: {proc.stderr.strip() or proc.stdout.strip()}')

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/blocks-pin-audit.py (reported line 159)May include surrounding context.

python
binary = cli_binary()

    def run(args, timeout=180):
        return subprocess.run([binary] + args[1:] + ['--doc', doc], capture_output=True,
                              encoding='utf-8', errors='replace', timeout=timeout)

    def must_run(args):

Tainted flow: 'binary' from os.environ.get (line 156, credential/environment) → subprocess.run (code execution)

Medium
Category
Data Flow
Confidence
65% confidence
Finding

Data from a source is assigned to a variable that is later passed to a sink, creating a variable-mediated taint flow.

Content

Scanner excerpt · scripts/blocks-pin-audit.py (reported line 159)May include surrounding context.

python
binary = cli_binary()

    def run(args, timeout=180):
        return subprocess.run([binary] + args[1:] + ['--doc', doc], capture_output=True,
                              encoding='utf-8', errors='replace', timeout=timeout)

    def must_run(args):