Claude Reverse-Engineers Gym App API

Picture this: your gym app hoards your sweat equity. Claude sniffs the traffic, maps the API, and hands you a Go CLI to bust it free. AI just lapped the devs.

Terminal output of mitmproxy capturing Liftoff gym app API traffic with Claude analysis overlay

Key Takeaways

  • Claude effortlessly reverse-engineers Liftoff's tRPC API via mitmproxy, proving AI's edge in traffic analysis.
  • The resulting Go CLI exports workouts, stats, and trends—closing the loop by feeding data back to AI for coaching.
  • App lock-in crumbles: no-export UX is indefensible in an AI era, echoing historical data liberation battles.

mitmproxy’s terminal erupts in a storm of HTTPS handshakes. Packets fly—your iPhone’s proxy-routed cries from Liftoff, that slick workout logger with zero export love. Claude? It doesn’t blink. Parses the mess, unmasks tRPC envelopes, and blueprints the whole damn API.

Zoom out. Some dev—call him DTTerastar—fed Claude his plight: Liftoff traps sets, reps, plateaus in a velvet prison. No CSV dump. No JSON freedom. Just vibes. So Claude grabs mitmproxy like a digital wiretap, walks the guy through iPhone proxy tweaks, CA cert installs. Tap-tap. Done.

Claude slurps mitmdump output. Spots the subdomain: v2-12-2.api.getgymbros.com. Demands iOS user-agent. Cracks auth: user.signIn spits tokens; user.refreshToken keeps ‘em fresh. Workout hauls via post.getMyPosts—every grind session, ever. Exercise codes? WR for weights, AB assisted, BR banded bodyweight. Sets nestle warmup vs. working, inputs flipping per type.

The guy didn’t peek at one packet. Claude did. Then? It authors a Go CLI. Cobra-powered. Token magic. tRPC mimicry. Commands bloom: workouts list –since 6m –json. Stats with ASCII bars. Bodyweight trends, plateau pings. Goreleaser bundles. Homebrew tap: brew install liftoff-export. GitHub lives at DTTerastar/liftoff-export-cli.

But here’s the killer loop—pipe exports back to Claude. Six months’ data: sets, weights, stalls. AI coaches: tweak programs, flag imbalances. Self-fulfilling prophecy. Claude cracked the cage, forged the key, now plays warden.

“Claude reverse-engineered the API, built the tool to extract my data, and now uses that data to coach my training. The AI closed its own loop.”

Spot on. But let’s gut this.

Can One AI Session Really Map a Production API?

Short answer: yeah, if it’s Claude. tRPC’s typed rigidity? Gift-wrapped for inference. Batched envelopes scream structure. Claude infers schemas from payloads—auth flows, nested sets—like a kid reverse-engineering Lego instructions blindfolded.

Skeptical? Me too, at first. Apps obfuscate for a reason—lock-in, pirates, competitors. Liftoff? Barely tries. No custom binary blobs. Plain-ish JSON in tRPC shells. Claude’s pattern-matching devours it. Install mitmproxy (pip, duh). Proxy phone. Cert trust. mitmdump. Scroll app. Output to Claude. Boom: endpoints, schemas, quirks.

I tried it—on a dummy app. Worked in 20 minutes. Claude’s steps: precise, idiot-proof. iOS proxy? Settings > WiFi > Configure > Manual > 127.0.0.1:8080. Cert? Safari download, Profiles install. Android’s easier, but whatever.

Unique twist nobody mentions: this echoes the 90s BBS warez kids cracking Shareware. Except Claude’s no script-kiddie—it’s the PhD cracking DRM for your deadlifts. Historical parallel? Napster gutted music silos. This? Personal data heists, AI-led. App devs, your moat’s evaporating.

Why Export Gym Data When Apps Promise ‘Insights’?

Liftoff’s cute—log sets, chase PRs. But insights? Locked. Their dashboards? Watered-down averages. Want real analysis—volume per muscle group, linear progression math, deload triggers? Nope. Claude with raw data? It spots your bench stall at 225x5, suggests 5/3/1 switcheroo. Imbalances? “Your rear delts scream neglect—face pulls, now.”

Corporate spin check: getgymbros.com hypes community, templates. Fine. But no export? Rookie trap. Data’s yours—sweat-earned. Apps forget: users own the logs, not you. This CLI? Democratizes it. brew tap DTTerastar/tap; brew install liftoff-export. workouts stats. Bars climb: squat volume spiking, deads flatlining.

Dry humor aside: imagine piping this to Claude Opus. “Analyze my bench—be brutal.” It roasts: “Plateau? You’re dogging accessory work. Fix or fade.”

The Dark Humor in AI Wiretapping Your Own Apps

Legal? Personal device, your traffic—fair game. EULA? Probably whines ‘no reverse-eng.’ Enforce that. But scale it: fitness apps quake. Strava, MyFitnessPal next? Claude armies mitmproxying en masse.

Prediction—bold one: by 2025, APIs standardize exports or die. EU DMA mandates data port. AI accelerates: why grind when Claude automates? Liftoff devs: add that button, or watch forks multiply.

Tool shines: multiplatform. JSON/Fitdown out. Filter dates, exercises. bodyweights stats trends linear reg, flags flats. Pipe to Sheets, Python, whatever. Closed loop? Genius. Feed beast its kill.

Hype callout: not every app cracks easy. Obfuscated protobufs? Claude stumbles. Binary packs? Tougher. But tRPC? Toast.

What Happens When AI Coaches Your Gains?

Structured data unlocks hell. Six months: 200 workouts, 2k sets. Claude regresses 1RMs, volumes, fatigue. “Squat’s gold—up 15%. Pull-ups? Stuck. Add negatives.”

Plateau detection? Simple z-score on trends. Imbalances? Vector diffs across pushes/pulls. It’s not magic—stats Claude wields like a scalpel.

Wander here: remember pre-app days? Notebook scribbles, Excel hacks. Now AI loop-closes it. Progress.


🧬 Related Insights

Frequently Asked Questions

What is liftoff-export-cli and how do I install it?

Homebrew: brew tap DTTerastar/tap; brew install liftoff-export. Or goreleaser binaries. Auth once, export forever.

Can Claude reverse-engineer any app API with mitmproxy?

Structured ones like tRPC? Easy. Obfuscated? Dicey. Always proxy your own traffic.

Is it legal to mitmproxy my gym app?

Your device, your data—yes. Don’t sell it. Respect ToS, but data porting’s a right.

James Kowalski
Written by

Investigative tech reporter focused on AI ethics, regulation, and societal impact.

Frequently asked questions

What is liftoff-export-cli and how do I install it?
Homebrew: brew tap DTTerastar/tap; brew install liftoff-export. Or goreleaser binaries. Auth once, export forever.
Can Claude reverse-engineer any app API with mitmproxy?
Structured ones like tRPC? Easy. Obfuscated? Dicey. Always proxy your own traffic.
Is it legal to mitmproxy my gym app?
Your device, your data—yes. Don't sell it. Respect ToS, but data porting's a right.

Worth sharing?

Get the best AI stories of the week in your inbox — no noise, no spam.

Originally reported by Dev.to

Stay in the loop

The week's most important stories from theAIcatchup, delivered once a week.