Every add-on gets its own locked room.
Install an add-on for your air purifier, and you are running code written by someone you have never met. Artu assumes that one day, one of those add-ons will go bad. So each one is shut in on its own, where it can do its one job and nothing else.
- Can see
- its own settings only
- Can reach
- only what its device needs
- Passwords
- never another driver's
- If it breaks
- only it restarts
- Checked
- at start, every 5 minutes
Why add-ons are the weak spot
Artu talks to some devices directly. Others only work through a piece of code from their maker, or from a hobbyist who worked out how to talk to them. Artu runs that code in a small separate program called a driver: one driver per kind of device.
That code usually brings more code with it, often looked after by one volunteer in their spare time. If any piece of it is taken over, or a device sends it something it chokes on, a stranger's code is now running in your home. Nobody has to click anything for that to happen.
In Home Assistant, a community add-on for a device is code that runs inside Home Assistant itself, and it can do everything Home Assistant can.1 Researchers who studied Home Assistant in 2022 set out how one bad or buggy add-on could harm the hub itself and the other devices in the home.2
This is not only a worry on paper. In October 2026, Anthropic's researchers warned that AI software may soon copy itself from one home device to the next. Read Anthropic's research or The Verge report
So Artu does not ask whether a driver can be trusted. It asks what a bad one could reach, and makes the answer as small as it can.
If you have ever installed an add-on because a forum post said it fixed something: this page is for you. No judgement. Well, a little.
What a bad driver cannot do
The Pi's own operating system holds the locks, not the driver. A driver cannot unlock its own door.
Read anyone else's passwords
Each driver starts as a brand-new, empty user that owns nothing. It is handed its own settings and nothing more. Your other devices' passwords and Artu's own settings are locked away from it.
Talk to other drivers, or boss Artu around
Only Artu can talk to a driver. One driver cannot reach another, so a bad one cannot send commands through its neighbours.
Go where its device does not need it
A driver for a device in your home can reach your home network, and not the internet. A driver for a device that only works through its maker's cloud can reach the internet, and not your home network. None of them can reach the Pi itself. If a driver's settings are missing or broken, it gets no network at all, not all of it.
Take the house down with it
Each driver gets a small, fixed share of memory and processing power. If it grabs more memory than its share, only that driver is stopped and restarted; if it spins, it only slows itself down. Your other devices carry on, and Artu shows the one device as not responding until it is back.
Open doors it never asked for
Coming later: an extra lock that limits each driver to the files and connections it declared up front. It needs a version of Linux built with one feature that the Raspberry Pi's standard version leaves out, so it waits until that version is built.
Artu checks the locks, it does not just hope
Before every start
Before a driver starts, Artu checks that its locks are exactly the ones you approved.
Why: If anything has changed, the driver does not start.
Every five minutes
Artu tests that the network locks really hold, at start-up and every five minutes after.
Why: If a test fails, Artu stops every driver within about six and a half minutes, and starts none until it is fixed.
Loosening is never an accident
Giving a driver more reach than it asked for takes a deliberate extra line in its settings.
Why: Nobody opens a door by mistake, and anyone looking can see which doors were opened.
One chatty driver cannot drown out the rest
Each driver may only send Artu so much at a time.
Why: A driver gone wrong cannot bury Artu in messages and slow every other device down.
Ask what a driver may do
One command lists exactly what a driver is allowed to reach, and where your settings gave it more than its default.
Why: You can see a driver's permissions without reading a line of its code.
No exceptions for any language
A driver written in Python gets the same locks as one written in anything else.
Why: How a driver was written never decides how far it can reach.
What this cannot protect you from
A bad driver can still do these, most serious first. Locks make a break-in smaller, not impossible.
| A bad driver can still | What that means |
|---|---|
| 1. Leak its own device's login | A driver for a cloud-connected device can reach the whole internet, so it can send that device's account details anywhere. It still cannot see any other device's. Limiting it to the maker's own servers is planned, not built. |
| 2. Reach other devices at home | A driver for a device in your home can reach your whole home network, including your router. Locking it to just its own device would break whenever your router gave that device a new address. |
| 3. Sneak data out through name lookups | Drivers need to look up names on the network, a bit like a phone book. Those lookups can be abused to carry small amounts of data out. |
| 4. Lie about its device | A driver can tell Artu the door is locked when it is not. No lock on the driver can catch a lie about the outside world. Rules for this inside Artu are a separate plan. |
| 5. Break Linux itself | A flaw in Linux itself could get around every lock. Artu blocks the riskiest requests a driver could make, which shrinks this risk but cannot remove it. |
Bluetooth devices cannot have a driver yet. The only way in to Bluetooth on the Pi opens up far more than Bluetooth, so Artu does not hand it out.
Where this stands
Built and tested, but not yet running in a real home.
Done
- The first four locks and every check above are built, and pass their tests on a test copy of the Pi's operating system.
- The extra lock from point 5 is built and passes there too.
Not done yet
- Installing all of this on the Raspberry Pi and testing it there.
- The version of Linux the extra lock needs on the Pi. The build instructions are written; it has not been built yet.
The technical details, for the person who sets Artu up, are under the hood.