hermes-agent/tests
Teknium ee9c0a3ed0
fix(security): add JWT token and Discord mention redaction (#10547)
Found via trace data audit: JWT tokens (eyJ...) and Discord snowflake
mentions (<@ID>) were passing through unredacted.

JWT pattern: matches 1/2/3-part tokens starting with eyJ (base64 for '{').
Zero false-positive risk — no normal text matches eyJ + 10+ base64url chars.

Discord pattern: matches <@digits> and <@!digits> with 17-20 digit snowflake
IDs. Syntactically unique to Discord's mention format.

Both patterns follow the same structural-uniqueness standard as existing
prefix patterns (sk-, ghp_, AKIA, etc.).
2026-04-15 16:08:52 -07:00
..
acp
…
agent fix(security): add JWT token and Discord mention redaction (#10547) 2026-04-15 16:08:52 -07:00
cli
…
cron
…
e2e
…
environments/benchmarks
…
fakes
…
gateway fix(gateway): don't treat group session user_id as thread_id in shutdown notifications (#10546) 2026-04-15 15:09:23 -07:00
hermes_cli fix(doctor): skip health check for OpenCode Go (no shared /models endpoint) 2026-04-15 15:05:32 -07:00
honcho_plugin
…
integration
…
plugins
…
run_agent fix(copilot): preserve base URL and gpt-5-mini routing 2026-04-15 15:04:14 -07:00
skills
…
tools fix terminal workdir validation for Windows paths 2026-04-15 15:06:51 -07:00
__init__.py
…
conftest.py
…
run_interrupt_test.py
…
test_batch_runner_checkpoint.py
…
test_cli_file_drop.py
…
test_cli_skin_integration.py
…
test_ctx_halving_fix.py
…
test_empty_model_fallback.py
…
test_evidence_store.py
…
test_hermes_constants.py
…
test_hermes_logging.py
…
test_hermes_state.py
…
test_honcho_client_config.py
…
test_ipv4_preference.py
…
test_mcp_serve.py
…
test_minisweagent_path.py
…
test_model_picker_scroll.py
…
test_model_tools.py
…
test_model_tools_async_bridge.py
…
test_ollama_num_ctx.py
…
test_packaging_metadata.py
…
test_plugin_skills.py
…
test_project_metadata.py
…
test_retry_utils.py
…
test_sql_injection.py
…
test_subprocess_home_isolation.py
…
test_timezone.py
…
test_toolset_distributions.py
…
test_toolsets.py
…
test_trajectory_compressor.py
…
test_trajectory_compressor_async.py
…
test_utils_truthy_values.py
…