who created the token. sub — Subject: the identity of the user aud — Audience: the intended recipient. iat — Issued-at time. exp — Expiration time (Unix timestamp). auth_time — Time when the user authenticated. JSON Web Signatures (JWSs)
Systems 3 Resource Servers (Artifact Registries/Cloud Systems) Access Token (Short-lived) timed to last the job run JOB 1 4 Access to Resource with Access Token ID Token Request 5 2 OIDC TRUST ROLES ID Token (JWT) RESOURCES OIDC IDENTITY PROVIDER
the developer's responsibility. Developers must still secure their workflows, and repository access. A secure identity is only as trustworthy as the process that requests it.
already. Remove every “pull_request_target” workflow that checks out PR code. Remove caches in release/publish workflows. Pin every third-party action to a commit SHA. Be intentional about permission given to AI agents in workflows. Treat all inputs as untrusted, especially around AI agents. Enforce 2FA in your environments where possible (github, npm etc.) Configure an installation cooldown window in your package manager. Invest in security tools (Socket, Step Security etc.) if you can