/apple-vuln-research-cve-to-binary-regression:apple-vuln-research-cve-to-binary-regressionfrom apple-vuln-research-cve-to-binary-regression
Validate whether a seed CVE actually maps to a specific Apple macOS/iOS binary BEFORE porting its PoC. Use when: (1) a research idea / report / AI suggestion names CVE IDs claimed to affect a specific daemon (rapportd, sharingd, bluetoothd, etc.) but the IDs were produced by heuristic or memory and may be wrong, (2) you want to regression-test a CVE against a patched build without wasting hours on a PoC that was never reachable in that binary, (3) you need to attribute an empirical finding (e.g. a mysterious size cap) to a specific CVE mitigation narrative for a writeup. Covers: the link-chain → advisory → symbol-match pipeline that cuts CVE-regression triage from hours to minutes.
Ships in apple-vuln-research-cve-to-binary-regression. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When hunting for regressions of historical CVEs in an Apple daemon — typically during a research loop, a bounty writeup, or a diff review — the common failure mode is:
This skill is the 15-minute validator that should run before Step 2 — confirm the CVE actually reaches the target binary first, so you spend effort only on CVEs that can realistically regress.
Trigger this skill when:
Do NOT use this skill for:
BIN=/usr/libexec/rapportd # replace with target
# Authoritative list of frameworks/dylibs the binary actually uses
otool -L "$BIN" | tail -n +2 | awk '{print $1}' > /tmp/linkchain.txt
# Distill to short component names that appear in Apple advisories
awk '{
n=split($0, parts, "/");
name=parts[n];
sub(/\.dylib$/, "", name);
sub(/.*\/([^\/]+)\.framework\/.*/, "\\1", $0);
print name;
}' /tmp/linkchain.txt | sort -u > /tmp/components.txt
cat /tmp/components.txt
For Apple daemons, the components that typically carry CVEs (in order of historical frequency) are:
CoreFoundation, Foundation — rarely land in a daemon-specific CVESecurity, SecureTransport — TLS/cert-chain CVEsCoreBluetooth, Bluetooth — BT stack CVEsNetwork, NetworkExtension — low-level network CVEsPrivateFrameworks/* — these are the highest-signal candidates
because they're often the direct wrapper of the daemon's parsing
logic (CoreUtils for rapportd, SharedUtils for sharingd, etc.)Rapport.framework for rapportd,
Sharing.framework for sharingd) — daemon-private framework.Apple's security advisories group CVEs by component name. Use the
advisory index (https://support.apple.com/en-us/100100) and the
per-update advisory pages. Search strategy:
WebFetch + structured prompt against a specific advisory URL is the
fastest route; for bulk scraping use curl then rg for the component
name. Keep the queries narrow — each advisory is one build.
Critical: seed CVE IDs are frequently wrong. Always validate by reading the advisory's "Component" field, not by trusting the seed ID.
For any CVE that passes Step 2, pull the advisory's natural-language description plus the researcher's writeup (usually linked from the credit). The writeup typically names specific:
mcProcessor_requestProcessSetProxiedProperty)/getProperty, SETUP RTSP method)CFPropertyListCreateWithData, CFDictionaryGetValue)Record these as a fingerprint set. Every fingerprint is a potential grep target in Step 4.
strings -a "$BIN" \
| grep -E 'mcProcessor|setProxied|getProperty|setProperty|CFPropertyListCreateWithData|CFDictionaryGetValue' \
| sort -u > /tmp/fingerprint-hits.txt
Also scan the ObjC method table and dyld dependency chain for the named function symbols:
otool -ov "$BIN" 2>&1 | grep -iE 'processProxied|getProperty|setProperty' || true
nm -aU "$BIN" 2>&1 | grep -iE 'mcProcessor|CFPropertyListCreateWith' || true
Interpretation:
Only now write / re-use a probe. For LAN-adjacent daemons the probe is typically:
Write the observation to a finding doc with:
strings -a | grep version, or --version flag).sw_vers / productversion).You know the skill has been applied correctly when:
CVE | Component | In-link-chain? | In-binary-strings? | Status.If you find yourself spending hours porting a PoC before Steps 1–4 are complete, stop: go back and run the pipeline first.
Seed CVEs (from idea context): CVE-2021-30727, CVE-2022-32849, CVE-2024-23230 — all claimed to affect rapportd.
Step 1: otool -L /usr/libexec/rapportd → components include
CoreUtils, Rapport, IDS, CoreBluetooth, MediaRemote,
CloudKit, NetworkExtension, Security, Foundation.
Step 2: Apple advisory search by CVE ID:
Component-name search on advisories cross-referenced with credit "Oligo":
Step 3: Oligo writeup named mcProcessor_requestProcessSetProxiedProperty,
/getProperty, /setProperty, CFPropertyListCreateWithData,
CFDictionaryGetValue as vulnerable symbols.
Step 4: strings /usr/libexec/rapportd | grep -E ... → zero matches
for any fingerprint. Confirms AirBorne's receiver bugs live in
airplayd, not rapportd. Eliminated 16/17 AirBorne CVEs before
writing any probe.
Step 5: Re-ran an existing PairVerify size-cap probe — body cap enforced exactly at 16384 bytes, rapportd PID stable across 35+ oversize probes. CVE-2025-31203 patched on v715.2.
Total time: ~45 min. Output: single-page regression audit ruling out 3 speculative CVEs + 16 scope-wrong CVEs + confirming 1 patched. No PoC porting wasted.
dyld_shared_cache_arm64e
first — or grep the daemon, which transitively includes the
framework's functions as imported symbols.apple-vuln-research-peer-to-peer-daemon-audit —
live-surface mapping of the daemon itself (use before running this
skill if you don't already have a binary picked).apple-vuln-research-security-report-submission —
Apple bounty submission format (use after this skill if a regression
is found).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dmaynor/dmaynor-skills-marketplace --plugin apple-vuln-research-cve-to-binary-regression