Update Managed Files - #406
Open
ChiaAutomation wants to merge 1 commit into
Open
Conversation
ChiaAutomation
force-pushed
the
managed-files
branch
from
September 4, 2026 16:09
e0fa58c to
96eba31
Compare
ChiaAutomation
force-pushed
the
managed-files
branch
from
September 5, 2026 16:04
96eba31 to
66d661f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 66d661f. Configure here.
| bold_line = f"**Verdict: {verdict_value}**" | ||
| if cleaned: | ||
| return f"{bold_line}\n\n{cleaned}" | ||
| return bold_line |
There was a problem hiding this comment.
Wrong verdict can be selected
Medium Severity
The formatter promotes the first line-start Verdict: benign or Verdict: malicious token to the PR comment header, even when that token is an instruction example or the prefix of a longer sentence. The posted malware review can then show the opposite conclusion from the analysis.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 66d661f. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Note
Low Risk
Changes only affect workflow prompt text and post-processing of review comments; malware scanning and merge logic are unchanged.
Overview
Standardizes how Supply-Chain Malware Review verdicts appear in Dependabot/Renovate PR comments from the Dependency Cursor Review workflow.
The malware task prompt now requires the model to open with a standalone bold line (
**Verdict: benign**or**Verdict: malicious**), not plainVerdict:text embedded in prose. After Cursor returns JSON, inline Pythonformat_malware_review_verdictparses verdicts (including mid-sentence mentions), prefers a line-start match, strips duplicate verdict fragments, and rewrites the section so the posted comment always leads with one normalized bold verdict before the reasoning.Reviewed by Cursor Bugbot for commit 66d661f. Bugbot is set up for automated code reviews on this repo. Configure here.