https://github.com/qfcy/no-subclasses
A library that removes the __subclasses__() list from all classes, allowing for nearly absolute security in exec and eval functions. 一个清除所有类的__subclasses__()列表的库,使得exec和eval函数变得几乎绝对安全。
https://github.com/qfcy/no-subclasses
eval exec python python-sandbox sandbox-tool security subclasses
Last synced: 7 months ago
JSON representation
A library that removes the __subclasses__() list from all classes, allowing for nearly absolute security in exec and eval functions. 一个清除所有类的__subclasses__()列表的库,使得exec和eval函数变得几乎绝对安全。
- Host: GitHub
- URL: https://github.com/qfcy/no-subclasses
- Owner: qfcy
- License: mit
- Created: 2025-03-18T08:03:28.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-06-23T07:47:45.000Z (8 months ago)
- Last Synced: 2025-06-27T16:49:40.326Z (8 months ago)
- Topics: eval, exec, python, python-sandbox, sandbox-tool, security, subclasses
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 27
- Watchers: 1
- Forks: 4
- Open Issues: 0