Back to skill

Security audit

第一阶段:批量筛选简历

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly does what it claims, but it tells the agent to delete prior HR report files with broad wildcard shell commands without clear confirmation or containment.

Review before installing. Use only in an approved local HR workspace, avoid shared or synced folders unless intended, and do not allow automatic regeneration to run the rm -f cleanup commands without confirming the exact directory and files. Prefer versioned report outputs over deletion. Also verify that the scoring keywords and weights match the actual role before relying on rankings.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • 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 (7)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
99% confidence
Finding

The command rm -f /目标目录/简历筛选报告*.xlsx is a destructive filesystem operation using a wildcard and a variable target directory. If the directory is misresolved, attacker-influenced, or broader than intended, the agent could delete unrelated files without confirmation.

Content

Scanner excerpt · SKILL.md (reported line 526)May include surrounding context.

步骤1:删除旧文件

bash
# 删除该目录下所有之前生成的筛选报告文件
rm -f /目标目录/简历筛选报告*.xlsx
rm -f /目标目录/面试邀请名单*.xlsx
rm -f /目标目录/候选人详细评分依据*.xlsx

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
99% confidence
Finding

The command rm -f /目标目录/面试邀请名单*.xlsx performs wildcard deletion in a user-referenced directory, creating risk of unintended data loss. In an automated agent context, this is especially dangerous because there may be no interactive safeguard to catch an over-broad path or naming collision.

Content

Scanner excerpt · SKILL.md (reported line 527)May include surrounding context.

bash
# 删除该目录下所有之前生成的筛选报告文件
rm -f /目标目录/简历筛选报告*.xlsx
rm -f /目标目录/面试邀请名单*.xlsx
rm -f /目标目录/候选人详细评分依据*.xlsx

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
99% confidence
Finding

The command rm -f /目标目录/候选人详细评分依据*.xlsx can erase detailed candidate assessment files based on a broad filename pattern. Because these files contain sensitive HR data, accidental deletion can cause both operational disruption and potential compliance issues around record handling.

Content

Scanner excerpt · SKILL.md (reported line 528)May include surrounding context.

删除该目录下所有之前生成的筛选报告文件

rm -f /目标目录/简历筛选报告*.xlsx rm -f /目标目录/面试邀请名单*.xlsx rm -f /目标目录/候选人详细评分依据*.xlsx

text

### 步骤2:使用验证过的评分数据

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill processes highly sensitive resume data and writes output files, while elsewhere also recommending deletion of prior files, but it provides no user-facing privacy notice, retention policy, or warning about destructive operations. In practice this can lead to unintended exposure of personal data or accidental loss of prior screening artifacts in shared or synced directories.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

The file explicitly centers on Chinese resume parsing and includes Chinese-specific implementation requirements, such as mandatory use of tools for Chinese PDF extraction and Chinese naming assumptions. There is no indication that users can opt for another language or locale, which constitutes a language/locale policy issue under the specified rule.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

Line L510 states the skill is applicable to any industry or function and does not preset specific industry vocabulary. However, the documented extraction and scoring logic hardcodes numerous semiconductor, hardware, AI, and market-role keywords, which directly contradicts that claim and biases behavior toward particular domains.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill embeds shell-based deletion commands that are not essential to the core resume-screening logic and instruct deletion using a broad user-supplied target directory with wildcards. In an agent setting, this creates a real risk of destructive file operations if the path is incorrect, over-broad, or influenced by untrusted input.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.