Skip to content

Commit 6dfd312

Browse files
authored
Update SECURITY.md
fixes
1 parent e25e130 commit 6dfd312

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎SECURITY.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protect yourself from updates on the repository.
2929

3030
## Supported Versions
3131

32-
We ship security fixes in the latest release. Please reproduce on the current released version before reporting — we do not backport fixes to older releases.
32+
Security fixes ship in the latest release. Please reproduce on the current released version before reporting.
3333

3434
## Reporting a Vulnerability
3535

@@ -121,9 +121,9 @@ We treat as vulnerabilities issues in the **published package code** — the lib
121121

122122
The following are **not** treated as vulnerabilities in `transformers`. If your finding touches one of these, the report must explain why it is nonetheless a violation of a guarantee we make — otherwise it will be closed.
123123

124-
- Issues that require loading an untrusted artifact and amount to the documented load-time risk above (code execution / file access on load of a malicious model, dataset, config, or pickle).
124+
- Issues that require loading an untrusted artifact and amount to the documented load-time risk above (code execution / file access on load of a malicious model, dataset, config, or pickle). An escape from the chat-template sandbox is the exception, see above.
125125
- Anything that requires `trust_remote_code=True`: running the repository's code is what that flag does.
126-
- Findings in `examples/`, `scripts/`, `utils/`, documentation, tests, or other non-packaged reference material.
126+
- Findings in the repository's top-level `examples/`, `scripts/` and `utils/` folders, documentation, tests, or other non-packaged reference material.
127127
- Local denial-of-service from feeding pathological input to a function on your own machine (high memory, slow parse, panic), absent a multi-tenant or remote-service impact.
128128
- Model behavior: jailbreaks, alignment failures, prompt injection, or harmful generations. Model weights are authored by their uploaders; report these to the model owner.
129129
- Vulnerabilities in third-party dependencies we do not vendor — report upstream (we'll bump once fixed).

0 commit comments

Comments
 (0)