Skip to content

fix(security-issue-sync): omit the finder credit, never fall back to anonymous - #1131

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/scanner-fallback-omit-not-anonymous
Aug 29, 2026
Merged

fix(security-issue-sync): omit the finder credit, never fall back to anonymous#1131
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix/scanner-fallback-omit-not-anonymous

Conversation

@potiuk

@potiuk potiuk commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Reconciles #1124 with #1127, as promised in #1127's description.

#1124 made anonymous the fallback for a scanner-sourced finding whose scanner declares no public credit name. #1127 then landed the finder-credit policy, whose Rule 2 says the opposite: where there is no named finder, omit the finder credit rather than writing a placeholder. Both are on main, so the framework currently contradicts itself in three places.

Which one wins

Rule 2. It is grounded in an ASF CVE reviewer's feedback on a published batch — "I'm not sure how helpful it is to credit 'anonymous' as finder, just leave it out" — and a credits[] carrying only the remediation developer is a complete record, whereas a literal anonymous occupies the space a reader scans for attribution and answers nothing.

What does not change

Everything else from #1124 stands: the scanner's public credit name is still written when declared, still emitted with type: "tool", and the confidential product token still never reaches a public surface. Only the no-name-declared branch changes — from writing a placeholder to omitting the row.

Test plan

prek run --files passes on all three files, including markdownlint, check-placeholders, and the in-hook lychee (validating the new cross-references into finder-credit-policy.md). A grep across skills/, projects/, and tools/ confirms no anonymous fallback remains.

🤖 Generated with Claude Code

…anonymous

Reconciles apache#1124 with apache#1127, as promised in apache#1127's description.

apache#1124 made `anonymous` the fallback for a scanner-sourced finding whose
scanner declares no public credit name. apache#1127 then landed the
finder-credit policy, whose Rule 2 says the opposite: where there is no
named finder, omit the `finder` credit rather than writing a
placeholder. Both are on `main`, so the framework currently contradicts
itself in three places.

Rule 2 wins. It is grounded in an ASF CVE reviewer's feedback on a
published batch — "I'm not sure how helpful it is to credit 'anonymous'
as finder, just leave it out" — and a `credits[]` carrying only the
remediation developer is a complete record, whereas a literal
`anonymous` occupies the space a reader scans for attribution and
answers nothing.

Nothing else about apache#1124 changes: the scanner's public credit name is
still written when declared, still emitted with `type: "tool"`, and the
confidential product token still never reaches a public surface. Only
the no-name-declared branch changes, from writing a placeholder to
omitting the row.

Grep confirms no `anonymous` fallback remains under skills/, projects/,
or tools/.

Generated-by: Claude Code (Claude Opus 5)
@potiuk potiuk added family:security security-* skills capability:intake Import external signal + sync tracker state labels Aug 29, 2026
@potiuk
potiuk merged commit 67ef6ae into apache:main Aug 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:intake Import external signal + sync tracker state family:security security-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant