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.2.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.2.0
File Size Uploaded Provenance Actions
rust_deobf_premium-0.2.0.tar.gz 86.4 kB With provenance Details for rust_deobf_premium-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 176.3 kB

Release files / rust_deobf_premium-0.2.0.tar.gz

Download URL rust_deobf_premium-0.2.0.tar.gz
Size 86.4 kB
Tags Source
SHA-256 checksum
How to use checksums
540e94fcb95a3e756f100c2a663b5adb5869d5c33c8f5cc84b0b1839cfdf0a9b
BLAKE2b-256 checksum
How to use checksums
50403a204bb0573ee0a14dc00a735e9b0bba7c9281c06ef39aecd711d2a71160
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 13, 2026.

Transparency log

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

Download URL rust_deobf_premium-0.2.0-py3-none-any.whl
Size 90.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc695ab06ae52dc7a46bacb649a58c2da3339fe5f1719b23f27302ab20752316
BLAKE2b-256 checksum
How to use checksums
bbeae6b8b2cd5d3f96f8b307cd319ea3cebc7b0611a8506698f144bf611ef95e
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 13, 2026.

Transparency log

Security for rust-deobf-premium 0.2.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.2.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 13, 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