Destiny
Sign In
RES-45 · CVE-2021-42574 BIDI OVERRIDE & TR39 CONFUSABLE DETECTION SPEED

Stealth Unicode Attack Forensics: Catching Invisible BiDi Code Overrides & Zero-Width Watermarks in < 15 ms

Measuring linear O(n) Unicode scalar scanning performance across untrusted pull requests, AI-copied snippets, and contract drafts.

Security Scope: Legitimate right-to-left human language localization strings can contain proper directional marks—always inspect highlighted context before stripping.

RES-45 · Code Security ForensicsApple Silicon Measured

02 · Quantitative Metrology Table

Audited Baselines & Measurement Methodology

Measured DimensionObserved ValueMethodology & Verification Scope
Linear UTF Scalar Scan Rate< 15 ms per 100 KB PRSingle-pass UTF codepoint state check identifying CVE-2021-42574 BiDi overrides.
Steganographic Tag SweepPlane-14 (U+E0000+)Reveals hidden non-printing Unicode tag characters embedded inside pasted text.
Mixed-Script Identifier GuardUnicode TR39 ConfusablesSpots Cyrillic/Greek lookalike characters swapped inside code or URLs.
Zero-Upload Browser Tool/tools/unicode-regex-forensicsFree instant snippet triage without transmitting code externally.

03 · Empirical Takeaways

Key Buyer & Systems Findings

FINDING 01

A single visual review in standard text editors cannot reveal bidirectional override spoofing that makes malicious logic appear harmless.

FINDING 02

Automated O(n) scalar inspection catches invisible controls, Plane-14 watermarks, and homoglyphs before PR merge in milliseconds.

FINDING 03

Combined code-security and regex inspection prevents Catastrophic Backtracking (ReDoS) bugs early.

Destiny 2.0 Mac: 78.62 tok/s · M1–M6 NativeZero Trackers · Cross-Origin SVG
Embed Apple Silicon Metrology Badge

Cite reproducible Apple M4 Pro Unified Memory benchmark receipts in engineering repositories.

04 · Trojan Source Scan Latency FAQ

Trojan Source Scan Latency — Methodology & Reproduction

02 Questions
What is a CVE-2021-42574 Trojan Source attack?
An exploit hiding invisible Unicode directional override characters inside comments or strings so human reviewers see safe logic while compilers execute completely different control flow.
Can I scan untrusted PRs right in my browser for free?
Yes—paste diffs straight into /tools/unicode-regex-forensics ($0, 0 bytes uploaded).