printPreInstallDisclaimer prints a warning that installed skills are unverified and should be inspected before use.
(w io.Writer, cs *iostreams.ColorScheme)
| 1177 | // printPreInstallDisclaimer prints a warning that installed skills are unverified |
| 1178 | // and should be inspected before use. |
| 1179 | func printPreInstallDisclaimer(w io.Writer, cs *iostreams.ColorScheme) { |
| 1180 | 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()) |
| 1181 | } |
| 1182 | |
| 1183 | // printReviewHint warns the user to review installed skills and suggests preview commands. |
| 1184 | // When sha is non-empty the suggested commands include @SHA so the user previews |