Skip to content

fix: upgrade LocalCommandLineCodeExecutor warning to DeprecationWarning - #8155

Open
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix/7462-local-executor-sandbox
Open

MOHAMMED WASIM KHAN (wasim-builds) wants to merge 1 commit into
microsoft:mainfrom
wasim-builds:fix/7462-local-executor-sandbox

Conversation

@wasim-builds

Copy link
Copy Markdown

Summary

Fixes #7462

Changed from UserWarning to DeprecationWarning to make the security warning more visible and harder to silently filter in production.

Changes

  • Changed warning type from UserWarning to DeprecationWarning in LocalCommandLineCodeExecutor

Test plan

  • Existing tests still pass

Changed from UserWarning to DeprecationWarning to make the security
warning more visible and harder to silently filter in production.

Fixes microsoft#7462
Copilot AI lite review requested due to automatic review settings September 2, 2026 05:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@wasim-builds

Copy link
Copy Markdown
Author

Hi maintainers,

Submitting this update regarding fix: upgrade LocalCommandLineCodeExecutor warning to DeprecationWarning for microsoft/autogen. Working on multi-agent orchestration, agent communication, and tool execution in AutoGen has been a great experience, and I am very keen to continue contributing to microsoft/autogen.

I am also open to freelance/contract work, full-time engineering roles, or joining the organization as an active contributor or team member.

Please feel free to check out my GitHub profile at https://github.com/wasim-builds.

This branch has not been deployed

No deployments
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] LocalCommandLineCodeExecutor executes LLM-generated code without sandboxing

2 participants