Back to skill

Security audit

feishu-doc-write

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only Feishu/Lark writing helper with purpose-aligned API examples and no hidden execution or persistence.

Installers should treat Feishu app_secret and access tokens as sensitive: use environment variables or a secret manager, avoid pasting real secrets into shared logs or shell history, and only use the skill with Feishu documents and folders the user intends to modify.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

Authentication

bash
curl -X POST 'https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal' \
  -H 'Content-Type: application/json' \
  -d '{ "app_id": "<app_id>", "app_secret": "<app_secret>" }'

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file documents an authentication flow that requires app_id and app_secret, which are sensitive credentials. The section provides the exact request format but does not include any warning about storing, redacting, or avoiding exposure of these secrets in logs, shell history, or shared examples.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.