Report a security problem through GitHub private vulnerability reporting. Open the Security tab of this repository and select "Report a vulnerability". That opens a thread that only the maintainer can read. If that route is not open to you, use the contact route on the project's GitHub page.
Do not open a public issue, a pull request, a discussion post, or a social media thread first.
The reason is not etiquette. This project exists to stop a Starlink user in Iran from being identified as a Starlink user. A public report is read by the people those users are hiding from, and it is read the same day. They can act on it in hours. A fix here cannot move at that speed: someone has to write it, someone has to re-run an Ansible playbook against a Raspberry Pi in a flat, and for Triangle against a VPS as well. Nothing in this repository updates itself. Until the user re-runs the playbook, they are running the old code.
So the gap between a public report and a deployed fix is measured in weeks, and during that gap a public report is a set of instructions pointed at the users.
State these, and no more:
- Which architecture: Sifter, Singleton, or Triangle.
- The file and the task, role, or template that carries the problem.
- What an attacker learns or reaches that they must not.
- The steps that show it. A configuration extract is better than a packet capture.
Do not include your IP address, your location, your operator, your SSID, or a raw log from a live deployment. See CODE_OF_CONDUCT.md. If a redacted extract does not carry the point, say so and we will find another way.
The attacker is a party that operates Iranian websites and Iranian networks, and that can compel or obtain their logs. Give that attacker these abilities:
- It sees the source address of every connection that arrives at an Iranian service.
- It already holds identifying material for the user: a cookie, a login, an account, a device fingerprint.
- It can host content on Iranian IP space and get a browser to load it.
- It can log every query that reaches a resolver it operates or reaches.
- It observes the local radio environment and the wire outside the home.
What the attacker wants is one thing: a single connection from an identified person that arrives from a foreign address. One request to an Iranian analytics host, one image loaded from an Iranian content network, one DNS query to an Iranian resolver. That single event says "this account has satellite internet", and the identity is already attached to it.
The whole suite is built around that one event. Pi-hole and the Iranian domain list stop the name from resolving. The 1,805 Iranian CIDR ranges in nftables stop the packet even when no name was looked up. Port 53 redirection stops a device from asking a resolver of its own choosing. Triangle moves the exit address to a VPS and drops forwarded traffic when the tunnel is down.
A vulnerability in this project is anything that lets that one event happen.
- Client traffic that reaches an Iranian IP range despite the nftables set or the ipset. Any path around the drop, on Singleton or Triangle.
- A DNS query that leaves a client and does not arrive at Pi-hole. The port 53 redirection is the guard. A path around it counts: another port, another transport, a resolver handed out by DHCP, an application with its own resolver.
- IPv6 that reaches a client on Singleton or Triangle. Both READMEs state there is no client IPv6 path. A path is a finding.
- On Triangle, any way a WiFi client's packet leaves the Raspberry Pi while
wg0is down. The fail-closed forward chain is the kill switch. If it can be walked around, there is no kill switch. - A range that is missing from
iranian-ips.txtand belongs there, in a large Iranian network. Address space that is not in the file is space the device reaches from the user's real address. - A range that is in
iranian-ips.txtand does not belong there, when it breaks a service users need. Over-blocking is not a cosmetic fault here. The user sees an ordinary network error, has no reason to connect it to this device, and turns the protection off. That loses everything at once. - A management surface that is reachable from somewhere it must not be: the Pi-hole admin page, the 3x-UI panel, the VPS health endpoint, SSH. A default credential that survives a normal deployment counts as well.
- A credential, a private key, or a real host address committed to this repository. Report it privately even though it is already public, because the response is key rotation, not a code change.
- A blocklist or IP source that is fetched at run time over a path an attacker
can influence, or that carries no licence at all. See the note on
herrbischoff/country-ip-blocksin the README for why the licence question is treated as a hard rule here. - A statement in a README that is the inverse of what the playbooks do. In this project that is a security bug, not a documentation bug. A confident wrong sentence stops the reader from checking the thing it describes. This README already records two claims the project previously got wrong, and it names them.
These are known. Reporting them costs you time and tells us nothing new.
- Browser DNS-over-HTTPS defeating the filtering. Firefox and Chrome can resolve names to their own provider over port 443. No firewall rule on the Raspberry Pi can separate that from ordinary traffic. The fix is in the browser and the README says so. A method that separates it at the network layer is a different matter, and is very welcome.
- WebRTC, canvas, and WebGL fingerprinting. Browser-level, documented as user configuration.
- Sifter not carrying client traffic. That is the design.
ip_forwardis0and the forward chain drops. The IP blocklist applies to the Raspberry Pi's own outbound traffic. Sifter protects the DNS layer, and the README is explicit about the two consequences. - Singleton not tunnelling by default. The shipped sing-box configuration terminates its inbounds and exits through the ethernet interface, so the exit address is still the user's. The operator adds a remote outbound in the 3x-UI panel. Documented.
- WireGuard being identifiable by deep packet inspection. That is a property of the protocol, Triangle uses it unobfuscated, and the README says so. A specific classifier that keys on something this deployment does, rather than on WireGuard in general, is a real finding. The general property is not.
- A dead upstream blocklist URL. Three are already named in the README with their status codes. New ones are ordinary issues, not security reports.
- Domains missing from
bootmortis/iran-hosted-domains. That is an upstream list. Report it upstream. - Anything that needs physical access to an unlocked device. This project does not defend against a seized Raspberry Pi, and does not claim to. That risk is real and it is out of scope here.
- Denial of service against your own Raspberry Pi.
- Scanner output with no path to an effect. Send the path, not the report.
One maintainer works on this, so these are targets and not guarantees:
- An acknowledgement within 7 days.
- An assessment within 14 days: accepted, not accepted, or still being worked on, with the reason.
- A fix, or a written statement of why there will not be one.
If 14 days pass with no reply, send the report again. Silence here is a missed message, not a decision.
There is no bounty. This project has no money in it, and there will not be a payment.
Credit is yours if you want it and is off by default. Ask for it explicitly. Do not put your name, your country, or your employer in the report unless you are content for that to become public.
Disclosure timing is agreed with you. The default is publication after the fix is committed and the README states what changed, because users deploy by hand. An undeployed fix is a stale deployment, and the announcement is what tells a user to re-run the playbook.