omtex
aien-dev/omtex
Brought by drakestapleton
omtex / SECURITY.md
| 1 | # Security policy |
| 2 | |
| 3 | ## Reporting a vulnerability |
| 4 | |
| 5 | Report privately. Do not open a public issue, pull request or discussion about it. |
| 6 | |
| 7 | Report vulnerabilities privately through the repository's Security tab, |
| 8 | "Report a vulnerability", at https://github.com/aien-dev/omtex/security/advisories/new. |
| 9 | |
| 10 | Include the commit or release you tested, the component (path), steps to reproduce, and what an |
| 11 | attacker gains. If the report involves a secret, say where it was exposed and do not send the |
| 12 | secret itself. Encrypted mail is not required; do not post proof-of-concept payloads publicly. |
| 13 | |
| 14 | ## Response targets |
| 15 | |
| 16 | This project has one maintainer; the targets below are best effort and stated honestly. |
| 17 | |
| 18 | - Acknowledgement: within 3 working days. |
| 19 | - Triage and severity: within 7 days of acknowledgement. |
| 20 | - Fix or mitigation for confirmed issues: aim for 30 days for high and critical, 90 days |
| 21 | otherwise, with a status update at least every 14 days until closed. |
| 22 | - Disclosure: coordinated. An advisory is published with credit (unless you ask otherwise) |
| 23 | once the fix is on the default branch. Default embargo 90 days, negotiable. |
| 24 | |
| 25 | ## Scope |
| 26 | |
| 27 | `omtex` is an Omega library (`lib/omtex.om`) for writing LaTeX papers. A paper is an Omega program |
| 28 | compiled together with the library; running it prints LaTeX, which `pdflatex` renders. |
| 29 | `tools/zenodo-draft.sh` uploads a built PDF to an unpublished Zenodo draft. |
| 30 | |
| 31 | In scope: |
| 32 | |
| 33 | - Prose text that reaches LaTeX unescaped, or math, `rawtex` or `preamble` text that passes the |
| 34 | check in `docs/DESIGN.md` while using a control sequence that reads or writes files or changes |
| 35 | category codes. |
| 36 | - A listing body that escapes its `lstlisting` environment. |
| 37 | - `paper.gen check OMC DIR` writing outside `DIR` or running something other than the given |
| 38 | compiler. |
| 39 | - `tools/zenodo-draft.sh` publishing a record, leaking the token (it is meant to stay in a |
| 40 | mode-600 header file, never in argv or output), or changing a record it should refuse. |
| 41 | - `tools/pin.sh` accepting a compiler other than the pinned sha256. |
| 42 | |
| 43 | Out of scope: |
| 44 | |
| 45 | - TeX Live, pdfTeX, Zenodo, the pinned compiler itself, and the host operating system. |
| 46 | |
| 47 | ## Supported versions |
| 48 | |
| 49 | Only the default branch `main`; there is no release. Reports against older commits are welcome but fixes land on the default branch only. |
| 50 | |
| 51 | ## Status |
| 52 | |
| 53 | Hosted CI (`.github/workflows/ci.yml`) runs `sh tests/run.sh` with the pinned compiler on every |
| 54 | pull request and push to `main`. No certification, no bug bounty. See AUDIT_SCOPE.md for what to |
| 55 | review and how to build and test it. |