You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6dfd312
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: SECURITY.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ protect yourself from updates on the repository.
29
29
30
30
## Supported Versions
31
31
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.
33
33
34
34
## Reporting a Vulnerability
35
35
@@ -121,9 +121,9 @@ We treat as vulnerabilities issues in the **published package code** — the lib
121
121
122
122
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.
123
123
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.
125
125
- 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.
127
127
- 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.
128
128
- Model behavior: jailbreaks, alignment failures, prompt injection, or harmful generations. Model weights are authored by their uploaders; report these to the model owner.
129
129
- Vulnerabilities in third-party dependencies we do not vendor — report upstream (we'll bump once fixed).
0 commit comments