AILANG 1.x follows the support window defined in the Stability Promise.
Security fixes ship as patch releases on the latest 1.x minor (1.x minors are
non-breaking by promise, so upgrading is the supported path). The final 0.x
pre-soak release (v0.64.0) receives security fixes for 90 days after 1.0.0
ships.
| Version | Supported |
|---|---|
Latest 1.x minor release (see CHANGELOG.md) |
Yes (bug & security fixes) |
Final 0.x release (v0.64.0) |
Security fixes for 90 days after 1.0.0 |
Older 1.x minors and earlier 0.x releases |
No |
dev branch |
Best-effort; rolling development branch |
Please do not open a public GitHub issue for security vulnerabilities.
Report vulnerabilities privately through GitHub Security Advisories:
- GitHub Security Advisories — https://github.com/sunholo-data/ailang/security/advisories/new This creates a private draft that only maintainers can see.
- A description of the issue and its impact
- Steps to reproduce (a minimal
.ailprogram or command line is ideal) - The AILANG version (
ailang --version) and OS/architecture - Any suggested fix or mitigation you've already considered
This is a public commitment, not a target. If we can't meet it for a given report, we'll say so explicitly in our reply.
- Acknowledgement: within 3 business days of receipt
- Initial assessment (confirmed / not a vulnerability / need more info): within 7 days
- Fix timeline: critical issues within 14 days; lower severity on the next minor release
- Credit: reporters are credited in the release notes unless they request otherwise
The 14-day fix SLA aligns with the OpenSSF Best Practices
vulnerability_report_response requirement.
Vulnerabilities in scope include:
- The
ailangCLI and compiler (cmd/,internal/) - The standard library (
std/) - The dashboard server and coordinator (
internal/server/,internal/coordinator/) - Build and release workflows under
.github/workflows/ - Capability-system bypasses or effect-system soundness bugs
Out of scope:
- Issues in third-party dependencies — report those upstream. We track their advisories via Dependabot and OSV.
- Issues in generated AILANG code produced by external LLMs — those are a property of the model, not the language.
- Social-engineering or phishing against maintainers.
Release archives are signed keyless with Sigstore cosign starting with v0.14.1. Each .tar.gz / .zip has a matching <archive>.sig (signature) and <archive>.pem (certificate) attached to the GitHub release. An aggregate SHA256SUMS file is also published.
The installer at https://ailang.sunholo.com/install.sh performs verification automatically: cosign first if available, SHA256 fallback otherwise. To verify manually:
# Download archive + signature + cert (replace arch/OS/version as needed)
REPO=sunholo-data/ailang
VERSION=v0.14.1
ARCHIVE=linux.x64.ailang.tar.gz
BASE="https://github.com/$REPO/releases/download/$VERSION"
curl -fsSLO "$BASE/$ARCHIVE"
curl -fsSLO "$BASE/$ARCHIVE.sig"
curl -fsSLO "$BASE/$ARCHIVE.pem"
cosign verify-blob \
--signature "$ARCHIVE.sig" \
--certificate "$ARCHIVE.pem" \
--certificate-identity-regexp \
"^https://github\.com/$REPO/\.github/workflows/release\.yml@refs/tags/v.+$" \
--certificate-oidc-issuer \
"https://token.actions.githubusercontent.com" \
"$ARCHIVE"A successful verification proves the archive was built and signed by a GitHub Actions run of .github/workflows/release.yml in this repository, against a v* tag. The signing certificate is logged to the public Rekor transparency log, so the provenance is independently auditable.
If cosign isn't available, the SHA256 fallback uses the per-archive <archive>.sha256 files:
curl -fsSLO "$BASE/$ARCHIVE"
curl -fsSLO "$BASE/$ARCHIVE.sha256"
sha256sum -c "$ARCHIVE.sha256" # or: shasum -a 256 -c on macOSSHA256 confirms the archive wasn't corrupted in transit but does not by itself prove provenance — prefer cosign verification where possible.
Starting with v0.15.x, every release also carries SLSA Build Level 3 provenance attached as multiple.intoto.jsonl. This is a separate claim from the cosign signature: cosign proves this binary was signed by our workflow's OIDC identity; SLSA provenance proves which source commit, build steps, and inputs produced it. The two compose.
Verify with slsa-verifier:
go install github.com/slsa-framework/slsa-verifier/v2/cli/slsa-verifier@latest
VERSION=v0.15.0
ARCHIVE=linux.x64.ailang.tar.gz
BASE="https://github.com/sunholo-data/ailang/releases/download/$VERSION"
curl -fsSLO "$BASE/$ARCHIVE"
curl -fsSLO "$BASE/multiple.intoto.jsonl"
slsa-verifier verify-artifact "$ARCHIVE" \
--provenance-path multiple.intoto.jsonl \
--source-uri github.com/sunholo-data/ailang \
--source-tag "$VERSION"A successful verification confirms the binary was produced by the expected workflow run on the expected source tag. The provenance is itself signed via Sigstore and logged to Rekor, same trust root as the cosign signature above.
CI workflows under .github/workflows/ reference two classes of GitHub Actions, with different pinning policies:
- First-party (
actions/*,github/*) — pinned to major-version tags (e.g.actions/checkout@v6). The trust boundary is GitHub itself. SHA-pinning these would force constant Dependabot churn on identical-looking SHA bumps, which is itself an attack surface (reviewer rubber-stamping). Tags are the right granularity here. - Third-party (everything else) — pinned to a 40-character SHA
with a trailing version-tag comment for human readability:
Examples in this repo:
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0
sigstore/cosign-installer,softprops/action-gh-release,SonarSource/sonarqube-scan-action,ossf/scorecard-action,docker/build-push-action,docker/setup-buildx-action,astral-sh/setup-uv. A tag re-point on these actions actually changes the threat model (different organization holds the trust boundary), so SHA-pinning them is worth the maintenance cost.
Dependabot is configured to update both classes; for SHA-pinned references it proposes new SHA + new comment together, preserving the human-readable version tag.
AILANG is developed autonomously by AI agents via its coordinator. Third-party static-analysis badges on the README provide independent verification:
- Reliability / Security / Maintainability — SonarCloud
- Supply-chain — OpenSSF Scorecard
- Go code health — Go Report Card
If you believe the AI-authored nature of the codebase has introduced a security issue (e.g. a backdoor, unsafe default, credential leak), please report it via the same channels above.
When AILANG_AGENT_POLICY is set, registry network fetches and registry-cache
creation are refused, including through policy-tool's pkg_docs and lock.
Hosts can provision a read-only AILANG_PACKAGE_ROOT laid out as
<vendor>/<name>/<version>. When set, module resolution and package docs use
only this root; a missing package never falls back to the writable HOME cache.
Package reads do not create registry directories. Provision packages with
ailang install outside confinement, then copy the registry tree into the root.
Registry and git dependencies are checked against the lock file's content_hash
before compilation. A mismatch or unreadable package directory makes ailang check
exit non-zero immediately. Operators must protect the root and lock file from
agent writes; content verification does not authenticate an agent-modified lock.
Path dependency drift retains its existing warning behavior.
Confinement covers every transport the package commands use, not only the
registry client. Under AILANG_AGENT_POLICY, nothing reachable from an
ailang pkg verb or the package loader may open a network connection or write
under ~/.ailang:
- Network: every package HTTP client (registry, registry API, history,
publish, unpublish, publish keys) refuses at the transport;
git clone/fetch/ls-remoterefuse; the cascade Pub/Sub publisher refuses. - HOME writes: the git cache, the registry cache,
[bin]shims and the messaging store (~/.ailang/state/collaboration.db) are not created or modified.ailang checkover a project with a git dependency no longer creates~/.ailang/cache/git. - Git dependencies: a confined
ailang lock(andlock --check) never runs git. A git dependency is carried forward only when the existingailang.lockalready pins it (samegit_url,git_tag/git_revandgit_subdir) and the provisioned copy still hashes to the lockedcontent_hash; otherwise it is refused with "run 'ailang lock' outside the sandbox or provision AILANG_PACKAGE_ROOT". WithAILANG_PACKAGE_ROOTset, git dependencies resolve only from<root>/<vendor>/<name>/<version>, like registry packages. - Operator verbs (
publish,unpublish,pkg key,install,add,notify-upgrade,bin uninstall,pkg cascade) are refused at dispatch.
Every refusal reads confined by AILANG_AGENT_POLICY: <operation> is operator authority — <remedy>. The gate lives in internal/pkg/authority.go; a Go AST
test fails CI if package code reaches the network, git, the home directory, the
messaging store or Pub/Sub any other way, and an end-to-end matrix runs every
ailang pkg verb confined and fails when a verb has no row.
With AILANG_AGENT_POLICY set, the whole GitHub docs-search backend is refused
using the canonical typed confinement error before credential/helper discovery,
cache access, HTTP requests and cache writes. This also applies to direct or reused
Go backends and actual policy-tool children; valid cached GitHub results are not
agent authority. Supply a local documentation corpus for default SimHash search,
or have the operator perform GitHub fallback outside the sandbox. Explicit neural,
embedding and cache-management operations are separately scoped; this is not a
claim that every documentation mode is confined.