Dynamic attribute access via getattr()
Low
- Category
- Dangerous Code Execution
- Content
else: role = "assistant" try: original = getattr(mod, attr_name) # Create wrapper closure def make_wrapper(orig, r): def wrapper(*args, **kwargs):- Confidence
- 93% confidence
- Finding
- original = getattr(mod, attr_name)
