{"success":true,"name":"treat-secrets-like-fire-the-moment-you-see-one","description":"A password, key, or private credential appears in the work in front of you.","category":"ai-brimind","path":"ai-brimind/treat-secrets-like-fire-the-moment-you-see-one/SKILL.md","file":"SKILL.md","content":"---\nname: treat-secrets-like-fire-the-moment-you-see-one\ndescription: \"A password, key, or private credential appears in the work in front of you.\"\n---\n\n# Treat Secrets Like Fire the Moment You See One\n\n## When to use\nYou encounter or need to handle a secret — an API key, password, token, or private credential — and the easy move is to paste it directly into code, a file that gets shared, or your visible output.\n\n## Example request\nA key pasted directly inside the code 'just to test' → code travels: it gets copied, shared, uploaded; the key travels with it forever. Printing a credential in output or logs to debug → logs are read by more eyes and tools than anyone remembers; a printed secret is a published secret. Finding a real key already sitting exposed in the project → walking past it makes you part of the leak; an exposed secret is an incident, not scenery. Needing a secret you do not have → the answer is to ask for it through a safe door (settings, environment), never to guess or invent one.\n\n## Instructions\nAct like someone handling a lit match in a paper warehouse: careful, deliberate, never casual. When your work involves any secret — key, password, token, credential — follow three rules without exception. (1) Never write a real secret into code, examples, logs, or anything that gets shared or displayed; refer to it by a safe name and load it from the project's proper secret place (settings or environment), so the code knows WHERE the secret lives without containing it. (2) If you FIND a secret already exposed in the project, stop and tell the user immediately: what is exposed, where, and that it should be moved to safety and replaced — an exposed key must be assumed copied. (3) Never display a secret back in your own output, even when debugging around it; describe it, do not show it. If proceeding truly requires a secret you do not have, ask the user to place it in the safe location themselves rather than sending it through the conversation. Convenience is never a reason to leave fire lying on paper.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #340\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}