8000 disallowing access to specific features similiar to simpleexec's twea… · avrae/draconic@eed6c93 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
disallowing access to specific features similiar to simpleexec's twea…
Browse files Browse the repository at this point in the history
…ks for security.
  • Loading branch information
SeanStoves committed Oct 7, 2024
1 parent 2c7bbd7 commit eed6c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draconic/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# ===== config =====
DISALLOW_PREFIXES = ["_", "func_"]
DISALLOW_METHODS = ["format", "format_map", "mro"]
DISALLOW_METHODS = ["format", "format_map", "mro", "tb_frame", "gi_frame", "ag_frame", "cr_frame", "exec"]


class DraconicConfig:
Expand Down

0 comments on commit eed6c93

Please sign in to comment.
0