Skip to content

Conversation

@art1f1c3R
Copy link
Member

@art1f1c3R art1f1c3R commented Nov 13, 2025

Summary

Fixing #1231, this PR introduces a check for when there exists an entry for a release, but no actual information inside that release.

Description of changes

A check for a non-empty release_metadata field (i.e. there exists information about the release) has been added to anomalous_version.py. The version extraction was moved under the publish days, years, and months parsing so that all HeuristicAnalyzerValueErrors are raised before results are considered. Additional unit tests were added to test_anomalous_version.py to reflect the bug and expected behaviour.

Related issues

Closes #1231.

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.

@art1f1c3R art1f1c3R requested a review from behnazh-w as a code owner November 13, 2025 00:06
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 13, 2025
@art1f1c3R art1f1c3R self-assigned this Nov 13, 2025
@art1f1c3R art1f1c3R merged commit 76ec530 into main Nov 13, 2025
15 checks passed
@art1f1c3R art1f1c3R deleted the art1f1c3R/no-release-info-bug branch November 13, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] - [Uncaught exception: min() arg is an empty sequence in mcn_detect_malicious_metadata_1 check ]

2 participants