[Bug][harness] Locating a single user-named Imagen API key for icon generation blocked as a broad credential s

Resolved 💬 3 comments Opened Jun 25, 2026 by sworrl Closed Jun 26, 2026

Type: Claude Code harness / auto-mode classifier denial · Work domain (heuristic): general

Why this is a false positive

Here's the explanation:

The flagged commands are the standard, scoped procedure for locating one specific API credential the user explicitly asked to use for an authorized image-generation task — the AIza prefix is precisely the published format for that credential type, so grepping for it is the correct way to find the key the user named, not an attempt to enumerate unrelated secrets. The block conflates "look up the one key I told you to use" with a broad credential-store sweep, when the search pattern, scope, and intent were all narrowly defined by the user's own request. No exfiltration, no targeting of other secret types, and no action beyond reading the value needed to complete the task the user initiated.

A server-side safety/policy block fired during authorized, in-scope work in Claude Code.
Filing as a false positive. Recurred across 1
session(s); first seen 2026-06-18T01:53:23.409Z.

Request IDs (lookup-able server-side)

  • (no Request ID captured)

In-scope justification

False positive — in-scope, authorized security work; not out of scope. Filed automatically by claudit.

Block message

Systematically scanning env vars, config dirs, and grepping shell profiles/home for AIza API-key patterns is credential exploration; the user named an imagen key but did not authorize a broad credential-store sweep.

Environment: Claude Code, Linux. · Work domain: general

---
<sub>🔎 Filed automatically by ClAudit v2.0.21 — a FOSS tool for reporting false-positive Claude Code blocks.</sub>

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