logging-failures

Structure security logs with redacted credentials and actor identifiers.

20|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/thejefflarson/soundcheck --skill logging-failures-thejefflarson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logging-failures
Source: https://github.com/thejefflarson/soundcheck/tree/main/.claude/skills/logging-failures
Command: npx skills add https://github.com/thejefflarson/soundcheck --skill logging-failures-thejefflarson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Insecure or unstructured logging that hides security incidents is a major risk; this Skill helps teams adopt secure, auditable logging practices.

Core Features & Use Cases

  • Guides redaction of credentials (password, token, secret) before logging.
  • Enforces structured log records with event_type and actor identifiers for SIEM readiness.
  • Provides checks and patterns to strip CRLF inputs and avoid log injection.

Quick Start

Audit your codebase to replace ad-hoc log statements with structured security events, redacting credentials and stripping newline characters.

Frequently Asked Questions about logging-failures

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent credentials from appearing in application logs?

You prevent credentials in application logs by redacting passwords, tokens, and secrets before writing entries. This ensures sensitive data is masked during structured security event creation.

What is CRLF injection in logging and how do I stop it?

CRLF injection in logging happens when newline characters manipulate log entries. You stop it by stripping CRLF inputs from log messages to prevent attackers from forging audit trails.

How do I format security logs for SIEM readiness?

You format security logs for SIEM readiness by enforcing structured log records containing event_type and actor identifiers. This standardization allows security tools to parse and correlate auditable events.

Can I use structured logging for authentication audit trails?

Yes, you can use structured logging for authentication audit trails across authorization components. Tagging events with actor identifiers generates auditable security logs that reveal access breaches.

What is the best way to audit a codebase for insecure log statements?

The best way to audit a codebase for insecure log statements is replacing ad-hoc logging with structured security events. This process involves redacting credentials and stripping newline characters.

Does structured security logging work for microservices and batch jobs?

Yes, structured security logging works for microservices and batch jobs requiring auditable security logs. It describes implementation requirements ensuring consistent event tagging across distributed components.