enterprise-search

Warn

Audited by Snyk on Jul 1, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Third-party content exposure detected (high risk: 0.95). Outsider-authored free text is ingested when the workflow calls /rest/api/v1/getdocuments via scripts/es_read.sh, which returns content.fullTextList (full document text from indexed sources like Slack/Confluence/Jira) and prints it into the agent’s LLM context.

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

  • Potentially malicious external URL detected (high risk: 0.90). The scripts call the configured GLEAN_BASE_URL at runtime (e.g. https://your-company-be.glean.com/rest/api/v1/getdocuments and /rest/api/v1/search) to fetch full document text that is then emitted for use as agent context, so external content returned by those URLs can directly control prompts or instruct the agent.

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
Jul 1, 2026, 11:17 PM
Issues
2
Security Audit — snyk — enterprise-search