Report a security problem
This page is a draft and may change.
How to report a security problem
This page tells you what to do when you find a way around a rule of protocol0 or Pubstad. A security problem is anything that lets someone do what the rules forbid. For example, a decision could take effect with too few signatures, or a removed member could read new entries.
Where to write
Please write to x@yheushen.com, the contact address of the project.
The file pubstad/src/shared/config.ts holds it as the value CONTACT_ADDRESS.
Pubstad shows the same address under "Write to Yheu-Shen" in the app.
Please do not post the report in public before the project has answered.
What to put in the report
- Write what you did, step by step, so that someone else can do it again.
- Name the rule that broke, such as P5, and say what happened in its place.
- Add a test or a short script if you have one, since that is the fastest way to see the problem.
- Say which version of protocol0 you used, as the file
protocol0/src/version.tsnames it. - Say how you want to be named when the problem is fixed, or that you want no name at all.
Please do not send a secret key, the recovery words of a real person, or the content of a real group.
What happens after a report
- The project writes back to say that the report arrived, within 7 days.
- The project runs your steps, and tells you whether it sees the same problem.
- The project writes a test that fails because of the problem, and adds it to the attack tests.
- The project fixes the code until that test passes, together with every older test.
- The project tells you before the fix is public, so that you can check it.
- The project publishes the fix and a short note that names you, if you agreed to that.
If a problem cannot be fixed, the project adds it to the limits in the protocol with the reason.
Please wait before you publish
Please give the project 90 days to fix a problem before you write about it in public. If the problem already harms real groups, the project tries to fix it much sooner.
What this page does not cover
Bugs that break no rule, such as a button in the wrong place, belong on the list of issues of the public code page. A group that decides something bad by more than half of its members is not a security problem, as the threat model explains.