SOAR - Secure Obfuscated Archive Runtime (SOAR-Locker)
Project description
SOAR-Locker
Secure Obfuscated Archives Repository is a Python source-code protection and device-bound execution utility for controlled deployment environments.
SOAR-Locker converts Python source files into encrypted .soa archives. At execution time, the archive is validated against a device fingerprint and decrypted in memory through a native Rust core. The project is designed for scenarios in which Python applications must be deployed to a target machine while reducing direct source-code exposure and limiting unauthorized migration to other devices.
SOAR-Locker is an engineering protection mechanism, not a substitute for formal software licensing, hardware-backed key management, or high-assurance anti-reverse-engineering systems.
Features
- Encrypted archive format: converts
.pyfiles into binary.soaarchives. - Device-bound execution: archives are associated with the fingerprint of the machine on which they are generated.
- Runtime validation: execution requires a matching runtime environment and device fingerprint.
- In-memory decryption: decrypted source is not written back to disk during normal execution.
- Module import support:
.soamodules can be imported by other protected modules. - Automatic source backup: original
.pyfiles are copied tobak/during encryption. - Cross-platform distribution: the Python package is pure Python, while the native Rust core is distributed as platform-specific wheels.
Supported Platforms
The Python package soar-locker supports Python 3.8 and later.
The native package soar-core is distributed through PyPI as prebuilt wheels. Current supported targets are:
- Windows amd64
- Linux x86_64
- Linux aarch64
During normal execution, SOAR-Locker detects the current operating system and architecture. If the native core is missing or incompatible, it installs the matching soar-core wheel before continuing.
Installation
python -m pip install soar-locker
Manual repair is also available for diagnostics and offline wheelhouse workflows:
soar --repair-core
Inspect the runtime and core status:
soar --version
Example:
SOAR-Locker version 1.5.4
runtime target: Linux / x86_64
soar_core: installed (1.5.0, compatible)
Usage
Encrypt a single Python file:
soar script.py
This generates:
script.soabak/script.py
Encrypt a directory recursively:
soar ./project
Run a protected archive:
soar program.soa
Hide the warning banner for later commands:
soar --ignore-waring
The correctly spelled alias is also accepted:
soar --ignore-warning
Show the warning banner once without changing the saved preference:
soar --show-waring
Restore the default behavior:
soar --reset-waring
On Linux, if the original script uses an executable shebang workflow, the resulting archive can be executed after setting executable permissions:
chmod +x program.soa
./program.soa
Distribution Architecture
SOAR-Locker is split into two packages:
soar-locker: pure Python command-line interface, archive loader, packaging logic, and runtime coordination.soar-core: native Rust extension that provides the core fingerprint verification and decryption primitives.
The Rust component is intentionally distributed separately because native extension modules are specific to operating system and CPU architecture. PyPI selects the correct wheel automatically from the published wheel tags.
Security Scope
SOAR-Locker is intended to raise the operational cost of casual source-code inspection and unauthorized redeployment in fixed-machine delivery contexts. It is suitable for internal tools, robotics deployments, embedded Linux systems, and controlled engineering environments.
It is not designed to provide formal resistance against determined reverse engineering, privileged attackers, memory inspection, or adversaries with full control over the runtime environment. Sensitive commercial or regulated deployments should combine SOAR-Locker with additional controls such as licensing infrastructure, hardware-backed secrets, access control, monitoring, and contractual safeguards.
Version
Current release:
soar-locker 1.5.4
soar-core 1.5.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file soar_locker-1.5.4.tar.gz.
File metadata
- Download URL: soar_locker-1.5.4.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d16d7e67a5cff9ce46ebaf9d63fd59b2ddb9a0a4eb04a922d2edffa44780ea62
|
|
| MD5 |
11789474220c799aa5fb98b62e8124bb
|
|
| BLAKE2b-256 |
d658c293f366bfd0fdcd44f279bbe736604428147bb526e29f562c8d83000a72
|
File details
Details for the file soar_locker-1.5.4-py3-none-any.whl.
File metadata
- Download URL: soar_locker-1.5.4-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8514346627bcbcafb4e81054f2c1ecdc55888aba50ce542a35d860a4815bbf83
|
|
| MD5 |
55067533d58acec6b6ae9ea476e4b7c8
|
|
| BLAKE2b-256 |
97c0e386785f48c7db9cd85491fd9a83760a3484f86d9379dbc704aa8ca7eed7
|