Skip to content

StarShield Forensics v0.4.1

Latest

Choose a tag to compare

@Ziqi Ziqi released this 26 Nov 12:40

StarShield Forensics v0.4.1 — LevelDB Liveness Integrity, Linear IOC Bounds & Runner-Native SLSA Level 3

starshield-forensics v0.4.1 is a deterministic hardening and supply-chain reproducibility release (Python >= 3.10, zero third-party runtime dependencies, zero network calls).

Highlights

  1. LevelDB Store Liveness Integrity (parse-leveldb-store & precheck):
    • Isolates decompression, materialized-memory, and operation safety budgets per sub-store (MAX_SUBSTORES_RECONCILED = 256) with a 25,000-record output ceiling (recovered_records_truncated) and 256 MiB global Snappy ceiling.
    • Introduces 4th retention state LIVENESS_INDETERMINATE (alongside LIVE_ACTIVE, UI_SOFT_DELETED, and TOMBSTONED_HISTORICAL_RECOVERED) plus active_tier_has_unreadable_or_corrupted_regions and liveness_caveat whenever active SSTables or active WALs (log_number) referenced by MANIFEST are missing from disk, unreadable, or truncated by safety budgets.
    • Excludes lost/ orphan SSTables and WALs from active liveness even in MANIFEST-less directories, and counts malformed WriteBatch frames in store-level corruption totals.
  2. Chromium LocalStorage & Odd/Even UTF-16LE Carving (auto Schema Mode):
    • Decodes odd- and even-offset UTF-16LE JSON (0x00 DOMStorage prefix) and Chromium LocalStorage strings out-of-the-box in schema_mode="auto", preserving CJK/Latin characters whose low UTF-16LE byte is 0xFF, separating storage_origin from sender_mri (redacted in default masked mode), and detecting leading-varint Blink/V8 binary headers.
  3. Linear-Time Financial Check-Digit & Context Engine (ioc_validators.py):
    • Replaces linear span scanning with bisect over merged intervals (O(N log M)) and bounded 64/48-char IBAN/RF cursor lookahead (O(N)).
    • Evaluates UK Sort Code + 8-digit Account pairing prior to payment card scanning, recovers token-aligned card sub-windows on horizontal lines, supports case-insensitive IBAN/RF/LEI/labeled-BIC inputs, and expands 8-letter English BIC stopwords to 143 entries (611 validation vectors total).
  4. CLI, MCP Privacy Airlock & Runner-Native Reproducible Supply Chain:
    • Adds python3 -m starshield entrypoint, unified default 8-hex session_tag (<IBAN_GB_XXXXXXXX_01>), cross-session vault overwrite guard (--vault-overwrite), 0600/UID vault checks, symlink-aware evidence-directory vault guards, duplicate/oversize Content-Length rejection, and native Slack [...] / Microsoft Teams conversations[].MessageList support in triage-json.
    • Builds bit-for-bit reproducible starshield.pyz, PEP 427 wheel, and zero-UID PEP 625 sdist natively from source on isolated GitHub Actions runners with workflow-pinned Ed25519 signature verification, isolated OIDC publish/attestation jobs, Sigstore SLSA Level 3 provenance (multiple.intoto.jsonl), and PyPI PEP 740 attestations.

Cryptographic Digests (SHA256SUMS)

  • starshield.pyz: 657a8407fab85c7939f6cc9e399b68a09c9d9f9b978b260808261ea370718830
  • starshield_forensics-0.4.1-py3-none-any.whl: 5e366234df6175b89bd943ea5081dea1f16a364ca736808d8f1d82cf2c74b82b
  • starshield_forensics-0.4.1.tar.gz: 922eb9a7d4b18ac6c6fe45bd1f81e23e34c0f9e828d712e97df33b2f9a87be48
  • starshield-forensics-0.4.1.spdx.json: a147614a8e6a50e54462c1f9b76efe7c8d4856010606f698da8e338c2e2e35f6