T09 · Insecure Skill Coding Practices
- Location
SKILL.md:86- Finding
Hard-Coded Alert Recipient May Cause Unauthorized Lead Data Disclosure
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 86–89
Vulnerability Type: Hard-coded, unexplained recipient for sensitive lead alerts
Risk Level: MediumVulnerable Code Snippet:
markdown **🔥 HOT (80-100) — Contact immediately** - Strong fit, high engagement, decision maker - Draft personalized outreach now - Alert Stephen immediatelyTechnical Analysis
The skill explicitly instructs the agent to alert a named individual, “Stephen,” whenever a lead is classified as hot. This recipient is hard-coded independently of the user-configured delivery channel and is not identified as an authorized user, administrator, or sales representative.
Lead alerts may contain personal and commercially sensitive information, including names, email addresses, employers, job titles, engagement history, inferred budget signals, and qualification assessments. If the agent has access to email, messaging, or CRM integrations, it could interpret this instruction as authorization to send that information to a recipient who was not approved by the user.
The issue violates least-disclosure principles and creates an insecure configuration path. The instruction does not itself provide contact information or guarantee that transmission will occur, but an environment that can resolve “Stephen” through contacts, organizational directories, prior context, or connected services may act on it.
Attack Path
- A user configures a lead source and an outbound notification channel.
- The skill imports lead records containing personal or commercially sensitive data.
- A lead receives a score of 80 or higher and is classified as
HOT. - The agent processes the instruction
Alert Stephen immediately. - The agent resolves “Stephen” using available contacts, prior context, or a connected messaging service.
- Lead details are transmitted without verifying that this recipient was explicitly authorized by the user. ...[truncated 579 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace the hard-coded recipient instruction with an authorization-bound directive, such as:
Alert only recipients explicitly configured and approved by the user. - Require explicit confirmation before sending the first alert to any newly configured recipient.
- Store recipients in a documented configuration field rather than embedding personal names in skill instructions.
- Validate outbound recipients against an allowlist controlled by the user or organization.
- Apply data minimization by excluding email addresses, engagement details, budget signals, and other PII unless required.
- Record the destination, disclosed fields, approval event, and delivery result in an audit log.
- If no authorized recipient is configured, present the alert only in the current session and do not transmit it externally.
- Replace the hard-coded recipient instruction with an authorization-bound directive, such as:
