T09 · Insecure Skill Coding Practices
- Location
scripts/run_huisheng.sh:174- Finding
Bearer Token Exposed Through Process Command-Line Arguments
- Content
View full analysis
/cmdline`. The risk is especially relevant in shared execution environments where multiple workloads run under the same operating-system account. TLS protects the token while it is transmitted to the API, but it does not prevent local disclosure through process metadata. ### Attack Path 1. A user invokes an authenticated command such as `list-feeds`, `create-feed`, or `delete-episode`. 2. The script launches curl with `Authorization: Bearer ` in its argument vector. 3. While curl is running, a concurrent local process with sufficient process-inspection privileges reads its command-line arguments. 4. The process extracts the bearer token from the authorization header. 5. The attacker reuses the token to send requests to `https://huisheng.fm/api`. ### Impact Assessment Successful exploitation exposes the user's personal huisheng.fm API bearer token. The att ...[truncated 420 chars]- Remediation
View remediation
