Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support distinct policies: bug bounty and external vuln disclosure #207

Open
vladionescu opened this issue Mar 30, 2021 · 3 comments
Open

Comments

@vladionescu
Copy link

Is your feature request related to a problem? Please describe.
Some organizations have both a policy on what to do when they receive a report (bug bounty policy) and a separate policy on what the org will do when the org finds vulnerabilities in external products (vuln disclosure policy).

Facebook has both of these:

I expect this trend to continue, with more organizations developing these policies which serve different purposes.

Currently security.txt supports a Policy: field which is ambiguously defined as

This field indicates a link to where the vulnerability disclosure policy is located. This can help security researchers understand the organization's vulnerability reporting practices.

This is open to interpretation, which is versatile, but leaves both creators of security.txt and readers of the file unclear what the policy is for (inbound bug reports, or outbound bug reports).

Describe the solution you'd like
Multiple Policy: types, for example Bug Bounty Policy: and Disclosure Policy:.

Describe alternatives you've considered
The RFC seems to support repeating fields, so a solution that is compliant today could be to do:

Policy: https://www.facebook.com/whitehat/info/
Policy: https://www.facebook.com/security/advisories/Vulnerability-Disclosure-Policy

Another option is to use the field for the bug bounty policy, which is what security.txt readers are probably looking for, and mention the external disclosure policy in a comment.

The downside is that neither of these are as clear as having dedicated fields.

@cqueern
Copy link

cqueern commented Mar 31, 2021

What percent of large organizations have more than one policy such as in the example above?

@santosomar
Copy link

I agree with @cqueern . This may not apply to the majority of organizations. However, it is still an interesting suggestion. There are also companies (such as Cisco, Google, etc.) that have security research teams that also report vulnerabilities externally and have a separate policy for that function. For example:

The problem may be differentiating between both (i.e., from a tool perspective, which one should I pick for the specific use case?). This is probably where a more well defined JSON schema may be better suited for this.

@vladionescu
Copy link
Author

An updated example: Facebook's security.txt currently has both Policy fields, with a comment explaining each one.

Contact: https://www.facebook.com/whitehat/report/
Acknowledgments: https://www.facebook.com/whitehat/thanks/
Hiring: https://www.facebook.com/careers/teams/security/

# Found a bug? Our bug bounty policy:
Policy: https://www.facebook.com/whitehat/info/

# What we do when we find a bug in another product:
Policy: https://www.facebook.com/security/advisories/Vulnerability-Disclosure-Policy

Expires: Thu, 20 May 2021 10:35:20 -0700

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

No branches or pull requests

4 participants