[GH-ISSUE #2786] [Bug] ida 1.4.0 mcp string search causes hang #998

Closed
opened 2026-10-15 18:30:13 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @quetzalsly on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/2786

Before submitting

  • I searched the open and closed issues for a related report.
  • I removed credentials, tokens, private paths, and sensitive target data.

Area

MCP or agent integration

Observed behavior

mrexodia/ida-pro-mcp 1.4.0 is the only supported ida mcp as far as I can tell.
I am using the mcp with the ida GUI open.

Unfortunately it causes a bug when searching strings.
rea search test.exe hello --json
Causes ida to hang inside 'Generating strings' loop.

After asking chatgpt it told me this:

I found the exact code in your version, REA 6.4.0

if (operation === "list_strings" || operation === "search_strings")
{
    const items = await this.strings();

    return operation === "search_strings"
        ? this.search(items, parameters)
        : items;
}

And strings() fetches list_strings in batches of 100 until pagination finishes.

The actual 1.4.0 mcp implementation can be called directly without having this bug. So this seems to be a problem with rea.

Reproduction

  1. setup 1.4.0 + ida 9.3 as described in readme
  2. rea search test.exe hello --json
  3. the ida gui hangs

Expected behavior

It works without rea, only rea causes the hang.

Impact and scope

It makes everything unusable.

REA version

6.4.0

Runtime and platform

Node v26.11.1, Windows 11 x64, Ida Pro 9.3

Target and artifact context

Windows binary

Interface

CLI

Earliest failure stage

Unknown

Relevant output or evidence


Typed outcome or recovery expected

No response

Analysis or suspected cause

No response

Additional context

No response

Originally created by @quetzalsly on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/2786 ### Before submitting - [x] I searched the open and closed issues for a related report. - [x] I removed credentials, tokens, private paths, and sensitive target data. ### Area MCP or agent integration ### Observed behavior mrexodia/ida-pro-mcp 1.4.0 is the only supported ida mcp as far as I can tell. I am using the mcp with the ida GUI open. Unfortunately it causes a bug when searching strings. rea search test.exe hello --json Causes ida to hang inside 'Generating strings' loop. After asking chatgpt it told me this: ``` I found the exact code in your version, REA 6.4.0 if (operation === "list_strings" || operation === "search_strings") { const items = await this.strings(); return operation === "search_strings" ? this.search(items, parameters) : items; } And strings() fetches list_strings in batches of 100 until pagination finishes. ``` The actual 1.4.0 mcp implementation can be called directly without having this bug. So this seems to be a problem with rea. ### Reproduction 1. setup 1.4.0 + ida 9.3 as described in readme 2. rea search test.exe hello --json 3. the ida gui hangs ### Expected behavior It works without rea, only rea causes the hang. ### Impact and scope It makes everything unusable. ### REA version 6.4.0 ### Runtime and platform Node v26.11.1, Windows 11 x64, Ida Pro 9.3 ### Target and artifact context Windows binary ### Interface CLI ### Earliest failure stage Unknown ### Relevant output or evidence ```text ``` ### Typed outcome or recovery expected _No response_ ### Analysis or suspected cause _No response_ ### Additional context _No response_
bsakaguchi 2026-10-15 18:30:13 +00:00
Author
Owner

@aakash-env commented on GitHub (Oct 13, 2026):

@quetzalsly @baron @monomyth kindly assign this issue to me

<!-- gh-comment-id:6145978160 --> @aakash-env commented on GitHub (Oct 13, 2026): @quetzalsly @baron @monomyth kindly assign this issue to me
Author
Owner

@morluto commented on GitHub (Oct 14, 2026):

Addressed on main in d4bd65c53.

Legacy IDA string inventory uses upstream count:0 once, avoiding repeated fake pagination.

Validation: IdaSessionClient 59 passed; global gates pass.

Verification scope: No IDA GUI launched.

<!-- gh-comment-id:6158646918 --> @morluto commented on GitHub (Oct 14, 2026): Addressed on main in [d4bd65c53](https://github.com/morluto/rea/commit/d4bd65c53). Legacy IDA string inventory uses upstream count:0 once, avoiding repeated fake pagination. Validation: IdaSessionClient 59 passed; global gates pass. Verification scope: No IDA GUI launched.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#998
No description provided.