Context-Inappropriate Capability
Medium
- Confidence
- 93% confidence
- Finding
- The script generates an AGENT.md that grants broad capabilities including exec, read/write/edit, and Feishu document/chat operations, which exceed the narrowly described task of creating agents and binding a chat. This violates least privilege and can materially increase blast radius if the generated HR agent is compromised, misused, or prompted into unsafe actions.
