You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zero-trust layer on cloud-CLI wrappers. Each tool here has a config-file-driven exec primitive (kubectl exec credential plugin, docker credsStore, aws credential_process). Env vars that point at those config files are the hijack vectors.
Pattern
Per-tool secure_*_command() since the env-var sets differ. Or one secure_cloud_command(tool) with a per-tool table.
Env vars to strip
kubectl (src/cmds/cloud/container.rs k8s paths):
KUBECONFIG (kubeconfig can set users[].user.exec → literal RCE)
KUBE_EDITOR, EDITOR, VISUAL (invoked by kubectl edit)
Activity
Merge pull request #47 from thehoff/harden/cloud-v2
feat(security): add generalized secure_command + universal env-strip (t…
harden(cloud): per-tool secure_command + arg deny for k8s/docker/aws/…
harden(gh/glab/gt): zero-trust env strip + arg deny + passthrough fix (…
fix(security): route all meta-passthrough bins to tool-specific harde…