reversing-obfuscated-javascript

reversing-obfuscated-javascript is a skill for Claude Code from trilwu/secskills. It costs 126 tokens per session (2,181 once invoked), scanned A, original, MIT.

A guide for turning minified, bundled, or deliberately obscured JavaScript back into code that can be examined. It covers browser and Node.js programs, source maps, and common obfuscation patterns.

In plain words
What is it for?
Use it to inspect browser or Node bundles, recover readable structure, find request-signing or cryptographic code, or reproduce an algorithm from client-side code.
Why use it?
It helps developers understand shipped JavaScript when normal names and structure have been removed or hidden.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the secskills-core plugin — 30 skills shipped together

Good fit Use it to inspect browser or Node bundles, recover readable structure, find request-signing or cryptographic code, or reproduce an algorithm from client-side code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trilwu/secskills/reversing-obfuscated-javascript
Install

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.

Any agent
npx skills add trilwu/secskills --skill reversing-obfuscated-javascript
Clone the repo
git clone --depth 1 https://github.com/trilwu/secskills

Made for: Claude Code.

Or install secskills-core, the plugin that ships this one along with the rest of its 30 skills.

Wrote 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.

agentmods badge for reversing-obfuscated-javascript

README.md
[![agentmods](https://agentmods.dev/badge/skills/trilwu/secskills/reversing-obfuscated-javascript/github.svg)](https://agentmods.dev/skills/trilwu/secskills/reversing-obfuscated-javascript)
Your own site
<a href="https://agentmods.dev/skills/trilwu/secskills/reversing-obfuscated-javascript"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/reversing-obfuscated-javascript/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.

agentmods 80×15 button for reversing-obfuscated-javascript

Your own site · 80×15
<a href="https://agentmods.dev/skills/trilwu/secskills/reversing-obfuscated-javascript"><img src="https://agentmods.dev/badge/skills/trilwu/secskills/reversing-obfuscated-javascript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.02181
Opus 5.5 $0.00050 $0.00872
Sonnet 5.5 $0.00025 $0.00436
Haiku 4.5 $0.00013 $0.00218

Measured 3mo ago against content hash 1a3ba6d9ce5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

reversing-obfuscated-javascript 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 3mo 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.

secskills-core/skills/reversing-obfuscated-javascript/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reversing Obfuscated JavaScript

Client-side JavaScript ships the whole program to the reader — there is no stripped binary here, only code deliberately made unreadable. That changes the job: you are almost never recovering missing information, you are undoing a transformation. Identify the transformation first, reverse it with the tool built for it, and fall back to hand-written AST passes only for the custom layer no off-the-shelf tool knows.

When to Use

  • A page or extension ships a large minified/bundled .js you need to read
  • Code is full of _0x1234 identifiers, a big string array, and a rotation IIFE at the top — the obfuscator.io signature
  • A .js.map sourcemap is reachable, or webpack left //# sourceMappingURL
  • You must locate where a request signature, HMAC, token, or crypto key is computed inside a running bundle
  • Reproducing a client-side algorithm (an anti-bot signal, a licence check, a paywall gate) from the shipped code

When NOT to Use

  • React Native / Hermes mobile bundles (index.android.bundle, main.jsbundle, Hermes magic bytes) — use reversing-react-native-apps.
  • A custom bytecode VM or virtualized-JS obfuscator where control flow is interpreted, not just flattened — that is devirtualization; use unpacking-protected-binaries for the VM-lifting approach.
  • Malicious JS in a compromised site or npm package where the goal is IOCs and behaviour, not readability — use hunting-web-backdoors for planted web payloads and auditing-supply-chain for a malicious package.
  • Testing the web app itself (the endpoints the JS calls, XSS, auth) — use testing-web-applications; come back here only to recover a client-side algorithm it needs.
  • WASM modules loaded by the page — that is analyzing-binaries territory.

Identify the Layer Before Touching a Tool

Running the wrong deobfuscator produces plausible garbage. Read the first few hundred bytes and classify:

What you see Transformation Reverse it with
Short names, no whitespace, readable strings Minification only An unminifier / prettier + rename
webpackChunk, a module map {123: function(e,t,n){…}} Webpack/Rollup bundling Unbundle to per-module files
//# sourceMappingURL=… or a reachable .map Nothing — the source is right there Sourcemap recovery
_0x hex names + one big string array + a rotation IIFE obfuscator.io string-array webcrack / synchrony / restringer
Nested ternaries, while(true){switch(_0x..)} dispatcher Control-flow flattening AST pass to relink the switch
debugger in a setInterval, self-defending function Anti-debug / self-defense Strip the guard before other passes

Read the full file on GitHub · 165 lines

Changes

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.

  1. 3mo ago First seen · 165 lines · 126 tokens per session scan A 1a3ba6d9ce5a

Subscribe to this mod's changes

reversing-obfuscated-javascript is a skill published in the GitHub repository trilwu/secskills (217 stars, last pushed 3mo ago), licensed MIT. It adds 126 tokens to every session and 2,181 once invoked, about $0.0005 per session on Opus 5.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.

Related

reversing-obfuscated-javascript compared with skills from other repositories

reversing-obfuscated-javascript next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reversing-obfuscated-javascripttrilwu/secskillsSkill2173mo agoMITA126Claude Code
Agent Browserdanstrem2/clawdbot-skill-master-packSkill210mo agononeA34Claude Code
cardputer-buddyanthropics/claude-plugins-officialSkill49ktodayApache-2.0A109Claude Code
migrate-to-rustgoogle/skillsSkill26ktodayApache-2.0A166Claude Code, Codex
dingtalk_channel_connectagentscope-ai/QwenPawSkill38ktodayApache-2.0A69Claude Code, Codex
ink-custom-brush-builderandroid/skillsSkill11k10d agoApache-2.0A159Claude Code
webmcpBuilderIO/skillsSkill4.7kyesterdayMITA38Claude Code, Codex