Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

README contact section and SECURITY.md (private vulnerability reporting is on)

Gathin23f2a336a62965
diff --git a/README.md b/README.md
index d82fc946b..ab7bed540 100644
--- a/README.md
+++ b/README.md
@@ -399,6 +399,12 @@ The people whose work is in this repo:
</details>
+## Contact
+
+Questions about your TV: [GitHub Discussions](https://github.com/Gathin23/cleanyourtv/discussions).
+Press and partnerships: [[email protected]](mailto:[email protected]).
+Security issues: report them privately through the [Security tab](https://github.com/Gathin23/cleanyourtv/security), see [`SECURITY.md`](SECURITY.md).
+
## Licence
MIT, see [`LICENSE`](LICENSE). The Outfit typeface is under the SIL Open Font License, see
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 000000000..b97054312
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,31 @@
+# Security
+
+CleanYourTV talks to TVs over ADB and installs a launcher on them, so a security bug here can
+reach people's living rooms. Please report anything you find privately, not in a public issue.
+
+## How to report
+
+Use GitHub's private vulnerability reporting: open the
+[Security tab](https://github.com/Gathin23/cleanyourtv/security) and choose **Report a vulnerability**.
+Only the maintainer sees the report. If that doesn't work for you, email
+[[email protected]](mailto:[email protected]) with "Security" in the subject.
+
+Please include what is affected (the prompt, a tool in `tools/`, the launcher, a debloat list),
+the steps to reproduce it, and what an attacker could do with it.
+
+## What counts
+
+- The launcher (`com.gathin.tvhome`) doing something it shouldn't: reaching the network, exposing
+ data to other apps, or being made to open something it shouldn't.
+- The tools (`tools/tv.py`, `disable.sh`, `restore.sh`, `theme.sh`, `recovery.py`) running commands
+ on a device or computer they weren't pointed at, or mishandling paths and input.
+- A debloat list or the prompt leading to a TV that can't be restored with `tools/restore.sh`.
+- Anything in a pull request that runs code on a contributor's or maintainer's machine.
+
+ADB itself is powerful by design. Turning on USB or network debugging lets any computer on your
+network ask to connect, and the TV asks you to allow it. Turn debugging off when you're done.
+
+## What happens next
+
+You'll get a reply within a few days. Fixes go into `main` with credit to you, unless you'd rather
+stay anonymous. Please give a fix a reasonable chance to ship before you publish details.