posthog-debug
Fail
Audited by Socket on Mar 23, 2026
1 alert found:
Obfuscated FileObfuscated Filescripts/select_project.sh
HIGHObfuscated FileHIGH
scripts/select_project.sh
This script is a non-malicious utility that searches for a .env file, extracts PostHog configuration values, and prints them as JSON. However, it contains hardcoded API keys and will print secrets to stdout, which creates a meaningful security/privacy risk (credential leakage) especially in CI or logged environments. Recommended actions: remove embedded keys from source, avoid printing secrets (redact or omit sensitive fields), limit .env upward traversal or make it explicit, and rotate any keys that may have been exposed.
Confidence: 98%
Audit Metadata