dsl-vm-reverse

dsl-vm-reverse is a skill for Claude Code, Codex from xAmirHamza77/ReverseOps-Skill. It costs 0 tokens per session (3,469 once invoked), scanned A, original, MIT.

A specialised reverse-engineering workflow identifies and analyses custom JavaScript virtual machines used by web applications. It focuses on obfuscated, minified code that interprets hidden instructions or rules.

In plain words
What is it for?
Use it to recognise custom VM patterns, extract and classify opcodes, capture runtime behaviour, and analyse risk-control or similar JavaScript engines.
Why use it?
Such code can be difficult to understand because the logic is compressed, renamed, and executed through a custom interpreter instead of ordinary functions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to recognise custom VM patterns, extract and classify opcodes, capture runtime behaviour, and analyse risk-control or similar JavaScript engines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xamirhamza77/reverseops-skill/dsl-vm-reverse
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 xAmirHamza77/ReverseOps-Skill --skill dsl-vm-reverse
Clone the repo
git clone --depth 1 https://github.com/xAmirHamza77/ReverseOps-Skill

Made for: Claude Code, Codex.

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 dsl-vm-reverse

README.md
[![agentmods](https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/dsl-vm-reverse/github.svg)](https://agentmods.dev/skills/xamirhamza77/reverseops-skill/dsl-vm-reverse)
Your own site
<a href="https://agentmods.dev/skills/xamirhamza77/reverseops-skill/dsl-vm-reverse"><img src="https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/dsl-vm-reverse/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 dsl-vm-reverse

Your own site · 80×15
<a href="https://agentmods.dev/skills/xamirhamza77/reverseops-skill/dsl-vm-reverse"><img src="https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/dsl-vm-reverse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,469 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.
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.00000 $0.03469
Opus 5 $0.00000 $0.01734
Sonnet 5 $0.00000 $0.00694
Haiku 4.5 $0.00000 $0.00347

Measured 6d ago against content hash 9947bb76668b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

dsl-vm-reverse 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 6d 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.

skills/reverse-engineering/dsl-vm-reverse/SKILL.md · 370 lines

How it starts

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

🔄 DSL Custom VM Reversing (DSL VM Reverse Engineering)

For reversing custom WASM virtual machines / risk-control engines implemented in JavaScript


Table of Contents


1. Scope

Use this skill when the target file matches any of the following traits:

# Trait Description
1 IIFE opening + many single-letter variable names !function(){var U=void 0,y=parseInt,E0=Function,...}
2 Contains DG() or a similar function with a switch-case loop Interpreter main loop; d[7]&31 decodes the opcode
3 Large file (500KB+) but zero-byte ratio < 1% Not standard WASM; pure JS
4 Contains C[number] constant-table references C[9][xxx] function table/string table
5 Single-line minified code 583KB one-liner, obfuscated variable names

Exclusion Rules

Condition Not this skill Go to
File starts with \x00asm Standard WASM binary reverse-engineering/languages.md
File contains WASM magic as Uint8Array([0,97,115,109]) Embedded WASM Extract the .wasm, then move to IDA/Ghidra
Standard Webpack bundle (function(e,t,n){...}) Plain JS js-reverse/
Zero-byte ratio > 20% WASM binary reverse-engineering/languages.md

2. DSL VM Identification Traits

Code Traits

// Trait 1: IIFE entry; single-letter variables map to numeric constants
!function(){
    var U=void 0, y=parseInt, E0=Function, AN=Uint8Array;
    var E=15, l=10, m=12, x=16, S=13, $=11;
    // Numeric constants are mapped to variable names, replacing raw numbers
    ...
}

// Trait 2: Interpreter main loop DG()
function DG(C, d, ...) {
    var d = [];  // Array simulating the WASM stack/locals
    for (d[7] = x; d[7] !== U;) {
        var aE = d[7] & 31;         // Low 5 bits = opcode
        var O = d[7] >> 5 & 31;      // High 5 bits = sub-operation
        switch (aE) {
            case 0: /* ... */ d[7] = 612; break;
            case 1: /* ... */
            // ... N cases
        }
    }
}

// Trait 3: Constant table C[9] stores function indices and strings
// C[9][0] = ["pc"]      → function parameter descriptors
// C[9][667] = "string"  → string constants
// C[9][x] = number      → function indices

// Trait 4: W(C[index], null, ...) call pattern
// W = Function.prototype.call.bind(call)
// All builtin functions are invoked via C[index] indexing

// Trait 5: Instruction encoding format
// d[7] = opcode(bit 0-4) | subop(bit 5-9) | operand(bit 10+)

Read the full file on GitHub · 370 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. 6d ago First seen · 370 lines · 0 tokens per session scan A 9947bb76668b

Subscribe to this mod's changes

dsl-vm-reverse is a skill published in the GitHub repository xAmirHamza77/ReverseOps-Skill (4 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,469 tokens. 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-09-03.

Related

Other skills, from other repositories

interacting-with-project-runtime

Interacting with a project's JVM runtime through the Kotlin REPL to execute focused probes against project classes and dependencies. Activate when behavior must be observed by running code; use using-gradle for build inspection or task execution.

rnett/gradle-mcp · 49 tokens

using-gradle

Using Gradle MCP tools to inspect and run existing builds, including projects, tasks, properties, dependencies, and build results. Activate for Gradle build operation and diagnosis; use authoring-gradle-builds when the build definition itself must change.

rnett/gradle-mcp · 53 tokens

debug-helper

Systematic debugging approach for identifying and fixing issues.

athola/skrills · 12 tokens

error-handling

Read the error codes these tools raise and decide whether to retry, fix the call, or stop.

saidsef/mcp-github-pr-issue-analyser · 19 tokens

wcode

Use the wcode plugin and its MCP tools for repository coding, review, debugging, refactoring, architecture, Graph/Design inspection, safe edits, command execution, and verification. Trigger whenever wcode is installed or named, even when its tools are lazily registered or omitted from the host's initial tool list.

francis-du/wcode · 66 tokens

inversion

"Invert, always invert." Apply Carl Jacobi's mathematical principle and Charlie Munger's investing wisdom to solve problems by thinking backward from failure. Use when: Goal setting - Define what would guarantee failure, then avoid it; Risk analysis - Identify what could destroy your project before starting; Decision…

guia-matthieu/clawfu-skills · 96 tokens