AWS releases open-source credsd credential daemon to keep cloud credentials away from AI coding agents
Amazon Web Services released AWS Credential Daemon (credsd) on December 4, 2026. It is an Apache 2.0 open-source tool that protects cloud credentials on developer workstations. It encrypts long-lived secrets at rest, refreshes sign-in sessions in the background and issues short-lived AWS credentials on demand without returning the underlying secrets. The release targets credential theft by AI coding agents that run under the developer's own user ID and can read plaintext files under ~/.aws/. This is a defensive product release, not a vulnerability or an incident.
Detalhes técnicos
- credsd encrypts refresh tokens, signing keys and static IAM access keys. The master key is held in the macOS Data Protection Keychain or a Linux TPM 2.0.
- Linux installation fails if the TPM is unavailable. Administrators can explicitly choose a file-backed fallback, which relies on full-disk encryption.
- AWS CLI integration is in preview for macOS and Linux. It supports
aws loginandaws configurefor new profiles. Nativeaws sso loginsupport and bulk migration are planned for later preview updates. SDK applications can use acredential_processprofile. - Paired with Strands Box, the egress gateway fetches a temporary session from credsd over a local Unix socket and applies SigV4 signing outside the agent process. The agent only sees placeholder keys.
- AWS STS
sts:GetScopedCredentialsapplies an inline session policy at issuance. The policy can narrow the role's permissions but cannot add any. - credsd logs the kernel-reported UID, PID and executable path for each credential request locally. A dedicated agent role separates agent activity from developer activity in CloudTrail.
- Limits: an unsandboxed agent can still ask the AWS CLI or an SDK for temporary credentials under the developer's identity. Prompt injection can still trigger API calls that the sandbox and session permit. Migration does not revoke keys already copied elsewhere.
Remediação
AWS recommends three steps:
- Verify the active storage backend with
credsd status. - Remove residual plaintext entries from
~/.aws/credentialsand shell startup files. - Rotate migrated keys that may still exist in backups or dotfiles.
Linha do tempo
-
AWS releases open-source credsd credential daemon to keep cloud credentials away from AI coding agents
ler a análise desta fonte ocultar
Amazon Web Services released AWS Credential Daemon (credsd) on December 4, 2026. It is an Apache 2.0 open-source tool that protects cloud credentials on developer workstations. It encrypts long-lived secrets at rest, refreshes sign-in sessions in the background and issues short-lived AWS credentials on demand without returning the underlying secrets. The release targets credential theft by AI coding agents that run under the developer's own user ID and can read plaintext files under
~/.aws/. This is a defensive product release, not a vulnerability or an incident.Technical Details
- credsd encrypts refresh tokens, signing keys and static IAM access keys. The master key is held in the macOS Data Protection Keychain or a Linux TPM 2.0.
- Linux installation fails if the TPM is unavailable. Administrators can explicitly choose a file-backed fallback, which relies on full-disk encryption.
- AWS CLI integration is in preview for macOS and Linux. It supports
aws loginandaws configurefor new profiles. Nativeaws sso loginsupport and bulk migration are planned for later preview updates. SDK applications can use acredential_processprofile. - Paired with Strands Box, the egress gateway fetches a temporary session from credsd over a local Unix socket and applies SigV4 signing outside the agent process. The agent only sees placeholder keys.
- AWS STS
sts:GetScopedCredentialsapplies an inline session policy at issuance. The policy can narrow the role's permissions but cannot add any. - credsd logs the kernel-reported UID, PID and executable path for each credential request locally. A dedicated agent role separates agent activity from developer activity in CloudTrail.
- Limits: an unsandboxed agent can still ask the AWS CLI or an SDK for temporary credentials under the developer's identity. Prompt injection can still trigger API calls that the sandbox and session permit. Migration does not revoke keys already copied elsewhere.
Remediation
AWS recommends three steps:
- Verify the active storage backend with
credsd status. - Remove residual plaintext entries from
~/.aws/credentialsand shell startup files. - Rotate migrated keys that may still exist in backups or dotfiles.