moo.core.tests.test_security_random.test_random_no_dunder_access

moo.core.tests.test_security_random.test_random_no_dunder_access()

Underscore guard blocks dunder attributes on the random module.

Attack path: import random; getattr(random, ‘__package__’) → traverse to parent package Guard: underscore check in safe_getattr raises AttributeError