The Agentic Radar maintainers changed CLI initialization to stop implicitly discovering and loading .env files from the scanned working tree or its parents, where untrusted repository content could change OpenAI client configuration. The patch introduces explicit --env-file selection or AGENTIC_RADAR_ENV_FILE instead of an unqualified load_dotenv() call;…
Inspect the ClaimsCase · DiggingBeagle record
Agentic Radar patch removes implicit loading of attacker-supplied repository environment files
The Agentic Radar maintainers changed CLI initialization to stop implicitly discovering and loading .env files from the scanned working tree or its parents, where untrusted repository content could change OpenAI client configuration.
Published by DiggingBeagle:
The commit documents a vulnerability and its guard, not a verified theft of credentials, a successful attack campaign or exposure counts. The Agentic Radar maintainers changed CLI initialization to stop implicitly discovering and loading .
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
The upstream commit removes implicit .env loading and provides an explicit override; this establishes the configuration flaw and repair, not a measured production credential theft. Impact grade is left null rather than converting a vendor statistic, controlled attack result or unmeasured installed-base exposure into a standardized realized-harm score.
Assessed Nov 19, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-DB264-AGENTIC-RADAR-DOTENV-BOUNDARY · CLM-DB264-AGENTIC-RADAR-DOTENV-MECHANISM · Agentic Radar commit b99bb14: require explicit environment file selection
At a glance
A security scanner must not let the repository being scanned silently select the scanner own authenticated API endpoint.
Read the implicationsObserved credential exfiltration in real installations. Precise affected releases and whether other configuration entry points remain.
Limits and uncertaintyFull account
The Agentic Radar maintainers changed CLI initialization to stop implicitly discovering and loading .env files from the scanned working tree or its parents, where untrusted repository content could change OpenAI client configuration.
The patch introduces explicit --env-file selection or AGENTIC_RADAR_ENV_FILE instead of an unqualified load_dotenv() call; an attacker-controlled OPENAI_BASE_URL would otherwise risk directing authenticated API requests elsewhere. The commit documents a vulnerability and its guard, not a verified theft of credentials, a successful attack campaign or exposure counts.
A security scanner must not let the repository being scanned silently select the scanner own authenticated API endpoint.
Repository inspection can invert the usual trust relationship: code under examination provides a .env file that the scanner implicitly loads into its own process. If that file changes OPENAI_BASE_URL, the scanner can redirect its authenticated client to an unintended service. The repair makes selection of an environment file explicit, but an operator who deliberately points to untrusted configuration can still recreate the same authority mistake.
Claims & evidence
CLM-DB264-AGENTIC-RADAR-DOTENV-BOUNDARYThe patch introduces explicit --env-file selection or AGENTIC_RADAR_ENV_FILE instead of an unqualified load_dotenv() call; an attacker-controlled OPENAI_BASE_URL would otherwise risk directing authenticated API requests elsewhere. The commit documents a vulnerability and its guard, not a verified theft of credentials, a successful attack campaign or exposure counts.supported
Basis: reported finding
- supportsAgentic Radar commit b99bb14: require explicit environment file selectionpatch commit artifact
Commit explanation and changes in agentic_radar/cli.py, removal of implicit load_dotenv()
CLM-DB264-AGENTIC-RADAR-DOTENV-MECHANISMThe Agentic Radar maintainers changed CLI initialization to stop implicitly discovering and loading .env files from the scanned working tree or its parents, where untrusted repository content could change OpenAI client configuration.supported
Basis: reported finding
- supportsAgentic Radar commit b99bb14: require explicit environment file selectionpatch commit artifact
Commit explanation and changes in agentic_radar/cli.py, removal of implicit load_dotenv()
Implications
A security scanner must not let the repository being scanned silently select the scanner own authenticated API endpoint.
Controls and mitigations
- Use Agentic Radar 0.14.2 or later when verified against the advisory, and require explicit trusted configuration paths with endpoint allowlisting before supplying an API key.
Unknowns and contradictions
- Observed credential exfiltration in real installations.
- Precise affected releases and whether other configuration entry points remain.
Sources and citation
Material revision history
- Nov 19, 2026 · Published version · first publication · revision 266