AiLock Secures Code from AI Scans with Memory-Only Decryption
TL;DR. A new tool, AiLock, protects source code from AI assistants by encrypting files on disk and decrypting them only in memory. - The system ensures AI and file system tools see only ciphertext, blocking indexing and reading of source files. - Developers still run Python code normally, import modules, and read data files through controlled plaintext views. - This approach prevents AI models from accessing proprietary code directly from the working tree.
- AiLock encrypts code files on disk, making them appear as ciphertext to AI assistants and file system tools.
- The tool decrypts and executes Python code directly in memory, preventing plaintext from being written to disk.
- It offers transparent imports, file I/O, and a GUI plaintext viewer for developers.
- AiLock aims to maintain code functionality for developers while ensuring AI-opacity for security and IP protection.