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
dylink.r2py is RepyV2's functional replacement for Python's import statement and lets Repy code import libraries at runtime. encasementlib.r2py provides means for security layers to override, extend or limit the API that is exposed to sandboxed code. Both modules perform important tasks, but their current implementation does not assign features distinctly (so that e.g. dylink offers its own dispatch call).
We should document the required and desired behavior for both modules, and then sort out where and how to best draw the line, and also how to ensure that the features are compatible. For instance, dylink should behave identical to Python's import whenever possible, but pre- and post-seclayer dy_imports must be separated and not refer to cached modules, just like encasementlib separates the last sandbox from every preceding sandbox.
The text was updated successfully, but these errors were encountered:
dylink.r2py
is RepyV2's functional replacement for Python'simport
statement and lets Repy code import libraries at runtime.encasementlib.r2py
provides means for security layers to override, extend or limit the API that is exposed to sandboxed code. Both modules perform important tasks, but their current implementation does not assign features distinctly (so that e.g.dylink
offers its owndispatch
call).We should document the required and desired behavior for both modules, and then sort out where and how to best draw the line, and also how to ensure that the features are compatible. For instance,
dylink
should behave identical to Python'simport
whenever possible, but pre- and post-seclayerdy_import
s must be separated and not refer to cached modules, just likeencasementlib
separates the last sandbox from every preceding sandbox.The text was updated successfully, but these errors were encountered: