You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
[Task]: Suspicious commands needs its own pipeline #1039
Activity
therealnb commentedon Feb 13, 2025
The code was generally in the right place and generally working. Secrets and PII were being found, but this was real.
Shell languages were not being recognised, this is alleviated here https://github.com/stacklok/codegate/pull/1043/files#diff-f7211151eec890242ec818bcdda3b3a175dda1c686533e679771037692952d5fL141
In copilot edits, the deltas were being passed as snippets. We have alleviated that here https://github.com/stacklok/codegate/pull/1043/files#diff-0658dbd5db53af1b59ad53ac8ce9dc0ba40042abea62cce7f6b04eebf3fa4cffR63
So that suspicious commands will not be applied to the main programming languages.
Both of these will have corner cases, but these fixes offer a low impact set of changes.
therealnb commentedon Feb 13, 2025
Also reported this #1044
CC @jhrozek
therealnb commentedon Feb 17, 2025
Note that we had to disable this code #1073
It is now unclear where this code should go.