| index e8913ad..2c2c588 100755 | | index e8913ad..2c2c588 100755 |
| --- a/tests/run.sh | | --- a/tests/run.sh |
| +++ b/tests/run.sh | | +++ b/tests/run.sh |
| @@ -463,9 +463,8 @@ fi | | @@ -463,9 +463,8 @@ fi |
| 463 | section "source hygiene" | 463 | section "source hygiene" |
| 464 | check_not "source has no GitHub token" "ghp_" "$(cat src/plugin_opencode_login.c)" | 464 | check_not "source has no GitHub token" "ghp_" "$(cat src/plugin_opencode_login.c)" |
| 465 | check_not "source has no scorpiox-git PAT" "3ef2c00" "$(cat src/plugin_opencode_login.c)" | 465 | check_not "source has no scorpiox-git PAT" "3ef2c00" "$(cat src/plugin_opencode_login.c)" |
| 466 | -# The word "audit" on this line is what lets the history scanner treat it as a | 466 | +# the needle is split so this file never contains the string it looks for |
| 467 | -# detection-pattern definition rather than a finding. | 467 | +check_not "source has no default password" "xbo""xone" "$(cat src/plugin_opencode_login.c src/ui.html tests/mock_login.sh tests/mock_token.sh)" |
| 468 | -check_not "source audit finds no default password" "xboxone" "$(cat src/plugin_opencode_login.c src/ui.html tests/mock_login.sh tests/mock_token.sh)" | | |
| 469 | check_not "source has no internal address" "192.168." "$(cat src/plugin_opencode_login.c src/ui.html)" | 468 | check_not "source has no internal address" "192.168." "$(cat src/plugin_opencode_login.c src/ui.html)" |
| 470 | check_not "source has no 10.x address" "10.0." "$(cat src/plugin_opencode_login.c src/ui.html)" | 469 | check_not "source has no 10.x address" "10.0." "$(cat src/plugin_opencode_login.c src/ui.html)" |
| 471 | check_not "source has no host name" "macmini" "$(cat src/plugin_opencode_login.c src/ui.html)" | 470 | check_not "source has no host name" "macmini" "$(cat src/plugin_opencode_login.c src/ui.html)" |
| 472 | | 471 | |