Garry Tan and capy-ai[bot]
910093087d
Stop the secrets check flagging code that reads an environment variable (GST-1894) ( #4157 )
...
* Stop the secrets check flagging code that reads an environment variable (GST-1894)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Keep the new secrets test rows out of the line-start credential shape
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Give the fixture-label exemption only to files named like tests
A production file such as ab-test.ts or load-test.ts matched the test-file pattern, so a weak real password in it stopped being flagged. The pattern now matches only the documented forms: *.test.*, *.spec.*, *_test.* and test_*.py.
Review-Finding: p1/red-team#1 reader=red-team
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Keep flagging a hardcoded fallback in backticks or on the next line
The env-read exemption only looked for a quoted fallback on the same line, so token = opts?.env?.API_TOKEN ?? followed by a backtick literal, or by a literal wrapped onto the next line, passed the secrets check. Backtick literals now count, and the next line is read when the expression continues there. The changelog now says plainly that an ALL-CAPS literal used as the variable name still passes.
Review-Finding: voices/outside-voice#1 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Exempt an env read only when its line has no fallback, and stop reading the next line
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* Say in the changelog that quoted lowercase env names now fail the secrets check
Review-Finding: p1/red-team#1 reader=red-team
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-08 06:56:02 +00:00
..
2026-11-08 02:18:23 +00:00
2026-11-08 02:18:23 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 03:23:53 +00:00
2026-11-02 17:44:00 +00:00
2026-11-02 01:35:47 +00:00
2026-11-07 09:53:38 +00:00
2026-11-04 03:23:51 +00:00
2026-11-02 14:49:46 +00:00
2026-11-07 16:53:52 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 13:07:54 +00:00
2026-11-02 01:35:47 +00:00
2026-11-07 04:17:35 +00:00
2026-11-02 01:35:47 +00:00
2026-11-02 01:35:47 +00:00
2026-11-04 03:03:39 +00:00
2026-11-02 05:13:19 +00:00
2026-11-02 01:35:47 +00:00
2026-11-02 01:35:47 +00:00
2026-11-02 01:35:47 +00:00
2026-11-04 23:59:00 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 08:39:20 +00:00
2026-11-07 04:17:35 +00:00
2026-11-04 03:42:16 +00:00
2026-11-02 01:35:47 +00:00
2026-11-04 03:42:16 +00:00
2026-11-02 13:07:54 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 19:18:08 +00:00
2026-11-07 04:17:35 +00:00
2026-11-03 02:18:33 +00:00
2026-11-02 01:35:47 +00:00
2026-11-07 08:39:20 +00:00
2026-11-02 14:49:46 +00:00
2026-11-03 01:49:53 +00:00
2026-11-07 18:43:11 +00:00
2026-11-08 00:59:38 +00:00
2026-11-05 00:50:43 +00:00
2026-11-07 22:12:57 +00:00
2026-11-06 14:52:09 +00:00
2026-11-05 15:57:51 +00:00
2026-11-07 06:35:20 +00:00
2026-11-03 22:58:53 +00:00
2026-11-07 09:53:38 +00:00
2026-11-03 06:49:00 +00:00
2026-11-06 21:08:42 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-04 02:59:50 +00:00
2026-11-07 01:26:49 +00:00
2026-11-06 17:16:24 +00:00
2026-11-03 14:14:50 +00:00
2026-11-02 12:58:56 +00:00
2026-11-04 22:19:08 +00:00
2026-11-05 02:33:43 +00:00
2026-11-05 05:42:03 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-05 00:29:18 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 13:07:54 +00:00
2026-11-07 22:12:57 +00:00
2026-11-04 00:18:18 +00:00
2026-11-06 00:38:43 +00:00
2026-11-02 09:57:10 +00:00
2026-11-02 15:08:48 +00:00
2026-11-05 15:57:51 +00:00
2026-11-07 22:18:18 +00:00
2026-11-05 02:33:43 +00:00
2026-11-03 00:58:12 +00:00
2026-11-03 00:30:49 +00:00
2026-11-03 01:40:07 +00:00
2026-11-03 01:40:07 +00:00
2026-11-02 16:10:42 +00:00
2026-11-08 02:18:23 +00:00
2026-11-08 02:18:23 +00:00
2026-11-07 22:12:57 +00:00
2026-11-04 22:19:08 +00:00
2026-11-08 02:18:23 +00:00
2026-11-07 19:56:12 +00:00
2026-11-07 19:56:12 +00:00
2026-11-07 19:56:12 +00:00
2026-11-08 02:18:23 +00:00
2026-11-03 01:07:06 +00:00
2026-11-07 06:39:20 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 22:27:38 +00:00
2026-11-07 22:27:38 +00:00
2026-11-03 01:49:53 +00:00
2026-11-03 01:49:53 +00:00
2026-11-03 01:49:53 +00:00
2026-11-03 01:49:53 +00:00
2026-11-07 04:17:35 +00:00
2026-11-02 01:35:47 +00:00
2026-11-02 01:35:47 +00:00
2026-11-07 06:02:49 +00:00
2026-11-03 01:40:07 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 05:51:12 +00:00
2026-11-04 22:19:08 +00:00
2026-11-07 06:02:49 +00:00
2026-11-03 17:08:30 +00:00
2026-11-03 17:08:30 +00:00
2026-11-08 00:50:35 +00:00
2026-11-03 14:14:50 +00:00
2026-11-03 16:39:31 +00:00
2026-11-03 01:40:07 +00:00
2026-11-07 04:17:35 +00:00
2026-11-02 21:28:30 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 17:44:00 +00:00
2026-11-02 01:50:24 +00:00
2026-11-02 13:07:54 +00:00
2026-11-06 16:31:18 +00:00
2026-11-05 02:33:43 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 08:39:20 +00:00
2026-11-03 01:40:07 +00:00
2026-11-07 19:18:08 +00:00
2026-11-05 15:57:51 +00:00
2026-11-03 00:39:09 +00:00
2026-11-03 00:39:09 +00:00
2026-11-04 03:01:32 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-03 01:40:07 +00:00
2026-11-07 05:51:12 +00:00
2026-11-07 05:51:12 +00:00
2026-11-02 23:05:47 +00:00
2026-11-07 05:51:12 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:35:20 +00:00
2026-11-07 05:51:12 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 14:49:46 +00:00
2026-11-02 16:20:02 +00:00
2026-11-03 18:53:52 +00:00
2026-11-03 10:52:35 +00:00
2026-11-02 09:57:10 +00:00
2026-11-02 16:20:02 +00:00
2026-11-06 15:04:30 +00:00
2026-11-01 23:20:55 +00:00
2026-11-03 00:39:09 +00:00
2026-11-04 01:32:57 +00:00
2026-11-03 00:39:09 +00:00
2026-11-08 03:23:53 +00:00
2026-11-02 16:20:02 +00:00
2026-11-02 03:23:35 +00:00
2026-11-03 01:40:07 +00:00
2026-11-08 03:23:53 +00:00
2026-11-02 19:48:37 +00:00
2026-11-03 22:35:15 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 00:59:38 +00:00
2026-11-03 14:30:58 +00:00
2026-11-07 06:02:49 +00:00
2026-11-03 15:41:57 +00:00
2026-11-03 15:04:56 +00:00
2026-11-02 09:26:46 +00:00
2026-11-02 09:46:47 +00:00
2026-11-07 15:25:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-04 03:33:48 +00:00
2026-11-03 22:58:53 +00:00
2026-11-05 00:53:58 +00:00
2026-11-02 01:07:12 +00:00
2026-11-05 02:30:04 +00:00
2026-11-04 22:19:08 +00:00
2026-11-06 12:40:49 +00:00
2026-11-05 06:06:09 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-04 22:19:08 +00:00
2026-11-02 14:49:46 +00:00
2026-11-02 14:49:46 +00:00
2026-11-04 01:31:37 +00:00
2026-11-07 22:12:57 +00:00
2026-11-05 05:16:39 +00:00
2026-11-02 18:05:23 +00:00
2026-11-02 18:05:23 +00:00
2026-11-04 03:03:39 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 15:25:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 04:17:35 +00:00
2026-11-02 17:44:00 +00:00
2026-11-02 17:44:00 +00:00
2026-11-05 02:30:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-02 17:44:00 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 03:23:53 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:01:30 +00:00
2026-11-02 23:05:47 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-02 09:16:58 +00:00
2026-11-05 00:01:33 +00:00
2026-11-07 18:02:40 +00:00
2026-11-07 07:39:51 +00:00
2026-11-07 04:17:35 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-06 17:13:48 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 05:51:12 +00:00
2026-11-05 00:43:21 +00:00
2026-11-03 04:02:41 +00:00
2026-11-02 14:59:10 +00:00
2026-11-02 19:23:49 +00:00
2026-11-03 08:34:42 +00:00
2026-11-04 00:18:18 +00:00
2026-11-06 17:13:48 +00:00
2026-11-04 08:02:04 +00:00
2026-11-02 19:23:49 +00:00
2026-11-02 13:07:54 +00:00
2026-11-02 21:04:44 +00:00
2026-11-07 11:44:50 +00:00
2026-11-08 06:56:02 +00:00
2026-11-06 17:13:48 +00:00
2026-11-03 01:59:44 +00:00
2026-11-05 00:01:33 +00:00
2026-11-03 02:18:33 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 09:16:58 +00:00
2026-11-06 14:52:09 +00:00
2026-11-02 09:57:10 +00:00
2026-11-03 14:21:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 16:20:02 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 17:44:00 +00:00
2026-11-04 01:39:08 +00:00
2026-11-08 06:56:02 +00:00
2026-11-07 06:56:32 +00:00
2026-11-07 06:56:32 +00:00
2026-11-05 17:57:21 +00:00
2026-11-02 12:16:51 +00:00
2026-11-04 03:15:35 +00:00
2026-11-02 12:58:56 +00:00
2026-11-06 17:16:24 +00:00
2026-11-07 15:25:35 +00:00
2026-11-04 02:58:09 +00:00
2026-11-05 07:33:37 +00:00
2026-11-04 03:38:56 +00:00
2026-11-02 09:16:58 +00:00
2026-11-02 09:16:58 +00:00
2026-11-02 09:16:58 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 16:32:10 +00:00
2026-11-04 01:28:17 +00:00
2026-11-03 14:06:33 +00:00
2026-11-07 06:52:04 +00:00
2026-11-03 22:44:59 +00:00
2026-11-05 02:30:04 +00:00
2026-11-03 01:40:07 +00:00
2026-11-03 01:40:07 +00:00
2026-11-04 09:55:42 +00:00
2026-11-08 01:46:06 +00:00
2026-11-03 18:22:59 +00:00
2026-11-04 00:11:07 +00:00
2026-11-07 22:12:57 +00:00
2026-11-08 01:46:06 +00:00
2026-11-04 09:55:42 +00:00
2026-11-06 15:04:30 +00:00
2026-11-04 23:46:23 +00:00
2026-11-03 02:56:02 +00:00
2026-11-05 03:37:28 +00:00
2026-11-04 09:55:42 +00:00
2026-11-03 22:35:15 +00:00
2026-11-03 10:39:03 +00:00
2026-11-04 01:23:43 +00:00
2026-11-06 18:07:57 +00:00
2026-11-06 15:22:15 +00:00
2026-11-03 15:04:56 +00:00
2026-11-07 06:01:30 +00:00
2026-11-06 21:58:23 +00:00
2026-11-06 12:33:37 +00:00
2026-11-02 12:16:51 +00:00
2026-11-07 11:44:50 +00:00
2026-11-06 11:27:58 +00:00
2026-11-03 10:46:14 +00:00
2026-11-05 22:23:20 +00:00
2026-11-04 23:53:55 +00:00
2026-11-04 02:57:34 +00:00
2026-11-02 05:53:59 +00:00
2026-11-04 23:53:55 +00:00
2026-11-01 23:05:58 +00:00
2026-11-07 11:44:50 +00:00
2026-11-02 12:06:35 +00:00
2026-11-08 01:46:06 +00:00
2026-11-05 19:27:19 +00:00
2026-11-02 19:33:38 +00:00
2026-11-07 06:01:30 +00:00
2026-11-08 00:59:38 +00:00
2026-11-06 23:37:33 +00:00
2026-11-04 04:35:24 +00:00
2026-11-03 01:40:07 +00:00
2026-11-03 14:14:50 +00:00
2026-11-07 22:12:57 +00:00
2026-11-06 13:40:49 +00:00
2026-11-02 03:46:04 +00:00
2026-11-02 17:44:00 +00:00
2026-11-02 14:39:24 +00:00
2026-11-02 11:36:03 +00:00
2026-11-02 14:39:24 +00:00
2026-11-02 13:07:54 +00:00
2026-11-02 09:16:58 +00:00
2026-11-02 09:16:58 +00:00
2026-11-02 09:16:58 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 09:16:58 +00:00
2026-11-07 06:56:32 +00:00
2026-11-04 03:01:32 +00:00
2026-11-02 17:44:00 +00:00
2026-11-05 21:27:04 +00:00
2026-11-07 04:17:35 +00:00
2026-11-02 09:16:58 +00:00
2026-11-02 09:57:10 +00:00
2026-11-03 18:34:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 18:43:11 +00:00
2026-11-07 06:01:30 +00:00
2026-11-02 12:58:56 +00:00
2026-11-02 23:05:47 +00:00
2026-11-02 23:05:47 +00:00
2026-11-02 23:05:47 +00:00
2026-11-07 04:17:35 +00:00
2026-11-06 10:16:00 +00:00
2026-11-06 10:16:00 +00:00
2026-11-06 12:35:40 +00:00
2026-11-06 23:55:54 +00:00
2026-11-07 11:44:50 +00:00
2026-11-06 04:33:54 +00:00
2026-11-04 02:59:50 +00:00
2026-11-06 18:14:51 +00:00
2026-11-02 13:07:54 +00:00
2026-11-06 08:47:50 +00:00
2026-11-07 15:44:35 +00:00
2026-11-05 04:16:06 +00:00
2026-11-02 15:08:48 +00:00
2026-11-05 17:12:15 +00:00
2026-11-07 15:25:35 +00:00
2026-11-06 04:33:54 +00:00
2026-11-01 23:05:58 +00:00
2026-11-03 01:40:07 +00:00
2026-11-03 01:40:07 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-05 02:30:04 +00:00
2026-11-06 04:33:54 +00:00
2026-11-03 01:40:07 +00:00
2026-11-02 23:15:57 +00:00
2026-11-04 01:32:57 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 00:59:38 +00:00
2026-11-04 23:35:57 +00:00
2026-11-04 01:28:17 +00:00
2026-11-03 18:44:36 +00:00
2026-11-02 03:23:35 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 01:50:24 +00:00
2026-11-04 01:28:17 +00:00
2026-11-02 03:23:35 +00:00
2026-11-07 09:53:38 +00:00
2026-11-02 19:48:37 +00:00
2026-11-03 20:09:15 +00:00
2026-11-06 07:02:54 +00:00
2026-11-03 20:09:15 +00:00
2026-11-03 15:13:49 +00:00
2026-11-07 06:39:20 +00:00
2026-11-03 18:22:59 +00:00
2026-11-02 21:17:24 +00:00
2026-11-03 22:35:15 +00:00
2026-11-08 00:59:38 +00:00
2026-11-02 03:46:04 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 15:44:35 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 00:59:38 +00:00
2026-11-06 13:52:51 +00:00
2026-11-08 00:59:38 +00:00
2026-11-03 17:08:30 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-02 01:35:47 +00:00
2026-11-04 23:59:00 +00:00
2026-11-05 15:57:51 +00:00
2026-11-05 00:22:40 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 16:39:15 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-02 23:05:47 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-02 23:05:47 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 18:43:11 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-02 05:02:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-03 22:51:42 +00:00
2026-11-03 10:52:35 +00:00
2026-11-02 19:00:05 +00:00
2026-11-07 19:49:19 +00:00
2026-11-02 09:16:58 +00:00
2026-11-07 06:01:30 +00:00
2026-11-07 06:01:30 +00:00
2026-11-02 05:24:30 +00:00
2026-11-05 00:43:21 +00:00
2026-11-05 00:43:21 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 02:18:23 +00:00
2026-11-08 00:59:38 +00:00
2026-11-02 01:22:20 +00:00
2026-11-05 02:30:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-03 01:40:07 +00:00
2026-11-04 17:07:28 +00:00
2026-11-05 02:30:04 +00:00
2026-11-05 08:42:30 +00:00
2026-11-03 14:06:33 +00:00
2026-11-02 17:44:00 +00:00
2026-11-08 00:50:35 +00:00
2026-11-07 06:01:30 +00:00
2026-11-06 12:40:49 +00:00
2026-11-02 03:11:57 +00:00
2026-11-02 03:11:57 +00:00
2026-11-05 17:56:15 +00:00
2026-11-06 19:26:10 +00:00
2026-11-06 20:28:28 +00:00
2026-11-02 09:16:58 +00:00
2026-11-06 17:16:24 +00:00
2026-11-08 00:50:35 +00:00
2026-11-08 00:50:35 +00:00
2026-11-04 22:19:08 +00:00
2026-11-04 22:19:08 +00:00
2026-11-02 05:02:04 +00:00