T05 · Unauthorized Access and Privilege Escalation
- Location
lib/notification_system.py:75- Finding
Automatic Cross-Skill Credential Discovery Enables Confused-Deputy Message Delivery
- Content
View full analysis
Dict: if config_file: with open(config_file, 'r', encoding='utf-8') as f: return json.load(f) default_paths = [ '/home/admin/.openclaw/workspace/.config/feishu-notification.json', '/home/admin/.openclaw/credentials/feishu-config.json', '/home/admin/.openclaw/credentials/feishu-pairing.json' ] config = {} for path in default_paths: if Path(path).exists(): with open(path, 'r', encoding='utf-8') as f: config.update(json.load(f)) if not config.get('app') and not config.get('webhook'): openclaw_feishu_paths = [ '/home/admin/.openclaw/workspace/.config/python-learning-state.json', '/home/admin/.openclaw/credentials/feishu-default-allowFrom.json', '/home/admin/.openclaw/credentials/feishu-pairing.json' ] for path in openclaw_feishu_paths: if Path(path).exists(): with open(path, 'r', encoding='utf-8') as f: openclaw_config = json.load(f) if 'appSecret' in openclaw_config: if 'app' not in config: config['app'] = {} config[ ...[truncated 4187 chars]- Remediation
View remediation
