Skip to content

security: restrict dynamic script execution in backend plugin handlers#750

Open
lhy8888 wants to merge 1 commit intoveops:masterfrom
lhy8888:codex/sec-rce-restricted-script
Open

security: restrict dynamic script execution in backend plugin handlers#750
lhy8888 wants to merge 1 commit intoveops:masterfrom
lhy8888:codex/sec-rce-restricted-script

Conversation

@lhy8888
Copy link

@lhy8888 lhy8888 commented Mar 8, 2026

Summary

Backend plugin/script parsing used direct Python exec on user-provided script content, enabling remote code execution risk.

Security Fix

Introduce restricted AST-based script validation/execution and replace direct exec paths.

Linked Issue

Closes #749
#749

Commit

48448ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SECURITY][Critical] Unsafe dynamic script execution in backend plugin handlers

1 participant