Skip to content

Please turn off autodetect environment #25924

@RembauMostWanted

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.

Metadata

Metadata

Assignees

No one assigned

    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