Skip to content
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

Tool flow #115

Closed
wants to merge 15 commits into from
Closed

Tool flow #115

wants to merge 15 commits into from

Conversation

ZackBradshaw
Copy link
Contributor

No description provided.

try:
res = executor({"input": promptedQuery})
except Exception as e:
return {"answer": str(e), "files": []}

Check warning

Code scanning / CodeQL

Information exposure through an exception

[Stack trace information](1) flows to this location and may be exposed to an external user.
def obtain_start_and_end_time_of_anomaly():
# Create SSH client
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())

Check failure

Code scanning / CodeQL

Accepting unknown SSH host keys when using Paramiko

Setting missing host key policy to AutoAddPolicy may be unsafe.
@kyegomez kyegomez closed this Nov 16, 2023
@kyegomez kyegomez deleted the tool-flow branch November 16, 2023 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants