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-script package 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-script module using the JavaScript import() 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.md instructions 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 Bash to run local Node.js scripts and Write to save validated .oscript files.
  • Sanitization: Code parsing and validation are handled by the dedicated openalgo-script engine, which serves as a sandbox for evaluating the structure of the input scripts.
  • [COMMAND_EXECUTION]: The skill uses execFileSync to invoke the npm CLI 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
Risk Level
SAFE
Analyzed
Nov 20, 2026, 06:06 PM