refactor(core): Improve security violation error in native Python runner (#19286)

This commit is contained in:
Iván Ovejero
2025-09-08 10:45:07 +02:00
committed by GitHub
parent 2113532946
commit 56f4069325
4 changed files with 15 additions and 7 deletions

View File

@@ -144,4 +144,3 @@ ERROR_DANGEROUS_ATTRIBUTE = "Access to attribute '{attr}' is disallowed, because
ERROR_DYNAMIC_IMPORT = (
"Dynamic __import__() calls are not allowed for security reasons."
)
ERROR_SECURITY_VIOLATIONS = "Security violations detected:\n{violations}"