Trace agentic CI through OIDC
Follow a gh-aw workflow with id-token: write to a trusting AWS role. Inspect the escalation rule it can reach and check the workflow’s repository and ref.
Trace a GitHub agentic workflow through OIDC into AWS IAM. Review the source patch and check that your recorded calls, tools and network domains still work.
curlFrom the target repository, add the PR workflow. It writes .github/workflows/leastcut-pr.yml.
mkdir -p .github/workflows && curl -fsSL https://raw.githubusercontent.com/Shivam007kumar/LeastCut/main/examples/leastcut-pr.yml -o .github/workflows/leastcut-pr.ymlpipIn an active Python 3.11–3.13 environment with Git installed, install LeastCut with the local explorer.
python -m pip install 'leastcut[web] @ git+https://github.com/Shivam007kumar/LeastCut.git'Docker buildFrom the LeastCut checkout, build the local image.
docker build -t leastcut .Docker scanFrom the repository you want to inspect, run the scan.
docker run --rm -v "$PWD:/work" leastcut scan /workFollow a gh-aw workflow with id-token: write to a trusting AWS role. Inspect the escalation rule it can reach and check the workflow’s repository and ref.
Supply resolved infrastructure with --plan-json and matching Terraform source with --tf-dir. Review the --strict cut in your pull request.
Find principals allowed to use Bedrock or AgentCore that lack an email-format owner tag. Review the proposed owner for spend attribution.
Use bulk-scan to compare findings and parse errors across projects. Open the JSON results to choose which repository to review first.
Read Terraform, IAM exports and workflow definitions.
Follow trust and permissions to an escalation rule.
Propose targeted denies and trim unused workflow access.
Recheck paths and replay the supplied usage.
Inspect the patch and the review in the Actions job summary.
Loading Real Scan…
Loading Real Scan…
Couldn’t load this fixture.
The workflow comments on eligible same-repository PRs. Fork and Dependabot PRs use the job summary. Operator guide
Switch fixtures, inspect a role and read the patch that closed its modeled paths.
IAM-Vulnerable strict cut. All 22 baseline-allowed synthetic calls preserved.
Fixture resultsMatching lock files yielded 2,781 compiled jobs.
Public corpusStatic Terraform parsing found 81 pre-cut paths.
CloudGoat run2,297 → 0 in 140.830s total wall time. The stress run counted pre-cut principal/rule pairs and remaining paths, with zero usage observations.
Stress runRepository test suite.
Recorded test result