Please report suspected vulnerabilities privately through GitHub's private vulnerability reporting (Security tab → "Report a vulnerability"). Do not open a public issue for a security problem.
We aim to acknowledge reports within seven days. This is a small collaborative project, not a company with a security team — but we take reports seriously and will keep you informed as we investigate.
Only the latest release receives fixes. There are no maintenance branches.
A .pth file is a pickle, and loading an untrusted one executes code. This
package therefore downloads weights only from its own GitHub Releases and
verifies them against a pinned SHA-256 checksum — a failed checksum refuses
installation rather than warning.
The check is made before every use, not only at download time: the cached
tetrak_hy.pth is hashed again on each Reader construction, so a file
that has been corrupted, tampered with, or left behind by an earlier
release is replaced by a fresh verified download instead of being loaded.
Weights that cannot be checked are not loaded at all — before the first
weights release there is no published checksum, and a .pth sitting in the
cache is refused rather than trusted. If you fetch weights by hand, verify
the checksum published in the release notes yourself.
- The full resolved dependency tree is pinned in
uv.lockand scanned by Trivy on every push and weekly on a schedule; Dependabot keeps the lock and the workflow actions current. - Every weights release ships with a provenance record: data recipe, fonts, crop counts, training config and git SHAs.