Skip to content

Security: code5717/a7-py

Security

docs/SECURITY.md

Security Policy

Supported Versions

a7-py is pre-1.0. Security fixes land on master unless a release branch exists.

Trust Boundary

a7-py is not a sandbox.

The compiler reads A7 source and emits Zig, and the verification scripts build and run native binaries. Compiled A7 programs can do anything the host process and Zig runtime allow. Only compile and run A7 source you trust.

Local Verification

Before release, run the shared local and CI gate:

./run_release_checks.sh

It runs compiler and native artifact checks, isolated wheel and source installation, docs checks, locked project dependency audits, Bandit, and the repository secret scan. Passing these checks does not prove memory safety or replace the required GLM security review of substantive changes.

Known Security-Relevant Limitations

  • Compiled programs run without a sandbox.
  • No ownership or borrow-style lifetime model is enforced yet.
  • fall is accepted only as the final direct statement of a non-final match case; semantic validation rejects other placements.
  • Built-in stdlib imports are virtual and are not unified with file-based module semantics.
  • File-backed imports stay within configured module search paths; the resolver rejects absolute paths and parent-directory traversal.
  • Zig example checks are runtime smoke tests, not proofs for arbitrary programs.
  • The release workflow attaches built packages to draft GitHub releases and does not publish to a package registry.
  • Tag-created release artifacts carry GitHub artifact attestations; verify them with gh attestation verify <file> --repo code5717/a7-py before publishing or consuming a release.
  • Workflow actions are pinned to immutable commits resolved from upstream release tags on 2026-05-08.
  • Dependency audits check known advisories, not unknown vulnerabilities.
  • The committed-secrets check uses patterns and filenames; treat it as a guard, not a full data-loss prevention system.

docs/STATUS.md and docs/RELEASE.md track these limitations.

Reporting

Open a private security advisory or contact the repository owner before opening public issues for exploitable crashes, unsafe generated code, or release pipeline compromise.

There aren't any published security advisories