openscript
Pass
Audited by Gen Agent Trust Hub on Nov 20, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill is designed to download the
openalgo-scriptpackage from the public npm registry during its first initialization. This package contains the core compiler required to validate and compile trading strategies. As this is a vendor-owned resource for the OpenAlgo ecosystem, it is considered standard functionality for this developer tool. - [DYNAMIC_EXECUTION]: To function as a compiler wrapper, the skill dynamically loads the fetched
openalgo-scriptmodule using the JavaScriptimport()function. This allows the agent to perform real-time syntax checking and program generation without requiring the user to manually install the compiler globally. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection as it is specifically designed to ingest and process untrusted external data, such as TradingView Pine Scripts or CSV value exports from other trading platforms.
- Ingestion points:
import.mjs(Pine Script text),compare.mjs(CSV/JSON data files). - Boundary markers: The
SKILL.mdinstructions guide the agent to carefully review every warning and diagnostic finding produced by the compiler before presenting the final code to the user. - Capability inventory: The skill uses
Bashto run local Node.js scripts andWriteto save validated.oscriptfiles. - Sanitization: Code parsing and validation are handled by the dedicated
openalgo-scriptengine, which serves as a sandbox for evaluating the structure of the input scripts. - [COMMAND_EXECUTION]: The skill uses
execFileSyncto invoke thenpmCLI for dependency management. The arguments are handled safely to prevent command injection, and the operations are confined to the skill's own cache directory.
Audit Metadata