
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
openclaw-auth-wiper
Advanced tools
Safe OpenClaw auth and model-state reset plugin by Growthcircle.id.
Safe auth reset for OpenClaw.
openclaw-auth-wiper is a Growthcircle.id plugin for clearing broken or stale OpenClaw model login state without wiping the rest of your OpenClaw setup.
Use it when OpenClaw keeps using an old account, a model provider token is stale, a custom provider setup is broken, or an old session keeps forcing the wrong model.
This plugin cleans only the model/auth layer:
It does not clean your channels, gateway, memory, tools, plugins, workspace, logs, or transcripts.
Install the plugin from ClawHub:
openclaw plugins install clawhub:openclaw-auth-wiper
openclaw plugins enable openclaw-auth-wiper
openclaw gateway restart
Check that OpenClaw can see it:
openclaw plugins inspect openclaw-auth-wiper
If your OpenClaw build exposes plugin commands in the command palette or chat command surface, run:
auth-wiper --dry-run
For the final wipe, the terminal CLI is the clearest path because it prints a backup report and requires explicit confirmation:
npx openclaw-auth-wiper --dry-run
npx openclaw-auth-wiper --apply --yes
openclaw gateway restart
After that, sign in or configure your model provider again.
Always start with a dry run:
npx openclaw-auth-wiper --dry-run
The dry run shows:
No files are changed in this step.
When the dry-run report looks correct:
npx openclaw-auth-wiper --apply --yes
Without --yes, the CLI asks you to type WIPE before writing anything.
Restart the gateway or OpenClaw process so it reloads the cleaned config:
openclaw gateway restart
Run your normal OpenClaw model setup flow again. For example, configure OpenAI Codex, Growthcircle.id, MiniMax, Ollama, or another provider from a clean state.
If you prefer a global CLI:
npm install -g openclaw-auth-wiper
openclaw-auth-wiper --dry-run
openclaw-auth-wiper --apply --yes
You can also use npx without installing globally:
npx openclaw-auth-wiper --dry-run
Use this plugin when:
modelOverride, providerOverride, or authProfileOverride.Do not use it as a remote token revocation tool. It removes local state only. If a credential was leaked, revoke it at the provider too.
Per agent:
| File | Action |
|---|---|
~/.openclaw/agents/<agentId>/agent/auth-profiles.json | Clears model OAuth/API-key profiles. |
~/.openclaw/agents/<agentId>/agent/auth-state.json | Clears model auth routing, cooldown, and usage state. |
~/.openclaw/agents/<agentId>/agent/models.json | Clears local custom provider/model registry. |
~/.openclaw/agents/<agentId>/sessions/sessions.json | Removes model/auth override pins only. |
Global config in ~/.openclaw/openclaw.json:
auth.profilesmodels.providersprovidersagents.defaults.model.primaryagents.defaults.model.fallbacksagents.defaults.modelsmodel pinsSession fields removed from each session:
providerOverrideproviderOverrideSourcemodelOverridemodelOverrideSourceauthProfileOverrideauthProfileOverrideSourceauthProfileOverrideCompactionCountmodelProvidermodelNested session history and transcript references are preserved.
The default wipe does not edit or delete:
Before changing anything, the CLI backs up every file it will edit.
Backup location:
~/.openclaw/.auth-wiper-backups/<timestamp>/
Each backup folder contains:
manifest.jsonTo recover manually, copy the backed-up file back to its original path, then restart OpenClaw.
Example:
cp ~/.openclaw/.auth-wiper-backups/<timestamp>/openclaw.json ~/.openclaw/openclaw.json
openclaw gateway restart
openclaw-auth-wiper is intentionally conservative:
--dry-run.| Option | Description |
|---|---|
--dry-run | Preview changes only. This is the default. |
--apply | Write the wipe. |
--yes, -y | Skip the interactive WIPE confirmation. |
--openclaw-home <path> | OpenClaw home. Defaults to OPENCLAW_HOME or ~/.openclaw. |
--agent <id> | Limit to one agent. Repeatable. |
--all-agents | Target every agent directory. This is the default. |
--backup-dir <path> | Override backup destination. |
--preserve-session-model-history | Keep top-level session model and modelProvider, while still removing override pins. |
--no-lock | Disable lock file. Use only for isolated test fixtures. |
--json | Print a machine-readable report. |
--version | Print package version. |
--help | Print help. |
Restart the gateway after applying the wipe:
openclaw gateway restart
Then configure/login again.
Check that OpenClaw is using the expected home directory:
npx openclaw-auth-wiper --openclaw-home ~/.openclaw --dry-run
If you use a custom OpenClaw home, pass that path with --openclaw-home.
npx openclaw-auth-wiper --agent main --dry-run
npx openclaw-auth-wiper --agent main --apply --yes
model and modelProvidernpx openclaw-auth-wiper --preserve-session-model-history --dry-run
npx openclaw-auth-wiper --preserve-session-model-history --apply --yes
This still removes override pins such as modelOverride, providerOverride, and authProfileOverride.
| Component | Support |
|---|---|
| OpenClaw | Designed for 2026.3.* through latest 2026.4.*. |
| Tested OpenClaw | 2026.4.24, checked against npm latest 2026.4.26. |
| Node.js | >=20 |
| Platforms | Linux and macOS. Windows should work for JSON transforms, but file mode behavior may differ. |
| Distribution | ClawHub, npm, GitHub Releases |
Development:
npm install
npm run check
npm test
npm run build
npm pack --dry-run
Release checklist:
npm run prepublishOnly
npm publish --access public
git tag -a vX.Y.Z -m "openclaw-auth-wiper X.Y.Z"
git push origin main vX.Y.Z
clawhub package publish "$PWD" \
--family code-plugin \
--version X.Y.Z \
--source-repo Growth-Circle/openclaw-auth-wiper \
--source-commit "$(git rev-parse HEAD)" \
--source-ref vX.Y.Z \
--tags latest
Growthcircle.id is an AI community focused on practical, current AI workflows: agent tooling, model provider integration, automation, and applied AI systems.
This plugin is part of that tooling culture: small, specific, safe utilities that help people recover faster and work cleaner.
This utility removes local OpenClaw auth/model state. It does not revoke remote provider tokens or invalidate server-side sessions.
If a secret was exposed, revoke it at the provider. If you need to report a security issue in this package, contact the maintainers privately instead of opening a public issue with sensitive details.
FAQs
Safe OpenClaw auth and model-state reset plugin by Growthcircle.id.
The npm package openclaw-auth-wiper receives a total of 5 weekly downloads. As such, openclaw-auth-wiper popularity was classified as not popular.
We found that openclaw-auth-wiper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.