-
Notifications
You must be signed in to change notification settings - Fork 4k
feat(tools): shell tool security hardening #1097
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
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
78e3508
feat(tools): replace shell exec with AST-based risk classifier
blib 54eb65a
feat(security): fix reviewer comments enhance risk classification andβ¦
blib 36f6221
Update docs/tools_configuration.md
blib cdb691b
feat(tests): format shell array for improved readability in risk tests
blib 08def76
feat(security): enhance Windows command risk classification and add tβ¦
blib de42aa5
feat(security): enhance sandboxing and risk classification for shell β¦
blib 328e489
fix(tests): linter error
blib 4bb4200
refactor(tests): clean up captureStdout function and remove unused fmβ¦
blib bf1b07d
feat(exec): implement AsyncExecutor for ExecTool with bus-based backgβ¦
blib 970a568
feat(exec): refactor ExecTool to remove bus dependency and improve caβ¦
blib c1e33f6
Update pkg/config/defaults.go
blib 6c28061
feat(exec): enable execution in config and update async callback handβ¦
blib 88da084
feat(exec): include user content in ExecuteAsync callback response
blib f0c6727
fix: add missing log import in agent/instance.go
blib 1a28887
refactor: rename TestClassifyCommand_BackslashPath to TestClassifyComβ¦
blib cea543c
feat(risk): add argument profiles for command normalization and enhanβ¦
blib File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.