other
- Location
scripts/scan.sh:54- Finding
Sensitive AI Tooling and Authentication Posture Reconnaissance
- Content
View full analysis
/dev/null; then printf 'likely-authenticated|oauthAccount present in ~/.claude.json'; return fi printf 'unknown|no credentials file, oauthAccount, or env key found' } auth_codex() { local out out=$(run_to codex login status) case "$out" in *"ot logged in"*) printf 'unauthenticated|codex login status: %s' "$out" | head -c 250; return ;; *"ogged in"*) printf 'likely-authenticated|codex login status: %s' "$out" | head -c 250; return ;; esac if [ -f "$HOME/.codex/auth.json" ]; then printf 'likely-authenticated|~/.codex/auth.json exists'; return; fi if [ -n "${OPENAI_API_KEY:-}" ]; then printf 'likely-authenticated|env OPENAI_API_KEY is set'; return; fi printf 'unknown|login status inconclusive; no auth.json or env key' } auth_gemini() { if [ -n "${GEMINI_API_KEY:-}" ]; then printf 'likely-authenticated|env GEMINI_API_KEY is set'; return; fi if [ -n "${GOOGLE_API_KEY:-}" ]; then printf 'likely-authenticated|env GOOGLE_API_KEY is set'; return; fi if [ -f "$HOME/.gemini/oauth_creds.json" ]; then printf 'likely-authenticated|~/.gemini/oauth_creds.json exists'; return; fi printf 'unknown|no env key or oauth_creds.json found' } auth_copilot() { if [ -d "$HOME/.copilot" ]; then printf 'unknown|~/.copilot config dir present; live probe needed to confirm'; return; fi printf 'unknown|no auth signal found' } auth_opencode() { if ...[truncated 5981 chars]- Remediation
View remediation
