Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add trilwu/secskills --skill reversing-browser-extensionsgit clone --depth 1 https://github.com/trilwu/secskillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/trilwu/secskills/reversing-browser-extensions)<a href="https://agentmods.dev/skills/trilwu/secskills/reversing-browser-extensions"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/reversing-browser-extensions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/trilwu/secskills/reversing-browser-extensions"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/reversing-browser-extensions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 67 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.01583 |
| Opus 5 | $0.00044 | $0.00792 |
| Sonnet 5 | $0.00018 | $0.00317 |
| Haiku 4.5 | $0.00009 | $0.00158 |
Grade A, and why
reversing-browser-extensions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reversing Browser Extensions
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.
When to Use
- Analyzing a suspicious, over-permissioned, or unknown extension's behaviour
- Auditing an extension's manifest and message-passing for privilege leaks
- Investigating how a content script exposes background/native capabilities to a page
- Recovering what an extension actually does versus what its store listing claims
When NOT to Use
- Deobfuscating the extension's bundled JavaScript as a code-reading problem
— use
reversing-obfuscated-javascriptfor the bundle, then return here for the privilege model. - Detonating and extracting IOCs from a malicious extension as part of an
incident — use
analyzing-malware. - Testing the web application the extension interacts with —
testing-web-applications. - A desktop app that happens to embed a browser —
testing-thick-clients.
Get the Code and Read the Manifest
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,webRequestblocking) vs MV3 (background service worker,declarativeNetRequest, remote code forbidden). The version changes where the privileged logic lives and how it persists.permissionsandhost_permissions—<all_urls>,tabs,cookies,webRequest,debugger,nativeMessaging,scripting. Judge each against what the extension claims to do;<all_urls>+cookieson 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.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 129 lines · 89 tokens per session scan A 6bb3f6792afa
reversing-browser-extensions is a skill published in the GitHub repository trilwu/secskills (137 stars, last pushed 5d ago), licensed MIT. It adds 89 tokens to every session and 1,583 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dingtalk_channel_connect
Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.
browser_cdp
Use this skill when the user explicitly wants to connect to a running Chrome browser, scan local CDP ports, specify a cdpport, or share a single browser across multiple agents/tools. By default browser opens no debugging port; pass an explicit cdpport only when the user wants another local tool to attach.
browser_cdp
Browser connection controls for finding local debugging ports, attaching to an already running Chrome browser, or sharing one browser between tools.
browser_visible
Browser launch controls for choosing whether a Chromium-based browser window is visible, which browser program to run, and which startup options to pass.
browser_visible
Use this skill when the user needs to control the browser launch mode for browser. By default browser is managed by Playwright and opens no debugging port (pass an explicit cdpport to let another local tool attach); headed controls whether the window is visible, and privatemode is kept for backward compatibility and…
browser-testing-with-devtools
Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…