Repository navigation
Releases
Releases · The-Malware-Files/Stegcore
Stegcore v4.1.0
See CHANGELOG.md for details.
Stegcore v4.0.1
[4.0.1] - 2026-05-24 — Dark Phoenix
Steganalysis at Aletheia parity, tiered fingerprints, dual licence,
Acceptable Use Policy, and a pre-tag adversarial sweep.
Engine
- Sample Pair Analysis and RS ported against the Aletheia reference; output agrees to floating-point precision on the Cassavia 2022 test set.
- Weighted Stego added as a third Aletheia-parity classical detector.
- Tiered fingerprint architecture:
Exact(decisive) andHeuristic(corroborating) confidence tiers. - LSBSteg fingerprint added (Heuristic tier; ~0.2% false-positive rate on grayscale natural imagery).
- Removed two dead fingerprints that never fired against real tool output.
- Thresholds refit on Cassavia + BOSSbase 1.01 at a 2% per-detector false-positive ceiling (~4% combined on natural-image covers).
- Verdict ensemble rebalanced to equal weights across the three Aletheia-parity detectors. Chi² and LSB-entropy stay visible but no longer gate the verdict.
- New
tool_fingerprint_tierfield on the analysis report (additive, backward-compatible).
GUI
- Tier-aware fingerprint badge on analysis results (red for Exact, amber for Heuristic, neutral for legacy).
- Tooltip carries the full label; the pill shows just the tool name so cards stay readable.
Documentation
- New
AUP.mdat the repo root: a versioned Acceptable Use Policy covering audience, prohibited uses and dual-use gating. - New
COMMERCIAL.md: the dual-licence offer for organisations that cannot meet AGPL's source-release obligation. - README rewritten for the parity milestone; the v4.0.0 "known issue" warning is retired.
- Fingerprint validation harness at
tests/fingerprint/harness.py(TPR / FPR / cross-tool specificity assertions for LSBSteg, Steghide, OpenStego).
Adversarial gate
- Fuzz harnesses (four cargo-fuzz targets) cover analyse on PNG / BMP / WAV and extract on PNG.
- Property tests cover round-trip identity, dimension preservation and never-panic-on-random-bytes.
- CLI integration suite expanded with 45 tests (version, help, round-trip, error paths, pathological inputs).
- Lossy-pipeline survival tests (PNG↔JPEG, resize, Pillow re-save, metadata strip).
- Crash injection: SIGKILL at five delay windows during embed; atomic-rename-on-close holds.
- Concurrency caps: 100 parallel analyses, 4 parallel embed+extract, capacity-boundary, zero-payload reject.
- Content-sniffing dispatcher routes by magic bytes (PNG / BMP / JPEG / RIFF / FLAC), with extension as fallback.
- Supply chain: cargo-deny wired alongside cargo-audit; Dependabot weekly with ecosystem grouping and a cooldown discipline.
- GUI E2E: Playwright suite against the Vite dev server (smoke / navigation / monkey-clicker / wizard back-button), plus a Tauri-runtime WDIO job for the built binary's IPC boundary.
CI / build
- Coverage published to Codecov; ≥90% line-coverage gate enforced on every main push.
- Install-smoke job verifies the universal installer across Ubuntu, macOS and Windows runners.
- Local-CI preflight via
scripts/preflight.sh(cheap subset by default;--fullreplays the Linux CI matrix viaact).
Licence
- Dual-licensed: AGPL-3.0-or-later by default; commercial licence available for organisations that cannot meet the AGPL source-release obligation.
Other
- Bug fixes and improvements.
Stegcore v2.0.12
Security
- Passphrase memory hardening — CLI passphrase converted to
bytearray
immediately after prompt; zeroed withbuf[:] = b"\x00" * len(buf)after
use._derive_key,encrypt,decrypt, andderive_keyincore/crypto.py
now acceptstr | bytes | bytearrayto support this pattern. - Bandit B110 fixed —
except Exception: passincore/utils.pyasset()
narrowed toexcept (ImportError, ModuleNotFoundError)with explanatory comment. - Temp file security documented —
temp_file()docstring now explicitly states
mkstempmode 0o600, guaranteedfinallycleanup, and that plaintext is never
written to the temp file. - Key file audit —
write_key_filedocstring updated to enumerate stored fields
and explicitly state the passphrase and derived key are never persisted. bandit -r core/reports zero findings (Undefined/Low/Medium/High all 0).
Added
- Full pytest test suite — 64 tests across
tests/test_crypto.py,
tests/test_steg.py,tests/test_key_file.py, andtests/test_integration.py.
Coverage enforced at ≥ 90% (actual: 93.73%). - CI test job —
.github/workflows/ci.ymlruns the full test suite on every
push and pull request tomain(Python 3.11, ubuntu-latest).
Stegcore v2.0.11
Fixed
- Asset path resolution for pip installs —
asset()incore/utils.pynow uses a
three-tier lookup: PyInstaller_MEIPASS→importlib.resources.files("assets")→
source-tree fallback.assets/__init__.pyadded so setuptools packages the directory and
importlib.resourcescan address it. Resolves broken icon path afterpip install .. - Stale
jpegioruntime dependency removed —jpegiowas listed inpyproject.toml
but is not imported anywhere; JPEG support has used the pixel-domain LSB pipeline since 2.0.6.
Stegcore v2.0.10
Stegcore v2.0.6
Stegcore v1.0.0
The first release for the base