T09 · Insecure Skill Coding Practices
- Location
SKILL.md:117- Finding
Candidate Data Exported to Feishu Without Explicit Approval or Destination Validation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 117-134
Vulnerability Type: Uncontrolled external transfer of candidate information
Risk Level: MediumRelevant source excerpt translated into English:
markdown ### Workflow 2: Unread Message Processing, Filtering Conditions, and Feishu Report Target page: /web/chat/index Input: Filtering conditions such as position, experience, education, salary, and region Output: Markdown screening report to a Feishu document Core workflow: 1. Initialize the browser and locate the BOSS Zhipin tab. 2. Navigate to all unread communications. 3. Extract candidate information, including name, time, unread count, position, and message summary. 4. For every candidate: - Enter the conversation, read messages, view resume details, and close the dialog. - If the candidate does not satisfy the conditions, record the reason and skip. - If a resume was sent, receive and download it; otherwise, request it. 5. Generate a Markdown report containing accepted candidates, rejected candidates, and statistics. 6. Import the report into Feishu using the feishu-cli-import skill. 7. Report the processing summary.Technical Analysis
The workflow accesses candidate messages and resume information through the user's authenticated BOSS Zhipin session, generates a structured report, and then transfers that report to Feishu. It does not require an explicit confirmation immediately before export, identify or validate the target Feishu tenant and document, present a redacted preview, or define which candidate fields may be exported.
Candidate messages, resume details, screening outcomes, and rejection reasons constitute sensitive recruitment and personal information. Automatically invoking another skill for the Feishu import extends the data flow beyond the original recruitment platform. Without destination validation and data-minimization requirements, ...[truncated 1782 chars]
- Remediation
View remediation
Remediation Suggestions
- Require explicit user approval immediately before any candidate data is downloaded or exported.
- Display a preview listing the exact fields, number of candidates, and destination before transfer.
- Validate and display the Feishu tenant, document identifier, owner, and intended access scope.
- Export only the minimum necessary fields; exclude message bodies and resume contents by default.
- Redact direct identifiers unless the user explicitly authorizes their inclusion.
- Separate screening from export so that generating a local summary does not automatically trigger Feishu import.
- Define secure storage, access-control, retention, and deletion requirements for downloaded resumes and generated reports.
- Require a second confirmation before invoking
feishu-cli-import. - Record an audit log of approved fields, destination, time, and transfer result without logging resume contents.
- Treat unavailable or unverifiable destination information as a mandatory stop condition.
