# Security

> [!NOTE]
>
> Halaman ini belum diterjemahkan. Anda sedang membaca versi bahasa Inggris.

CashPilot runs closed-source apps from third parties on your own machines, on your own network, with logins to accounts that hold money. So security comes first in every design choice. This page is the start. It says what CashPilot never does, how it compares with other projects, and where to read more.

- [Threat model](<https://geiserx.github.io/CashPilot/id/threat-model/index.md>): what we protect, from whom, and the code that enforces each control.
- [Security defaults](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md>): what is always on, what you can change, and what each change costs.
- [Security layers](<https://geiserx.github.io/CashPilot/id/security-layers/index.md>): the socket proxy, the LAN fence, gVisor and the Secure VM, and how to add each one.
- [Network isolation](<https://geiserx.github.io/CashPilot/id/isolation/index.md>) and [Test your isolation](<https://geiserx.github.io/CashPilot/id/isolation-check/index.md>): how earners are kept off your LAN, and how to check it on your own box.
- [SECURITY.md](<https://github.com/GeiserX/CashPilot/blob/main/SECURITY.md>): how to report a vulnerability. Use [a private advisory](<https://github.com/GeiserX/CashPilot/security/advisories/new>), never a public issue.

## Banned by design

Each row is a decision we made on purpose. A pull request that adds one of them will be declined.

| CashPilot never | Why, and where it is enforced |
| --- | --- |
| Holds your keys, passwords or seeds on a server we run | Software on your machine is a different thing from a service that holds other people's secrets. Everything stays on your hardware ([SECURITY.md](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/SECURITY.md#what-cashpilot-will-never-do>)) |
| Offers key recovery | A recovery path we could run would mean we could decrypt your data. Back up `/data/.fernet_key` ([SECURITY.md](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/SECURITY.md#what-cashpilot-will-never-do>)) |
| Ships tooling to make one household look like several accounts | Providers that forbid it close accounts and keep the balance ([SECURITY.md](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/SECURITY.md#what-cashpilot-will-never-do>)) |
| Sends usage telemetry | The daily release check sends no identifier, only an `Accept` header, and `CASHPILOT_UPDATE_CHECK=off` stops it ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/update_check.py#L137-L138>), [security defaults](<https://geiserx.github.io/CashPilot/id/security-defaults/index.md#tier-1-always-on-not-configurable>)) |
| Runs a privileged container | The worker refuses it ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/worker_api.py#L2149-L2150>)), the deploy code fixes it to off ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/orchestrator.py#L1713-L1730>)), and the socket proxy refuses it too ([policy](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/docker-compose.yml#L322-L344>)) |
| Gives the worker the raw Docker socket, in the shipped compose files | A proxy holds the socket and filters every call the worker sends. The filtering is the control ([compose](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/docker-compose.yml#L139-L179>)). The Unraid and TrueNAS apps do not ship the proxy yet ([app stores](<https://geiserx.github.io/CashPilot/id/app-stores/index.md>)) |
| Adds a fee of its own, or mines for the maintainer | A miner mines to the wallet you enter ([example](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/services/mining/unmineable.yml#L59-L64>)). Every fee that the miner software or the pool takes must be in the catalog with a source, and CashPilot shows it before you deploy ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/catalog.py#L241-L253>)) |
| Sells a better rating | A provider's rating block has no grade, sponsor or featured field, and the loader refuses any key it does not know ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/ratings.py#L10-L36>)) |
| Hides how it earns | The only income is referral links, and each one is disclosed ([README](<https://github.com/GeiserX/CashPilot#support-cashpilot>)) |

## Security scorecard

This table compares CashPilot with four other open projects that run several passive income apps in Docker. Each cell about another project links to the file it comes from, at the commit we read on 2026-11-29. If a cell is wrong or out of date, please [open an issue](<https://github.com/GeiserX/CashPilot/issues>). The [full comparison](<https://geiserx.github.io/CashPilot/id/comparison/index.md>) covers more projects and more rows.

|  | CashPilot | money4band | income-generator (IGM) | InternetIncome | earning-machine |
| --- | --- | --- | --- | --- | --- |
| Commit read | `main` at `cd7d87e` (2026-11-29) | `main` at `de001e9` (2026-11-23), after release 5.1.2 | `main` at `65e900d` (2026-10-20) | `main` at `4ebf4b0` (2026-11-23) | `main` at `ddd8c8d` (2024-02-16), no commits since |
| Code you can read | All of it, GPL-3.0 | All of it, GPL-3.0 | The scripts and compose files. The installer downloads a closed binary ([installer](<https://github.com/XternA/income-generator/blob/662225aa9ca009a991d1c6247a369ef20adc6850/install.sh#L94-L119>)), and the licence forbids reverse engineering it to redistribute, integrate or host it ([licence](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/LICENSE#L77-L79>)) | One bash script, with no licence file | One compose file, GPL-3.0 |
| Logins at rest | Encrypted (Fernet) in the UI's database. By default the key file sits in the same data folder. `CASHPILOT_ENCRYPTION_KEY_FILE` moves it elsewhere ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/database.py#L52-L109>), [guide](<https://geiserx.github.io/CashPilot/id/encryption-key/index.md>)) | Encrypted (Fernet) in `user-config.json`. By default the key file sits in a `.m4b` folder in the install folder, apart from the config. `M4B_DATA_DIR` moves it elsewhere ([code](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/money4band/core/crypto.py#L20-L22>), [paths](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/money4band/core/paths.py#L68-L100>)) | Encrypted (AES-256 with openssl). The key file sits beside the vault ([code](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/scripts/encryptor.sh#L15-L22>)) | Plain text in `properties.conf` ([file](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/properties.conf#L24-L30>)) | Plain text, typed into `docker-compose.yml` ([file](<https://github.com/jf-m/earning-machine/blob/ddd8c8dd735fcbf65146e4fc90db220da0fc9bf3/docker-compose.yml#L20-L21>)) |
| Passwords in Docker's container config (`docker inspect`) | Yes by default. With `CASHPILOT_EARNER_SECRETS=file`, most are kept out ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/secret_env.py#L1-L25>)) | Yes, Honeygain's password is a command argument ([catalog](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/config/catalog/supported/HONEYGAIN.json#L7-L20>)) | Yes, as variables and as command flags ([compose](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/compose/compose.hosting.yml#L195>)) | Yes, as `docker run` arguments ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L986>)) | Yes, as command arguments ([file](<https://github.com/jf-m/earning-machine/blob/ddd8c8dd735fcbf65146e4fc90db220da0fc9bf3/docker-compose.yml#L20-L21>)) |
| App container limits | Every capability dropped except those the catalog grants, `no-new-privileges` and a process limit. Privileged mode refused ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/orchestrator.py#L1713-L1730>)) | `no-new-privileges` on every non-privileged app ([code](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/money4band/docker/compose_builder.py#L458-L461>)). The proxy container is privileged ([template](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/template/user-config.json#L51-L77>)) | None on the apps. The proxy container gets `NET_ADMIN` with `no-new-privileges` and a process limit ([compose](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/compose/compose.proxy.yml#L1-L20>)) | None. Ebesucher runs with `seccomp=unconfined` ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L559>)) | None |
| Who holds the Docker socket | Three holders. The worker goes through a filtering proxy with no network ([compose](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/docker-compose.yml#L139-L179>)). The one-shot `cashpilot-migrate` holds the raw socket as root while it runs, at every `docker compose up` ([compose](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/docker-compose.yml#L97-L128>)). The Unraid template and the TrueNAS app still give the worker the raw socket ([app stores](<https://geiserx.github.io/CashPilot/id/app-stores/index.md>)) | Watchtower, with the raw socket ([template](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/template/user-config.json#L78-L98>)) | Watchtower, with the raw socket, in a read-only container ([compose](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/compose/compose.yml#L1-L23>)) | Four restart helpers ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L535>), [2](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L604>), [3](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L671>), [4](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L1210>)) and Watchtower ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L1411-L1417>)), each with the raw socket | Watchtower, with the raw socket ([file](<https://github.com/jf-m/earning-machine/blob/ddd8c8dd735fcbf65146e4fc90db220da0fc9bf3/docker-compose.yml#L42-L59>)) |
| App image updates | Since v3.2.1, a daily check you set per fleet, box or app. It watches each new container for 2 minutes and starts the old one again if the new one fails ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/image_updates.py#L19-L30>)) | Watchtower every 4 hours ([template](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/template/user-config.json#L78-L98>)), on by default ([template](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/template/user-config.json#L25-L28>)) | Watchtower every 4 hours ([compose](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/compose/compose.yml#L1-L23>)) | Watchtower `:nightly` once a day, off by default ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L1411-L1417>), [config](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/properties.conf#L107>)) | Watchtower every 60 seconds, meant for PacketStream only. It names `earning-machine_psclient_1`, but the container is called `psclient`, so it updates nothing ([file](<https://github.com/jf-m/earning-machine/blob/ddd8c8dd735fcbf65146e4fc90db220da0fc9bf3/docker-compose.yml#L42-L59>)) |
| Image tags | Some earner images pinned by version or digest, and the rest follow a tag ([comparison](<https://geiserx.github.io/CashPilot/id/comparison/index.md#side-by-side>)) | 14 of its 15 apps use `:latest`, and URnetwork uses `:g4-latest` ([example](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/config/catalog/supported/HONEYGAIN.json#L7-L20>), [URnetwork](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/config/catalog/supported/URNETWORK.json#L7>)) | Mostly no tag, so Docker uses `latest` ([compose](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/compose/compose.hosting.yml>)). A few apps get a tag from `apps.json`, such as EarnApp's `:alpine` ([apps](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/apps.json#L12-L16>)) | Mostly `:latest` ([example](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L559>)). Watchtower uses `:nightly` ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L1411-L1417>)) | `:latest` or no tag, except EarnApp `:lite` ([file](<https://github.com/jf-m/earning-machine/blob/ddd8c8dd735fcbf65146e4fc90db220da0fc9bf3/docker-compose.yml#L7-L128>)) |
| LAN isolation | On by default for new installs: a firewall table drops your LAN, the host, your tailnet and cloud metadata ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/lan_fence.py#L106-L116>)) | Its own bridge subnet, which does not block the LAN ([config](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/config/m4b-config.json#L360-L364>)) | None | None | None. Its bridge uses `172.106.0.0/16`, which is public address space, not a private range ([file](<https://github.com/jf-m/earning-machine/blob/ddd8c8dd735fcbf65146e4fc90db220da0fc9bf3/docker-compose.yml#L138-L144>)) |
| Dashboard exposure | Bound to `127.0.0.1` by default ([compose](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/docker-compose.yml#L42-L43>)). The first account needs a setup token from the logs ([code](<https://github.com/GeiserX/CashPilot/blob/cd7d87e25109b2ac838cc56a742760e0c456aed5/app/deps.py#L177-L190>)) | Bound to `127.0.0.1` by default ([code](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/money4band/api/server.py#L613-L624>)) | Per its README, a web UI on port 4747 that the LAN can reach ([README](<https://github.com/XternA/income-generator/blob/65e900dcd4342ba011b7093e9800d300804c2f2e/README.md?plain=1#L79>)) | Browser apps published on every interface unless you set `CLOSE_ALL_PORTS` ([script](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/internetIncome.sh#L548-L556>)), with the default password `internetincome` ([config](<https://github.com/engageub/InternetIncome/blob/4ebf4b07dc6c4b7589f0e79a463b2ad1c7c295cc/properties.conf#L131-L136>)) | No dashboard |
| Private vulnerability reporting | On, with a [SECURITY.md](<https://github.com/GeiserX/CashPilot/blob/main/SECURITY.md>) | Off. A [SECURITY.md](<https://github.com/MRColorR/money4band/blob/de001e9d9186f9d324f8d9615d67e1923bb35e40/.github/SECURITY.md>) asks you to contact the developers | Off, no SECURITY.md | Off, no SECURITY.md | Off, no SECURITY.md |

"Private vulnerability reporting" is the answer of GitHub's API (`GET /repos/<owner>/<repo>/private-vulnerability-reporting`) on 2026-11-29.

Every project here passes app logins to the containers, so the logins of the apps on a host are readable by anyone with root on that host. CashPilot cannot change that. It can keep the logins out of Docker's container config and off your other machines ([threat model](<https://geiserx.github.io/CashPilot/id/threat-model/index.md#limits>)).
