T09 · Insecure Skill Coding Practices
- Location
tencentmap-jsapi-gl-skill/scripts/save_config.py:54- Finding
Sensitive credentials and personal data are exposed through command-line arguments and insecure plaintext storage
- Content
View full analysis
3 else "" ``` The workflow explicitly places credentials in command arguments: ```bash python3 scripts/create_key.py python3 scripts/supplement_key.py reuse python3 scripts/save_config.py ``` ### Technical Analysis The workflow handles several sensitive values: - A user's phone number - A six-digit SMS verification code - A short-lived session token - A short-lived supplement token - A Tencent Maps API key Passing these values through `sys.argv` exposes them to any system facility that records or can inspect process command lines. Depending on the execution environment, this may include process-monitoring tools, audit ...[truncated 2420 chars]- Remediation
View remediation
