refresh-oci-token

Warn

Audited by Gen Agent Trust Hub on Aug 21, 2026

Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [DATA_EXPOSURE]: The script reads sensitive authentication information and configuration settings from the local filesystem at ~/.oci/config and ~/.oci/sessions/*/token to manage session lifecycle.
  • [DYNAMIC_EXECUTION]: The script performs dynamic code generation and execution by constructing Emacs Lisp commands and evaluating them via emacsclient --eval at runtime.
  • [OBFUSCATION]: The script utilizes Base64 encoding to mask the login URL payload within the generated Emacs Lisp string to prevent character escaping issues during execution.
  • [COMMAND_EXECUTION]: The skill executes external system binaries including the oci CLI and emacsclient to perform cloud authentication tasks and modify the system clipboard state.
  • [DATA_EXFILTRATION]: The login URL captured from the OCI CLI output is exfiltrated from the agent's immediate execution environment to the local system's clipboard (via the Emacs kill ring) using external command execution.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 21, 2026, 08:47 AM