glean-sdk-patterns

Pass

Audited by Gen Agent Trust Hub on Sep 9, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides standard boilerplate code for an API client. It correctly uses process.env for managing sensitive credentials (API keys and domains) rather than hardcoding them.
  • [SAFE]: All network operations are directed towards the Glean API endpoints (/api/client/v1/search and /api/index/v1/indexdocuments) based on the user-provided domain configuration.
  • [SAFE]: The skill references official documentation at https://developers.glean.com/, which is a well-known service for the enterprise search platform it supports.
  • [SAFE]: The instructions and code examples emphasize defensive coding practices, such as redacting telemetry, validating requests, and handling rate limits (429 errors) with backoff logic.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 9, 2026, 03:48 AM
Security Audit — agent-trust-hub — glean-sdk-patterns