Skip to content

Releases

Dayı Stego Solver v4.5.2

Choose a tag to compare

@MacallanTheRoot MacallanTheRoot released this 26 Nov 18:38
3d1756c

Prepared on 2026-11-26.

Dayı Stego Solver 4.5.2 is a stability patch for
https://github.com/MacallanTheRoot/DayiStegoSolver. It ships the fixes merged
since 4.5.1 together with two small corrections found during release review.

Behavior change: stop after the first confirmed flag

Once any plugin reports a confirmed flag (in its output or in extracted
files), Dayı stops the scan:

  • still-running CONCURRENT plugins are cancelled and their subprocesses and
    temporary files are cleaned up;
  • the archive, mini-wordlist and main-wordlist phases are not started;
  • the TXT/JSON/Markdown reports, CTFd/Discord integrations and retained
    workspace artifacts are still produced from the results collected so far.

What this means for you:

  • Scans that find a flag usually finish sooner and run fewer brute-force
    attempts.
  • A report may list fewer tools. Plugins that were cancelled or never started
    do not appear in it.
  • If a challenge hides more than one flag, or the first match is a decoy,
    later findings are not collected. 4.5.2 has no full-scan mode and no
    option to turn the early stop off.

Fixed

  • Flags in external-tool output (strings, exiftool, exiv2, binwalk, steghide,
    stegseek, zsteg, OutGuess) are found while the output is drained. Flags past
    the retained 10 MiB prefix and flags printed before a timeout are kept. The
    stream each flag came from is shown in a new stream_flags report field.
  • A plugin that raises a timeout error is reported as timed out, not as an
    unexpected error.
  • QR and OCR reliability: QR checks for supported images before choosing a
    backend; OpenCV worker threads are limited in one shared helper; OCR adds a
    bounded high-zoom band variant for large images and a small, regex-gated
    repair set for common misreads (! for i, punctuation for _, flag
    prefix case).
  • Text steganography: case-as-bit binary ASCII, SNOW-style trailing
    whitespace and more whitespace-binary layouts, all behind a strict printable
    filter and per-stream candidate cap.
  • File-type detection reads a bounded 4 KiB prefix and recognizes UTF-8 text,
    so image-only tools skip text files.
  • dayi doctor reports Python 3.14 and newer as unsupported, matching the
    package's declared range, and its text output shows the maximum supported
    version. On those versions it now exits 1 instead of 0.

Security

  • --flag patterns are also checked on the parsed regex. Variable-count
    repeats or alternations nested inside a variable-count repeat are rejected,
    as are fixed-count repeats whose nested choices multiply past 256. This
    closes bypasses such as (a{1,})+b, (?:a{1,40}){1,40}b, ((a+))+b and
    (?:a?){30}b. Patterns such as (?:\d{1,3}\.){3}\d{1,3} and
    CTF\{(?:[0-9a-f]{2}){16}\} are still accepted.
    Rejected patterns produce the existing invalid-pattern error and exit 1.
  • A --flag pattern with an oversized repeat count now produces the same
    invalid-pattern error instead of a Python traceback.
  • This check is a heuristic. It does not make arbitrary user regexes safe:
    some super-linear patterns are still accepted, and matching runs in-process
    without a time limit. Accepted examples include adjacent unbounded repeats
    such as \d+\d+\d+x and optional items written out one after another
    (a?a?a?…aaa…); 4.5.1 accepted them too. Prefer simple patterns with a
    literal prefix, such as CTF\{[^}]+\}.

Compatibility

  • Python support remains CPython 3.10 through 3.13.
  • The core has no mandatory runtime dependencies; optional dependencies keep
    degrading cleanly when unavailable.
  • The deterministic registry remains at 22 plugins, including 12 operations in
    the CONCURRENT phase.
  • CLI options, the dayi entry point and the doctor and plugin JSON schemas
    (schema_version 1) are unchanged. Scan exit codes keep their meaning
    (0, 1, 130), but a --flag pattern that 4.5.1 accepted may now be rejected
    and exit 1 (see Security). The scan JSON report gains the additive
    stream_flags field.

Known limitations

  • No full-scan mode: the scan always stops after the first confirmed flag.
  • Thread-based work (binwalk post-processing, QR and OCR decoding) cannot be
    interrupted, so the early stop and Ctrl+C may wait for it to finish.
  • Files and outputs above the documented size limits are still skipped or
    truncated without a note in the report.

Detection remains bounded and heuristic. This patch does not claim perfect
detection, complete sandboxing, or universal CTF challenge coverage.

Verification

Release commit 3d1756cc3a0ad76bb30d5b02878b739a71174b64 (merge of #5), tag v4.5.2.

  • GitHub Actions on the release commit (run 45876947247): tests on CPython 3.10, 3.11, 3.12 and 3.13 each reported 654 passed, 8 skipped, 262 subtests passed, with pyflakes, compileall and git diff --check; the build and clean-install smoke job passed.
  • The 8 skipped tests need optional dependencies that the core-only CI does not install (Pillow, Scapy, oletools, pypdf, local QR libraries). Those tests were not run for this release.
  • The attached wheel and source archive were built from a clean checkout of the release commit, checked with scripts/validate_distribution.py, and installed with --no-deps into fresh virtual environments: dayi --version reports 4.5.2, there are no mandatory runtime dependencies, and dayi plugins list --json reports 22 plugins (12 in the CONCURRENT phase).

Installation

sha256sum -c SHA256SUMS
python -m pip install dayi_stego_solver-4.5.2-py3-none-any.whl

Requires CPython 3.10–3.13. This release is published on GitHub only; it is not uploaded to PyPI.

Checksums (SHA-256)

ccd2ff723015cdb86948c03a26f84f0ae57995a07cee42b59236eeaa8366c818  dayi_stego_solver-4.5.2-py3-none-any.whl
10a61d8c3d40faa9b9c44e1a9deb92264b5d6377f4407115b7c16d673ec7ada0  dayi_stego_solver-4.5.2.tar.gz

Dayı Stego Solver 4.5.1

Choose a tag to compare

@MacallanTheRoot MacallanTheRoot released this 20 Jul 13:21

Dayı Stego Solver 4.5.1

Release candidate prepared on 2026-07-20. Tagging and publication remain
separate release steps.

Dayı Stego Solver 4.5.1 is a minimal compatibility patch for
https://github.com/MacallanTheRoot/DayiStegoSolver.

Fixed

  • Restored Python 3.10 and 3.11 test-suite parsing compatibility by moving an
    escaped WordprocessingML literal out of an f-string expression.
  • Preserved the exact synthetic DOCX fixture bytes and test intent.

Compatibility and behavior

  • Steganography detection and runtime scanning behavior are unchanged.
  • The deterministic registry remains at 22 plugins, including 12 operations in
    the CONCURRENT phase.
  • Python support remains CPython 3.10 through 3.13.
  • Optional dependencies continue to degrade cleanly when unavailable.
  • Version 4.5.1 supersedes 4.5.0 for source and CI validation; the 4.5.0 tag,
    release notes, and release history remain intact.

Detection remains bounded and heuristic. This patch does not claim perfect
detection, complete sandboxing, or universal CTF challenge coverage.

Release verification

SHA-256

72a2a9ef6f6b230e4e382af34c380262375ffedfbd59150d195f426bb39bb18f  dayi_stego_solver-4.5.1-py3-none-any.whl
f27117f3a9771b2b54b9062dcf11e6e683e7c07c2c36b8990ea0ce8b9a48abe6  dayi_stego_solver-4.5.1.tar.gz

Dayı Stego Solver 4.5.0

Choose a tag to compare

@MacallanTheRoot MacallanTheRoot released this 20 Jul 12:18

Dayı Stego Solver 4.5.0

Release candidate prepared on 2026-07-20. These notes do not assert that a tag,
GitHub release, package publication, or production merge has occurred.

Overview

Dayı Stego Solver 4.5.0 is the candidate for a reliability and
defensive-analysis release. It adds bounded text and document steganography,
advanced local OCR and passive QR analysis, recursive artifact propagation, and
a local-only regression harness. It also tightens extraction verification,
timeout enforcement, process cleanup, Unicode safety, and per-flag reporting
attribution.

Repository: https://github.com/MacallanTheRoot/DayiStegoSolver

The core installation remains dependency-free. Optional Python libraries and
external tools enable format-specific capabilities and degrade cleanly when
they are unavailable.

Highlights

Verified extraction and brute-force control

  • OutGuess output is no longer accepted from a successful return code or an
    output path alone.
  • Candidate extraction is compared with one bounded, usable known-invalid
    baseline and must have verified evidence such as a flag, known file magic,
    or meaningful structured content.
  • Missing, failed, timed-out, unreadable, oversized, or otherwise unusable
    baselines fail closed and do not suppress StegSeek or fallback phases.
  • Wordlists resolve only through the requested local path, current directory,
    or the standard Kali rockyou.txt and streamed rockyou.txt.gz locations.
    --require-wordlist provides an explicit strict mode.

Bounded text steganography

The core-only text_stego_scanner detects text from bytes rather than file
extensions and supports bounded analysis of:

  • UTF-8/ASCII, BOM-marked UTF, UTF-16/UTF-32, and conservative Latin-1 input;
  • Bacon A/B and binary variants;
  • spaces, tabs, line structure, trailing whitespace, and CRLF/LF channels;
  • zero-width and other explicitly recognized invisible Unicode characters;
  • conservative Latin/Cyrillic and selected visual homoglyph channels;
  • acrostics, structural/every-N extraction, capitalization anomalies, and
    ghost-text/control-character reconstruction;
  • bounded nested reverse, ROT, Atbash, Hex, binary/octal/decimal ASCII,
    Base16/32/64/85, URL/HTML/Unicode escapes, Morse, gzip/zlib, and limited XOR
    transformations.

Direct active-regex flags are retained independently of bounded previews and
the expensive decoder window. Candidate count, output size, aggregate bytes,
and recursion depth remain fixed.

Word, spreadsheet, presentation, OpenDocument, and RTF analysis

The core-only document_stego_scanner uses content-based detection for:

  • DOCX and DOCM;
  • XLSX and XLSM;
  • PPTX and PPTM;
  • ODT, ODS, and ODP;
  • bounded RTF and document-container classification.

It inspects hidden text and styles, revisions, comments, notes, headers and
footers, metadata, alt text, field instructions, relationships, hidden
sheets/slides/pages, spreadsheet names and passive formulas, media, objects,
and conservative two-class style channels. OpenXML and OpenDocument members are
read explicitly with path, count, compression, expanded-size, XML, media,
object, and recursion limits. RTF processing bounds input, group depth, group
and control counts, decoded text, pictures, objects, and binary data.

Macros, formulas, fields, OLE content, embedded executables, and decoded
commands are never executed. External relationships are reported but never
fetched.

Advanced OCR and passive QR analysis

  • OCR uses deterministic, lazily generated preprocessing variants, selected
    Tesseract page-segmentation modes, structured word confidence, consensus,
    conservative flag-context repair, and --ocr-lang validation.
  • --ocr-exhaustive expands the fixed processing schedule without removing
    image, pixel, invocation, byte, memory-work, or timeout limits.
  • qr_scanner prefers OpenCV, then pyzbar, then the byte-preserving zbarimg
    fallback. Native backends run in killable workers and zbarimg is bounded by
    the remaining plugin deadline.
  • QR payloads are classified passively and may enter bounded local text or
    image recursion only after recognized encoding and image magic checks.
  • Decoded URLs, Wi-Fi records, contacts, OTP URIs, and command-like payloads are
    never opened, joined, imported, or executed.

OCR is heuristic, and damaged QR symbols or stylized text are not guaranteed to
decode. Missing optional backends produce a degraded capability rather than a
core failure.

Recursive artifact propagation

Content-extracted images and text from binwalk, Word, spreadsheets,
presentations, OpenDocument packages, RTF, nested documents, and QR image
payloads can reach compatible downstream scanners within shared limits.
Package-specific extraction namespaces prevent member-name collisions, while
content hashes, depth, object-count, and aggregate-byte budgets prevent cycles
and recursive runner explosions.

Process, timeout, and memory hardening

  • Timeout-sensitive text/document parsers and native QR decoders use spawned,
    killable workers with bounded serialized responses and child reaping.
  • OCR recomputes the absolute remaining deadline before each pass and keeps
    per-call and total invocation limits.
  • QR and OCR preprocessing variants are generated and released incrementally
    under aggregate generated-pixel and estimated-byte budgets.
  • Image dimensions, frame counts, source bytes, and decoded pixels are checked
    before native QR decoding.
  • Urllib notification fallback work runs behind a killable total deadline;
    redirects and response bodies remain bounded.
  • ANSI, bidi, terminal controls, RTF surrogate pairs, and malformed Unicode are
    normalized or escaped before terminal, JSON, and Markdown reporting.

These controls reduce exposure to hostile challenge inputs. They are not a
complete sandbox and cannot guarantee the safety of every third-party parser,
native library, or external executable.

Reporting and attribution

  • Flags retain canonical source, member, image variant, page-segmentation mode,
    and decoder-chain attribution where applicable.
  • Per-flag OCR chains remain distinct even when one OCR pass yields multiple
    direct and decoded flags.
  • Confirmed document flags are retained when bounded finding capacity is
    reached, while lower-confidence output remains limited.
  • Nested document and RTF artifacts preserve package/member provenance through
    downstream OCR, QR, metadata, strings, LSB, and compatible stego analysis.
  • Terminal, JSON, Markdown writeups, and optional ctfshit exporter input use
    bounded, escaped representations.

Local private regression harness

scripts/run_private_regression.py scans a user-selected corpus one file at a
time in child processes. Corpus, manifest, and output paths must remain outside
the repository; source files are not modified or uploaded. The harness supports
bounded timeouts and file counts, deterministic anonymization, default full-flag
redaction, optional local expectations, and JSON/Markdown aggregate summaries.
The expectation manifest itself is excluded from corpus discovery.

Private results depend entirely on the user's local corpus. No private corpus,
manifest, basename, flag, extracted payload, or report is shipped with Dayı.

Installation

From a trusted checkout:

python -m pip install .

Optional capabilities can be installed independently, for example:

python -m pip install '.[ocr]'
python -m pip install '.[qr]'
python -m pip install '.[pdf,ole,pcap,integration,ui]'

The package supports CPython 3.10 through 3.13. The core package declares no
mandatory runtime dependency.

Verification commands

dayi --version
dayi doctor
dayi plugins list

Expected release-candidate version output is dayi 4.5.0. The deterministic
registry contains 22 plugins; availability varies with optional libraries and
external tools.

Known limitations

  • Detection is bounded and heuristic; Dayı does not solve every CTF challenge.
  • The document scanner does not provide rendering-equivalent Microsoft Office
    or LibreOffice behavior and does not claim complete legacy Office support.
  • OCR quality depends on the local Tesseract installation, language packs, and
    source image quality.
  • QR backend support and damaged-code recovery vary by installed optional
    backend.
  • External steganography tools and optional native libraries remain outside a
    complete sandbox and should be treated as format-specific local dependencies.
  • Extracted artifacts remain untrusted data even when their paths and sizes have
    been validated.

Release verification

  • Production commit: 6d14997a7039a00d8cfa7068ed3694d444b69b6b
  • Tag: v4.5.0
  • Python: CPython 3.10–3.13
  • Registered plugins: 22

SHA-256

8327e8dcf3f0a8ad0ad4c908dbbceb35a77956bc99b8bb876d5eeffbedab45e5  dayi_stego_solver-4.5.0-py3-none-any.whl
64f189c01c3e8a9bf791eb70fb27694176bf89b3601bda879792b514d5ba7b98  dayi_stego_solver-4.5.0.tar.gz

Dayı Stego Solver 4.0.0

Choose a tag to compare

@MacallanTheRoot MacallanTheRoot released this 18 Jul 15:42

Dayı Stego Solver 4.0.0

Released on 2026-07-18.

Overview

Dayı Stego Solver 4.0.0 is a major reliability, security-boundary, CLI,
plugin-inspection, diagnostics, packaging, and CI release. It focuses on
deterministic plugin execution, safer workspace and extraction handling,
inspectable installation and plugin state, maintainable commands, and verifiable
package artifacts. It retains a standard-library-only core and keeps optional
forensic runtimes and external steganography tools optional.

Highlights

The preferred scan command now works with either conservative built-in flag
patterns or an exact user-supplied expression:

dayi scan challenge.png
dayi scan challenge.png --flag 'CUSTOM\{[^}]+\}'

Installation and registry state can be inspected without scanning a target:

dayi doctor
dayi doctor --json
dayi plugins list
dayi plugins list --json

Additional highlights include dynamic plugin discovery diagnostics, explicit
workspace-parent configuration, retained-artifact reporting, Python 3.10–3.13
CI configuration, extraction-evidence success semantics, archive-content
validation, and clean wheel/sdist smoke tests.

Installation

For users who have access to the Git repository:

git clone https://github.com/MacallanTheRoot/DayiStegoSolver.git
cd DayiStegoSolver
python -m pip install .

For an editable development installation:

python -m pip install -e '.[dev]'

For a wheel obtained from the trusted release or a successful CI artifact:

python -m pip install --no-deps dayi_stego_solver-4.0.0-py3-none-any.whl

No PyPI publication is asserted by these notes.

Upgrade notes

  • Prefer dayi scan FILE; legacy dayi FILE invocation remains supported and
    follows the same scan execution path.
  • --flag is optional. Without it, Dayı matches only the documented built-in
    common prefixes. A custom regex replaces, rather than extends, that matcher.
  • Default workspaces now live under the operating system temporary directory.
    Retained extraction paths therefore differ from older current-directory
    behavior.
  • If automation expects workspaces beneath a particular parent, pass
    --workspace-dir PATH. Dayı creates a unique child rather than writing
    directly into that parent.
  • Optional Python extras and external executables remain optional. Use
    dayi doctor and dayi plugins list to identify statically unavailable or
    scan-time-conditional capabilities.
  • Retained extracted artifacts are untrusted and should be handled accordingly.

New commands

dayi --version
dayi scan --help
dayi doctor
dayi doctor --json
dayi plugins list
dayi plugins list --json

doctor reports core and optional capability health. plugins list imports the
trusted package-local plugin modules to inspect the actual registry, but does
not execute plugin runners or external binaries.

Security and reliability

Version 4.0.0 adds bounded subprocess-output retention, process-group timeout
termination, archive path and extraction limits, workspace boundary and symlink
protections, user-regex safety checks, bounded optional-parser processing, and
cancellation-safe partial reporting. These controls reduce risk when processing
hostile challenge files; they do not make extracted files, third-party parsers,
or external tools inherently trustworthy.

The release also fixes brute-force phase suppression, extraction-success false
positives based only on return codes, capture-group truncation, workspace
lifecycle errors, JSON output contamination, plugin discovery issue loss, and
distribution archive validation gaps.

Compatibility

  • Python requirement: >=3.10.
  • Configured CI matrix: Python 3.10, 3.11, 3.12, and 3.13.
  • Linux is the primary tested environment; the current workflow uses Linux
    runners and does not claim full Windows or macOS support.
  • External tools are optional, format-specific, and platform-dependent.
  • The core package has zero mandatory runtime dependencies.
  • Doctor schema version: 1.
  • Plugin inspection schema version: 1.

Known limitations

  • The built-in flag matcher recognizes only CTF, FLAG, HTB, picoCTF,
    and THM brace forms. Custom challenge formats require --flag.
  • OCR, PDF, OLE/macro, PCAP, terminal UI, and integration capabilities depend on
    optional Python extras and, where applicable, external runtimes.
  • Plugin discovery imports trusted modules shipped inside dayi.tools; it does
    not provide an untrusted third-party plugin sandbox.
  • Retained extracted artifacts remain untrusted input.
  • Doctor performs static availability and bounded version checks; it cannot
    prove that every tool works correctly for every target file.
  • CI does not install or exercise external steganography binaries or optional
    Python forensic extras.

Verification

Release verification:

  • 184 passed, 1 skipped.
  • Pyflakes, compileall, and git diff --check completed successfully.
  • Wheel and source distribution built and passed content/metadata validation.
  • Clean wheel and source-distribution installations passed CLI smoke checks.
  • Doctor and plugin-inspection JSON outputs passed syntax and invariant checks.
  • The GitHub Actions workflow passed local actionlint validation.
  • The GitHub Actions Python 3.10–3.13 matrix and build/smoke job completed
    successfully for the final release commit.