Skip to content

Please turn off autodetect environment #25924

Description

@RembauMostWanted
Image

I think vscode has some great features for Python IDE especially ability to handle complex environments and the Microsoft Pylance server. But 1 feature that i am really concerned about is the auto execution of a powershell script to activate a virtual environment if it detects one. This to me is a big security issue waiting to happen because the IDE is injecting a command prompt into the terminal without the user having any say in it. What i am concerned about is what happens in the future a malicious ps1 script is executed. Its also very discomforting to see the IDE trying to take control of a terminal to fulfill this request. Hope that VSC team can at least provide the option to disable this feature.

Activity

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

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions