fix: Update authentication check to support modern OpenClaw config fo…#3
Open
alvin-chang wants to merge 1 commit intoadversa-ai:mainfrom
Open
fix: Update authentication check to support modern OpenClaw config fo…#3alvin-chang wants to merge 1 commit intoadversa-ai:mainfrom
alvin-chang wants to merge 1 commit intoadversa-ai:mainfrom
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…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.