diff --git a/src/subcommands/get.ts b/src/subcommands/get.ts index 09c44b83..1138a7fd 100644 --- a/src/subcommands/get.ts +++ b/src/subcommands/get.ts @@ -694,6 +694,15 @@ async function downloadArtifact( process.exit(0); } if (!yes) { + const plan = downloadPlanner.getPlan(); + const containsPlugin = plan.nodes.some( + node => node.type === "artifact" && node.artifactType === "plugin", + ); + if (containsPlugin) { + process.stdout.write( + "\n(i) Plugins can execute code. Only install plugins from authors you trust.\n\n", + ); + } const confirmed = await askQuestion("Continue?"); if (!confirmed) { process.exit(1);