evnchn-agentic

Lightsword — Security skill for Claude Code

Security community

If DarkSword is a weapon, LightSword uses the same exploit chain for good — x86-64 Linux (BusyBox, musl libc) running inside Safari on iOS, native ARM64 JIT at 91 MIPS, built by an AI agent.

How to install Lightsword

This entry records only its repository, not the path inside it, so there is no exact command to give. Open evnchn-agentic/lightsword and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lightsword does

If DarkSword is a weapon, LightSword uses the same exploit chain for good — x86-64 Linux (BusyBox, musl libc) running inside Safari on iOS, native ARM64 JIT at 91 MIPS, built by an AI agent.

Alternatives in Security

  • Exploit 2.3k ★
  • /chain — Build an A→B→C exploit chain for higher severity and payout 927 ★
  • Engage.Exploit — Execute Phase 4 - Exploitation and Access Establishment 348 ★

README

uname -a showing x86_64 Linux running inside Safari on iPad

LightSword

**If DarkSword is a weapon, LightSword is the same exploit chain used for good.**

DarkSword (leaked March 2026) chains six iOS vulnerabilities to steal data from 270 million iPhones. LightSword takes the same entry point — Safari's WebContent process — and uses it to give users something Apple won't: the freedom to run their own code. Visit a webpage, get a Linux terminal. No app install, no permanent modification, no data theft. Reboot and iOS is stock.

Being built through agentic coding with [Claude Code](https://claude.ai/claude-code). The AI researches iOS internals, writes exploit-adjacent code, cross-compiles emulators, and iterates — while the human sets direction and validates on hardware.

**No exploit code is shipped in this repository.** See [LEGALITY.md](LEGALITY.md) for full legal considerations. We are not lawyers.


The Vision

The iOS jailbreak scene has been effectively silent since iOS 17. Apple's layered defenses — PPL, SPTM, code signing, sandboxing — have made traditional jailbreaking nearly impossible on modern devices. But DarkSword proved that Safari's WebContent process can still be compromised, and that process has something valuable: Apple's own `com.apple.developer.cs.allow-jit` entitlement.

LightSword's goal:

  1. **Use DarkSword's exploit chain** — but only up to gaining code execution inside WebContent. No kernel modification, no PPL/SPTM bypass, no persistent changes to iOS. The device stays "jailbreak-free."

  2. **Enable JIT for everyone on iOS <18.7.7** — any unpatched iPhone or iPad can visit a webpage, and that webpage can execute native code at full speed. Not through an app. Not through a sideload. Through Safari.

  3. **Run Linux in a browser tab** — a full x86-64 Linux environment (BusyBox, shell, utilities) running inside Safari, powered by JIT. Close the tab, it's gon