kubectx
Pass
Audited by Gen Agent Trust Hub on Jun 20, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Fetches pre-compiled binaries and shell completion scripts from the official GitHub repository for ahmetb/kubectx.
- Evidence:
https://github.com/ahmetb/kubectx/releases/latest/download/kubectx - Evidence:
https://raw.githubusercontent.com/ahmetb/kubectx/master/completion/_kubectx.zsh - [COMMAND_EXECUTION]: Requires granting execution permissions to downloaded binaries and moving them to system-wide executable paths.
- Evidence:
chmod +x kubectx kubens && mv kubectx kubens /usr/local/bin/ - [COMMAND_EXECUTION]: Performs dynamic sourcing of shell completion logic and integrates with the shell prompt via environment variable modification and command substitution.
- Evidence:
source <(kubectl completion bash) - Evidence:
PROMPT='$(kube_ps1) '$PROMPT
Audit Metadata