Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Codegate seems to add the same secret on every alert detected #279

Description

@peppescg

After a secret was detected, codegate return it on every follow-up message, and after asking for another review to the same secret issue, it added the same secrets multiple times.

Image

Image

Activity

  1. ptelang commented on Dec 11, 2024

    @ptelang
    Contributor

    @peppescg , Continue plugin sends entire chat history to codegate. So you see it redacting the secret multiple times.

  2. peppescg commented on Dec 11, 2024

    @peppescg
    ContributorAuthor

    @peppescg , Continue plugin sends entire chat history to codegate. So you see it redacting the secret multiple times.

    @ptelang is correct that codegate said Codegate prevented 6 secrets from being leaked by redacting them. also if it is only one?

    and in the first screenshot codegate is saying 6 secrets and in the next row 4 🤔

  3. ptelang commented on Dec 11, 2024

    @ptelang
    Contributor

    I am not sure why you saw two messages: one saying 6 followed by second saying 4 secrets redacted.

    Can you clear out and restart your Continue chat session by clicking +? That will ensure that all of the chat history is removed. Then see if you can reproduce the issue.

  4. peppescg commented on Dec 11, 2024

    @peppescg
    ContributorAuthor

    @ptelang I was able to reproduce it.

    Image ______

    Keep in mind that having the alerts aggregation means to show a wrong number in the table, cause after asking for the same secret issue it bump the total alerts by 4

    Image
  5. self-assigned this
    on Dec 11, 2024
  6. added 4 commits that reference this issue on Dec 11, 2024
    fdf821a
    2c20cfb
    048286d
    7296938
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions