/secskills-core:reversing-browser-extensionsfrom secskills-core
Reverse engineers Chrome/Firefox extensions: unpacks CRX/XPI, reads manifest for over-broad permissions, and traces trust boundaries between content scripts and background contexts. Use for security audits or investigating suspicious extensions.
Ships in secskills-core. 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.
A browser extension is a small privileged program wedged next to every page the user visits. Its security is almost entirely about a boundary: the content script runs beside untrusted web content but can talk to a background context that holds real permissions — cookies, tabs, the network, sometimes a native process. Reversing an extension is reading that boundary and finding where the privileged side trusts the unprivileged one.
reversing-obfuscated-javascript for the bundle, then return here for
the privilege model.analyzing-malware.testing-web-applications.testing-thick-clients.An extension ships as a CRX (Chrome) or XPI (Firefox) — both are ZIP
archives; unzip and read. You can pull a published extension from the store's
CRX endpoint, or straight from the browser profile's Extensions directory.
The manifest is the map. Read it before any code:
manifest_version — MV2 (background page, webRequest blocking) vs MV3
(background service worker, declarativeNetRequest, remote code
forbidden). The version changes where the privileged logic lives and how it
persists.permissions and host_permissions — <all_urls>, tabs, cookies,
webRequest, debugger, nativeMessaging, scripting. Judge each against
what the extension claims to do; <all_urls> + cookies on a "dark theme"
extension is the tell.content_scripts — which pages the extension injects into, and therefore
which pages' content it is exposed to.externally_connectable — which web origins may send it messages
directly; a permissive value is an attack surface.web_accessible_resources — extension files a page can load, which can
leak the extension's presence or expose an injectable resource.content_security_policy — a loosened CSP (unsafe-eval, remote script)
is a code-injection surface.Extensions are isolated by design; the bugs are in the seams between contexts:
window.postMessage: a content script that acts on postMessage data
without checking event.origin/event.source lets any page in its
injection scope drive it.chrome.runtime
messaging). If the background handler does not validate the sender and the
message shape, a compromised or malicious page (via the content script) reaches
privileged APIs. This is the central extension bug: privileged operations
gated only by a message the page can influence.onMessageExternal / externally_connectable. A web page listed here
talks to the background directly — same validation question, one hop shorter.nativeMessaging connects the extension to a local
native host binary. A weakly validated message path here is browser-to-native
code execution; trace what the native host does with what it receives.For each privileged capability, answer: what input reaches it, and from how far out (background only, content script, or an arbitrary page)?
runtime.onMessage /
onMessageExternal — the privilege-escalation path from page to extension.postMessage handling without origin checks in content scripts.eval or a CSP that permits it (also an MV3 policy
violation).Store extensions are frequently minified or bundled, and malicious ones
obfuscated. When the code is unreadable, hand the bundle to
reversing-obfuscated-javascript — unbundle and deobfuscate there, then read
the recovered logic against the trust boundary above. Debug the live extension
in the browser's extension DevTools to watch the message passing at runtime.
postMessage. An
unchecked message handler is the bridge.<all_urls>, cookies, debugger, and nativeMessaging are the ones that
turn a small bug into a large one.reversing-obfuscated-javascript — unbundling and deobfuscating the extension's JSanalyzing-malware — detonation and IOCs for a confirmed-malicious extensiontesting-web-applications — the sites and APIs the extension talks toauditing-supply-chain — ownership-change and remote-code update riskWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gztes/security-for-platforms --plugin trilwu-secskills-core30 skills in this plugin
/analyzing-binariesReverse engineer compiled binaries, firmware, and mobile app packages using triage, static disassembly, decompilation, and dynamic instrumentation. Use when analyzing an executable, ELF/PE/Mach-O file, firmware image, or stripped binary, recovering an algorithm or protocol, or working a CTF reversing challenge./analyzing-dotnet-assembliesReverse engineer .NET assemblies and executables with dnSpyEx, ILSpy, and de4dot — identifying and unwrapping obfuscators and packers, deobfuscating control flow and string encryption, handling single-file and NativeAOT publishes, and patching IL. Use when a binary is a managed PE, when ILSpy shows mangled names or empty method bodies, or when analyzing .NET malware, a loader, or a Windows application./analyzing-firmware-images2 plugins ship this exact skill · first indexed Aug 12, 2026
Other plugins' skills for the same job