-
Notifications
You must be signed in to change notification settings - Fork 539
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
[Question][GitHub]security #2800
Comments
Thanks for your feedback, it will be fixed in the upcoming version. By the way, your PAT appears in two places, and you only covered one, please make sure to revoke it. |
@tk103331 After discussion with the team, we decided not to implement this feature before the |
Yes, I will inside Intranet only These are just my thoughts and suggestions. Maybe it is over-designed. |
@tk103331 "Appears only once" is not very practical, because some validations happen in Frontend, and it is ok for webpage to display sensitive information, take 1password as an example, we can copy password from its webapp without problem as long as https is enabled, you may do the same for |
I'm still new to the devlake project and am learning some details of this project. At first, I found plaintext PAT in the API return result, and later found that the plaintext is stored in the _devlake_blueprints.plan field. But in _tool_github_connections.token is encrypted. I have some experience in CI Pipeline, when a task in the pipeline requires sensitive data, it will only be decrypted and used when the task is executed.So I recommend decrypting sensitive data only while the SubTask is executing. This shouldn't be a very important issue, and hopefully it won't affect your plans. 😃 |
@tk103331 Nah, it is important. I agree with you totally. I'm so glad that you join us.
I will create an issue to track the progress of development if we are on the same page. Thanks very much for the suggestion! |
Question
I found in the data returned by the '/api/pipelines/{id}/tasks' api that the PAT of github is displayed in plain text, whether this is a security issue.
I think this PAT should only be used when the backend performs tasks, which means that the frontend should not get the plaintext result.
Screenshots
Additional context
Add any other context here.
The text was updated successfully, but these errors were encountered: