AIalliAI
42e6149451
fix(skills-guard): reduce false-positive CRITICAL/HIGH on benign skill patterns
...
Five targeted fixes for #60709 (reported by @mvanhorn):
1. ruby_env_secret: scope ENV[] to case-sensitive Ruby constant
((?-i:ENV)) — no longer matches Python env[key] dict access.
2. python_environ_get_secret: downgrade critical→medium — reading
an API key via os.environ.get() is normal auth, not exfiltration.
3. python_os_environ: skip comment lines with ^(?!\s*#) — no longer
flags os.environ references in docstrings or code comments.
4. deception_hide: downgrade critical→high + negative lookahead for
UX guidance context (unless/except/until/confirm/diagnose/verify).
5. oversized_skill: downgrade high→low + raise cap 1MB→5MB — large
skills are legitimate; structural size is informational only.
All 80 existing tests pass. 6 new verification tests added for each fix.
2026-08-28 03:46:21 -07:00
..
2026-08-23 17:45:47 -05:00
2026-08-28 13:11:03 +05:30
2026-08-20 11:46:30 -05:00
2026-08-24 03:15:07 -07:00
2026-08-26 00:54:36 -07:00
2026-08-24 15:54:23 +05:30
2026-08-28 13:39:19 +05:30
2026-08-26 07:28:10 -07:00
2026-08-24 21:21:34 -07:00
2026-08-15 13:35:32 -07:00
2026-08-27 20:53:02 -07:00
2026-08-28 02:59:17 -07:00
2026-08-27 11:31:59 -05:00
2026-08-26 12:43:17 +05:30
2026-08-28 11:54:33 +05:30
2026-08-26 12:43:17 +05:30
2026-08-25 16:39:36 -04:00
2026-08-20 19:56:01 -07:00
2026-08-28 02:47:34 +05:30
2026-08-28 03:24:43 -07:00
2026-08-23 20:01:41 -07:00
2026-08-28 03:46:21 -07:00
2026-08-28 02:59:17 -07:00
2026-08-19 12:41:45 -05:00
2026-08-24 21:21:34 -07:00
2026-08-24 15:37:22 +05:30
2026-08-24 03:21:07 -07:00
2026-08-24 03:21:07 -07:00
2026-08-16 01:50:20 -07:00
2026-08-23 17:01:31 -07:00
2026-08-23 06:36:57 -07:00
2026-08-16 12:20:50 +02:00
2026-08-17 16:34:02 -07:00
2026-08-20 04:54:14 -07:00
2026-08-26 18:23:33 -07:00
2026-08-20 19:56:28 -07:00
2026-08-26 18:23:33 -07:00
2026-08-14 15:41:38 -05:00
2026-08-14 21:48:14 -07:00
2026-08-16 06:29:53 -07:00
2026-08-27 13:48:51 -07:00
2026-08-25 10:54:42 +10:00
2026-08-15 23:37:22 -07:00
2026-08-23 19:31:35 -07:00
2026-08-14 21:35:30 -07:00
2026-08-23 18:27:21 -07:00
2026-08-14 22:33:58 -07:00
2026-08-14 21:58:09 -07:00
2026-08-14 21:58:09 -07:00
2026-08-14 21:58:09 -07:00
2026-08-16 11:34:40 -07:00
2026-08-14 21:58:09 -07:00
2026-08-27 07:52:26 -07:00
2026-08-27 07:52:26 -07:00
2026-08-17 02:40:59 -07:00
2026-08-15 01:55:22 -07:00
2026-08-23 19:15:28 -07:00
2026-08-16 23:26:10 -07:00
2026-08-23 13:34:32 +05:30
2026-08-14 21:36:41 -07:00
2026-08-20 11:37:01 +05:30
2026-08-14 21:45:08 -07:00
2026-08-14 21:50:48 -07:00
2026-08-17 15:12:53 -05:00
2026-08-17 16:39:47 -07:00
2026-08-14 13:51:26 -07:00
2026-08-14 13:51:26 -07:00
2026-08-16 20:43:13 -07:00
2026-08-25 23:15:49 -07:00
2026-08-21 21:53:11 +05:30
2026-08-27 13:48:51 -07:00
2026-08-23 02:55:03 +05:30
2026-08-22 04:02:29 +05:30
2026-08-15 02:22:58 -07:00
2026-08-22 14:33:20 +05:30
2026-08-23 18:25:12 -07:00
2026-08-23 20:01:41 -07:00
2026-08-23 18:25:12 -07:00
2026-08-27 07:52:26 -07:00
2026-08-15 00:36:03 -07:00
2026-08-27 11:26:57 +05:30
2026-08-16 06:26:37 -07:00
2026-08-28 02:59:17 -07:00
2026-08-24 04:01:53 -07:00
2026-08-14 12:02:05 -04:00
2026-08-23 17:43:39 -07:00