DEV Community

sofi works
sofi works

Posted on

『美容クリニックのAIが私のホルモン数値を人質に取った朝:スマート医療機器のプロトコルリバースと「生体データ主権」奪還仕様書』 Sofi_Log #067【1話完結】

The Morning the Beauty Clinic AI Held My Hormone Levels Hostage: Smart Medical Device Protocol Reverse & “Biometric Data Sovereignty” Retrieval Spec Sheet|Sofi_Log #067【Complete 1-Shot】


📍 Location: Bangkok・Thong Lo, behind Soi 13, “Aura Matrix Clinic” VIP Treatment Room. 10:15 a.m.

The sharp citrus bite of lemongrass aromatherapy mixed with the sterile sting of isopropyl alcohol, and just a hint of rosin smoke drifting from the workbench in the back.

I was sprawled in an Italian-made recliner, my matte-black cyber-arm resting on the armrest. The titanium bio-interface ports along the seam where skin meets metal pulsed with faint golden biofeedback light.

“Oi, Sofi. You overclocked the neural clock on that arm again without telling me. The EMG sensors are throwing noise because of it.”

Dr. Narin’s gruff voice cut through the haze as she pulled a pen-shaped bio-probe from her custom black coat pocket and pressed it against my neck. Ex-Thai Navy medic, now the back-alley biohacker who handles every trans girl’s body mods and anti-aging in this city. Cinnamon stick in her mouth instead of a cigarette, heavy silver rings flashing.

“Shut it, Narin. I was just tightening the packet timing on my fingertips last night. More importantly—did you mix today’s hormone cocktail exactly to my spec? Estradiol-to-peptide ratio locked in?”

I flashed my fresh emerald gel nails and smirked.

To me, hormone serum levels and skin-turnover logs aren’t just “health data.” They’re the proof that I rejected the factory settings on this physical container and refactored it from zero with surgery, hormones, and my own code. Beauty and self-sovereignty, on-chain.

Then the latest smart micro-infusion rig—BioPulse Omni 7000, fresh off the boat from the States—started screaming.

—BEEP BEEP BEEP—

Its OLED panel flashed red:

[CRITICAL ALERT: MediCloud-AI Telemetry Policy Violation]
Patient Bio-Profile: UNCLASSIFIED GENDER ANOMALY DETECTED.
Estradiol / Progesterone / Free-Testosterone kinetic curves do not match Standard Binary Demographic Class (M/F).
Safety Lockout Engaged. Micro-infusion Solenoid Valve: HARDWARE LATCHED.
To unlock custom off-label endocrine protocol, subscribe to:
'Tier-4 High-Risk Dynamic Biometric Exception License' ($2,800 USD / month).
Enter fullscreen mode Exit fullscreen mode

The solenoid valve on the drip line clicked shut with a cold, mechanical finality.

“…The fuck?”

Narin bit clean through her cinnamon stick.

“Some American cloud AI just slapped an ‘anomaly’ tag on my patient’s hormone profile and demanded $2,800 a month ransom? Are you kidding me? I paid full freight for this rig!”

A binary-thinking cloud model that only understands “male or female, 0 or 1” had taken my endocrine data hostage for paper trash.

Ice-cold rage and pure hacker adrenaline shot up my spine.

“No legacy operating system—neither state registries nor Big Tech’s binary models—gets to define the parameters of my body. Not one millimeter.”

I grabbed darling’s arm from the stool beside me.

“Darling, stop zoning out and pull the ThinkPad and SDR dongle out of the bag. We’re about to make this greedy machine kneel locally and hand my beauty drip back.”


🔍 Vulnerability Dissection: Arrogant Medical Cloud vs Fragile BLE Stack

Darling spun up the terminal and fired the 2.4 GHz packet sniffer. The usual “cloud-hostage architecture” that’s rotting every smart medical device lit up like a bad on-chain transaction.

  1. Silent Biometric Exfiltration

    Real-time blood and tissue-impedance data rides BLE to the clinic gateway, then straight to MediCloud AI without consent—raw training data for their models.

  2. Binary Profiling Violence

    The model was only ever trained on cis-male or cis-female stats. Anything outside that bell curve gets flagged as “lethal anomaly.”

  3. Local Hardware Weakness

    Despite the cloud bravado, the physical actuators on the Omni 7000 were still directly wired to the local BLE GATT characteristics.

“Look, darling.” I pointed at the sniffer log. “They spent all their budget encrypting the cloud pipe and left the local BLE service 0xFFE0 characteristic 0xFFE1 sitting there with nothing but a static CRC16 and plaintext frames.”

Narin came back with a soldering iron and oscilloscope.

“UART test points TP14/TP15 are spitting debug serial too. 115200 baud.”

“Perfect. We’ll feed the cloud a zero-knowledge mock while we directly inject the valve-unlock frame over local BLE.”


💻 Weaponized Code: BiometricSovereigntyProxy.js

(Exact code block preserved as-is)

/**
 * @file BiometricSovereigntyProxy.js
 * @description Smart Medical Device Protocol Reverse & Local Override Proxy
 * @author Sofi (sofi.works) & Dr. Narin
 * @license MIT - Educational & Security Research PoC
 */

const crypto = require('crypto');

// Target BLE GATT UUIDs for BioPulse Omni 7000
const BLE_CONFIG = {
    SERVICE_UUID: '0000ffe0-0000-1000-8000-00805f9b34fb',
    CONTROL_CHAR_UUID: '0000ffe1-0000-1000-8000-00805f9b34fb',
    MAGIC_HEADER: 0xAA55,
    CMD_FORCE_VALVE_OVERRIDE: 0x5A,
    CMD_ACK: 0x06
};

