Back to skill

Security audit

Iterative Loop - 迭代循环机制

Security checks for vulnerabilities and agentic risk

Overview

This skill is a bounded iterative-loop helper that writes a local state file and does not show hidden execution, credential access, network use, or destructive behavior.

Install only if you want a Chinese-documented loop controller for iterative tasks. Set a clear max iteration count, choose state-file locations intentionally, and review or delete loop-state.json when it may contain sensitive project information.

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
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill instructions and examples are presented entirely in Chinese, which can constitute a language-policy issue when a specific language is effectively imposed without user opt-in. The file does not indicate that the skill is region-specific or offer an alternative language path, so the locale constraint is not clearly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This code file contains its primary natural-language documentation, usage guidance, and user-facing descriptions entirely in Chinese. Under the policy, forcing a specific language without user opt-in or a documented regional justification is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

This markdown file describes creating and updating a persistent state file containing task name, iteration history, summaries, artifacts, and metadata, but it does not provide a user-facing warning about potential storage of sensitive project information on disk. Because SQP-2 applies to markdown files when behaviors could affect user data or privacy, the persistence behavior should be explicitly disclosed as a caution rather than only described operationally.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

This markdown file contains all instructional content in a single language and does not indicate that users may choose another language or that the skill is intentionally region-specific. Under the policy rule, forcing one language without opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The JSON template sets the default task name to the Chinese string "任务名称". Because this file is a general template rather than a clearly region-specific artifact, hard-coding a single language can conflict with language/locale policy expectations when no user opt-in or alternative is indicated.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.