This release is a pre-release and may not be stable for production use.
AI-assisted scanner that supports long-horizon time assurance by identifying potential Y2038/Y2106-class risks in source code.
pip install time-assurance-code-scanner==0.2.0rc3 Copy PIP instructions
Open-source, AI-assisted code scanner (tacs) that supports long-horizon time assurance by identifying potential Y2038 / Y2106-class risks in source code around 32-bit time_t and related ABI assumptions.
“Assurance” here means systematically identifying and documenting potential time-related risks and evidence for review. TACS contributes to that process; it does not guarantee that all such risks have been found, and it cannot prove a system free of rollover defects.
This repository is the open-source scanner engine and CLI. It is the code-scanning sibling of time_assurance_doc_scanner (tads).
New here? Follow QUICK_START.md — install through a first local scan (no LLM required).
v0.2.0rc3 — release candidate on the CLI-first scanning pipeline. Public result documents use schema_version 1.2 (candidates[], assessments[], findings[], plus optional meta.llm_provider / meta.reasoning_effort). Schema 1.1 reports still load and render. See CHANGELOG.md.
Default LLM mode for a first run: --llm none (deterministic candidate discovery on the bundled tests/patterns tree; no API key). External LLMs are opt-in via --llm or TACS_LLM_PROVIDER.
BYOLLM: bring your own provider; no vendor lock-in. API keys and provider settings may be supplied through process environment variables or a local .env; process environment values take precedence.
There is no hosted code vault, but “local” is not the same as “nothing is retained.”
TACS is an AI-assisted review aid, not an authoritative compliance oracle. Treat outputs as candidates for review, not confirmed defects.
TACS is not a completeness checker. A clean scan does not establish that a codebase is free of Y2038, Y2106, or other time-related rollover risks. Detection depends on the current rules, supported language constructs, environment assumptions, analysis heuristics, and—when enabled—the behavior of the selected LLM.
Scans are only as meaningful as the assumed ABI/time_t model. Prefer an explicit --env-config JSON (see configs/ and docs/env_config.md).
tacs detect can guess among eight configs from Makefiles/CMake. That path is experimental and often low-confidence — use it for convenience, not as ground truth. Batch/repos may fall back when detection is unsure; set an explicit config_override in the JSONL when you know the target.
python3 -m venv .venv source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -e ".[dev]" tacs version tacs scan \ --root tests/patterns \ --rules src/tacs/rules/y2038_sample_rules.json \ --env-config configs/example.env_config.json \ --llm none \ --out findings.json Then open findings.json. For providers, troubleshooting, and batch/render, see QUICK_START.md.
Sibling project: time_assurance_doc_scanner (tads) — documentation / standards scanner.
See CONTRIBUTING.md. Deferred non-blocking work is tracked in docs/backlog.md. To report a vulnerability, use SECURITY.md (not a public issue).
Licensed under the Apache License, Version 2.0.
y2038 y2106 time_t static-analysis security c cpp time-assurance
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.




