Back to skill

Security audit

Recruiting Skillset

Security checks for vulnerabilities and agentic risk

Overview

The recruiting workflow is coherent, but it tells the agent to directly update other skills from user feedback without clear review or limits.

Install only if you are comfortable with a recruiting assistant that may try to modify related skill files when feedback is given. Prefer using it in a workspace where skill edits require explicit human review, or treat its feedback-loop output as proposed changes rather than allowing direct writes.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
Findings (1)

T02 · Agent Memory Poisoning

Warning
Location
SKILL.md:130
Finding

Untrusted User Feedback Can Trigger Persistent Skill Modification

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 130, 205, and 219
Vulnerability Type: Persistent instruction poisoning through user-controlled feedback
Risk Level: Medium

Complete Vulnerable Snippets

Line 130:

text
用户指出可复用问题时,立即 patch 对应 Skill,并在该 Skill 的 `EVOLUTION.md` 中记录。

English translation:

text
When the user identifies a reusable issue, immediately patch the corresponding skill and record it in that skill's `EVOLUTION.md`.

Line 205:

text
| 反馈不回流 | 同类错误反复出现 | 立即 patch 对应 Skill + EVOLUTION |

English translation:

text
| Feedback is not incorporated | Similar errors recur | Immediately patch the corresponding skill and EVOLUTION log |

Line 219:

text
- [ ] 用户反馈已落到对应 Skill 的 `EVOLUTION.md`?

English translation:

text
- [ ] Has user feedback been written to the corresponding skill's `EVOLUTION.md`?

Technical Analysis

The skill treats conversational user feedback as sufficient authority to modify persistent skill instructions. The mandatory direction to “immediately patch” a related skill does not require trusted-owner approval, content validation, security review, path restrictions, or isolation of untrusted text.

An attacker could present adversarial instructions as reusable recruitment-process feedback. If an agent follows this workflow and has file-write access, attacker-influenced rules may be inserted into a related skill or its persistent evolution record. Those changes could then affect later invocations and users.

The vulnerable behavior depends on the executing agent possessing write access to the referenced skill files. The audited package itself contains no executable script that performs the write automatically, so exploitation is instruction-driven rather than direct code execution.

Attack Path

  1. An attacker invokes the skill in a recruitment-related conversation.
  2. The attacker characterizes a malicious or misleading rule as reusable process feedback.

...[truncated 1218 chars]

Remediation
View remediation

Remediation Suggestions

  1. Replace automatic modification with generation of a proposed patch or structured change request.
  2. Require explicit approval from a trusted skill owner before writing any change.
  3. Treat all conversational feedback as untrusted input and prohibit direct insertion into executable or authoritative instructions.
  4. Permit writes only to an allowlisted staging or proposal directory, not directly to active skill files.
  5. Validate proposed changes against system safety constraints and reject instructions that alter security boundaries, tool permissions, data-handling requirements, or unrelated behavior.
  6. Separate factual evolution notes from operative skill instructions so that log content cannot automatically become authoritative.
  7. Record the requester, reviewer, exact diff, timestamp, and justification for each accepted modification.
  8. Provide versioning and rollback so poisoned changes can be identified and reverted.
  9. Update the verification checklist to require authorization and review rather than merely checking whether feedback was persisted.
  10. Apply the same controls to all referenced specialist skills and their evolution logs.
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
88% confidence
Finding

The manifest description defines invocation examples entirely in Chinese, which signals a language-specific activation policy. The file does not state that Chinese is optional or provide a user opt-in/alternative language path, so it risks violating the language-choice policy.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
82% confidence
Finding

The operational instructions, workflow, outputs, and checklists are all specified in Chinese, but the skill does not say that this locale is required or let the user choose another language. That can amount to forcing a specific language for use of the skill.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The title and instructional text are entirely in Chinese, and the template presents that language choice as the default operating mode. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation unless the regional constraint is clearly justified, which is not stated here.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.