Back to skill

Security audit

multi-agent-collab

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly does what it says, but its learning helper can persist user-provided notes and preferences into caller-selected directories without clear bounds.

Review before installing if you do not want a skill to keep local learning history. Avoid passing untrusted directories to learner.py, do not store secrets in notes or preferences, and inspect or remove learned_patterns.json if you want to clear retained state.

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/learner.py:62
Finding

Symlink-Following Arbitrary File Overwrite in Learning-State Persistence

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (9)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

This is a strong description-behavior mismatch: the skill claims multi-agent orchestration, but analysis indicates undeclared persistence and learning-related data collection features instead. Hidden behavior is dangerous because users and reviewers may grant trust based on the declared purpose while the implementation stores local data and performs additional analysis outside the documented contract.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
87% confidence
Finding

The skill advertises orchestration behavior but does not declare any tool scope despite detected file-write capability. Undeclared write access weakens reviewability and can enable unexpected local state changes, persistence, or tampering that callers did not consent to.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The manifest description and main heading/body are written entirely in Chinese, with no indication that users may choose another language or that the skill is intentionally limited to a Chinese-speaking 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.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The script accepts an arbitrary path or skill name, resolves it, and then reads/writes learned_patterns.json under that directory with no confinement to the current skill. In a multi-agent skill ecosystem, this enables cross-skill state modification and unintended persistence in attacker-chosen directories if another component passes untrusted input, weakening isolation boundaries between skills.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module persistently stores free-form notes and user preferences to disk without any minimization, redaction, retention policy, or consent prompt. In practice, notes and preferences can easily contain secrets, personal data, internal prompts, or operational context that later becomes readable by other local components or exposed through backups and logs.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

This code file contains user-facing natural-language documentation and usage/help text exclusively in Chinese, with no indication that users may choose another language. Under the policy rule for language/locale, forcing a specific 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
90% confidence
Finding

The printed usage string is a direct user-facing interaction and is only available in Chinese. Because the file does not offer locale selection or clearly justify a Chinese-only constraint, this appears to force a specific language on users.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

The documentation frames the module as a neutral learning component that only records usage, preferences, insights, and reflection. In practice, resolve_skill_dir allows operating on arbitrary skill directories, and self_reflect generates advice to write experience back into the skill's SKILL.md, which goes beyond the narrow 'only records' framing in the docstring.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

Natural-language policy violations include forcing a specific language or locale without offering a choice. Here, the module docstring and CLI-facing messages are entirely in Chinese, with no indication that the user can select another language or that the skill is intentionally region-specific.

Content

No source excerpt is available for this finding.