Skip to content

Give a copied risk acceptance its own proof file - #17060

Open
svader0 wants to merge 1 commit into
DefectDojo:devfrom
svader0:harden-risk-acceptance-copy-proof
Open

svader0 wants to merge 1 commit into
DefectDojo:devfrom
svader0:harden-risk-acceptance-copy-proof

Conversation

@svader0

@svader0 svader0 commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Copying an engagement now saves a separate proof file for each copied risk acceptance, the same way copied file uploads already get their own file.

Removing or replacing a risk acceptance proof now keeps the stored file if another risk acceptance still uses it.

Adds tests for both.

Copying an engagement now stores a separate proof file for each copied
risk acceptance. Removing or replacing a proof keeps the stored file
when another risk acceptance still uses it.
@dryrunsecurity

Copy link
Copy Markdown

DryRun Security

This pull request contains critical findings where user 'svader0' modified sensitive files in the 'dojo/risk_acceptance' directory without being on the allowed authors list. Specifically, the files 'models.py' and 'helper.py' were flagged for unauthorized modification.

🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/risk_acceptance/models.py (drs_6bcb55e1)
Vulnerability Configured Sensitive Codepath Modified by Non-Allowed Author
Description File 'dojo/risk_acceptance/models.py' matches configured sensitive codepath pattern 'dojo/risk_acceptance/*.py' and was modified by 'svader0' (commit a8a78d5) who is not in the allowed authors list.
🔴 Configured Sensitive Codepath Modified by Non-Allowed Author in dojo/risk_acceptance/helper.py (drs_91ac8b4a)
Vulnerability Configured Sensitive Codepath Modified by Non-Allowed Author
Description File 'dojo/risk_acceptance/helper.py' matches configured sensitive codepath pattern 'dojo/risk_acceptance/*.py' and was modified by 'svader0' (commit a8a78d5) who is not in the allowed authors list.

We've notified @mtesauro.


Comment to provide feedback on these findings.

Report false positive: @dryrunsecurity fp [FINDING ID] [FEEDBACK]
Report low-impact: @dryrunsecurity nit [FINDING ID] [FEEDBACK]

Example: @dryrunsecurity fp drs_90eda195 This code is not user-facing

All finding details can be found in the DryRun Security Dashboard.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant