js-reverse-automation
Warn
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.Popeninscripts/manage_services.pyto start local services. It performs an automated search for binaries namedjsrpc(and platform-specific variations) in common user directories like~/jsrpc,~/jstest, and~/hacker/jstest. Executing unverified binaries from these locations represents a command execution risk if a malicious binary is placed in a searched path. - [DYNAMIC_EXECUTION]: The JSRPC environment script
scripts/JsEnv_Dev.jsimplements a remote execution capability usingeval(). It processes messages received via WebSocket to execute arbitrary JavaScript within the browser context. This is a powerful dynamic execution primitive characteristic of JSRPC-based reverse engineering tools. - [DYNAMIC_EXECUTION]: The skill generates Python and JavaScript files at runtime, such as
flask_proxy.pyandjsrpc_inject.js. These generated artifacts are then executed by management scripts using the local system's interpreters, which constitutes dynamic code generation and execution. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data (JavaScript bundles, network traffic, DOM elements) to automate code generation, creating an attack surface for indirect prompt injection. If a target website contains malicious content specifically designed to subvert the analysis, it could potentially influence the code produced by scripts like
detect_encryption.pyor the diagnostic behavior ofast_candidate_analyzer.js. - Ingestion points: Data is ingested through browser interaction and network monitoring via the
chrome-devtools-mcpinterface. - Boundary markers: Standard formatting is used to separate data from instructions, but there are no specific defenses against adversarial data content.
- Capability inventory: The skill manages a Flask proxy capable of network communication and a browser injection environment with full JavaScript execution capabilities.
- Sanitization: Basic redaction of sensitive keys (password, token, etc.) and truncation of large values are performed in
common.pyand the runtime probe, providing some level of data safety.
Audit Metadata