Back to skill

Security audit

AIOS 自改进 Agent

Security checks for vulnerabilities and agentic risk

Overview

The skill is a workspace memory tool with clear safety boundaries, but it can be invoked automatically and persist session-derived learnings without explicit per-write consent.

Review this before installing if the workspace may contain sensitive operational details. The skill should only write sanitized summaries under the current workspace’s `.learnings/`, but users or administrators should consider disabling implicit invocation or requiring explicit save requests for privacy-sensitive agents.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill’s natural-language instructions and description are entirely in Chinese, and there is no indication that users may choose another language or that the skill is intentionally restricted to a Chinese-speaking or region-specific context. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The default_prompt is broad enough to trigger on common situations like recording corrections, failures, or reusable experience, which can cause the skill to activate in contexts the user did not explicitly request. Because this skill writes persistent data in the workspace, unintended activation can lead to over-collection of conversation content, incorrect memory formation, or silent persistence of sensitive operational details.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Enabling implicit invocation without narrow constraints allows the platform to auto-select this skill in a wide range of workflows. In this skill's context, that is more dangerous because it performs writes to .learnings/ and may persist user corrections, command failures, or session-derived content without sufficiently explicit consent, creating privacy, integrity, and prompt-injection persistence risks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.