Skip to content

add minimum matrix size to reduce disclosure risk#500

Open
timcadman wants to merge 2 commits into
refactor/perf-batch-5from
fix/matrix-disclosure
Open

add minimum matrix size to reduce disclosure risk#500
timcadman wants to merge 2 commits into
refactor/perf-batch-5from
fix/matrix-disclosure

Conversation

@timcadman

@timcadman timcadman commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Background

matrixDetDS1 is the only matrix aggregate function, but it has no disclosure checks. It could be potentially disclosive for small matrices.

What's changed

Throw an error if the number of rows of the input matrix is < nfilter.subset

How to test

  • Check disclosure control level is correct
  • Check CI green

@timcadman
timcadman requested a review from StuartWheater July 23, 2026 14:59
@timcadman
timcadman marked this pull request as draft July 23, 2026 15:05
@timcadman

Copy link
Copy Markdown
Contributor Author

Sorry stuart this is a mess, just fixing it!

@timcadman
timcadman requested review from StuartWheater and removed request for StuartWheater July 23, 2026 15:06
@timcadman
timcadman changed the base branch from v7.0-dev to refactor/perf-batch-5 July 23, 2026 15:25
@timcadman
timcadman force-pushed the fix/matrix-disclosure branch from cec2dc2 to 7cb57fc Compare July 23, 2026 15:27
@timcadman
timcadman marked this pull request as ready for review July 23, 2026 15:28
@timcadman

Copy link
Copy Markdown
Contributor Author

Ok fixed!

@StuartWheater

Copy link
Copy Markdown
Member

Ack. Will review after tests complete.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants