Back to skill

Security audit

feishu-public-table-monitor

Security checks for vulnerabilities and agentic risk

Overview

This skill is a clearly scoped public Feishu/Lark table monitor that avoids credentials and only stores local baseline snapshots.

Install this if you want an agent to monitor public Feishu/Lark tables and keep local baseline snapshots. Use a dedicated state directory, review any cron job before enabling it, and do not point it at private or login-required documents because the skill is designed to avoid credentials and authenticated access.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Credential Access

High
Category
Privilege Escalation
Confidence
80% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

md
- 仅适用于**无需登录即可访问**的飞书页面
- 依赖 Python 3.10+ 和 `requests`,缺少依赖时说明原因,不自动安装
- 只接受 `feishu.cn` / `larksuite.com` 及其子域的 HTTPS 链接;逐跳检查重定向及 DNS 公网地址,拒绝内嵌凭据与非 443 端口;不使用 `.netrc` 或环境代理凭据
- 会在指定章节附近优先定位包含“模型名称 / 倍率 / Tokens 价格”等字段的表格,避免误抓说明表
- 支持飞书公开文档大表分页补齐;如果页面结构大改,可能仍需要调整脚本
- 单元格未完整加载、重复模型 ID、游标循环或分页超过 20 页会退出失败,保留旧基线,不生成新增/下架通知

Credential Access

High
Category
Privilege Escalation
Confidence
80% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/monitor_feishu_price_table.py (reported line 87)May include surrounding context.

python
- 仅适用于**无需登录即可访问**的飞书页面
- 依赖 Python 3.10+ 和 `requests`,缺少依赖时说明原因,不自动安装
- 只接受 `feishu.cn` / `larksuite.com` 及其子域的 HTTPS 链接;逐跳检查重定向及 DNS 公网地址,拒绝内嵌凭据与非 443 端口;不使用 `.netrc` 或环境代理凭据
- 会在指定章节附近优先定位包含“模型名称 / 倍率 / Tokens 价格”等字段的表格,避免误抓说明表
- 支持飞书公开文档大表分页补齐;如果页面结构大改,可能仍需要调整脚本
- 单元格未完整加载、重复模型 ID、游标循环或分页超过 20 页会退出失败,保留旧基线,不生成新增/下架通知

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill clearly describes network access and local state file usage, but it does not declare any explicit tool scope such as permissions or allowed-tools. That creates a governance gap: an agent may invoke broader network or file capabilities than reviewers or runtime policy expect, increasing the risk of unintended data access or outbound requests. The surrounding skill text does include some safety constraints, which reduces suspicion of malicious intent, but undeclared capability remains a real security control weakness.

Content

No source excerpt is available for this finding.