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

LLM security checks. #104

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

LLM security checks. #104

wants to merge 1 commit into from

Conversation

dmwyatt
Copy link

@dmwyatt dmwyatt commented Mar 8, 2024

No description provided.

@dmwyatt dmwyatt marked this pull request as draft March 8, 2024 16:55
@dmwyatt
Copy link
Author

dmwyatt commented Mar 8, 2024

This isn't ready yet, but I wanted to get it out there in case I ran out of time to keep working on it. It requires an OpenAI API key stored in the repository secrets under OPENAI_API_KEY

@dmwyatt
Copy link
Author

dmwyatt commented Mar 8, 2024

See #98 for reason this PR exists.

I started doing my work on a temporary test repo.

Here's a test run doing a PR with a malicious package on a temporary repository. Note how it rejected the PR and added a comment with the reason.

This is the workflow.

And the python helper script.

@dmwyatt dmwyatt changed the title initial commit adding llm security check LLM security checks. Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant