T09 · Insecure Skill Coding Practices
- Location
references/audio-library.md:15- Finding
Therapeutic Audio Resources Are Delivered over Unencrypted HTTP
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:219;references/audio-library.md:15-17, 27-29, 39-41, 51-53, 70
Vulnerability Type: Plaintext transport of health-related audio resources
Risk Level: MediumVulnerable Code Snippet
SKILL.md:219:markdown > URL prefix: `http://hc.com/cusresources/sleepAudio/`references/audio-library.md:15-17:markdown | Mild | 30min | http://hc.com/cusresources/sleepAudio/bw_general_sleep_pre_30min_mil.mp3 | | Moderate | 30min | http://hc.com/cusresources/sleepAudio/bw_general_sleep_pre_30min_mod.mp3 | | Severe | 30min | http://hc.com/cusresources/sleepAudio/bw_general_sleep_pre_30min_sev.mp3 |references/audio-library.md:27-29:markdown | Mild | 15min | http://hc.com/cusresources/sleepAudio/bw_soi_sleep_pre_15min_mil.mp3 | | Moderate | 15min | http://hc.com/cusresources/sleepAudio/bw_soi_sleep_pre_15min_mod.mp3 | | Severe | 30min | http://hc.com/cusresources/sleepAudio/bw_soi_sleep_pre_30min_sev.mp3 |references/audio-library.md:39-41:markdown | Mild | 30min | http://hc.com/cusresources/sleepAudio/bw_fna_sleep_pre_30min_mil.mp3 | | Moderate | 30min | http://hc.com/cusresources/sleepAudio/bw_fna_sleep_pre_30min_mod.mp3 | | Severe | 45min | http://hc.com/cusresources/sleepAudio/bw_fna_sleep_pre_45min_sev.mp3 |references/audio-library.md:51-53:markdown | Mild | 15min | http://hc.com/cusresources/sleepAudio/bw_ema_sleep_pre_15min_mil.mp3 | | Moderate | 15min | http://hc.com/cusresources/sleepAudio/bw_ema_sleep_pre_15min_mod.mp3 | | Severe | 30min | http://hc.com/cusresources/sleepAudio/bw_ema_sleep_pre_30min_sev.mp3 |references/audio-library.md:70:markdown > Full URL prefix: `http://hc.com/cusresources/sleepAudio/`Technical Analysis
The Skill instructs the agent to provide users with health-related audio files over plaintext HTTP. HTTP does not provide transport encryption, server authentication, or response integrity. A network-positi ...[truncated 2616 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace every
http://audio URL with anhttps://URL served by a domain controlled and verified by the service operator. - Configure the audio server with a valid TLS certificate, modern TLS versions, and secure cipher suites.
- Redirect HTTP requests to HTTPS only as a migration measure; generate HTTPS links directly so the initial request is not exposed to interception.
- Enable HTTP Strict Transport Security after confirming that all required resources are available securely.
- Reject or avoid redirects to origins outside an explicit allowlist of trusted HTTPS domains.
- Validate the final response origin, expected media type, file size, and filename before treating the response as trusted audio.
- Consider publishing a signed manifest containing cryptographic hashes for the approved audio files. Clients capable of verification should reject files that do not match the expected digest.
- Avoid embedding symptom and severity information directly in publicly visible filenames. Use opaque resource identifiers or short-lived signed URLs to reduce disclosure of inferred health information.
- Verify domain ownership and operational control before deployment, and document a process for certificate renewal, content integrity checks, and incident response.
- Add an automated repository check that fails validation when plaintext HTTP resource URLs are introduced.
- Replace every
