back home

pointing an ai agent at a cheap tv stick

AI agents are starting to cover very specific needs, far from the usual ones like building websites or writing emails. This is a small test of that, one of the thousands of uses that will keep showing up.

fighting the environment

Before finding anything interesting, the agent had to get its own tools working. Calling adb from PowerShell hung the shell now and then, so it wrapped every call in a small helper. Then pipes and quotes started getting lost on the way to the device, so it moved to writing shell scripts, pushing them to the stick and running them there. Those failed too, because of Windows line endings, until it switched them to Unix ones. It wrote each of these gotchas down as it went.

the audit

The agent didn't use a debloat list. It went after privileges: which apps run with the same identity as the OS, what they're allowed to do, who installed what, and which of them were talking to the internet.

Along the way it found that the firmware lies. It claims to be Android 14.1, but it's actually Android 10. It reports 256 GB of memory on a 1 GB device. And it's a debug build that gives out root over ADB, with every vendor app running as system.

what it found

The first thing it found was a residential proxy SDK running as system. A package called com.hopper.rsshub.stb presented itself as an RSS reader. The agent found hardcoded domains belonging to Luminati (now Bright Data), a commercial residential proxy network, plus daily and monthly traffic limits and a configured exit proxy. It also had a hidden process talking to servers on Vultr, DigitalOcean and AWS.

The stick was set up to act as an exit node, so third parties could route traffic through my home connection. And since it ran as system, it could also install apps, reboot the device or wipe it.

someone paying for proxies

scrapers, bots, anyone

the proxy network

luminati / bright data

the tv stick

on my home network

the website

sees my home ip

strangers' traffic, leaving through my connection

The second was a silent installer that comes back. com.android.netservice downloads apps and installs them without asking. It was installed as an update on top of a copy baked into the read-only system partition, so uninstalling it just brings the original back. The agent removed the update and disabled the original too.

the cleanup

  1. Back up everything before touching it.
  2. Wipe the proxy app's data, then uninstall it along with 7 other packages from the same bundle.
  3. Neutralize the silent installer and disable about a dozen vendor apps.
  4. Install Projectivy as the new launcher.
  5. Reboot and verify nothing came back.

Free memory went from about 75 MB to about 450 MB.

what it didn't do

It didn't touch the system partition, since removing the installer for good meant risking bricking the device. It didn't call the device clean either: the base firmware is still the vendor's, and a factory reset would undo a big part of the work. And it listed what was still risky, starting with ADB being reachable from the network.

Next time you open an AI tool for the usual stuff, try pointing it at something else. It can be pretty fun, and interesting.