Skip to content

Use centrally managed tsp-client installation instead of on-demand npx execution #13667

@raych1

Description

@raych1

Currently, we invoke npx --yes {packageName} to run tsp-client. This approach installs the latest version of the package globally if it's not already available locally, which can introduce unnecessary changes in the environment and expose us to potential risks from malicious dependencies.

To mitigate these risks and ensure consistent behavior, we should update our tooling to use the tsp-client binary installed in the centralized location at eng/common/tsp-client, rather than dynamically fetching it with npx.

For usage instructions and best practices, please refer to the central tsp-client usage guideline.

Metadata

Metadata

Assignees

Labels

azsdk-cliIssues related to Azure/azure-sdk-tools::tools/azsdk-cli

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions