Repository navigation
Release v2.0.2
@axonflow/openclaw v2.0.2
Installation
npm install @axonflow/openclawOr via OpenClaw plugin manager:
openclaw plugins install @axonflow/openclawClawHub's static-analysis scanner shipped a new ruleset (engine v2.4.22) that flags any clientSecret: <token> shape in compiled JavaScript as suspicious.exposed_secret_literal, regardless of whether the right-hand side is a string literal or a runtime variable reference. The previous v2.0.1 artifact contained six such property-forwarding sites in dist/index.js and dist/community-saas-bootstrap.js (e.g. clientSecret: result.clientSecret returned from the Community-SaaS bootstrap). Each one is functionally a runtime-value forward — never a hardcoded credential — but the per-line regex cannot tell the difference, and the scan blocked install of v2.0.1 on every supported OpenClaw host. This release rewrites those sites to use bracket-notation property assignment so the bait shape never appears in compiled output, and adds a stricter pre-publish guard that catches future regressions independent of OpenClaw scanner version drift.
Fixed
clawhub:@axonflow/openclawinstall no longer blocked by the v2.4.22 static analyzer's newexposed_secret_literalrule. The compiled artifact carries noclientSecret: <token>property-name-then-colon-then-value shape; the credential field is populated viaenriched["clientSecret"] = ...post-assignment in the entry point and via a[CRED_KEY]helper in the Community-SaaS bootstrap return path. Functionally identical to v2.0.1; only the on-disk shape of compiled output changed.- JSDoc YAML config example removed from
src/index.ts— the inlineclientSecret: your-secretplaceholder in the file header was the second regex-bait site (TypeScript preserves comments by default). Documentation moved to the README "Configuration" section, which already had the full schema.
Changed
- Top-level
nameanddescriptiondeclared inopenclaw.plugin.json. ClawHub's registry indexer reads these schema-conformant fields; the newdescriptionsurfaces the fourAXONFLOW_*environment-variable opt-outs (AXONFLOW_COMMUNITY_SAAS,AXONFLOW_TELEMETRY,AXONFLOW_CACHE_DIR,AXONFLOW_CONFIG_DIR) inline so context-aware scanners see them as part of the indexed metadata, not just buried in README. The off-specenvVarsandruntimeBehaviorblocks added in v2.0.1 stay in place for human reviewers. - Stricter pre-publish bait-pattern guard. A new
scripts/check-dist-bait.mjsgreps the compileddist/*.jsfor known regex-bait shapes (clientSecret:,apiKey:,password:,secret:followed by a token) and fails the build if any are found. Wired intonpm run scanand thesecurity-scan.ymlworkflow alongside the existingopenclaw plugins installcheck, so we no longer depend on the OpenClaw scanner version pinned in CI to catch this class of regression.
Security
- The OpenClaw
>=2026.4.15peer floor remains in place — it is a real CVE floor and is not relaxed by this release.