zopefoundation / RestrictedPython

A restricted execution environment for Python to run untrusted code.
http://restrictedpython.readthedocs.io/
Other
456 stars 38 forks source link

additional check for safer_getattr #285

Closed loechel closed 1 month ago

loechel commented 1 month ago

add an additional check for potential breakout capability via Inspection Attributes Names in the provided safer_getattr method.

loechel commented 1 month ago

@icemac I have undone the linting changes, please review again.