Back to skill

Security audit

VC Python 3 API 全网最全解读

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only Visual Components Python API guide with simulation-control examples, not an auto-running or hidden-control skill.

Installers should treat this as a Chinese-language reference guide. Review and test any copied Visual Components scripts in a non-critical simulation layout first, especially examples that start motors, move robots, or run production-line loops.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Natural-Language Policy Violations

Medium
Confidence
92% confidence
Finding
The file presents the skill documentation entirely in Chinese, beginning with a Chinese-only title and description, with no indication that other languages are supported or that Chinese is required for a region-specific purpose. This can violate a language/locale policy when users are not given an explicit language choice or opt-in.

Unbounded Resource Access

Medium
Category
Excessive Agency
Content
**语法:**
```python
await vc.condition(conditional, timeout=0, waitTrigger=False)
```

**参数:**
Confidence
75% confidence
Finding
Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.

Missing User Warnings

Low
Confidence
78% confidence
Finding
This markdown file includes operational examples that start motors, move AGVs, and control a production line, but the surrounding documentation does not warn users that running such scripts can change simulation state and component behavior. For markdown files, SQP-2 applies when descriptions omit warnings about behaviors that could affect user data or system integrity; here the examples alter simulation/control state without any cautionary note.

Static analysis

No suspicious patterns detected.