env-supplement-proxy

Automate browser environment supplementation for obfuscated JavaScript in Node.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/warterbili/AUTO_REVERSE --skill env-supplement-proxy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-supplement-proxy
Source: https://github.com/warterbili/AUTO_REVERSE/tree/main/skills/web/env-supplement-proxy
Command: npx skills add https://github.com/warterbili/AUTO_REVERSE --skill env-supplement-proxy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Browser-targeted obfuscated JavaScript (such as anti-scraping sign algorithms, data collection scripts) throws "X is not defined" errors when executed in headless Node environments, as Node lacks native browser global objects like window, navigator, and document. Manual stubbing of missing APIs is extremely slow, as developers cannot easily identify which specific properties the obfuscated script actually queries.

Core Features & Use Cases

  • Recursive Proxy Auto-Disclosure: Wraps browser global objects in a recursive ES6 Proxy that automatically logs every accessed-but-undefined API path, so only the APIs actually used by the target script need to be supplemented.
  • Iterative Auto-Completion Loop: Runs the target JS, catches missing API errors, supplies reasonable stubs (preferably values captured from real browsers), and reruns until output stabilizes, eliminating guesswork in environment setup.
  • Anti-Detection Guidance & Framework Selection: Includes detailed guidance to bypass common anti-scraping environment checks (such as toString integrity, fingerprint consistency, and Proxy leakage) and a comparison table of 7 mainstream environment supplementation frameworks for different scenarios, from learning use cases to beating strong adversaries like Ruishu.
  • Use Case: For example, if you have an obfuscated Android app sign algorithm that runs in the browser and uses navigator and window APIs, you can use this skill to run it headless in Node at high throughput without fully reversing the obfuscated code.

Quick Start

Use the env-supplement-proxy skill to automatically identify and fill missing browser environment APIs for the attached obfuscated JavaScript file so it executes correctly in a headless Node environment.

Frequently Asked Questions about env-supplement-proxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run browser obfuscated JavaScript in Node.js without manually stubbing window and navigator?

Run browser JavaScript in Node.js by using a recursive ES6 Proxy to automatically log accessed-but-undefined API paths, then iteratively supply stubs until the environment stabilizes, bypassing the need for manual window or navigator stubbing.

Why does obfuscated anti-scraping sign algorithm code throw "X is not defined" errors in headless Node environments?

Anti-scraping sign algorithms throw "X is not defined" errors in headless Node because Node lacks native browser global objects like window, navigator, and document, causing the obfuscated script to fail when querying missing properties.

How to bypass anti-scraping environment detection checks like toString integrity and fingerprint consistency in Node.js?

Bypass anti-scraping environment detection by applying guidance on toString integrity, fingerprint consistency, and Proxy leakage, selecting from 7 mainstream environment supplementation frameworks to ensure the stubbed browser environment passes rigorous checks.

What is the best way to identify which browser APIs an obfuscated collection script actually queries?

Identify queried browser APIs by wrapping global objects in a recursive ES6 Proxy that auto-discloses every accessed-but-undefined API path, eliminating guesswork by logging only the specific properties the target script requests.

Can I use this environment supplementation approach for high-throughput execution of Android app sign algorithms in Node?

Yes, you can use this environment supplementation approach for high-throughput execution of Android app sign algorithms in Node by iteratively auto-completing missing browser APIs without fully reversing the obfuscated code.

When should I not use manual environment stubbing for browser-only JavaScript?

Avoid manual environment stubbing for browser-only JavaScript when dealing with high-throughput anti-scraping scenarios where you cannot easily identify queried properties, making iterative auto-completion via recursive Proxy more efficient than manual setup.