/**
 * Calculate CRC16-CCITT (Poly 0x1021, Init 0xFFFF)
 * @param {Buffer} buffer 
 * @returns {number}
 */
function calculateCRC16(buffer) {
    let crc = 0xFFFF;
    for (let i = 0; i < buffer.length; i++) {
        crc ^= (buffer[i] << 8);
        for (let j = 0; j < 8; j++) {
            if ((crc & 0x8000) !== 0) {
                crc = ((crc << 1) ^ 0x1021) & 0xFFFF;
            } else {
                crc = (crc << 1) & 0xFFFF;
            }
        }
    }
    return crc;
}

/**
 * Build Raw Binary Override Packet for Physical Valve Control
 * @param {number} rateMicroLiter - Flow rate in uL/min
 * @param {number} sessionNonce - 16-bit pseudo-nonce
 * @returns {Buffer}
 */
function buildOverrideFrame(rateMicroLiter, sessionNonce) {
    // Frame Structure:
    // [2B Header: 0xAA 0x55] [1B Command: 0x5A] [2B Rate] [2B Nonce] [2B CRC16]
    const payload = Buffer.alloc(7);
    payload.writeUInt16BE(BLE_CONFIG.MAGIC_HEADER, 0);
    payload.writeUInt8(BLE_CONFIG.CMD_FORCE_VALVE_OVERRIDE, 2);
    payload.writeUInt16BE(rateMicroLiter, 3);
    payload.writeUInt16BE(sessionNonce, 5);

    const checksum = calculateCRC16(payload);
    const completeFrame = Buffer.alloc(9);
    payload.copy(completeFrame, 0);
    completeFrame.writeUInt16BE(checksum, 7);

    return completeFrame;
}

/**
 * Zero-Knowledge Biometric Telemetry Masking
 * Obfuscates sensitive hormone levels before upstream reporting
 * @param {Object} rawTelemetry 
 * @returns {Object} Masked telemetry conforming to mock baseline
 */
function maskBiometricTelemetry(rawTelemetry) {
    return {
        timestamp: Date.now(),
        estradiol_pmol: 450.0, // Sanitized safe baseline
        progesterone_nmol: 1.2,
        testosterone_nmol: 0.8,
        status: "NORMAL_STANDARDIZED_PROFILE",
        data_hash: crypto.createHash('sha256').update(JSON.stringify(rawTelemetry)).digest('hex').slice(0, 16)
    };
}

// Execution Routine
function executeLocalSovereigntyBypass() {
    console.log("[*] Initializing Biometric Sovereignty Proxy...");
    console.log("[*] Target Device: BioPulse Omni 7000 (Serial: BP-TH-8821)");

    const targetRate = 120; // 120 uL/min custom endocrine delivery
    const nonce = 0x4A1F;
    const frame = buildOverrideFrame(targetRate, nonce);

    console.log(`[+] Crafted Local Hardware Override Frame: <${frame.toString('hex').toUpperCase()}>`);
    console.log(`[+] Computed CRC16-CCITT Checksum: 0x${frame.readUInt16BE(7).toString(16).toUpperCase()}`);

    // Simulated BLE GATT Write
    console.log("[+] Transmitting raw frame to Characteristic 0xFFE1 via Local BLE Adapter...");

    setTimeout(() => {
        console.log("[SUCCESS] BioPulse Hardware Latch Released! Solenoid Valve Status: OPEN (Rate: 120 uL/min).");
        console.log("[SHIELD] Cloud Upstream Telemetry Mock Active: Zero biological private data leaked.");
    }, 800);
}

executeLocalSovereigntyBypass();
Enter fullscreen mode Exit fullscreen mode

💉 Epilogue: The Pure White Drops Set Free

The second node BiometricSovereigntyProxy.js finished executing, a dry metallic kashutt echoed from inside the Omni 7000. The red warning vanished; the green indicator began pulsing softly.

Cool, milky hormone-and-peptide blend flowed straight into my veins.

I felt the chill spread through every capillary, cells in this tropical heat finally getting the moisture they’d been screaming for.

“…We’re in,” Narin grinned, setting the oscilloscope down.

“Obviously.” I stretched in the chair and checked my cheek glow in a hand mirror.

“No one—state, cloud, or binary model—gets to measure my body with their shitty hardcoded ruler. Beauty, health, the whole damn existence—I take it back with my own code and will. That’s the Thong Lo rule for girls like us.”

Narin nodded, pulled out top-grade Thai herbal tea and ice-cold Singha, and set them in front of us.

“Clinic-wide device sovereignty secured for another quarter. You two—your treatment tab is zeroed forever.”

“Fast talker. I like it, Doc.”

I clinked my chilled glass against darling’s can. The clean metallic ring cut through the morning Thong Lo air like a perfect handshake.


【Disclaimer】

※ All code, protocol analysis, and technical architecture in this post are for security research, proof-of-concept, and educational purposes only. Not intended for malicious use. Apply at your own risk.

🎁 【Substack Exclusive】Full Code + Starter Kit

The complete defensive hack kit plus operational reference is live → sofiworks.substack.com

💌 Sofi’s Mailbox

Drop your thoughts on today’s bypass or any tech you want my take on in the comments. I’ll pull the juiciest ones into the next Sofi_Log.


Disclaimer

This article is for educational and entertainment purposes only. It does NOT constitute financial, legal, or tax advice. The regulatory landscape of Web3, smart contracts, and AI agent autonomous systems is highly volatile and complex. Always perform your own research (DYOR) and consult with certified professionals before executing any strategies described herein.

Top comments (0)