printPreInstallDisclaimer prints a warning that installed skills are unverified and should be inspected before use.
(w io.Writer, cs *iostreams.ColorScheme)
| 1187 | // printPreInstallDisclaimer prints a warning that installed skills are unverified |
| 1188 | // and should be inspected before use. |
| 1189 | func printPreInstallDisclaimer(w io.Writer, cs *iostreams.ColorScheme) { |
| 1190 | fmt.Fprintf(w, "\n%s Skills are not verified by GitHub and may contain prompt injections, hidden instructions, or malicious scripts. Always review skill contents before use.\n\n", cs.WarningIcon()) |
| 1191 | } |
| 1192 | |
| 1193 | // printReviewHint warns the user to review installed skills and suggests preview commands. |
| 1194 | // When sha is non-empty the suggested commands include @SHA so the user previews |