Skip to content

test(security): annotate intentional hardcoded-password detection fixture - #266

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/annotate-secret-detector-fixture-20261106
Nov 6, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
fix/annotate-secret-detector-fixture-20261106

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

The merged main commit fails scan / rust-secrets on tests/template_coverage_tests.rs:109: the detector's deliberate dummy HTML password is itself detected by the CI scanner.

Add the scanner's documented inline scanner-allow: rust-secrets pragma to that one fixture line, with an explanatory comment. The input string and detector assertions are unchanged; no workflow or scanner pattern is changed.

Validation: executed the exact rust-secrets step from the pinned vendored workflow against isolated fixtures. The original fails; the annotated fixture passes; adding an unrelated dummy API-key canary in the same tests directory still fails. Only two comments differ. Rust formatting and the existing detector test must also pass in CI.

This addresses the executing scanner failure after #265. Separate zero-job failures remain: the Rust CI startup annotation explicitly says the metadatastician/standards reusable is excluded by the repository's Actions policy. No policy change or mirror configuration is included.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: bbe0e41c-68a7-44cb-b829-ebd36bfe6a8d
Commits

Reviewing files that changed from the base of the PR and between db8faea and bc2be31.

Files selected for processing: 1

  • tests/template_coverage_tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T10:13:03.557716Z bc2be31 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 6d3d52a into main Nov 6, 2026
43 checks passed
@hyperpolymath
hyperpolymath deleted the fix/annotate-secret-detector-fixture-20261106 branch November 6, 2026 10:18
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