T09 · Insecure Skill Coding Practices
- Location
SKILL.md:82- Finding
Plaintext Model API Communication with Mandatory Proxy Bypass
- Content
View full analysis
' os.environ['no_proxy'] = '' url = 'http://:/v1/chat/completions' response = HttpInterface(url, prompt, images=[image_path], no_think=True) ``` ### Technical Analysis The Skill directs the Agent to transmit user-provided images and prompts to a model API over plaintext HTTP. HTTP provides neither transport confidentiality nor cryptographic server authentication. Consequently, an attacker with network-path visibility could inspect requests or alter requests and responses. The instructions also require adding the model host to both `NO_PROXY` and `no_proxy`. This bypasses configured proxy infrastructure for that destination. In environments where proxies provide TLS enforcement, access control, monitoring, content inspection, or egress auditing, the prescribed bypass removes those controls. The endpoint is hard-coded to a private IP address in the complete example. A private address does not establish endpoint trust: the host could be compromised, reassigned, impersonated through network manipulation, or observed by another actor on the internal network. The package contains only `SKILL.md`; the referenced `i ...[truncated 1862 chars]- Remediation
View remediation
