Back to skill

Security audit

Feishu Doc Write

Security checks for vulnerabilities and agentic risk

Overview

This documentation-only skill explains how to write content to Feishu/Lark documents; its API and credential use fit that purpose, but users should protect their Feishu app secret.

Install only if you intend to let the agent help write to Feishu/Lark documents. Provide credentials through a secure secret mechanism, verify the target document or folder before writes, and avoid pasting app secrets into chat or committing them to files.

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
81% confidence
Finding

This markdown file documents an authentication flow using app_id and app_secret, which are sensitive credentials, but it does not include any caution about secure storage, avoiding accidental exposure, or not hardcoding secrets. Under the markdown criteria for missing user warnings, credential-handling behavior that could affect privacy or system integrity should be accompanied by a warning.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.