Skip to content

fix: Update authentication check to support modern OpenClaw config fo…#3

Open
alvin-chang wants to merge 1 commit intoadversa-ai:mainfrom
alvin-chang:fix-authentication-check
Open

fix: Update authentication check to support modern OpenClaw config fo…#3
alvin-chang wants to merge 1 commit intoadversa-ai:mainfrom
alvin-chang:fix-authentication-check

Conversation

@alvin-chang
Copy link

…rmat

The audit script was checking for the legacy 'authToken' field, but modern OpenClaw uses a nested 'auth' object with 'mode' and 'token' fields. This fix adds support for both formats to ensure accurate security auditing.

Fixes false positive authentication failures on properly configured systems.

…rmat

The audit script was checking for the legacy 'authToken' field, but modern
OpenClaw uses a nested 'auth' object with 'mode' and 'token' fields.
This fix adds support for both formats to ensure accurate security auditing.

Fixes false positive authentication failures on properly configured systems.
adversa-ai added a commit that referenced this pull request Feb 20, 2026
…g fixes

Seven-framework coverage with MAESTRO layer and NIST attack type tags on
all 56 audit checks. Cross-layer threat detection (SC-CROSS-001). Fix
plugin gateway crash caused by missing __dirname in ESM ioc-db.ts module.
Fix multiline JSON auth detection, Linux stat parsing, gateway auth
hardening, and config key paths in shell scripts. Legacy authToken config
support cherry-picked from PR #3. 383 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments