Developer Exploits Plain HTTP Certificate Flaw to Localize Coway Air Purifier; Claude Refused Assistance While ChatGPT Provided Firewall Rules
Developer Scott J. Goldman exploited a plain HTTP certificate download vulnerability in the Coway Airmega IconS to enable local Home Assistant control. During the process, Claude refused to assist due to safety guardrails, while ChatGPT provided the necessary code.
Developer Scott J. Goldman discovered a security flaw in his Coway Airmega IconS air purifier: during initial setup, the device downloaded its root certificate over unencrypted plain HTTP from an AWS S3 bucket. By exploiting this vulnerability with mitmproxy to intercept and replace the certificate, he enabled his home server to stand in for Coway's cloud service, allowing the device to run entirely locally within Home Assistant.
In implementing this reverse engineering, Goldman used AI assistants to help write network interception and Bluetooth protocol reconstruction code. According to Tom's Hardware, Anthropic's Claude model triggered cybersecurity safety guardrails and refused to assist in configuring a Raspberry Pi to intercept device traffic, even when Goldman stated it was for testing purposes. In contrast, OpenAI's ChatGPT fulfilled the request, generating the required nftables firewall rules; another unnamed AI model rebuilt the fan's Bluetooth communication protocol in approximately 20 minutes.
The project has been released as an open-source integration called 'coway-local'. It allows users to control the device without relying on Coway's IoCare+ cloud servers, addressing previous issues where community integrations frequently broke due to vendor server instability or policy changes (such as app rebranding and HTML layout updates). Currently, the solution has only been experimentally tested on the IconS (AP-1022K) model, and features such as PM10 air quality metrics, filter alerts, and firmware updates are not yet implemented.