TerraTorch is developed on main and released from there. Security fixes land
on main first. Whether a fix is backported to an older release line is decided
case by case, depending on the severity of the issue.
| Version | Supported |
|---|---|
| 1.2.x | ✅ |
| < 1.2 | ❌ |
Please do not open a public issue for security problems.
Report vulnerabilities privately through GitHub's private vulnerability reporting:
- Go to the Security tab of this repository.
- Click Report a vulnerability.
- Describe the issue, the affected version, and a minimal reproduction if possible.
If you cannot use GitHub private reporting, contact the maintainers listed in
pyproject.toml directly.
TerraTorch loads model checkpoints and configuration files, and downloads pretrained weights from external hubs. Reports in these areas are especially welcome:
- unsafe deserialization (
torch.load,pickle,joblib,yaml.load), - path traversal or arbitrary file write during checkpoint/config handling,
- code execution through model or tokenizer configuration,
- supply-chain issues in the weight download path.
TerraTorch treats checkpoints as untrusted input:
torch.load()is always called withweights_only=True.- Only load checkpoints from sources you trust. A checkpoint is executable
content in disguise;
weights_only=Truereduces but does not eliminate the risk for older PyTorch versions.
- Pretrained weights are downloaded with an explicit
revision(commit SHA) wherever the upstream repository is public, so a moved tag cannot silently change the weights. Repositories that require authentication are downloaded from their default branch and should be pinned once a token is available. - Dependabot monitors
pipandgithub-actionsdependencies weekly. - CodeQL runs on every push to
mainand on every pull request. - Pull requests that change dependencies are checked by the dependency review action; new dependencies with known vulnerabilities or incompatible licenses block the merge.