Every pull request to this repository is treated as hostile. The checks are designed so that a pull request cannot:
- make
desk-checkpass for a file that breaks the rules (forge a pass); - run its own code on the GitHub Actions runner;
- read any secret (the check has none) or write to the repository;
- change the checker, the workflows, the desk files, the item specs or the tests;
- exhaust runner memory or time with a malicious puzzle or malformed JSON.
A puzzle that was already merged can be removed only by the project's creator,
through the desk. The desk's GitHub App then opens a pull request from a
desk/remove-<item> branch of this repository that deletes exactly one puzzle
file. desk-check accepts a deletion only when the pull request's author is
that App (its user id is desk_bot_id in desk/project.json on the base
branch), the branch is in this repository and has that name, and nothing else
changes. A removal pull request from anyone else is rejected by the check.
If you find a way to do any of the above, report it privately. Do not open a public issue or a pull request that demonstrates it, because pull requests are public the moment they are opened.
- Use GitHub's private vulnerability reporting on this repository ("Security" tab, then "Report a vulnerability"), or
- contact the project creator,
@msanchezgrice, directly.
Include the exact file name, file contents and pull request title you would use, and what you expected to happen. A minimal reproduction in a fork is ideal; please keep the fork private or delete it after reporting.
In scope: .github/workflows/, tools/, desk/project.json, desk/items/,
and anything those run. Out of scope: the content of merged files (report those
as a normal issue), and GitHub itself.