New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@alphaedge/codex-profile

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alphaedge/codex-profile

Switch between Codex config/auth profiles

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

codex-profile

CLI to switch between Codex config/auth profiles.

It manages these files in your Codex home ($CODEX_HOME, ~/.config/codex, or ~/.codex):

  • config.toml
  • auth.json

Profiles are stored as sibling files with a suffix:

  • config.toml.<profile>
  • auth.json.<profile>

Install

npm

npm i -g @alphaedge/codex-profile

Homebrew

brew tap REPO_OWNER/codex-profile
brew install codex-profile

Usage

codex-profile show
codex-profile save openai
codex-profile switch openai
codex-profile switch bk

switch creates a timestamped backup in profile_backups/<timestamp>/ by default.

Release to npm

  • Update version in package.json.
  • Commit + tag:
    git tag v0.1.0
    git push origin main --tags
    
  • Publish:
    npm login
    npm publish
    

Release to Homebrew

  • Create tap repo named homebrew-codex-profile under your GitHub account.
  • Copy Formula/codex-profile.rb into that tap repo at Formula/codex-profile.rb.
  • Replace placeholders:
    • REPO_OWNER
    • REPO_VERSION
    • REPO_SHA256
  • Compute tarball sha256:
    curl -L https://github.com/REPO_OWNER/codex-profile/archive/refs/tags/vREPO_VERSION.tar.gz | shasum -a 256
    
  • Commit formula change in the tap repo.

Local dev

./bin/codex-profile --help
./bin/codex-profile show

Keywords

codex

FAQs

Package last updated on 14 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts