Join our Newsletter — 33% off our NHI Course

What happens when Codex gets just-in-time access?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Coding agents need runtime governance, 1Password says, because secrets that reach prompts, code, or local files widen exposure beyond human-only workflows. Time-bound credential issuance narrows the blast radius when agents need temporary access.

Editorial analysis by NHI Mgmt Group, based on content published by 1Password: “1Password secures coding agents with new OpenAI Codex integration”.

Key questions

Q: Why do AI coding tools increase secrets risk?

A: AI coding tools increase secrets risk because they can accelerate the reuse of insecure patterns across repositories, test fixtures, and automation scripts.

Q: How do security teams know if just-in-time access is actually working?

A: Look for short-lived sessions, automatic revocation, and complete request-to-access logs.

Q: What breaks when coding agents are given persistent credentials instead of just-in-time access?

A: Persistent credentials break the assumption that access can be safely reviewed after issuance.

Practitioner guidance

  • Instrument just-in-time issuance for agent workflows Require credentials to be issued only inside approved execution paths and expire them when the task ends, not when a person logs out.
  • Remove credential material from prompts and repositories Replace copied secrets, hardcoded values, and local credential files with vaulted references so the agent never sees the raw secret.
  • Separate developer context from credential context Keep model prompts, code generation, and terminal output isolated from secrets so a coding agent cannot surface or retain usable credentials.

Bottom line: Coding agents change the identity problem because access now has to be governed at runtime, not only protected at storage.

Glossary terms: Runtime Credential Injection, Just-in-Time Access Request, Model Context Window, Identity Blast Radius

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 1 week ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20712
 

Runtime access is becoming the governing unit of identity for coding agents. The old model treated secrets as possessions to store and rotate, but AI-native development turns them into transient permissions that must exist only long enough to complete a single task. That makes issuance, approval, and expiry more important than secret visibility alone. Practitioners should start treating runtime as the boundary that matters.

A few things that frame the scale:

  • Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
  • Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to the State of Secrets in AppSec.

A question worth separating out:

Q: Who should own governance when human and AI agent identities share workflows?

A: Identity, security, and platform teams should share ownership, but accountability must be explicit and tied to the workflow owner. Shared workflows collapse responsibility quickly unless each action can be traced to a specific identity and authority chain. That is especially true when agents operate inside developer or browser environments.

👉 Read our full editorial: Runtime credential injection narrows Codex access risk


This post was modified 1 week ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.