T09 · Insecure Skill Coding Practices
- Location
scripts/flipper_cli.py:245- Finding
Documented confirmation controls are not enforced for high-risk operations
- Content
View full analysis
1 else '' risk = classify_risk('storage remove') result['risk'] = risk output = flipper.send_command(f'storage remove {path}') ``` USB SubGHz transmission paths in `scripts/flipper_cli.py:277-300`: ```python elif subcmd == 'tx': if len(args) < 5: result = {"status": "error", "message": "subghz tx requires "} else: device = args[5] if len(args) > 5 else '0' risk = classify_risk('subghz tx') result['risk'] = risk cmd = f'subghz tx {args[1]} {args[2]} {args[3]} {args[4]} {device}' output = flipper.send_command(cmd, wait=3) result['output'] = output elif subcmd == 'tx_from_file': if len(args) < 2: result = {"status": "error", "message": "subghz tx_from_file requires "} else: path = args[1] ...[truncated 3283 chars]- Remediation
View remediation
