logging-patterns

Pass

Audited by Gen Agent Trust Hub on Oct 28, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill is entirely educational, providing templates and best practices for Java logging using SLF4J and Spring Boot. It promotes secure coding practices such as avoiding manual string concatenation in logs and properly handling exceptions to preserve stack traces.
  • [SAFE]: All external references (Maven dependencies for net.logstash.logback) are to well-known, industry-standard libraries used for structured logging.
  • [SAFE]: The code snippets for MDC (Mapped Diagnostic Context) follow security best practices by ensuring context is cleared in finally blocks to prevent information leakage between threads.
  • [SAFE]: The instructions regarding JSON logging and OpenTelemetry integration are standard for modern cloud-native development and do not involve any unsafe command execution or data exfiltration.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 28, 2026, 08:43 PM