DevOps & CI/CD

Pipelines hold the keys. Know which ones.

CI/CD is where the most powerful credentials in the company meet the least reviewed code. TrustIvan inventories GitHub App installations, bot accounts and repositories and HashiCorp Vault AppRoles, matches every reported exposure to its identity, and shows what each identity can reach.

GitHub App & bot discovery: availableExposure findings: availableWorkflow identities, PATs, deploy keys: future capability

Connectors available today: HashiCorp Vault · GitHub · GitLab

  1. Repository platform/web
    Deploy key (rw) added 2023 · owner left
  2. Pipeline deploy-prod.yml
    Job token + 38 CI variables 3 variables hold cloud keys
  3. Runner self-hosted · pool-eu
    Runner registration token rotated 12d ago
  4. Terraform workspace prod-core
    Team token (static) provider creds in state
  5. Cloud account prod-core
    Static access key OIDC trust available
Illustrates the problem · every hop is an identity with a credential · no connector reads deploy keys, CI variables, runners or Terraform yet

CI/CD identity types

Every hop in the pipeline is an identity

From the deploy key on the repository to the role the pipeline assumes in production, each hop authenticates with something, and each something has an owner, an age and a blast radius.

Source control identities

GitHub App installations and the members GitHub marks as bots, with repositories as resources

Pipeline & runner identities

Job tokens, CI variables, self-hosted runners and service connections, no connector reads them yet

IaC & registry identities

Terraform team tokens, credentials in state and registry push tokens, no connector reads them yet

Federated identities

OIDC trusts from CI providers to clouds, workflow identities are not discovered yet

CI/CD risks

Where pipelines leak authority

Six failure patterns specific to build and deployment systems, the signal TrustIvan surfaces for each and its honest status.

  • CriticalAvailable

    Secrets in repositories and pipelines

    Surfaced today Exposures reported through the ingestion API, matched to the credential and identity they belong to, no scanner ships

  • HighAvailable

    Unowned GitHub Apps

    Surfaced today App installations and bot accounts with no resolvable owner, raised as findings with the installation’s evidence

  • CriticalFuture capability

    OIDC trust conditions too broad

    Planned signal Trusts that accept any branch, any repository or any environment from the CI provider, workflow identities are not read yet

  • HighFuture capability

    Over-scoped personal tokens used by automation

    Planned signal PATs with organization-wide write attached to bots and pipelines, the GitHub connector does not read personal access tokens yet

  • HighFuture capability

    Runner credential exposure

    Planned signal Self-hosted runners holding cloud credentials reachable from pull-request builds, runners are not read yet

  • HighFuture capability

    Provider credentials in state files

    Planned signal Terraform state containing cloud keys and connection strings, no Terraform connector ships yet

How it works

Match the secret. Name the identity. Bound the pipeline.

Three moves for CI/CD: match every reported exposure to its identity, flag the static keys a federated path should replace, and know what a deployment identity can reach in production.

Secrets in code & pipelines

A credential in a repository is a finding about an identity, not about a file

Secrets turn up in commits, history, CI variables, build logs and state files. When one is reported through the ingestion API, TrustIvan matches it to the credential it belongs to, the identity that holds it and the resources that identity reaches, so the ticket says what the key unlocks, not just where it was found.

  • Exposures arrive through the ingestion API from the scanner you already run, TrustIvan ships none.
  • Use after exposure from activity submitted through the same boundary, per credential.
  • Revocation and rotation are made at the provider by a person; TrustIvan refuses to propose a change it cannot carry out.
Available
See Credential Security
Illustrates the problem · exposures reach TrustIvan through its ingestion API
Federation over static keys

Replace the key in the CI variable with a trust the cloud can verify

GitHub Actions, GitLab CI and other providers can prove a job's identity with OIDC. Today TrustIvan flags the AWS access keys that stay static, by age, rotation and exposure, and draws the role trust a federated path would land in. Finding keys stored as CI variables and generating trust configuration are future capabilities.

  • Static keys ranked by age and by what the identity that holds them can reach.
  • Role trust on the graph, so the account a federated job would land in is visible.
  • Findings, not migration: TrustIvan does not rotate, revoke or delete keys at the provider.
See Rotation & Expiry
Credential rotation · last 365 days
  • Rotation overdue
  • Rotated
  • Reported exposed
  • Short-lived
  • aws-access-key/AKIA…7Q2F svc-billing-export › Rotation overdue · 611 days
  • aws-access-key/AKIA…M4TD etl-runner Rotated every 90 days
  • runtime-credential/support-copilot support-copilot Agent credential · 30-day lifetime
Illustrative · a static access key past its threshold beside a rotated key and a short-lived agent credential
Pipeline privilege

A pipeline that can deploy should not be able to destroy

Deployment identities accumulate permissions with every incident and every hurried fix. TrustIvan computes what a deployment identity can reach, as an upper bound, and flags privileged, unowned and high-impact access. Comparing that with what its jobs actually used needs per-grant usage no provider reports, so used versus granted is a future capability.

  • Effective access per identity, from trust, group membership and inline policy statements.
  • High-impact access flagged when an identity can reach a resource classified high impact.
  • Unused stays unknown: no provider reports per-grant use, so nothing is recommended for removal on a guess.
Used vs granted: future capability
See Posture Management
Pipeline permissions used vs granted Last 90 days · release and infrastructure identities
  • Used
  • Granted, never used
  • deploy-prod pipeline 72 can destroy 3 databases it never touches
  • terraform · prod-core 76
  • release-bot PAT 40 org-wide write · needs 2 repos
  • docs-preview pipeline 8 right-sized
  • image-build runner 33
Illustrates a future capability · per-grant usage is not collected today

Integration coverage

Code and CI/CD connectors, labelled honestly

Source control, pipelines, infrastructure as code, registries and the vault your pipelines should read from. HashiCorp Vault, GitHub and GitLab ship today; the rest are planned.

View all integrations
  • GitHub App installations, bot members, repositories and their visibilityAvailable
  • GitLab Group and project access tokens and their bots, deploy tokens, deploy keys, service accounts, scopes and rolesAvailable
  • HashiCorp Vault AppRoles, machine identity entities, auth mounts, policy namesAvailable
  • Azure DevOps Service connections, PATs, pipelinesPlanned
  • Bitbucket App passwords, access keys, pipeline variablesPlanned
  • Buildkite Agent tokens, cluster queuesPlanned
  • CircleCI Contexts, environment variables, OIDCPlanned
  • Docker Hub Access tokens, organization membersPlanned
  • Jenkins Credentials store, service users, job bindingsPlanned
  • JFrog Artifactory Access tokens, service usersPlanned
  • Terraform Cloud Workspaces, variable sets, team tokensPlanned

Find the credentials your pipelines are keeping.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.