Open-source machine identity security for AWS, GitHub, and Kubernetes.
Find risky trust paths, repository exposure, and authorization gaps before they become incidents.
Enterprise Quickstart · Website · Discord · Issues
Identrail is for security and platform teams that need fast answers to practical machine identity questions:
- Which GitHub workflows, secrets, or automation paths can expose sensitive access?
- Which AWS roles and trust relationships create unnecessary blast radius?
- Which Kubernetes service accounts and RBAC bindings can reach more than they should?
- How can teams turn those signals into explainable findings and safer authorization decisions?
Use Identrail when you want read-only visibility first, then a clear path to hosted scans, source onboarding, trends, and audit-ready evidence.
Choose the source you want to check first. GitHub, AWS, and Kubernetes each have a separate first-run path.
Install the CLI with Homebrew:
brew install identrail/tap/identrailOr build from source when you want to contribute:
git clone https://github.com/identrail/identrail.git
cd identrail
go build -o ./bin/identrail ./cmd/cliIf you build from source, replace identrail with ./bin/identrail in the
commands below unless you add the binary to your PATH.
Scan a public repository:
identrail scan owner/repoUse limits when you want a faster first look:
identrail scan owner/repo --history-limit 5 --max-findings 5Scan a private repository you already cloned:
cd private-repo
identrail scan .For hosted private-repository scans, sign in to identrail.com, create or select a project, and connect the Identrail GitHub App.
Make sure your terminal has read-only AWS credentials:
aws sts get-caller-identityRun an AWS machine identity scan:
IDENTRAIL_PROVIDER=aws \
IDENTRAIL_AWS_SOURCE=sdk \
IDENTRAIL_AWS_REGION=us-east-1 \
identrail scanChange IDENTRAIL_AWS_REGION to the AWS region you want to inspect.
For hosted AWS connectors, check the connected status and next action from the API-backed CLI:
identrail aws-status \
--api-url "$IDENTRAIL_API_URL" \
--api-key "$IDENTRAIL_API_KEY" \
--tenant-id tenant-a \
--workspace-id workspace-a \
--project-id productionThe app's single-account path opens a prefilled read-only CloudFormation stack. After the AWS administrator approves it, Identrail registers and validates the role automatically; no role ARN, External ID, access key, or secret key is copied into the app.
Make sure kubectl can reach the cluster:
kubectl config current-contextCheck that your current identity can list the objects Identrail needs:
kubectl auth can-i list serviceaccounts --all-namespaces
kubectl auth can-i list rolebindings --all-namespaces
kubectl auth can-i list clusterrolebindings
kubectl auth can-i list roles --all-namespaces
kubectl auth can-i list clusterroles
kubectl auth can-i list pods --all-namespacesRun a Kubernetes machine identity scan:
IDENTRAIL_PROVIDER=kubernetes \
IDENTRAIL_K8S_SOURCE=kubectl \
identrail scanUse a specific kube context when needed:
IDENTRAIL_PROVIDER=kubernetes \
IDENTRAIL_K8S_SOURCE=kubectl \
IDENTRAIL_KUBE_CONTEXT=my-cluster-context \
identrail scanUse Docker when you do not want to install the CLI locally.
Scan a GitHub repository:
docker run --rm ghcr.io/identrail/identrail-cli:latest scan owner/repoScan a private repository you already cloned:
cd private-repo
docker run --rm -v "$PWD:/repo" -w /repo ghcr.io/identrail/identrail-cli:latest scan .Run an AWS scan with a local AWS profile:
docker run --rm \
-v "$HOME/.aws:/aws:ro" \
-e AWS_CONFIG_FILE=/aws/config \
-e AWS_SHARED_CREDENTIALS_FILE=/aws/credentials \
-e AWS_PROFILE=default \
-e IDENTRAIL_PROVIDER=aws \
-e IDENTRAIL_AWS_SOURCE=sdk \
-e IDENTRAIL_AWS_REGION=us-east-1 \
ghcr.io/identrail/identrail-cli:latest scanFor live Kubernetes scans, use the Homebrew or source-built CLI where kubectl
is installed and configured. The CLI container stays small and does not include
kubectl.
Go to identrail.com, sign in, create or select a workspace, and connect the sources your project owns: GitHub, AWS, and Kubernetes.
Use the hosted app when you want project-scoped source onboarding, GitHub App scans, scan history, findings, trends, and owner-ready review workflows.
For production deployment, SSO, tenant/workspace scope, connector secrets, and audit logging, use the Enterprise Quickstart.
- Scans GitHub repositories for secrets, risky GitHub Actions workflows, CI exposure, and repository posture signals.
- Discovers AWS IAM trust paths, role relationships, and machine identity risk from live AWS accounts or fixtures.
- Discovers Kubernetes service accounts, RBAC bindings, and cluster identity paths from live clusters or fixtures.
- Produces explainable findings with evidence, severity, confidence, ownership, and remediation context.
- Provides CLI, Docker, API, worker, and web workflows for local scans, hosted scans, source onboarding, trends, and review.
- It is not a cloud SIEM replacement.
- It is not an endpoint runtime agent.
- It is not a generic CSPM for every cloud and SaaS provider.
- It does not mutate your cloud, cluster, or repository state during read-only scans.
V1 focuses on machine identity security across GitHub, AWS, and Kubernetes.
Source -> Collector -> Normalizer -> Graph -> Risk Rules -> Findings -> CLI/API/Web
The CLI runs local scans directly. The API enqueues hosted scans, the worker processes them, and results are available through the API, CLI, and web UI.
Choose the path that matches how you want to run Identrail:
- Hosted app: use identrail.com for source onboarding and scan review.
- Local CLI: use Homebrew, Docker, or a source build for quick read-only scans.
- Local stack: use Docker Compose from
deploy/docker. - Kubernetes: use manifests in
deploy/kubernetesor the Helm chart indeploy/helm/identrail. - Infrastructure as code: use the Terraform modules in
deploy/terraform. - Linux VM: use the systemd units in
deploy/systemd.
See Deployment Anywhere for operator commands.
- Versus broad CSPM tools: Identrail is narrower and deeper on machine identity trust, repository automation exposure, and authorization workflows.
- Versus secret scanners alone: Identrail links repository findings into identity risk context.
- Versus policy engines alone: Identrail adds discovery and risk evidence, not only policy evaluation.
Security and Support SLA
If you discover a vulnerability, please use private reporting only:
- GitHub private advisories: https://github.com/identrail/identrail/security/advisories/new
- Email: [email protected]
Maintainer targets for supported versions:
- Acknowledge valid reports within 72 hours.
- Initial triage within 7 days.
- Weekly status updates until resolution.
Full policy: SECURITY.md.