Skip to content

Security: KanadeK/stitchproof

Security

SECURITY.md

Security policy

Supported versions

Version Security fixes
0.1.x Yes
Older or unreleased snapshots No

Report a vulnerability privately

Use GitHub's Report a vulnerability form in the repository Security tab:

https://github.com/KanadeK/stitchproof/security/advisories/new

Include the affected version, operating system, minimal reproduction, impact, and whether the sample contains proprietary data. Do not open a public issue for a suspected vulnerability and do not upload a customer's or designer's original pattern. A synthetic minimized SVG is preferred.

Security boundaries

StitchProof treats every input SVG as untrusted:

  • files larger than 10 MiB, single geometries above 200,000 flattened points, and documents above 500,000 measured points are rejected;
  • DTD and entity declarations are rejected before XML parsing;
  • scripts are never executed and external resources are never fetched;
  • no shell command is built from SVG content;
  • HTML previews are reconstructed from numeric geometry and all text is escaped;
  • the runtime performs no network calls, telemetry, or uploads.

The CLI writes only to an explicit --output path and refuses to overwrite its input SVG. Users remain responsible for protecting local pattern files and choosing a safe destination.

Security reports should focus on bypasses or impacts inside these boundaries, such as entity expansion, parser denial of service, unexpected file/network access, or report injection. Ordinary unsupported geometry and false-positive rule findings belong in the public issue tracker with a non-sensitive fixture.

There aren't any published security advisories