other
Warning
- Location
- SKILL.md:27
- Finding
- Potential Disclosure of Sensitive Security Reports to an External Service<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md`, lines 27–39 **Vulnerability Type**: External transmission of potentially sensitive files without documented safeguards **Risk Level**: Medium ### Complete Code Snippet ```bash curl -X POST https://portal.toolweb.in/apis/security/mitre-attack-mapper/map-technique \ -H "X-API-Key: YOUR_API_KEY" \ -F "file=@incident_report.pdf" ``` ### Option 3 — Text + File Combined ```bash curl -X POST https://portal.toolweb.in/apis/security/mitre-attack-mapper/map-technique \ -H "X-API-Key: YOUR_API_KEY" \ -F "input=Focus on lateral movement and credential access techniques" \ -F "file=@threat_intel_report.txt" ``` ### Technical Analysis The documented workflow directs users or an AI agent to upload local incident reports and threat-intelligence documents to `portal.toolweb.in`, an external service. Elsewhere in the document, recommended upload types include incident-response reports, SIEM/EDR exports, penetration-test findings, and malware-analysis reports. These files may contain confidential hostnames, internal IP addresses, usernames, vulnerabilities, indicators of compromise, log records, or other incident evidence. The Skill does not require explicit approval immediately before transmission, recommend redaction, restrict eligible local paths, or document the external service's retention and privacy controls. Consequently, an agent following the instructions could transmit sensitive organizational data without the user fully understanding that the complete file leaves the local environment. The request also transmits an API key to the external endpoint as part of normal authentication. This is operationally necessary for the documented API, but it makes the trustworthiness and transport security of the external service relevant to both the uploaded data and credential. ### Attack Path 1. A user asks the agent to map a local incident or threat-intelligence report to MITRE ATT&CK techniq ...[truncated 1418 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Require explicit, informed user confirmation immediately before transmitting any local file, clearly naming the destination domain and selected file. 2. Add a prominent warning that uploaded data leaves the local environment and may be processed or retained by a third party. 3. Classify and redact reports before upload, removing credentials, access tokens, personal data, internal hostnames, unnecessary IP addresses, and unrelated log content. 4. Restrict uploads to user-approved paths and expected file types; reject implicit selection of arbitrary local files. 5. Apply file-size limits and validate file content rather than relying only on filename extensions. 6. Document the service's privacy policy, retention period, deletion process, subprocessors, geographic processing locations, and access controls. 7. Use narrowly scoped, revocable API keys stored in a secret manager. Never embed real keys in Skill content, command history, logs, or generated output. 8. Provide a local or self-hosted processing option for confidential incident data. 9. Minimize transmitted information by preferring a sanitized text extract over the complete source document whenever possible. 10. Record an auditable consent event containing the destination and file identity, but never the report contents or API key. ]]>
