# Promptfoo red-team generation with no API key and no account (2 Nov 2026, IST)

promptfoo 0.125.1 (npm), Node v24.22.1, Linux box, run about 11:19 IST on 2 Nov 2026. Fresh empty HOME for each run, `CI=true`, stdin closed, no `OPENAI_API_KEY`, never logged in to Promptfoo, no email given. `PROMPTFOO_DISABLE_TELEMETRY=1` and `PROMPTFOO_DISABLE_UPDATE=1` in every run so the DNS log shows generation traffic, not telemetry.

Config: `redteamconfig.yaml` (echo target, one test each for the `contracts` plugin and the `hijacking` plugin, no strategies). Command: `npx promptfoo redteam generate -c redteamconfig.yaml -o out-<run>.yaml --no-cache`.

| Run | Exit | Tests generated | Hosts looked up |
|---|---|---|---|
| Defaults | 0 | 2 of 2 (`out-default.yaml`); CLI reports 879 generation tokens across 3 requests | api.promptfoo.app (3), r.promptfoo.app (1) |
| `PROMPTFOO_DISABLE_REMOTE_GENERATION=true` | 0 | 0 of 2: contracts failed ("API key is not set"), hijacking failed ("requires remote generation, which has been explicitly disabled") | r.promptfoo.app (1) |
| Same, plus `--strict` | 1 | 0 of 2 | not logged |

What this shows:
- With no key and no account, test generation silently ran on Promptfoo's hosted inference (api.promptfoo.app). No email prompt appeared in this non-interactive run. Promptfoo's data-handling page (read 2 Nov 2026) lists what is sent in this mode: the app purpose, plugin settings and, for grading, prompts and target responses.
- With remote generation off and no key, nothing was generated but the command still exited 0 unless `--strict` was set. In CI, add `--strict` or check the output.
- `hijacking` is one of the plugins Promptfoo documents as remote-only.
- One r.promptfoo.app lookup happened even with telemetry, updates and remote generation off; we did not identify its purpose (same as our 30 Oct first-run test).

Limits: one run each, one machine, one day, `redteam generate` only (we did not run `redteam eval` or grading). DNS lookups record host names only, not payloads.

Files: `raw-*.txt` (output, ANSI codes stripped; ends with EXIT_CODE and WALL_MS), `net-*.log` (DNS lookups via `dnslog.cjs`), `redteamconfig.yaml`, `out-default.yaml` (the 2 generated cases).

Evals Review, CC BY 4.0.
