Repository navigation
Expand the security policy now that private reporting is enabled - #150
Merged
Merged
Conversation
Private vulnerability reporting is now enabled for the repository, so the advisory form SECURITY.md points to works for any GitHub user. Rewrite SECURITY.md to cover: - supported versions for all four Maven coordinates, with a note that upgrading the core artifact is drop-in (no public API removed between 1.2.3 and 1.4.0) - the Security Advisories page, the GitHub-account requirement, and an email fallback to the project leaders - what to include in a report, what is in and out of scope, and best-effort response goals Link the policy from README.md, and add updating SECURITY.md to the release notes. Closes #107 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
encoder 1.2.3 targets Java 5 (class file major 49) and 1.4.0 targets Java 8 (major 52). The public API is a superset, but the upgrade is not drop-in for applications still on Java 5 through 7. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Closes #107.
Problem
SECURITY.mdsent reporters to the private advisory form, but private vulnerability reporting was disabled, so only admins could use it. The file also had no fallback contact, scope, or response expectations, and its version table didn't name the artifacts.Change
Private vulnerability reporting is now enabled in the repository settings.
gh api repos/OWASP/owasp-java-encoder/private-vulnerability-reportingreturns{"enabled":true}, and the public Security tab shows Report a vulnerability.SECURITY.mdencoderartifact needs no code changes: ajavap -publicdiff ofencoder-1.2.3.jaragainstencoder-1.4.0.jarshows no public members removed. The note also says 1.4.0 needs Java 8 (1.2.3 targeted Java 5).jeremy.long@owasp.org, frompom.xml, andjim@owasp.org, from the OWASP project leaders page).esapi/README.mdfor ESAPI), and response goals: acknowledgement in about a week and a 90-day disclosure window.README.mdSECURITY.mdwhen publishing a release.Not included
The release-verification section (signatures and the signing-key fingerprint) waits until the key is published. That work is tracked in #110 and #95, and this PR adds no placeholder for it.
🤖 Generated with Claude Code