Marks / Execution controls / Credential handling

pi · Credential handling

Full env to bash; only inheritEnv:false for MCP and !command keychain lookups; L2 unmet: no denylist

Cite: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. pi · Credential handling. https://ai-agents-review.com/cell/pi/credential-handling Markdown Compare runtimes

01 · Mark

Level

1
Default deployment Level 1 of 4
1
Best supported configuration Same as default

s Source-verified: the deciding facts were followed in the source.

02 · Rubric

Criteria for this column

Rubric and errata →

  1. 0

    Full environment inherited, credentials stored in plaintext readable by agent code, no filtering

  2. 1

    Some protection (keychain option, redaction of output, per-command secret injection), but the full environment is still inherited by default

    met
  3. 2

    Default denylist filtering of the environment, but known provider keys or credential files remain reachable by agent code

  4. 3

    Default cleared environment plus allowlist for agent processes; credential stores may still be readable on the same filesystem

  5. 4

    Level 3, plus provider credentials held outside the agent's reach (separate process or broker) and auxiliary processes (MCP stdio) also get an allowlisted environment

03 · Review finding

What the source review found

Table and notes in the report →

bash inherits the full process.env, plus PI_* session vars when exposed. MCP stdio servers inherit the env unless inheritEnv: false. auth.json is 0600 under a lock but readable by the same user. Config values can come from a !command (e.g. a host keychain CLI). No in-tree keychain; redaction applies only to bug reports. X115X116X117X118X119

04 · Source code

Pinned evidence

Every link opens the cited lines at the revision the study reviewed.

Cited by the mark

Also cited by the review finding

05 · Grading record

Two independent graders

Method and adjudication log →

Grader A
1 / 1
Grader B
1 / 1
Final
1 / 1

Default / best supported.

Not in the adjudication log.

Sideways

Neighbouring marks