Back to skill

Security audit

Motor FOC Control

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent Chinese-language FOC motor-control guide with a local PI tuning helper script, but users should apply its tuning advice cautiously on real hardware.

Install only if you are comfortable with Chinese-language motor-control material. Treat the PI and flux-weakening outputs as theoretical starting points, not ready-to-run production settings; validate on current-limited, speed-limited, temperature-monitored hardware with emergency stop and rollback procedures.

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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (6)

Tp4

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The declared description presents a comprehensive FOC learning guide with multiple advanced motor-control topics and accompanying materials. The supplied code, however, only implements a PI tuning tool for current and speed loops, plus optional discretization correction and Bode plotting. This is related to one small part of the description ('PI tuning script') but does not substantiate the broader declared purpose. Therefore the description materially overstates the code's scope and capabilities.

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.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest description and main content are written entirely in Chinese, and the file does not indicate that users may choose another language or that the skill is intentionally restricted to a Chinese-speaking region or audience. Under the policy, a language or locale constraint without user opt-in or clear justification is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill gives live motor-control tuning, flux-weakening, and PI adjustment guidance that could be applied directly to physical hardware without prominent safety constraints. In this context, unsafe tuning can cause overcurrent, overspeed, inverter stress, demagnetization, or mechanical damage, especially during flux-weakening and closed-loop parameter changes.

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.

Static analysis

No suspicious patterns detected.