trustabl-aws
Health Pass
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 47 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in scan/trustabl-scan.sh
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Agent Reliability Analyzer for AWS CodePipeline and CodeCatalyst: find agent reliability issues
Trustabl for AWS
Catch AI-agent reliability issues before they ship, inside AWS CI/CD. Scans
agent repos built on the Claude Agent SDK, OpenAI Agents SDK, Google ADK,
LangChain, LangGraph, CrewAI, AutoGen, AG2, Pydantic AI, Vercel AI SDK, and MCP.
Downloads the upstream trustabl release binary
(sha256-verified), prints a readiness report, emits trustabl.json +trustabl.sarif, and gates the build on risk and severity.
One scanner (scan/trustabl-scan.sh), two integrations:
| Target | How | Setup |
|---|---|---|
| AWS CodePipeline | CodeBuild action using codepipeline/buildspec.yml |
codepipeline/README.md |
| Amazon CodeCatalyst † | Workflow action (codecatalyst/workflows/trustabl.yaml) |
codecatalyst/README.md |
† CodeCatalyst has been closed to new customers since November 7, 2025. The
integration is maintained for existing customers; new users want CodePipeline.
Demo
A sixty-second walkthrough: install it, gate it, run the first scan, and the
exit code CI reads.
▶ Watch the demo · assets/trustabl-demo.mp4
Evaluating this against other tools? docs/EVALUATION.md
covers how to trial it and how to read what it reports.
Inputs (environment variables)
| Var | Default | Description |
|---|---|---|
TARGET |
. |
Path or GitHub URL to scan. |
VERSION |
latest |
trustabl release tag (e.g. v0.1.7) or latest. A pin without the v (0.1.7) is accepted. |
DETECTORS |
(all) | Comma-separated SDK subset (claude_sdk,openai_sdk,google_adk,...). |
BRANCH |
(detected) | Branch label for the report. Set this on CodePipeline — see below. |
DEBUG |
false |
true turns on set -x command tracing. |
STRICT |
false |
Fail on any finding of low or above (info never gates), and on a scan that found no agent surfaces at all. |
RULES_REF |
(default) | Pin an agent-reliability-rules git ref. |
RULES_REPO |
(default) | Override the agent-reliability-rules source repo. |
SARIF_FILE |
trustabl.sarif |
SARIF output path. |
JSON_FILE |
trustabl.json |
JSON ScanResult output path. |
RISK_SCORE_THRESHOLD |
0 |
Fail when risk (100 − readiness) >= N. 0 disables. |
SEVERITY_THRESHOLD |
none |
Fail when any finding >= severity (none/info/low/medium/high/critical). |
GITHUB_TOKEN |
(none) | Optional — avoids GitHub's 60 req/hr anonymous rate limit. |
REPORT_ONLY |
false |
Scan and publish artifacts without gating. Scanner errors (exit 2) still fail the build. |
SECURITY_HUB |
false |
Import ASFF findings into AWS Security Hub (securityhub:BatchImportFindings). |
TRUSTABL_BIN_DIR |
(temp dir) | Where to download/unpack the binary. Must sit outside TARGET. |
Outputs
trustabl.json, trustabl.sarif, trustabl-summary.md, trustabl.env
(TRUSTABL_READINESS_SCORE, TRUSTABL_RISK_SCORE, TRUSTABL_MAX_SEVERITY,TRUSTABL_FINDINGS_COUNT, TRUSTABL_EXIT_CODE), and trustabl.asff.json (ASFF
for Security Hub).
Why BRANCH matters on CodePipeline
The script tries three ways to work out the branch and repository, and on
CodePipeline all three miss. CODEBUILD_WEBHOOK_HEAD_REF is set only for
webhook events; CODEBUILD_SOURCE_REPO_URL "may be empty" when the build
originates from CodePipeline; and a pipeline source artifact is an unzipped
snapshot with no .git for the final fallback. Every report then readsRepository: . / Branch: unknown. Set BRANCH explicitly to get a real
label.
A note on "AWS Marketplace"
AWS has no self-serve CI-plugin catalog like the GitHub/Azure/Bitbucket
marketplaces. Distribution is copy-paste: vendor the scan/ directory plus
the relevant wrapper into your repo. A native CodePipeline action provider is an
AWS Partner integration; an AWS Marketplace listing is a separate product
(container/SaaS) motion.
Quick Start: Vendor into your Project
Because AWS does not offer a native self-serve plugin marketplace, you can quickly vendor the Trustabl scanning system into your existing repository. Run this one-liner from your project root to fetch the latest scanner script and make it executable:
mkdir -p scan && curl -fsSL https://raw.githubusercontent.com/trustabl/trustabl-aws/main/scan/trustabl-scan.sh -o scan/trustabl-scan.sh && chmod +x scan/trustabl-scan.sh
Rule integrity
trustabl verifies rules against an embedded trust keyring by default and
refuses to run unverified rules, exiting 2 on a verification failure. It also
has an unsigned git path, and this plugin exposes two inputs that reach it:
| Var | Default | Effect on integrity |
|---|---|---|
RULES_REPO |
(default) | Exported as TRUSTABL_RULES_REPO — points the scan at a different rules source. |
RULES_REF |
(default) | Pins a git ref rather than taking the current signed bundle. |
REQUIRE_SIGNED |
false |
true passes --require-signed, which forbids the unsigned fallback. |
Neither of the first two is wrong to use — pinning a ref is a reasonable way to
get reproducible scans. What matters is that a gate should be explicit about it.
Set REQUIRE_SIGNED=true and the scan fails rather than quietly falling back to
unsigned rules; leave it unset and the behaviour is exactly as before.
A scanner is only as trustworthy as the rules it runs, so it is worth deciding
this deliberately rather than inheriting a default.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found