Language Features

PyRunpy

Python stdlib module — runpy. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.run_module()Neutral
#
Signature
run_module(mod_name, init_globals, run_name, alter_sys)

Execute a module's code without importing it.

.run_path()Neutral
#
Signature
run_path(path_name, init_globals, run_name)

Execute code located at the specified filesystem location.

.ModuleType()Neutral
#
Signature
ModuleType(...)

Create a module object.

Fully-Qualified Names

FQNField
runpyfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import runpy