Unblock the awesome-ai-plugins listing: source scan scores ClawRouter 71/100, need 80
ClawRouter was invited onto the hashgraph-online awesome-ai-plugins list (#463). The listing PR is open and passes their catalog validation, but merge is blocked by their bot's separate scan of this repo: it requires a score of 80+, and ClawRouter scored 71/100 at commit 2e5592d.
Listing PR: https://github.com/hashgraph-online/awesome-ai-plugins/pull/805 Maintainer review asking for remediation: https://github.com/hashgraph-online/awesome-ai-plugins/pull/805#pullrequestreview-5550482739
The maintainer asks for either the valid findings fixed, or evidence-backed per-rule explanations, followed by a request for a new scan. Source-side scanner CI is recommended, not required.
14x HARDCODED_SECRET (high) - all false positives
No real credential is involved. The rule matches sentinel placeholders and test fixtures. Every flagged line, checked individually:
src/index.ts:297,src/index.agent-cache.test.ts:45,scripts/reinstall.sh:366,scripts/update.sh:412- the string isx402-proxy-handles-auth, the sentinel value the x402 proxy ignoresapps/desktop/electron/core/config.ts:61,apps/desktop/tests/config.test.ts:77-CLAWROUTER_API_KEY: "clawrouter-local"and"keep-me"src/proxy.api-key-services.test.ts:97- placeholder-shaped test fixturesrc/proxy.api-key-mode.test.ts:109-Bearer <placeholder>test fixturesrc/api-key.test.ts:76- fakesk-proj-value inside a test asserting invalid keyssrc/local-guard.test.ts:144,src/model-catalog.test.ts:66,test/test-model-selection.sh:58- generated garbage apiKey fixturesdocs/image-generation.md:218-apiKey: <any non-empty string>in documentationtest/docker-install-tests.sh:176- exports$CUSTOM_KEY, no literal value
Suggested fix: make these values unreadable as credentials, for example a shared PLACEHOLDER_API_KEY constant holding an obvious non-key such as not-a-key, so the generic regex stops matching. Rotation is not needed.
5x GITHUB_ACTION_UNPINNED (medium) - valid
Actions must be pinned to immutable commit SHAs:
.github/workflows/ci.yml-actions/checkout@v5(x3),actions/setup-node@v5(x3).github/workflows/brand-sync.yml-actions/checkout@v4
Unpinned refs also present but not flagged in this report: .github/workflows/integration.yml (actions/checkout@v5, docker/setup-buildx-action@v3, docker/build-push-action@v6) and .github/workflows/publish.yml (actions/checkout@v5, actions/setup-node@v5).
1x DEPENDABOT_GITHUB_ACTIONS_MISSING (low) - valid
.github/dependabot.yml declares only the npm ecosystem. It needs a github-actions update entry with directory: "/".
Reproducing
pipx run plugin-scanner verify . --format text
The full sanitized report is in the sweep run artifact scan-findings-pr-805-BlockRunAI-ClawRouter (rule IDs, severities, source paths; no snippets or credential values).
Once the findings are cleared, a fresh centralized scan has to be requested on the listing PR, and the score needs to land at 80 or above for it to merge.
Fixed in 10d3762. Local plugin-scanner scan . now scores 87/100 (it was 71 at 2e5592d, so the scan reproduces).
- GITHUB_ACTION_UNPINNED (valid, fixed). All 12 action refs across ci, publish, integration and brand-sync are now pinned to commit SHAs. Each SHA is the commit its floating major tag already pointed to, so CI runs the same code as before.
- DEPENDABOT_GITHUB_ACTIONS_MISSING (valid, fixed). Added a
github-actionsecosystem to.github/dependabot.yml, so the pins will get upgrade PRs. - HARDCODED_SECRET (false positives, left as-is on purpose). None of these are credentials.
x402-proxy-handles-authis a sentinel written into every installed user's OpenClaw config and auth profile, andsrc/index.tscompares against that exact string. Renaming it would rewrite every existing install's config with no security gain. The other matches are test fixtures and docs placeholders.
Please request a fresh scan on hashgraph-online/awesome-ai-plugins#805.