Skip to content

Conversation

@rootp1
Copy link

@rootp1 rootp1 commented Dec 17, 2025

Fixed a bug in the InQuest.hash_type property where the error message referenced an undefined variable hash instead of self.observable_name, causing a NameError crash.

Impact

When a user submits a hash with an unsupported length:

  • Before: NameError: name 'hash' is not defined
  • After: AnalyzerRunException with message: "Given Hash: '<actual_hash_value>' is not supported. Supported hash types are: 'md5', 'sha1', 'sha256', 'sha512'."

Type of Change: Bug fix

Checklist

  • I have read and understood the rules about how to Contribute to this project
  • The pull request is for the branch develop
  • Linters (Black, Flake, Isort) gave 0 errors

Files Modified

  • api_app/analyzers_manager/observable_analyzers/inquest.py

@fgibertoni fgibertoni merged commit 4b4c9a7 into intelowlproject:develop Dec 19, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants