Skip to content

thesnmc/Cloak

Repository files navigation

🛡️ CLOAK Pro

Creative Asset Protection Engine by The SNMC

A zero-trust desktop application designed to permanently secure your digital art, images, videos, and text from unauthorized AI scraping and ingestion.


📖 What is Cloak Pro?

In the era of generative AI, digital content is continuously scraped without consent to train massive machine learning models. Cloak Pro is a defensive cybersecurity tool built for creators. It gives you the power to cryptographically sign your work and deploy active adversarial defenses that prevent automated bots from analyzing, downloading, or successfully training on your content.

Cloak Pro operates entirely on your local machine, utilizing a blazing fast Rust backend, a robust Python processing engine, and a sleek React UI.

✨ Core Features

  • Zero-Trust DRM (Smart Canvas)
    Stop uploading raw, unprotected JPEGs. Cloak's DRM engine converts your images into Base64-encrypted HTML files. The image remains completely hidden until JavaScript detects organic human behavior (mouse movements or touch events). This completely blindfolds headless scraping bots (like Puppeteer or Selenium) that take instant automated snapshots.
  • Cryptographic Watermarking
    Implement true, invisible digital signatures. Cloak uses LSB (Least Significant Bit) steganography to embed your custom passwords directly into the pixel data of PNG files. Your ownership is permanently written into the image without visibly changing a single color.
  • Adversarial Image/Video/Audio Shields
    Cloak applies sophisticated, mathematically calculated noise matrices to your media. These adversarial shields are nearly imperceptible to the human eye or ear, but they catastrophically corrupt the feature-extraction layers of AI scrapers, rendering the scraped data useless for model training.
  • LLM Blinder
    Protect your written content, stories, and articles. The LLM Blinder processes raw text to inject invisible semantic anchors that disrupt language model tokenization and training datasets.

🛠️ Detailed Installation Guide

Cloak Pro is a polyglot application. To build it from source, you will need to set up its dependencies.

Prerequisites

Before you begin, ensure you have the following installed on your system:

  1. Node.js & npm: To build the React frontend.
  2. Rust & Cargo: To compile the Tauri desktop backend.
  3. Python (3.10+): To run the local data processing engine.
  4. C++ Build Tools: Required for Rust/Tauri development on Windows (via Visual Studio Build Tools).

Step-by-Step Setup

1. Clone the Repository bash git clone https://github.com/thesnmc/Cloak.git cd Cloak

2. Install Frontend Dependencies bash npm install

3. Set up the Python Environment Cloak relies on Python libraries like Pillow and umpy for image manipulation and steganography. ``bash cd src-python python -m venv venv

Activate the virtual environment:

On Windows:

venv\Scripts\activate

On Mac/Linux:

source venv/bin/activate

pip install Pillow numpy cd .. ``

4. Run the Development Server You can launch the desktop application in development mode with hot-reloading: bash npm run tauri dev

5. Build for Production To compile a native executable installer for your operating system: bash npm run tauri build The finished executable will be located in src-tauri/target/release/bundle/.


💻 Architecture

Cloak Pro is built on a polyglot stack for maximum performance and security:

  • Frontend: React 18, TypeScript, Tailwind CSS v4.
  • Desktop Framework: Tauri (Rust-based).
  • Backend IPC: Rust handles all high-speed, secure inter-process communication.
  • Processing Engine: Python scripts running in isolation process heavy image and cryptographic workloads locally.

See �rchitecture.md for more technical details.


📄 License

Cloak Pro is published by The SNMC and is completely open-source. This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). You are free to copy, modify, and redistribute the software under the terms of this license.

See the LICENSE file for the full legal text.

About

A zero-trust desktop application designed to permanently secure digital art, images, and text from unauthorized generative AI scraping.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors