Skip to content

Quantum CLI v4.6.2 release: ADB/HID/IoT/QEMU/tooling modules + Android APKs - #1

Merged
ProjectZeroDays merged 6 commits into
mainfrom
release/v4.6.2
Oct 21, 2026
Merged

ProjectZeroDays merged 6 commits into
mainfrom
release/v4.6.2

Conversation

@ProjectZeroDays

Copy link
Copy Markdown
Owner

Quantum CLI v4.6.2

New modules

Enhancement Module Path
ADB/FRP controller \�db.py\ \src/quantum/ops/adb.py\
HID payload generator \hid_payload_generator.py\ \�gents/specialized/hid_payload_generator.py\
IoT dashboard \iot_dashboard.py\ \�gents/specialized/iot_dashboard.py\
Bash Bunny v2 generator \�ashbunny_payload.py\ \�gents/specialized/bashbunny_payload.py\
VM/QEMU integration \�m_qemu.py\ \src/quantum/ops/vm_qemu.py\
Security tool catalog \ ools_integration.py\ \src/quantum/ops/tools_integration.py\
Router exploits \Session\ + \login()\ \
outer_exploits.py\
APK wrapper probe \malware.py\ \src/quantum/weapons/malware.py\

Android

  • \�ssembleFullRelease\ + \�ssembleLimitedRelease\ BUILD SUCCESSFUL
  • APKs:
    elease/quantum-cli-full-4.6.2.apk\ (15.9 MB, v2 signed),
    elease/quantum-cli-limited-4.6.2.apk\ (15.9 MB, v2 signed)
  • Fixed \UiState\ generics (CAP#1 Java interop), \Widget.Quantum\ theme, Material button styles, \quantum_divider.xml, \quantum_bottom_nav.xml\

CI gate fixes

  • restore folder-payload harness in \weapons/registry.py\ (\PAYLOADS_DIR, \ older\ on 61 entries,
    eeds_target\ on 29, _fire_folder\ runner) — regression from v4.6.0 \�07b08e\ dropped them while the operator suite still required them
  • register bluetooth tier (CVE-2017-0781/0785, CVE-2018-5383, BLACKBED-BLE) and import the module in
    esolve_weapon()\
  • add MALWARE-APK-WRAPPER-NECRO registry entry
  • **fix \�rute/hashes**: \�itcoin_wallet\ format was missing the \salt\ key that \cracking_dashboard_state()\ reads (KeyError)
  • remove unused imports (ruff F401) across ops/, catalog/, crack/, weapons/, agents/specialized/

Verification

  • \pytest tests/\ -> 495 passed, 0 failed
  • ruff gate (--select E9,F63,F7,F82,F401,F811 src tests quantum_cli.py exploit_payloads dist) -> clean on committed tree
  • \�pksigner verify\ -> V2 signature scheme on both APKs
  • \�apt2 dump badging\ -> correct package names and version codes

Authorized engagements / lab work only.

- restore folder-payload harness in weapons/registry.py (PAYLOADS_DIR,
  'folder' on 61 entries, 'needs_target' on 29, _fire_folder runner)
  — regression from v4.6.0 a07b08e that dropped them while the operator
  suite still required them
- register bluetooth tier (CVE-2017-0781/0785, CVE-2018-5383, BLACKBED-BLE)
  and resolve_weapon() now imports the bluetooth module
- add MALWARE-APK-WRAPPER-NECRO entry + quantum.weapons.malware probe
- brute/hashes: bitcoin_wallet format was missing 'salt' key that
  cracking_dashboard_state() reads (KeyError: 'salt')
- remove unused imports flagged by the ruff gate (F401) across
  ops/, catalog/, crack/, weapons/, agents/specialized/, router_exploits
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-21T13:42:01.900149Z b43068c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Quantum Agent added 5 commits October 21, 2026 08:55
…dev deps

- brute/vaults: veracrypt_header_password_check() returned ok=False with no
  'error' key when the header invariants failed, so a caller could not tell
  'wrong password' from 'not a VeraCrypt volume'. Now reports which checks
  failed. Fixes test_vaults.py::test_unavailable_prf_is_honest on hosts
  where the PRF IS derivable (CI windows/3.9 resolves a pycryptodome with
  Whirlpool; the derivation succeeded and hit the silent failure path).
- requirements-dev.txt: include -r requirements.txt so workflows that only
  install the dev file can collect the suite (payloads.yml was failing with
  ModuleNotFoundError: No module named 'Crypto').
zipfile.ZipInfo defaults create_system to 0 on Windows and 3 on Unix and
writes it into the local header + central directory, so CVE-2024-36210.zip
and CVE-2023-42790.ipk hashed differently per OS. The committed
payloads.lock.json was generated on Windows, so the payloads workflow
failed on Linux CI with manifest drift.

Pin create_system = 0 explicitly in both _writestr() helpers. Verified:
both payloads now hash identically when the ZipInfo default is forced to
the Unix value, and match the committed lock
(CVE-2024-36210.zip 2742e21f4171, CVE-2023-42790.ipk bd644905171a).

Also adds RELEASE_NOTES_v4.6.2.md.
…pendent

Deflate output depends on the zlib build (classic zlib vs zlib-ng disagree
byte-for-byte on the same input), so CVE-2023-42790.ipk and
CVE-2024-36210.zip hashed differently on CI (classic zlib) than on a dev
box (zlib-ng) and the payloads workflow failed with manifest drift.

Switch both archives to ZIP_STORED and regenerate payloads.lock.json.
Stored entries bypass the compressor entirely, so the bytes are now
identical on every platform and every zlib build.

Adds tests/test_payloads.py::test_zip_bytes_are_platform_and_zlib_independent
to lock the invariant in (stored entries + pinned create_system host field).
… run

The kernel-exploits workflow calls
  python build_all_kernel.py --strict --outdir out
but the script never defined --outdir, so the job died with
'unrecognized arguments: --outdir out' on every run.

--outdir now copies the compiled binaries into the requested directory
(the workflow uploads them as a build artifact). The build dir is still
cleaned up unless --keep is passed.

Also drops the now-unused imports the ruff gate flags in exploits/.
The dirtypipe C stub uses splice(), F_GETPIPE_SZ and loff_t, all of which
glibc only declares when _GNU_SOURCE is defined, and it used strtoll()
without including <stdlib.h>. The compile gate failed on it.

- define _GNU_SOURCE before the includes
- add <stdlib.h> and <sys/types.h>
- read() into a real buffer instead of NULL

build_all_kernel.py now prints the first three lines of the compiler
output instead of only the first, so a failure is diagnosable (the old
output showed just 'In function main:').

Regenerates payloads.lock.json for the changed C stub.
@ProjectZeroDays
ProjectZeroDays merged commit b8c807a into main Oct 21, 2026
9 checks passed
@ProjectZeroDays
ProjectZeroDays deleted the release/v4.6.2 branch October 21, 2026 15:32
ProjectZeroDays added a commit that referenced this pull request Oct 22, 2026
…d APKs (#1)

* fix(ci): unblock lint+test gates for v4.6.2 push

- restore folder-payload harness in weapons/registry.py (PAYLOADS_DIR,
  'folder' on 61 entries, 'needs_target' on 29, _fire_folder runner)
  — regression from v4.6.0 9527384 that dropped them while the operator
  suite still required them
- register bluetooth tier (CVE-2017-0781/0785, CVE-2018-5383, BLACKBED-BLE)
  and resolve_weapon() now imports the bluetooth module
- add MALWARE-APK-WRAPPER-NECRO entry + quantum.weapons.malware probe
- brute/hashes: bitcoin_wallet format was missing 'salt' key that
  cracking_dashboard_state() reads (KeyError: 'salt')
- remove unused imports flagged by the ruff gate (F401) across
  ops/, catalog/, crack/, weapons/, agents/specialized/, router_exploits

* fix(vaults,ci): honest error on failed VeraCrypt header check + full dev deps

- brute/vaults: veracrypt_header_password_check() returned ok=False with no
  'error' key when the header invariants failed, so a caller could not tell
  'wrong password' from 'not a VeraCrypt volume'. Now reports which checks
  failed. Fixes test_vaults.py::test_unavailable_prf_is_honest on hosts
  where the PRF IS derivable (CI windows/3.9 resolves a pycryptodome with
  Whirlpool; the derivation succeeded and hit the silent failure path).
- requirements-dev.txt: include -r requirements.txt so workflows that only
  install the dev file can collect the suite (payloads.yml was failing with
  ModuleNotFoundError: No module named 'Crypto').

* fix(payloads): make ZIP payload builds platform-independent

zipfile.ZipInfo defaults create_system to 0 on Windows and 3 on Unix and
writes it into the local header + central directory, so CVE-2024-36210.zip
and CVE-2023-42790.ipk hashed differently per OS. The committed
payloads.lock.json was generated on Windows, so the payloads workflow
failed on Linux CI with manifest drift.

Pin create_system = 0 explicitly in both _writestr() helpers. Verified:
both payloads now hash identically when the ZipInfo default is forced to
the Unix value, and match the committed lock
(CVE-2024-36210.zip 2742e21f4171, CVE-2023-42790.ipk bd644905171a).

Also adds RELEASE_NOTES_v4.6.2.md.

* fix(payloads): store ZIP payloads uncompressed so bytes are zlib-independent

Deflate output depends on the zlib build (classic zlib vs zlib-ng disagree
byte-for-byte on the same input), so CVE-2023-42790.ipk and
CVE-2024-36210.zip hashed differently on CI (classic zlib) than on a dev
box (zlib-ng) and the payloads workflow failed with manifest drift.

Switch both archives to ZIP_STORED and regenerate payloads.lock.json.
Stored entries bypass the compressor entirely, so the bytes are now
identical on every platform and every zlib build.

Adds tests/test_payloads.py::test_zip_bytes_are_platform_and_zlib_independent
to lock the invariant in (stored entries + pinned create_system host field).

* fix(kernel): add --outdir to build_all_kernel so the compile gate can run

The kernel-exploits workflow calls
  python build_all_kernel.py --strict --outdir out
but the script never defined --outdir, so the job died with
'unrecognized arguments: --outdir out' on every run.

--outdir now copies the compiled binaries into the requested directory
(the workflow uploads them as a build artifact). The build dir is still
cleaned up unless --keep is passed.

Also drops the now-unused imports the ruff gate flags in exploits/.

* fix(kernel): dirtypipe PoC needs _GNU_SOURCE for splice/loff_t

The dirtypipe C stub uses splice(), F_GETPIPE_SZ and loff_t, all of which
glibc only declares when _GNU_SOURCE is defined, and it used strtoll()
without including <stdlib.h>. The compile gate failed on it.

- define _GNU_SOURCE before the includes
- add <stdlib.h> and <sys/types.h>
- read() into a real buffer instead of NULL

build_all_kernel.py now prints the first three lines of the compiler
output instead of only the first, so a failure is diagnosable (the old
output showed just 'In function main:').

Regenerates payloads.lock.json for the changed C stub.

---------

Co-authored-by: Quantum Agent <agent@quantum.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant