1k-tradingview-communication

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill describes a communication bridge that processes data from external sources and handles messages between a WebView/iframe and the host application, creating a potential attack surface for indirect injection if not properly secured.
  • Ingestion points: Data enters the context through window.postMessage in the chart repository and useTradingViewMessageHandler in the app repository.
  • Boundary markers: The documentation explicitly instructs to "validate origin before reconnecting subscriptions" and "Do not bypass $private bridge routing... or origin checks."
  • Capability inventory: The bridge handles sensitive actions including order cancellations (tradingview_perpsOrderCancel), order price updates (tradingview_perpsOrderPriceUpdate), and K-line data fetching.
  • Sanitization: The skill emphasizes the requirement for origin checks and secure bridge routing to mitigate unauthorized message injection.
  • [DYNAMIC_EXECUTION]: The skill mentions the use of script injection for cross-environment communication.
  • Evidence: The documentation states that "native/desktop injects a script that calls window.postMessage(...)" via sendMessageViaInjectedScript. This is a standard architectural pattern for mobile and desktop WebView bridges used to facilitate communication between the host and the embedded web content.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 08:38 PM
Security Audit — agent-trust-hub — 1k-tradingview-communication