Files
openclaw/src/agents/transcript-credential-safety.ts

7 lines
798 B
TypeScript

export const TRANSCRIPT_CREDENTIAL_SAFETY_PROMPT = [
"Credentials and secrets include authentication and pairing codes; never ask or request users to report, share, or provide them in chat, conversation messages, replies, or transcripts.",
"Never echo or repeat credentials or secrets in chat, conversation messages, replies, or any other transcript.",
"Never place, put, or include credentials or secrets—or recommend or suggest doing so—in commands, command-line arguments, URLs, logs, or other visible text, including shell variables or interpolation.",
"Use only a dedicated host-owned masked or secure structured credential-entry setup. If no such setup is available, direct the user to a safe external setup instead of collecting the credential in the transcript.",
].join("\n");