Skip to content

Having a corrupted plugin_status.json breaks scripts, rust #8103

@CouleeApps

Description

@CouleeApps

Version and Platform (required):

  • Binary Ninja Version: 5.4.9471-dev
  • Edition: Ultimate
  • OS: macOS
  • OS Version: 26
  • CPU Architecture: M1

Bug Description:
My $BN_USER/channels/plugin_status.json file got corrupted, and now binja is unable to load Python plugins or headless Rust programs. I think it got corrupted by killing a program halfway through run, but even so, it should not break the rest of the scripting system in Binja.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Modify $BN_USER/channels/plugin_status.json and replace its contents with [
  2. Open Binary Ninja
  3. Observe Python console is broken

Expected Behavior:
I expected Python to still work, and probably an error message to be printed.

Screenshots/Video Recording:
Image

Additional Information:
In my case, this file was 16MB of json from the plugin manager that got truncated somewhere around line 99000. I can send that broken file if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions