# Tuya Cloudcutter

> A tool that disconnects Tuya IoT devices from the cloud, allowing them to run completely locally.

Source: https://talira.ai/catalog/tuya-cloudcutter-v9bysp5j
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [home / automation / firmware flashers](https://talira.ai/categories/home/automation/firmware-flashers)
- Platforms: linux, docker[^1][^2]
- Licence: MIT[^3]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^1]
- Creator: Khaled Nassar and Tom Clement, who found the vulnerability

Tuya Cloudcutter exploits a wireless vulnerability in Tuya smart devices built on Beken BK7231T and BK7231N or Realtek RTL8710BN and RTL8720CF chips to jailbreak them over Wi-Fi, without opening the device or soldering. It can either detach a device from Tuya's cloud so it works locally, or flash third-party firmware (UG or UF2 files, with some common ones bundled) over the air. It runs from a script in a Docker container on a Linux machine, using a spare Wi-Fi adapter that it moves into the container, and picks a device profile for each model and firmware version. Devices whose firmware was built against Tuya's SDK patched in February 2022 can't be exploited and need serial flashing instead. The vulnerability and tooling come from Khaled Nassar and Tom Clement; MIT licensed.

## Links

- GitHub: https://github.com/tuya-cloudcutter/tuya-cloudcutter

## Problems it solves

- get my cheap Tuya smart plugs off the cloud so they work without internet
- flash custom firmware onto a smart bulb without opening it up or soldering
- I don't want my smart home devices phoning home to servers in another country
- put my Smart Life devices into Home Assistant locally instead of through Tuya's cloud
- jailbreak a Wi-Fi smart switch that has a Beken chip inside
- replace stock firmware over the air when the device has no serial pins I can reach

## Features

- detach Tuya devices from the cloud for local use
- flash third-party firmware over the air
- device profiles per model and firmware version
- runs in a Docker container that takes over a spare Wi-Fi adapter
- bundled common third-party firmware files

## Limitations

- Works only on Tuya devices with Beken BK7231T or BK7231N, or Realtek RTL8710BN or RTL8720CF chips, whose firmware predates Tuya's SDK patch of February 2022.[^1]
- Needs a non-virtualized Linux host with Docker, sudo and a separate Wi-Fi adapter that supports AP mode.[^1][^2]
- Once a device is cut from the cloud it can no longer be used with Tuya's apps and servers.[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.51 out of 1.
Signals: maintenance 0.63, adoption 0.66, momentum 0.47, community 0.57, backing 0.20, extensibility 0.20.

- last commit 22 days ago
- 5 commits in the last 90 days
- 2.0k GitHub stars
- 25 contributors
- created by Khaled Nassar and Tom Clement, who found the vulnerability

## Sources

[^1]: https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/README.md (checked 23 Nov 2026)
[^2]: https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/INSTRUCTIONS.md (checked 23 Nov 2026)
[^3]: https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/LICENSE (checked 23 Nov 2026)
