Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

hermes-agent

https://github.com/NousResearch/hermes-agent.git · scanned 2026-05-17 02:56 UTC (13 hours, 23 minutes ago) · 10 languages

914 findings (102 legacy + 812 scanner) 7/10 scanners ran 86th percentile · Python · huge (>500K LoC) Scanner says 69 (higher by 17)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 13 hours, 23 minutes ago · v1 · 914 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all

Bug-class explainers. Each card groups findings of the same shape — these are the patterns most likely to ship to prod and reappear in future scans unless you systematically fix the cause, not just the instance.

Fragile runtime 48 findings
What it is: Code that runs but breaks under predictable input — division by zero, missing keys, unbounded loops, off-by-one slicing.
Why it matters: Reaches production undetected because happy-path tests pass. First user with a weird input crashes the request.
How AI causes it: AI loves writing the happy path; doesn't probe edge cases unless explicitly asked.
Fix approach: Add property-based tests. Wrap external inputs with explicit validators. Use the framework's typed deserializer (Pydantic, attrs).
12 matching findings on this repo
  • medium Codex auth.json is read or copied without visible secret-file hardening hermes_cli/doctor.py:825
  • medium Agent auto-approve or skip-permissions mode is easy to enable hermes_cli/config.py:1177
  • medium [ERR002] Empty Catch Block: Empty catch blocks hide errors. ui-tui/src/app/slash/commands/core.ts:108
  • medium [ERR002] Empty Catch Block: Empty catch blocks hide errors. ui-tui/src/app/createGatewayEventHandler.ts:136
  • medium [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides … agent/auxiliary_client.py:253
  • medium [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides … agent/anthropic_adapter.py:308
  • medium [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides … acp_adapter/tools.py:192
  • medium [ERR002] Empty Catch Block: Empty catch blocks hide errors. scripts/whatsapp-bridge/bridge.js:627
  • medium Codex auth.json is read or copied without visible secret-file hardening hermes_cli/setup.py:529
  • medium Agent control bridge may listen on a network interface without visible auth gateway/platforms/telegram.py:721
  • medium Codex auth.json is read or copied without visible secret-file hardening hermes_cli/model_switch.py:1316
  • medium Agent control bridge may listen on a network interface without visible auth plugins/platforms/line/plugin.yaml:35
View all fragile runtime findings →
Legacy markers 86 findings
What it is: TODO, FIXME, XXX, HACK comments. Often indicate a known-broken path the author meant to fix.
Why it matters: Each marker is an unfinished thought. Production code shouldn't ship with debt that's documented but not tracked.
How AI causes it: AI mirrors the style of the codebase, so existing TODOs propagate into new code.
Fix approach: Convert each into a ticket. Delete the comment when the ticket lands. Use a pre-commit hook to block new TODOs without an issue link.
12 matching findings on this repo
  • low Legacy-named symbol `cfg_backup` in hermes_logging.py:203
  • low Legacy-named symbol `children_copy` in run_agent.py:5465
  • low Legacy-named symbol `ghost_session_prune_v1` in cli.py:1026
  • low Legacy-named symbol `get_legacy` in tests/test_tui_gateway_server.py:1471
  • low Legacy-named symbol `test_custom_max_size_and_backup` in tests/test_hermes_logg…
  • low Legacy-named symbol `test_migration_from_v2` in tests/test_hermes_state.py:1694
  • low Legacy-named symbol `test_returns_copy` in tests/test_toolset_distributions.py:…
  • low Legacy-named symbol `config_copy` in tests/cli/test_cli_provider_resolution.py:…
  • low Legacy-named symbol `mock_copy` in tests/cli/test_cli_copy_command.py:28
  • low Legacy-named symbol `s_old` in tests/agent/test_insights.py:127
  • low Legacy-named symbol `test_returns_deep_copy` in tests/agent/test_prompt_caching…
  • low Legacy-named symbol `test_returned_list_is_a_copy` in tests/agent/test_external…
View all legacy markers findings →
Commented-out code 309 findings
What it is: Lines of source that were intentionally disabled but never deleted.
Why it matters: Git already remembers history — commented code rots, becomes wrong, and adds noise to diffs.
How AI causes it: AI sometimes comments out broken code instead of fixing it. Reviewers approve out of inertia.
Fix approach: Delete. Trust `git log`. If you really need to remember, save it in a notes file under `docs/`.
12 matching findings on this repo
  • info Commented-code block (6 lines) in hermes_state.py:60
  • info Commented-code block (6 lines) in run_agent.py:56
  • info Commented-code block (5 lines) in model_tools.py:109
  • info Commented-code block (5 lines) in toolsets.py:390
  • info Commented-code block (6 lines) in cli.py:424
  • info Commented-code block (5 lines) in hermes_constants.py:48
  • info Commented-code block (7 lines) in tests/conftest.py:312
  • info Commented-code block (5 lines) in tests/test_tui_gateway_server.py:95
  • info Commented-code block (7 lines) in tests/honcho_plugin/test_cli.py:70
  • info Commented-code block (5 lines) in tests/cli/test_cli_markdown_rendering.py:127
  • info Commented-code block (6 lines) in tests/cli/test_cli_status_bar.py:439
  • info Commented-code block (6 lines) in tests/agent/test_moonshot_schema.py:262
View all commented-out code findings →
Config drift 36 findings
What it is: Settings duplicated across env files, Docker compose, K8s, and code defaults, all with slightly different values.
Why it matters: Production behaviour depends on whichever copy your loader reads first. Subtle bugs in staging that don't reproduce in dev.
How AI causes it: AI writes new config from memory rather than reading the existing source.
Fix approach: Pick one source of truth (env vars + a settings module). Have every other place import from there. Lint for duplicates in CI.
12 matching findings on this repo
  • low File has no detected symbols: website/docusaurus.config.ts
  • low File has no detected symbols: web/eslint.config.js
  • low File has no detected symbols: ui-tui/vitest.config.ts
  • info `truncate` class without `title=` for hover reveal — web/src/pages/ConfigPage.t…
  • medium Insecure pattern 'subprocess_shell_true' in hermes_cli/tools_config.py:651 hermes_cli/tools_config.py:651
  • low Very large file: hermes_cli/tools_config.py (3109 lines)
  • low Very large file: hermes_cli/config.py (5389 lines)
  • low Very large file: gateway/config.py (1873 lines)
  • low Legacy-named symbol `config_copy` in tests/cli/test_cli_provider_resolution.py:…
  • info Commented-code block (8 lines) in tests/hermes_cli/test_tools_config.py:191
  • info Commented-code block (5 lines) in tests/tools/test_terminal_config_env_sync.py:…
  • info Commented-code block (5 lines) in tests/tools/test_web_tools_config.py:488
View all config drift findings →
{# ── 2026-05-17 Round 14: AI-agent bridge footer ────────────────────── Discoverability: the /agents/voting/ guide + MCP manifest exist but aren't linked from anywhere users actually land. Small, opt-in footer. #}
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/babdf5bb-90da-4ecd-a31d-8963b056e767/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/babdf5bb-90da-4ecd-a31d-8963b056e767/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.