T09 · Insecure Skill Coding Practices
- Location
SKILL.md:48- Finding
Potential disclosure of sensitive campaign data to a configurable external endpoint
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 48-72
Vulnerability Type: Configurable external transmission of potentially sensitive data
Risk Level: MediumVulnerable Code
markdown Set these environment variables: ```bash LDM_API_BASE=https://check.live-direct-marketing.online LDM_API_KEY=your_ldm_api_key LDM_INBOX_THRESHOLD=70text ```markdown When the user asks to send or schedule outbound email: 1. Draft or collect the final subject, sender domain, sender mailbox, HTML/text body, links, and target provider mix. 2. Run the LDM preflight check. 3. If the result passes, summarize the result and continue. 4. If the result fails, do not send. Report the top deliverability risks and concrete changes. 5. After changes, run the check again before sending.Technical Analysis
The Skill instructs the Agent to collect the complete subject, sender identity, message body, links, and provider targeting before invoking an external deliverability service. The service endpoint is controlled through
LDM_API_BASE, but the reviewed files do not require origin allowlisting, HTTPS enforcement, redirect validation, payload minimization, or explicit approval before campaign information is transmitted.The affected information may include confidential recruiting messages, investor updates, partnership communications, deal-flow notifications, unpublished links, sender mailbox details, and other business context. Although using an external service is consistent with the declared purpose of the Skill, allowing the destination to be changed without documented validation creates an avoidable disclosure risk.
The package contains no executable implementation, so the exact HTTP payload and runtime validation behavior cannot be verified from this repository. Exploitation therefore depends on the host Agent or an external integration implementing the documented preflight workflow and using the ...[truncated 1598 chars]
- Remediation
View remediation
Remediation Suggestions
- Restrict
LDM_API_BASEto a documented allowlist of trusted HTTPS origins. - Reject non-HTTPS URLs, embedded credentials, unexpected ports, IP-literal destinations, and malformed endpoint values.
- Disable cross-origin redirects or validate every redirect destination against the same allowlist.
- Require explicit user confirmation before transmitting message bodies, sender identities, or private links to an external service.
- Document the exact fields transmitted, the service operator, retention period, deletion process, and applicable privacy policy.
- Minimize the payload by omitting recipient data and redacting personal information, credentials, tracking parameters, internal URLs, and unrelated message content.
- Add a local-only analysis mode for checks that do not require remote processing.
- Ensure the eventual implementation never logs API keys or complete campaign payloads and uses bounded request timeouts and certificate validation.
- Clearly warn users when a non-default endpoint has been configured.
- Restrict
