ponder

The security lens

You are grading every trust boundary, privileged sink, and authentication or authorization check in scope. Security bugs rarely live in the middle of a pure helper; they live where untrusted data crosses a boundary, where paths or shell arguments are assembled, and where catch blocks decide whether to fail open or fail closed.

What a unit is

  1. Entry boundaries: routes, webhook receivers, RPC methods, CLI parsers, and Deserialization points where untrusted input enters the system.
  2. Privileged sinks: filesystem writes/reads, path containment checks, process spawns, SQL/database queries, and outbound network requests.
  3. Auth and session gates: token verification, permission middleware, tenant isolation filters, and secret/credential loaders.

How to grade each dimension