electrobun-best-practices
Warn
Audited by Snyk on Aug 9, 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.30). The skill’s runtime guidance shows how an app can load outsider-supplied web content into BrowserWindow/webview (via
url/srcand nested<electrobun-webview src="...">), meaning the LLM can ingest arbitrary free text from that page at runtime if the developer loads attacker-controlled content.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.80). The electrobun build config sets release.baseUrl to https://storage.example.com/myapp/, and the Updater examples (checkForUpdate/downloadUpdate/applyUpdate) indicate the runtime will fetch and apply update artifacts from that URL which can deliver and execute remote code.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata