-
Notifications
You must be signed in to change notification settings - Fork 0
Security and Trust
This page explains four things:
- what
aicagesends over the network and why - what
aicageverifies before using images - what CI verifies before release
- how much is covered by tests
aicage does not collect user data and does not send telemetry.
aicage still needs normal network access for package and image operations.
| Why | Who connects | Typical target |
|---|---|---|
| Version check |
aicage host process |
https://pypi.org/pypi/aicage/json |
| Check if a newer image exists |
aicage host process |
Public registry API (usually GHCR, sometimes Docker Hub) |
| Get token for registry check |
aicage host process |
Registry token endpoint (anonymous flow for public images) |
| Pull image layers | Docker daemon | Image registry (for built-ins usually ghcr.io) |
| Verify image signatures |
aicage via short-lived cosign container |
Signature data for the image digest |
| Build local images (if needed) | Docker build steps | Package/tool endpoints used by build scripts |
| Check agent version for local builds |
aicage host process or version-check container |
Endpoints used by agent version.sh (often registries or HTTP APIs) |
| Agent runtime calls | Agent in container | Endpoints used by that agent/provider |
Agents run with their own network behavior and can use mounted credentials.
For built-in agents that are built locally and for custom local agents, aicage runs the agent version.sh check.
Those checks can call registries or HTTP APIs, depending on the script.
Before aicage pulls built-in remote images, it verifies signatures.
Checks include:
- image digest
- expected signer identity
- expected OIDC issuer (
https://token.actions.githubusercontent.com)
Runtime note: local runtime enforces signature checks. It does not run full SLSA verification locally.
Image release pipelines run these checks before publishing:
- build for amd64 and arm64
- smoke tests
- sign images
- verify signatures
- check provenance presence
Non-redistributable agent images are also smoke-tested in CI before release.
aicage release CI runs:
- unit tests with coverage
- integration tests for real Docker runs for most use cases
- dedicated proxy integration scenarios
Recent full run: 96% total coverage.