moo.core.tests.test_security_random.test_random_no_frame_attributes

moo.core.tests.test_security_random.test_random_no_frame_attributes()

INSPECT_ATTRIBUTES guard blocks frame attrs even if they existed.

Attack path: if Random instances had gi_frame/cr_frame/f_back, getattr would need to block them to prevent frame walks to f_builtins[‘__import__’].

Result: Random objects don’t have frame attributes (they’re not generators or coroutines), but INSPECT_ATTRIBUTES provides defense-in-depth.