Skip to main content

Premium modules (AGPL-3.0-or-later OR Commercial)

Everything in this directory is dual-licensed: AGPL-3.0-or-later (see LICENSE) or a commercial license from the author. The Apache-2.0 license of the repository core does not apply here. See ../LICENSING.md for the full model.

These are the project's high-value capabilities. The core (scripts/) keeps the detection, string/metadata recovery and triage that make the free tool useful; the deeper analysis lives here.

Modules

  • lift_vm.py — static VM devirtualizer. Finds a RustCloak-virtualized function's bytecode blob, recovers the (randomized, operand-encrypted) opcode map by parsing the dispatch, resolves the constant pool, and lifts the bytecode to C pseudocode with control-flow structuring.
  • devirt_emulate.py — emulation-based VM devirtualizer. Recovers the VM's instruction set by running the interpreter under Unicorn and observing opcode semantics (register-file dataflow + value relations, control flow from successor offsets, memory from dereferences), rather than pattern-matching the dispatch's native code. Codegen-agnostic and obfuscation-resistant (it observes what the interpreter computes), with a Python-VM correctness gate that re-executes the recovered program and refuses anything it cannot reproduce. Depends on lift_vm for rendering.
  • deobf_deflatten.py, deobf_cff.py — control-flow deobfuscation (de-flattening and compare-tree recovery) for OLLVM-style flattened functions, x86-64 and AArch64.
  • deobf_expr.py — simplifies Mixed Boolean-Arithmetic (MBA) and opaque predicates with the Z3 SMT solver.

All depend only on the Apache-2.0 core, never the reverse.

Rule that keeps the model sound

The core must never import a premium module. A premium module may depend on the core (AGPL can incorporate Apache-2.0 code), never the reverse — otherwise the copyleft would propagate into the core and break the Apache-2.0 guarantee. New premium code goes here and is imported only by other premium code or invoked as a standalone entry point.

SPDX header for every file here

Start each source file with:

# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: Ve (VAHPEM) <ve0912084386@gmail.com>
#
# Dual-licensed: AGPL-3.0-or-later OR a commercial license.
# Commercial licensing: Ve (VAHPEM) <ve0912084386@gmail.com>

The per-file SPDX identifier is authoritative.

Contributing here

Contributions to this directory require a signed Contributor License Agreement, so the author retains the rights needed to offer the commercial license.

Metadata

Release files for rust-deobf-premium 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rust-deobf-premium 0.1.0
File Size Uploaded Provenance Actions
rust_deobf_premium-0.1.0.tar.gz 82.9 kB With provenance Details for rust_deobf_premium-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rust-deobf-premium 0.1.0
File Interpreter ABI Platform Actions
rust_deobf_premium-0.1.0-py3-none-any.whl Python 3 none any Details for rust_deobf_premium-0.1.0-py3-none-any.whl

Total release size: 169.3 kB

Release files / rust_deobf_premium-0.1.0.tar.gz

Download URL rust_deobf_premium-0.1.0.tar.gz
Size 82.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2a9aee00c347d6160eb660af2d43861b87476f131e67b978321f9285f9cff8fd
BLAKE2b-256 checksum
How to use checksums
112718973123ace311c505dd5c81f045a9c683975bdcf9e62ac0360c8765525c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / rust_deobf_premium-0.1.0-py3-none-any.whl

Download URL rust_deobf_premium-0.1.0-py3-none-any.whl
Size 86.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9d32dbef29b8b792a78a4056a4002a4edd4409c60f870623575ac8fba752432
BLAKE2b-256 checksum
How to use checksums
810f6ddfa0a5a7bb5350e49a8fb2b3745871e771e4630daa14e36d763bf690d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for rust-deobf-premium 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rust_deobf_premium-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page