debug_logging_leakTier 1 · 70% confidence

security-debug-logging-leak-debug-logs-showing-input-output-completions-are-pr-c88ae557

agent: security

When does this happen?

IF Debug logs showing input/output completions are printed to stdout in production, potentially leaking sensitive data.

How others solved it

THEN Disable debug logging in production by setting the environment variable `LANGFUSE_DEBUG=false` or using the `debug=False` parameter when using callbacks. Ensure that no sensitive input/output details are logged by configuring the server to suppress debug output.

LANGFUSE_DEBUG=false # Set in production environment

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics