#392 MEDIUM: Sandbox bypass via cached sys.modules

closed medium Created 2025-12-11 22:21 · Updated 2025-12-16 20:43

Description

Edit
sandbox/sandbox.py:99-132 - Replaces builtins.__import__ but doesn't clear sys.modules. Banned modules imported before sandbox context remain accessible. Fix: Clear sys.modules entries for banned modules before exec.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...