Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

private issues or pull requests for public repositories #37

Open

Description

@tjfontaine

In the course of maintaing a project it may be necessary to keep some information from the public while a security issue or other scenario is worked on.

Users or organizations that pay for private repositories should be able to create or mark an issue or pull request as private, from there only users specifically mentioned in the issue would have access.

Special care would need to be handled for issue cross linking and other notifications.

Activity

  1. isaacs commented on Jun 17, 2013

    @isaacs
    Owner

    People have pasted npm account details in github issues on more than one occasion.

    👍

  2. jzaefferer commented on Jun 21, 2013

    @jzaefferer

    How do you prevent those credentials from being emailed as notifications when the issue is created?

  3. tjfontaine commented on Jun 21, 2013

    @tjfontaine
    CollaboratorAuthor

    No one is claiming you can put the cat back in the bag, but there are all sorts of reasons it's still a good idea to make it private after the fact, namely stopping the google indexing or the casual viewing

  4. jzaefferer commented on Jun 21, 2013

    @jzaefferer

    The owner can just edit to hide that cat. Is that not sufficient?

  5. tjfontaine commented on Jun 21, 2013

    @tjfontaine
    CollaboratorAuthor

    There are other use cases than merely the credential leak, consider if the repository is working through a security vulnerability.

  6. shilad commented on Aug 24, 2013

    @shilad

    +1 for the possibility of using GitHub for students in my classes and pull requests as a mechanism to turn in / receive feedback on assignments. Right now I can't do this because a student's pull request would publicize solutions.

  7. patcon commented on Oct 16, 2013

    @patcon

    Made a comment back to the OP, but lots of +1's in this highly retweeted post:
    https://twitter.com/adam_baldwin/status/385389448965664768

    +160?

  8. tjfontaine commented on Dec 12, 2013

    @tjfontaine
    CollaboratorAuthor

    oh god. no no no no,

  9. stash commented on Dec 12, 2013

    @stash

    +1 - vulnerabilities should be able to be disclosed responsibly in issues.

  10. isaacs commented on Dec 12, 2013

    @isaacs
    Owner

    @substack Being able to share private messages in the clear is lovely and useful for many things. But it doesn't obviate the need for private issues. It is, at best, an awkward workaround for this problem. If GitHub wants to be a social network, then they should add standard social network features, like private comments.

  11. Qard commented on Sep 4, 2014

    @Qard

    +1

    There are many reasons we need this:

    • Tracking fixes for security vulnerabilities
    • Tracking issues for customer bugs that require log data with security sensitive data in it.
    • Customers often don't want it to be publicized that our product is running in their network for fear it could be an attack target.

    We currently have to maintain two repos, one private and one public, to keep sensitive issues private. It's incredibly awkward and means we have to create issues ourselves and manually report updates to the relevant customer, rather than them being able just view the issue themselves.

  12. zryty commented on Feb 13, 2015

    @zryty

    +1

    For creating - new checkbox: [x] This is security issue.
    Old issues of course can't be completely removed, but is nice to have something like this. (Consider allowing access for issue creator - provide more details etc)

  13. steelbrain commented on Mar 16, 2015

    @steelbrain
  14. v6ak commented on Jun 7, 2015

    @v6ak

    Implementation by competitors:

    Google Code allows that. I am not sure if this is allowed for all projects, but in Chromium, you can mark an issue as security issue, which causes it not to be publicly available. Google, however, sends e-mail notifications in plaintext.

    Bugzilla also allows that. It is more advanced than at Google Code, because it does not send much details in e-mail notifications unless user has uploaded his public GPG key.

    • When GPG key is not configured in user's profile, the e-mail contains just (as far as I remember) bug number + bug link, category classification, identification of user who made a change and a note about GPG.
    • Once a public GPG key is uploaded, the e-mail subject is still rather brief (e.g. “[Bug 1169291] (Secure bug 1169291 in Firefox :: General)”, that is no summary is provided in the e-mail), as the subject is never encrypted even when using GPG, but the e-mail body contains GPG-encrypted content.
  15. 52 remaining items

  16. gojanpaolo commented on Sep 10, 2020

    @gojanpaolo

    @hems would locking the conversation solve your use case?

  17. 0xdevalias commented on Sep 10, 2020

    @0xdevalias

    I believe this issue relates more to wanting this sort of functionality:

    • https://docs.gitlab.com/ee/user/project/issues/confidential_issues.html
      • Confidential issues are issues visible only to members of a project with sufficient permissions. Confidential issues can be used by open source projects and companies alike to keep security vulnerabilities private or prevent surprises from leaking out.

    • Confidential (private) issues on public repo go-gitea/gitea#3217
      • This is a most for organizations that handle coordinated disclosure and patching of security vulnerabilities on public open-source projects. It would allow discussions to go on between the early disclosure and the full disclosure dates. The issue could later be made public at the date of full disclosure.

  18. gojanpaolo commented on Sep 10, 2020

    @gojanpaolo

    @0xdevalias I don't think @hems is pertaining to confidential or security vulnerabilities because there is an intent to release it to the public later on. (see quoted comment below with emphasis on bolded phrase)

    Also would like to have private issues and private PRs, this way we can have an open-source library with internal discussions and tasks being managed on GitHub issues before releasing them to the public.

    Also, I'm NOT saying that this issue will be solved by locking the conversation. I only suggested locking the conversation to solve @hems particular use case...

  19. hems commented on Sep 10, 2020

    @hems

    @hems would locking the conversation solve your use case?

    i did not know bout this issue, it's a very interesting one, still does not solve my issue.

    as spoken i would need something like "invisible" PR and "issues" and perhaps even invisible "branches", this way it would be possible to avoid having two repos - one public and one private for the same project.

  20. merlinstardust commented on Sep 10, 2020

    @merlinstardust

    I think what you want sounds a lot like unlisted videos on YouTube. The PRs, issues, and branches could still be linked to and accessed by anyone but you wouldn't see any of them show up just looking at the repo

  21. moorereason commented on Oct 28, 2020

    @moorereason

    I would like this capability so that reports of Code of Conduct violations could be made privately on a public repo.

  22. Jonas-Sander commented on Mar 1, 2021

    @Jonas-Sander

    We would like to switch form gitlab to github but private/confidential issues are one of the key missing features right now :/

  23. chrisisbeef commented on Apr 15, 2021

    @chrisisbeef

    This is a show-stopper for any project with any level of appsec maturity using github issues at all IMO. Teams need a way to track internally and externally reported security issues or other sensitive issues; having issues be "private" or "cofidential" is foundational for that to happen. Only people with specific roles, or assigned / mentioned in a ticket should be able to see the ticket while it's open. Once a confidential or private issue is closed, it should become publicly available for viewing -- this is the key of responsible disclosure and remediation.

  24. adzuci commented on Apr 16, 2021

    @adzuci

    This is a show-stopper for any project with any level of appsec maturity using github issues at all IMO. Teams need a way to track internally and externally reported security issues or other sensitive issues; having issues be "private" or "cofidential" is foundational for that to happen.

    Does https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories give you some of the things you might want?

  25. chrisisbeef commented on Apr 16, 2021

    @chrisisbeef

    This is a show-stopper for any project with any level of appsec maturity using github issues at all IMO. Teams need a way to track internally and externally reported security issues or other sensitive issues; having issues be "private" or "cofidential" is foundational for that to happen.

    Does https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories give you some of the things you might want?

    This is for already publicly disclosed vulnerabilities so it doesn't address the issue of having a way for project issues to be marked confidential, private, or hidden.

  26. gaming-se commented on Apr 18, 2021

    @gaming-se

    After a Vulnerability is found its usually necessary to develop changes in the project, if the Vulnerability is public you have a race between hacker that might want to use the vulnerability to make a harmful thing and developers that try to fix it, it would be better to give the good guys more time to fix the issue. That's why some users want to have the ability to make issues or pull requests in private to the developers of a project.

  27. techdragon commented on Apr 22, 2021

    @techdragon

    This is a show-stopper for any project with any level of appsec maturity using github issues at all IMO. Teams need a way to track internally and externally reported security issues or other sensitive issues; having issues be "private" or "cofidential" is foundational for that to happen.

    Does https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories give you some of the things you might want?

    Not at all @adzuci. There are many scenarios where something should be handled privately, that are categorically not security issues so while you can in theory build a workflow on top of miss-using the security advisory mechanism to make private forks and PRs... they are not the appropriate place for all such private matters. @moorereason raised the example of Code of Conduct violations, and I can think of several publishing workflows for otherwise open teams with blogs based on GitHub pages, where it would be beneficial to allow appropriate team members to collaborate on a private draft of new content, before it is merged, rendered and published.

  28. ScriptAutomate commented on Apr 27, 2021

    @ScriptAutomate

    Some related GitHub Support Community topics, where people are asking similar questions:

    GitHub response to the ask on confidential issues:

    I’m afraid I don’t have a timeline for when that feature might be added, sorry!

    We do keep an eye on isaacs/github, but you might like to submit a feature request through our official product feedback form to reinforce to our product team that having private issues is really important to you!

    I also don't see anything on the roadmap: https://github.com/github/roadmap/projects/1

  29. azinit commented on Jul 26, 2021

    @azinit

    Still actual!!

  30. achimnol commented on Jul 27, 2021

    @achimnol

    While being open source projects, still there are cases that I need to make private issues to avoid exposing customer information under NDA. To handle such cases, I'm running yet another issue tracker aside GitHub and this makes me difficult to have a consistent holistic view of the projects.

    I think it is okay to reveal the existence of private issues as references in public PRs or commit messages, or as jumps of the issue/PR number sequences.

    GitHub's organization-level projects may be a workaround to have both private/public issues in a single view, but I'd like to keep them under a single repository instead of making another repository just for private issue tracking. (for consistent way of references, etc.)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    issuesopsecOperational securityparityFeatures that GitHub is missing, but competitors implement; also, see [Migration]privacypull-requests

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions