Commit 7f39d97
Add linecache, difflib, gc to UNSAFE_IMPORTS (GHSA-r48f-3986-4f9c)
linecache and difflib could access arbitrary files, and gc
can give references to tracked unsafe modules.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 351ed4d commit 7f39d97
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| |||
0 commit comments