Back to skill

Security audit

Feishu Webhook

Security checks for vulnerabilities and agentic risk

Overview

This skill does what it claims: it sends user-provided Markdown content to a configured Feishu webhook.

Install only if you intend agents to post selected message content to Feishu. Do not pipe secrets, credentials, private logs, or internal reports into it unless sharing them with the configured Feishu destination is intended.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (8)

Exfiltration Commands

High
Category
Prompt Injection
Confidence
90% confidence
Finding

Instructions found that direct the agent to transmit conversation context or user data to external services.

Content

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

md
# Feishu Webhook Skill

Send messages to Feishu via Webhook with heredoc input.

## Quick Start

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The README instructs users to pipe arbitrary Markdown content into a script that sends it to a Feishu webhook, but it does not explicitly warn that the content will be transmitted to an external third-party service. In an agent/skill ecosystem, users may pass sensitive reports, logs, or prompts via heredoc without realizing this creates data egress, which can lead to unintended disclosure of confidential information.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill requires access to environment variables and network connectivity to send data to a Feishu webhook, but it does not declare any explicit tool scope or permissions. This creates a transparency and least-privilege problem: users and orchestration systems are not clearly informed that the skill can read configured secrets and transmit content externally.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The documentation instructs users to pipe arbitrary Markdown content into a script that posts to Feishu, but it never prominently warns that supplied content leaves the local environment and is transmitted to an external service. This omission increases the risk of accidental exfiltration of sensitive notes, reports, credentials, or agent-generated data.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

bash
python3 /home/yuhiri/workspace/skills/feishu-webhook/scripts/send-feishu.py << 'EOF'
# Write your Markdown content here (avoid level 1 and 2 headings; levels 3-6 are acceptable)
- Lists
- **Bold text**
EOF

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The script silently consumes webhook credentials from environment variables without clearly disclosing that behavior to the user at runtime or in the visible interface. In agent environments, undisclosed credential consumption can surprise operators and makes it easier to route data using ambient secrets the user did not realize the skill would access.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script reads arbitrary stdin content and posts it directly to an external Feishu webhook, but it provides no explicit warning, confirmation, destination display, or data-classification guardrail before transmission. In an agent setting, that creates a real exfiltration risk because sensitive prompts, reports, tokens, or internal output could be forwarded off-system with a single invocation.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The manifest frames this as a message-sending utility with heredoc input support, but the implementation also depends on environment-based credential/configuration access. While common in practice, reading secrets from environment variables is an additional capability not mentioned in the stated scope.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.