roneoSECURITY.md
0518da6beb3fd562b82c5b5c2798b72e0d1591b219 lines · 1.2 KiBRaw
- # Security Policy
- ## Reporting a Vulnerability
- If you discover a security vulnerability in **Ronéo**, please report it responsibly instead of opening a public issue:
- - Contact: `security@cleyrop.com`
- - Include a clear description of the issue, reproduction steps, and affected version/commit.
- We will acknowledge receipt promptly and coordinate a fix and disclosure timeline.
- ## Security Model
- Ronéo follows Copier's trust model:
- - Templates declaring `_tasks`, `_migrations`, or `_roneo_plugins` require explicit `--trust` (or a matching entry in `settings.yml` validated against RFC 3986 §2.3 rules).
- - All template paths (`!include`, `{% include %}`, rendered filenames, `_answers_file`, `_subdirectory`, `_roneo_plugins`, `_external_data` when untrusted) are strictly confined to the template or destination root, and writes through symlinked destination directories are rejected.
- - WebAssembly plugins run inside a `wasmi` sandbox with no WASI, filesystem, or network access, bounded by CPU fuel (`100M` instructions/call), memory (`64 MiB`), and IPC (`16 MiB`) limits.
- - Temporary directories are created with `0700` permissions on Unix, and Git subprocesses run with `-c core.hooksPath=/dev/null`, `GIT_TERMINAL_PROMPT=0`, and `--` argument separators.