printPreInstallDisclaimer prints a warning that installed skills are unverified and should be inspected before use.
(w io.Writer, cs *iostreams.ColorScheme)
| 1168 | // printPreInstallDisclaimer prints a warning that installed skills are unverified |
| 1169 | // and should be inspected before use. |
| 1170 | func printPreInstallDisclaimer(w io.Writer, cs *iostreams.ColorScheme) { |
| 1171 | 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()) |
| 1172 | } |
| 1173 | |
| 1174 | // printReviewHint reminds the user to review installed skills and suggests preview commands. |
| 1175 | // When sha is non-empty the suggested commands include @SHA so the user previews |