ima-sdk-basics

Warn

Audited by Snyk on Jun 25, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.65). The required runtime workflow ingests outsider-authored free text via the ad system: the agent loads VAST ad creatives from an external ad server (using adTagUrl/requestAds), and the resulting ad markup/log/error messages (e.g., VAST/VPAID/IMA LOG/AD_ERROR strings) are parsed and surfaced into the app/SDK context as readable text that can be forwarded into the LLM.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.90). The web guide explicitly instructs loading the remote SDK script https://imasdk.googleapis.com/js/sdkloader/ima3.js via a tag at page runtime, which fetches and executes remote JavaScript in the page and is a required runtime dependency for the web integration.

Issues (2)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 25, 2026, 04:28 AM
Issues
2
Security Audit — snyk — ima-sdk-basics