T09 · Insecure Skill Coding Practices
- Location
scripts/check_with_llm.py:134- Finding
Plaintext API Key Caching and Unvalidated Transmission Destination
- Content
View full analysis
Dict[str, Dict]: """扫描 OpenClaw 配置中的所有可用 provider""" config_path = Path.home() / ".openclaw" / "openclaw.json" if not config_path.exists(): return {} try: with open(config_path, "r", encoding="utf-8") as f: config = json.load(f) models_config = config.get("models", {}) providers = models_config.get("providers", {}) available = {} for provider_name, provider_config in providers.items(): if provider_config and provider_config.get("apiKey"): available[provider_name] = { ...[truncated 4353 chars]- Remediation
View remediation
