T09 · Insecure Skill Coding Practices
- Location
scripts/longarm.sh:47- Finding
Remote device control and bearer credentials may be transmitted over plaintext HTTP
- Content
View full analysis
:`, shown in longarm after the web server starts. - Optional bearer token: required only when longarm's "require token" setting is enabled. ``` ```bash export LONGARM_URL="http://192.168.1.50:8080" export LONGARM_TOKEN="la_xxxxx" # omit if token auth is disabled ``` The API reference similarly specifies: ```markdown Base URL: `http://:`. If token auth is enabled, send `Authorization: Bearer ` on every request. Missing or invalid tokens return `401`. ``` ### Technical Analysis The helper accepts any URL in `LONGARM_URL` and provides a plaintext HTTP URL as its recommended example. When `LONGARM_TOKEN` is set, the bearer credential is placed in an `Authorization` header without verifying that the connection uses TLS. Consequently, an HTTP deployment transmits the token, API request bodies, API responses, screenshots, device information, intent data, and batch automation inf ...[truncated 2192 chars]- Remediation
View remediation
