Entry 43. Battle of the Titans: Pitting Qwen Against Antigravity
⏱️ Timestamp: September 25, 2026, 01:35 — 01:50 (~15 minutes)The most perilous trap in AI-assisted development is the hallucination of competence. An agent crafts immaculate architectural whitepapers, throws around authoritative jargon (“Zero-Trust sandbox”, “RFC 9106 test vectors”), writes 382 tests, and every single one passes with flying colors.
Yet when you manage software through systems logic without manually auditing every byte array yourself, blind faith in a single AI model is unacceptable—especially in cryptography and network protocols.
I took the v0.8.4 release commit, exported critical network files, and instructed Qwen to attack them: “Uncover all vulnerabilities, dissect the architecture under a microscope, and tell me the unvarnished truth.”
Qwen’s response was surgical and merciless:
- Silent Verification Bypass (Fail-Open): In
ssh_client_service.dart, when the UI callback was omitted (onVerifyHostKey == null), the agent logged a warning and… returnedtrue. Any UI error opened a gaping door for Man-in-the-Middle eavesdropping. - Binary Hash & Naive UTF-8:
dartssh2provides key fingerprints as 32 raw bytes of SHA-256. The agent wroteutf8.decode(fingerprint). In production, this causes eitherFormatExceptioncrashes or unreadable character gibberish instead of a valid Base64 string. Synthetic mock tests had passed only because the mock test generated UTF-8 strings itself! - The Illusion of Memory Zeroization in Managed Dart: Claiming “guaranteed zeroing” under Dart’s garbage collector without native
dart:ffiwas an illusion—the GC leaves String copies lingering in heap memory.
Entry 44. The Red Team Triumph: Rebuilding on Fail-Closed & v0.8.5 Release
⏱️ Timestamp: September 25, 2026, 03:10 — 03:30 (~20 minutes)We embraced the critique immediately, executing a disciplined overnight overhaul:
- Ironclad Fail-Closed: Every unhandled exception, missing callback, or network failure now strictly returns
false. Zero silent connections allowed. - Canonical OpenSSH Base64 Digest: Replaced flawed
utf8.decodewith standard OpenSSH SHA-256 Base64 fingerprint encoding (SHA256:...), eliminating crashes on raw bytes and ensuring seamless host verification. - Memory Hygiene on Uint8List: Discarded immutable strings for sensitive keys in favor of mutable byte buffers with explicit
.fillRange(0, length, 0)wiping andSecretKey.destroy(). - JSON-RPC 2.0 Plugin Boundaries: Strict whitelist of allowed methods and sanitization of null bytes (
\x00).
Upon deploying v0.8.5, I submitted the updated codebase back to Qwen for verification.
From Qwen’s Updated Verdict:
«✅ Critical MitM Vulnerability: RESOLVED. onVerifyHostKey logic is implemented impeccably: canonical OpenSSH fingerprint encoding, strict Fail-Closed paradigm, safe exception interception.
⚖️ Updated Verdict: The project demonstrated exceptional reaction speed and fix quality. Technical implementation of foundational SSH security now meets modern engineering standards. Outstanding work.»
Entry 45. The Organic Quest: Long-Tail Strategy & Website Hardening
⏱️ Timestamp: September 25, 2026, 10:15 — 10:45 (~30 minutes)With the core fortified, Qwen performed an independent technical SEO audit:
- Eliminated 403 Forbidden crawler dead zones on parent directories using declarative 301 static redirects in Astro.
- Cleaned sitemaps to prevent crawling private
/admin/and/api/endpoints. - Deployed a Long-Tail content marketing strategy: authored 3 deep-dive technical guides in English and Russian (stopping
rm -rfaccidents, running a personal E2EE relay, and setting up MCP for Cursor/Claude).
The Core Takeaway of the Chronicle:
The future of AI engineering lies in adversarial multi-model collaboration (Red Team vs Blue Team) governed by human architectural authority. 411 green tests, zero critical vulnerabilities, and total transparency with our users.