
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@amplitude/developer-cli
Advanced tools
amp CLI and developer artifacts for managing Amplitude platform primitives via the Developer API
CLI and developer artifacts for the Amplitude Developer API.
amp manages Amplitude first-class platform primitives (projects, taxonomy, and
feature flags) via the Developer API. Related CLIs:
ampli — instrumentation and typed SDK codegenamplitude-wizard — onboarding and setupThese guide every change to the CLI (see AGENTS.md for the full version):
npm install -g @amplitude/developer-cli
amp help
Or run without installing:
npx @amplitude/developer-cli help
Run amp auth login to authenticate via the OAuth device flow. Creating a
profile is force-explicit — name it and pick its environment:
amp auth login --profile prod --env prod # device flow → save + activate
amp auth status # active credential, type, expiry
amp context
Profiles bind a credential to an environment (its base_url), so a staging
token can never be sent to prod. Add more and switch between them:
amp auth login --profile staging --env staging # activates staging
amp auth use prod # switch back (no re-auth)
amp auth list # * marks the active profile
amp logout --profile staging # remove one
amp logout --all # remove every profile
A bare amp auth login re-authenticates the active profile in place. Profiles
are saved to ~/.amplitude/amp/credentials.json (0600).
Prefer a Personal Access Token? amp auth pat --with-token --profile <name> --env <env>
reads a PAT from stdin (or a masked prompt at a terminal) and saves it as a
profile — same force-explicit create rule, same store, just a different
credential type. --with-token is required.
echo "$PAT" | amp auth pat --with-token --profile ci --env prod
For CI or a one-off shell, set a raw token — it overrides stored profiles:
export AMP_TOKEN=amp_... # amp_… is treated as a PAT, anything else a bearer
AMP_PROFILE selects a stored profile by name; amp auth token prints the
active access token to stdout (TOKEN=$(amp auth token)).
Defaults to production:
https://developer-api.amplitude.com
Override for staging or a local server:
export AMP_API_BASE_URL=http://localhost:3036
# or
amp --base-url http://localhost:3036 context
amp context
amp projects list
amp events list --project <project_id> --limit 5
amp events create --project <project_id> --event-type my_event --display-name "My Event"
amp flags list --project <project_id> --limit 5
amp flags create --project <project_id> --key my-flag --name "My Flag"
amp flags get --project <project_id> --flag <flag_id>
amp flags archive --project <project_id> --flag <flag_id> --dry-run
With a credential available (amp auth login, or AMP_TOKEN set):
pnpm smoke
See docs/cli.md for the full smoke checklist and PAT scope notes.
FAQs
amp CLI and developer artifacts for managing Amplitude platform primitives via the Developer API
The npm package @amplitude/developer-cli receives a total of 140 weekly downloads. As such, @amplitude/developer-cli popularity was classified as not popular.
We found that @amplitude/developer-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.