Recent Releases of cryptex-ai

cryptex-ai - v0.3.3: True Temporal Isolation Implementation

๐Ÿ”ฅ Major Fix - True Temporal Isolation

This release implements genuine temporal isolation where AI services receive placeholders while functions get real secrets through intelligent monkey-patching.

๐Ÿš€ What's New

Core Fix: - โœ… Fixed @protect_secrets decorator to intercept actual AI library calls - โœ… AI services now receive {{PLACEHOLDERS}} while functions get real values - โœ… Context manager for temporary monkey-patching during function execution - โœ… Automatic cleanup and restoration of original methods

Test Infrastructure: - ๐Ÿงช Reorganized test suite into proper unit/integration/security/performance structure
- ๐Ÿงช 135 comprehensive tests proving temporal isolation works - ๐Ÿงช Live demonstration scripts showing real vs placeholder data - ๐Ÿงช Comprehensive AI call interception validation

Documentation: - ๐Ÿ“š Updated README.md with accurate implementation examples - ๐Ÿ“š Fixed llms.txt to reflect monkey-patching architecture - ๐Ÿ“š All docstrings updated to show working examples - ๐Ÿ“š Added live test documentation

๐ŸŽฏ Core Value Delivered

One decorator line = complete temporal isolation

python @protect_secrets(["openai_key"]) async def ai_tool(prompt: str, api_key: str) -> str: # Function receives: real API key for processing # AI service receives: {{OPENAI_API_KEY}} (intercepted) import openai return await openai.chat.completions.create( model="gpt-4", messages=[{"role": "user", "content": prompt}], api_key=api_key # Real key for function, placeholder to AI )

๐Ÿ›ก๏ธ Security Model

Three-phase temporal isolation: 1. Sanitization: Convert secrets to placeholders for AI processing 2. AI Processing: AI receives safe placeholders via monkey-patching
3. Resolution: Functions get real values for execution

๐Ÿ“Š Validation

  • โœ… 135 tests passing including AI interception validation
  • โœ… Live demonstration scripts prove concept works
  • โœ… Zero dependencies, zero configuration required
  • โœ… <5ms sanitization, <10ms resolution performance

This release finally delivers on Cryptex's core promise: bulletproof secrets isolation with zero cognitive overhead.

- Python
Published by AnthemFlynn 7 months ago

cryptex-ai - v0.3.2

Full Changelog: https://github.com/AnthemFlynn/cryptex-ai/compare/v0.3.1...v0.3.2

- Python
Published by github-actions[bot] 8 months ago

cryptex-ai - v0.3.1

Full Changelog: https://github.com/AnthemFlynn/cryptex-ai/compare/v0.3.0...v0.3.1

- Python
Published by github-actions[bot] 8 months ago

cryptex-ai - v0.3.0: Repository Migration & Infrastructure

Major Changes

Added

  • GitHub Issue Templates: Comprehensive bug report, feature request, and security issue templates
  • Release Automation: Pre-release and release workflows with automated PyPI publishing
  • Documentation Site: Full MkDocs-based documentation deployed to GitHub Pages
  • CI/CD Improvements: Consolidated main workflow with parallel job execution
  • Codecov Integration: Code coverage reporting with proper configuration

Changed

  • Repository Rename: Complete migration from cryptex to cryptex-ai across all files
  • Documentation Updates: Consistent naming and improved installation guides
  • Development Workflow: Clarified uv requirement in README development setup
  • CI Environment: Added CRYPTEX_SKIP_PERF_CHECKS for stable CI test runs

Fixed

  • CI/CD Pipeline: Fixed all workflow issues including dependency installation and test execution
  • Documentation Naming: Corrected all references to use cryptex-ai consistently
  • Build Configuration: Updated Makefile project name from codename to cryptex_ai

Documentation

  • Installation Guides: Changed "pip (recommended)" to "pip (default)" to reflect standard practice
  • Complete Rebranding: All documentation now uses consistent cryptex-ai naming
  • Enhanced Examples: Updated all example code to use correct import statements

Installation

Note: PyPI release pending trusted publishing configuration.

```bash

Will be available after PyPI configuration:

pip install cryptex-ai==0.3.0 ```

What's Next

The v0.3.0 release establishes the complete infrastructure for the cryptex-ai project: - Fully automated CI/CD pipeline - Comprehensive documentation site - Professional project management tools - Consistent branding and naming

Full Changelog

See the CHANGELOG.md for complete details.

- Python
Published by AnthemFlynn 8 months ago

cryptex-ai - v0.2.0: Zero-Config Architecture Revolution

๐Ÿš€ Zero-Config Architecture Revolution

The Big Change

Cryptex v0.2.0 eliminates configuration files entirely! No more cryptex.toml, no more setup, no more friction. Just pure, bulletproof temporal isolation with zero cognitive overhead.

โœจ What's New

๐Ÿ”ง Zero Configuration Required

```python

Works immediately - no setup needed!

@protecttool(secrets=["openaikey"]) async def aitool(prompt: str, apikey: str) -> str: # AI sees: "{{OPENAIAPIKEY}}" # Tool gets: real API key return await openaicall(prompt, apikey) ```

๐Ÿ“ฆ Built-in Patterns (95% of users)

  • OpenAI Keys: sk-... โ†’ {{OPENAI_API_KEY}}
  • Anthropic Keys: sk-ant-... โ†’ {{ANTHROPIC_API_KEY}}
  • GitHub Tokens: ghp_... โ†’ {{GITHUB_TOKEN}}
  • File Paths: /Users/... โ†’ /{USER_HOME}/...
  • Database URLs: postgres://... โ†’ {{DATABASE_URL}}

๐Ÿ› ๏ธ Custom Patterns (5% of users)

```python from cryptex.patterns import register_pattern

registerpattern("slacktoken", r"xoxb-[0-9-a-zA-Z]{51}", "{{SLACK_TOKEN}}") ```

๐Ÿ“– Professional Documentation

  • 318-line comprehensive README following Python library best practices
  • Professional badge section, performance metrics, architecture diagrams
  • Framework integration examples for FastMCP and FastAPI
  • Contributing guidelines and development setup

๐Ÿ—๏ธ Technical Improvements

Eliminated Dependencies

  • Removed: tomli>=2.0.1 (no TOML parsing needed)
  • Result: Lighter, faster, more secure

Architectural Benefits

  • ๐Ÿšซ No Attack Surface: Zero config files to inject or exploit
  • โšก Lightning Fast: No file I/O, zero parsing overhead
  • ๐ŸŽฏ Middleware Focused: Lightweight, predictable, no external deps
  • ๐Ÿ”’ Security First: All configuration in version-controlled code

Performance Metrics

| Metric | Performance | Context | |--------|-------------|---------| | Sanitization | <5ms | 1KB payloads | | Resolution | <10ms | 10 placeholders | | Memory Overhead | <5% | vs unprotected apps | | Startup Time | 0ms | No config loading |

๐Ÿ”„ Migration Guide

โœ… No Migration Needed (95% of users)

Your existing decorators work unchanged: python @protect_tool(secrets=["openai_key"]) # Still works perfectly\!

๐Ÿ—‘๏ธ Remove Config Files

  • Delete cryptex.toml files (no longer needed)
  • Remove environment variables (optional)

๐Ÿ› ๏ธ Custom Patterns (if you had any)

Replace TOML config with registration API: ```python

Before: cryptex.toml

[secrets]

patterns = [{name = "my_key", pattern = "...", template = "..."}]

After: Python code

from cryptex.patterns import registerpattern registerpattern("my_key", r"pattern", "{{TEMPLATE}}") ```

๐Ÿ”ฎ What This Means

This isn't just an update - it's a paradigm shift. Cryptex now delivers on its core promise:

"One decorator line = complete temporal isolation"

No setup, no config, no friction. Just bulletproof secrets isolation that works immediately.

๐Ÿ“Š Release Impact

| Metric | v0.1.0 | v0.2.0 | Change | |--------|--------|--------|---------| | Config Required | Yes | No | โœ… Zero config | | Dependencies | 2 | 1 | โœ… 50% reduction | | Setup Time | ~10ms | 0ms | โœ… Instant | | Attack Surface | Config files | None | โœ… Eliminated | | Lines of Code | 1,400+ | 1,128 | โœ… Simpler |

๐Ÿ™ Thank You

This release represents months of architectural thinking and represents the future of middleware libraries - zero configuration, maximum security, perfect developer experience.

Made with โค๏ธ for the AI/LLM community


Full Changelog: https://github.com/AnthemFlynn/cryptex/compare/v0.1.0...v0.2.0

- Python
Published by AnthemFlynn 8 months ago