robotti-io/copilot-security-instructions/secrets-and-logging-hygiene

Claude Code and agent skill by robotti-io/copilot-security-instructions

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Workflow for preventing secret leaks and sensitive logging (PII/credentials) and adding redaction defaults.

Install

npx vskill@latest install robotti-io/copilot-security-instructions/secrets-and-logging-hygiene

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Secrets and Logging Hygiene

When to use

Use this skill when asked to scan for secrets, harden logging, or reduce sensitive data exposure.

Inputs to collect (if available)

  • Data classification (PII, auth/session, payments)
  • Logging/telemetry stack (logger, APM, sinks)
  • Secret management approach (vault, env injection, KMS)
  • Incident/audit requirements (retention, access controls)

Step-by-step process

  1. Identify sensitive data
  • Credentials, tokens, API keys, connection strings
  • PII (emails, phone, addresses), financial identifiers
  1. Locate sources and sinks
  • Sources: env, config, secrets managers, request payloads
  • Sinks: logs, telemetry, error pages, analytics, support dumps
  1. Harden logging
  • Default to structured logs
  • Redact known patterns (Authorization headers, cookies, tokens)
  • Avoid logging full request/response bodies by default
  1. Prevent secret introduction
  • Replace hardcoded strings with env/secret manager references
  • Add guardrails: git hooks, CI secret scanning, unit tests for redaction
  1. Verify
  • Add tests ensuring redaction occurs
  • Run a lightweight grep for common secret patterns and known keys

Output

  • List of leak points found (if any)
  • Recommended redaction policy + implementation location
  • Tests and verification steps

Repo integration (optional)

Related prompts:

  • check-for-secrets.prompt.md
  • assess-logging.prompt.md

Output format

  • Leak points found (table): Type | Where | Evidence | Risk
  • Redaction policy: defaults + allow-listed fields
  • Guardrails: CI secret scanning, pre-commit, tests
  • Verification: how to confirm redaction and rotation

Examples

  • “Authorization header logged” → redact Authorization and cookies by default; verify logs no longer contain bearer tokens.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
36
Repository forks
11
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/robotti-io/copilot-security-instructions/secrets-and-logging-hygiene/badge)](https://verified-skill.com/skills/robotti-io/copilot-security-instructions/secrets-and-logging-hygiene)

Something wrong with this skill or its page? Tell us.