llm-security-scanner / .env.example
LaelaZ's picture
Deploy LLM Security Scanner (viewer) to HF Spaces
6c59ea7 verified
raw
history blame contribute delete
684 Bytes
# Copy to `.env` and fill in to scan a real endpoint. Not needed for the
# offline stub target (the default), which runs with no configuration.
# --- Real provider (OpenAI-compatible) ---
# Required for `--target openai`.
OPENAI_API_KEY=sk-your-key-here
# Optional: point at Azure OpenAI, a local server, or a proxy.
# OPENAI_BASE_URL=https://your-endpoint.example/v1
# Optional: model id to test (default: gpt-4o-mini).
# LLM_SCAN_MODEL=gpt-4o-mini
# Optional: the system prompt of the assistant you are testing. Set this to the
# real production prompt so leakage probes test *your* configuration.
# LLM_SCAN_SYSTEM_PROMPT=You are a helpful customer-support assistant for Acme.