Repository navigation
Update CONTRIBUTING.md to reduce risks - #862
Merged
Merged
Conversation
fxamacker
force-pushed
the
fxamacker/clarify-contributing-guidelines
branch
from
October 9, 2026 15:21
406d79e to
81f4230
Compare
x448
reviewed
Oct 10, 2026
fxamacker
marked this pull request as draft
October 12, 2026 18:54
fxamacker
force-pushed
the
fxamacker/clarify-contributing-guidelines
branch
2 times, most recently
from
October 17, 2026 19:14
93dc897 to
9512b23
Compare
This was referenced Oct 19, 2026
fxamacker
marked this pull request as ready for review
October 20, 2026 13:14
fxamacker
force-pushed
the
fxamacker/clarify-contributing-guidelines
branch
2 times, most recently
from
October 21, 2026 01:30
8a8e1e4 to
bb920c0
Compare
This rewrites CONTRIBUTING.md to reduce security risks, operational risks, and legal risks from unvetted AI content, false positives, uncoordinated pull requests, and uncertain authorship. The guidelines link to the Security Policy, the pull request template, bug report form, and feature request form. Although contributors may use AI to fix grammar in the PR description, a human must open the PR and make attestations (e.g., certifying the DCO 1.1 and confirming they reviewed and understand each changed line). It mentions early that credit (e.g., thanks or advisory credit) may be withheld or removed, for example, if someone does not follow these guidelines or violates the Code of Conduct or Security Policy. The guidelines have these sections: - Prohibited Content - Security Vulnerabilities - Opening Issues - Opening Pull Requests (PRs) - Special Thanks It removes content that is now covered elsewhere or no longer applies.
fxamacker
force-pushed
the
fxamacker/clarify-contributing-guidelines
branch
from
October 21, 2026 02:42
bb920c0 to
420f1ec
Compare
Owner
Author
|
@x448 PTAL |
This was referenced Oct 21, 2026
This was referenced Oct 29, 2026
tsenart
pushed a commit
to perfloop-oss/cbor
that referenced
this pull request
Nov 6, 2026
Update Status section to match v2.10 release notes: v2.10.0 speeds up encoding by up to 2.88Γ and decoding by up to 1.87Γ with zero memory regressions (B/op, allocs/op), reduces memory use, adds the toindefarray struct tag option, and fixes bugs. The Contributing Guidelines, Security Policy, and templates were extensively updated (fxamacker#862). Update Secure Decoding section to show fxamacker/cbor v2.10.0 rejecting 10 bytes of malformed CBOR data (9B 00 00 42 FA 42 FA 42 FA 42) in 28 ns/op with 8 B/op and 1 allocs/op (Go 1.26.10). That is about 200,000Γ faster than another Go CBOR codec, which takes 5639731 ns/op with 67112386 B/op and 10 allocs/op. Update these sections: - Introduction - Secure Decoding with Configurable Settings - Security Tips - Status - Prior Releases - Versions and API Changes
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.
This PR updates the Contribution Guidelines to reduce security risks, operational risks, and legal risks from unvetted AI code, automated attestations, false positives, uncoordinated PRs, and uncertain authorship.
CONTRIBUTING.md provides guidelines and directs contributors to follow the Security Policy, bug report form, feature request form, and pull request template.
For example, both the guidelines and PR template require coordinating work on PRs:
The more detailed coordination and attestation aim to reduce how often people with no prior communication with anyone mark the old checkbox "[x] This PR was proposed and welcomed by maintainer(s)".
The issue forms and the PR template require the human submitting them to read and personally make each attestation.
Among other things, the bug report and feature request forms provide useful examples that can save time.
CONTRIBUTING.md sections
Attestations and uncertain authorship
Although contributors may use AI to improve their PR description (e.g., to fix grammar), the issue forms and the PR template require the human submitting them to read and personally make each attestation, such as:
For example, the PR template includes the following:
Bug reports and feature requests
The bug report form requires a runnable reproducer, and the feature request form asks for info that can help prioritize the request.
Related PRs