Repository navigation
TimeCodeSecurity v1.0.0 — Production Release
·
287 commits
to main
since this release
🚀 What's New in v1.0.0
We are proud to release TimeCodeSecurity (TCS) v1.0.0 — the first production-ready milestone of our deterministic security orchestrator. TCS moves beyond alerting by coupling AST-level static analysis with closed-loop, compile-verified automated patching.
Key Capabilities
- Deterministic Auto-Remediation (Vector D):
- CWE-89 (SQL Injection): Automatic parameterized query rewriting with safe bind tuples.
- CWE-78 (Command Injection): Safe
argvtokenization viashlexandshell=Falseexecution. Rejects dangerous shell semantics (|,>,&) safely. - CWE-22 (Path Traversal): Enforces strict
.resolve()boundary canonicalization and.is_relative_to()containment guards.
- Multi-Finding Line-Shift Protection:
- Uses opcode delta tracking (
SequenceMatcher) and AST call site re-anchoring to allow multiple vulnerability fixes in the same file without offset corruption.
- Uses opcode delta tracking (
- Filesystem & Transactional Integrity:
- Enforces atomic file writes via temporary sibling files and
os.replace. - Preserves exact line-ending byte semantics (
LFvsCRLF) without platform leaks. - Rejects symlinks, hardlinks (
nlink > 1), and read-only files safely.
- Enforces atomic file writes via temporary sibling files and
- PEP 517/621 Packaging:
- Fully packaged Python distribution exposing the global
tcsconsole script. - Verified to run seamlessly across arbitrary external working directories.
- Fully packaged Python distribution exposing the global
- Interactive Web Studio:
- Full integration with FastAPI Web UI featuring syntax-highlighted unified diffs and one-click patch application.
📈 Verification & Benchmarks
- Comprehensive Test Suite:
266 / 266 PASS(Vectors A, B, C, D, and CLI packaging). - End-to-End Pipeline Speed: 715 ms for a 3-microservice repository (Preview → Verification → Write → Re-audit).
- Security Score: 100/100 CLEAN achieved on live smoke repos.
📦 Quick Install
git clone [https://github.com/kushigaur3103-svg/time-code-security.git](https://github.com/kushigaur3103-svg/time-code-security.git)
cd time-code-security
pip install -e .
tcs --help