Skip to content

Security: loopfunder/tight-fit

Security

SECURITY.md

Security

Pull request files, paths, modes and titles are untrusted. The read-only desk-check job checks out the base commit and reads the merge commit as data. It runs the gate, verifier and verdict scripts from the base checkout. The gate requires one new regular UTF-8 JSON blob in a valid layout slot, within the byte limit and with the matching pull request title. Item limits, piece outlines and comparison layouts come from the base. The verifier never executes a submission or follows paths supplied in it.

The job uses a read-only repository token for fetching the merge ref and does not persist credentials. It requires both fetched merge parents to match the base and head revisions named by the pull request event. The geometry checker limits input bytes, nesting, inventory, fixture vertices, triangle comparisons and comparison slots. A check without an accepted verdict fails.

A passing verdict applies to one base snapshot. Before merging, the desk must use a trusted check definition and require that verdict for the current head and base, including after another sheet merges. Two submissions can each be distinct from the same old registry and still be copies of each other.

Removals

Only the project's creator can request a removal through the desk. The gate requires a single deletion at a layout slot, with the desk App's numeric user id from the base desk/project.json. The pull request must come from a desk/remove-<item> branch of this repository. The verifier uses only the gate's metadata for a removal.

Reporting privately

Use GitHub's private vulnerability reporting under Security, or contact @msanchezgrice directly. Include the affected path, input, expected result and actual result. Keep reproductions private. This reporting path covers the workflows, tools, desk files, sets and gallery code. Use a normal project issue for ordinary content problems.

There aren't any published security advisories