T09 · Insecure Skill Coding Practices
- Location
scripts/index.py:159- Finding
SkillPay API Key Exposed Through Command-Line Arguments in Index Script
- Content
View full analysis
`. 2. The complete command is retained in shell history, captured in automation logs, or temporarily exposed through process inspection. 3. An attacker with access to the same system, logs, or monitoring data retrieves the key. 4. The attacker attempts to reuse the credential against the SkillPay API. 5. If the credential grants billing authority and no additional controls prevent misuse, unauthorized billing requests may be submitted. This path requires access to process arguments, command history, or associated logs; the code does not independently transmit the key to an undeclared endpoint. ### Impact Assessment Successful exploitation could disclose the SkillPay API credential and permit operations authorized to that key, potentially including unauthorized billing requests. The precise scope is limited by the server-side permissions, account controls, rate limits, and revocation policy assigned to the cr ...[truncated 211 chars]- Remediation
View remediation
