GHSA-cqmh-pcgr-q42f
MEDIUM@axonflow/openclaw fix introduces plugin cache and credential-file permission hardening
Blast Radius
@axonflow/openclawReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.
Description
Summary
Two related permission defects in this AxonFlow plugin allowed registration credentials and cache state to be readable by other local users on hosts where the calling user's home directory was at the conventional 0755 mode.
Affected versions
Versions 1.3.2 and below.
Impact
- Cache and config directory mode. The plugin's directories under
~/.config/axonflow/and~/.cache/axonflow/were created with the umask-derived default mode (often0755) on first use and not subsequently re-validated. On systems where~/.config/is itself0755, the plugin's registration record (including a hashed credential andinstance_id) was traversable by other local users. - Credential file mode at load time. The plugin loaded its
try-registration.jsoncredential file without validating that the file mode was0600. A registration file written by a misconfigured tool, copied across systems, or restored from backup could end up world-readable, and the plugin would silently use it.
The fix restores 0700 on all plugin directories on every plugin invocation (not only first creation) and refuses to load credential files with non-0600 modes.
Remediation
Upgrade to the patched plugin version listed under Vulnerabilities. On startup the plugin will repair existing directory modes; existing credential files with overly permissive modes will be refused, requiring the user to re-register or chmod 0600 the file.
Credit
Identified by AxonFlow internal security review.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @axonflow/openclaw | all versions | 2.0.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @axonflow/openclaw. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update @axonflow/openclaw to 2.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cqmh-pcgr-q42f is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether GHSA-cqmh-pcgr-q42f is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to GHSA-cqmh-pcgr-q42f. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-cqmh-pcgr-q42f in your dependencies?
O3 detects GHSA-cqmh-pcgr-q42f across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.