Teknium
469cd16fe0
fix(security): consolidated security hardening — SSRF, timing attack, tar traversal, credential leakage (#5944)
Salvaged from PRs #5800 (memosr), #5806 (memosr), #5915 (Ruzzgar), #5928 (Awsh1).
Changes:
- Use hmac.compare_digest for API key comparison (timing attack prevention)
- Apply provider env var blocklist to Docker containers (credential leakage)
- Replace tar.extractall() with safe extraction in TerminalBench2 (CVE-2007-4559)
- Add SSRF protection via is_safe_url to ALL platform adapters:
base.py (cache_image_from_url, cache_audio_from_url),
discord, slack, telegram, matrix, mattermost, feishu, wecom
(Signal and WhatsApp protected via base.py helpers)
- Update tests: mock is_safe_url in Mattermost download tests
- Add security tests for tar extraction (traversal, symlinks, safe files)
2026-04-07 17:28:37 -07:00
..
2026-04-07 08:40:22 -04:00
2026-04-07 17:28:37 -07:00
2026-03-17 02:33:12 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-04-07 01:00:02 -07:00
2026-04-01 04:18:50 -07:00
2026-04-07 17:19:07 -07:00
2026-04-07 17:28:23 -07:00
2026-03-25 19:47:58 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 17:28:23 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 17:28:23 -07:00
2026-04-07 11:41:26 -07:00
2026-04-07 13:36:38 -07:00
2026-03-25 19:47:58 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-02-23 02:11:33 -08:00
2026-04-02 12:40:03 +11:00
2026-04-07 10:25:31 -07:00
2026-04-07 17:19:07 -07:00
2026-04-07 13:36:38 -07:00
2026-03-27 15:28:19 -07:00
2026-03-18 02:55:30 -07:00
2026-03-11 20:02:36 -07:00
2026-04-05 12:46:07 -07:00
2026-03-26 19:38:04 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 13:36:38 -07:00
2026-03-27 15:28:19 -07:00
2026-04-07 10:25:31 -07:00
2026-03-25 15:54:28 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 11:41:26 -07:00
2026-03-25 19:47:58 -07:00
2026-04-07 13:36:38 -07:00
2026-03-31 08:48:54 +09:00
2026-04-07 17:28:23 -07:00
2026-04-07 13:36:38 -07:00
2026-03-23 15:40:42 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00
2026-04-07 13:36:38 -07:00
2026-04-07 10:25:31 -07:00