Avoid risky dependencies in AI generated code

The LLMs that power your favorite AI coding assistants like GitHub Copilot or Continue take a lot of time and money to train, so they’re not working with up-to-date knowledge. In fact, their knowledge cutoff dates are often 12-18 months in the past.

T…


This content originally appeared on DEV Community and was authored by Dan Barr

The LLMs that power your favorite AI coding assistants like GitHub Copilot or Continue take a lot of time and money to train, so they're not working with up-to-date knowledge. In fact, their knowledge cutoff dates are often 12-18 months in the past.

That means they don't know anything about the latest threats in the open source package ecosystem, like malicious packages. They also don't know which projects have been deprecated or archived since they were trained.

CodeGate augments your LLM's knowledge with an up-to-date database of risky packages in five popular ecosystems (PyPI, npm, golang.org, crates.io, and Maven), powered by Stacklok Insight. CodeGate is a new open source project from Stacklok that runs locally to protect your privacy and security while you use AI coding tools.

Diagram of CodeGate checking for risky dependencies between an AI assistant and the LLM

In this video, see how CodeGate automatically protects you from malicious or deprecated dependencies without changing how you work with your AI coding assistant.

Learn more about CodeGate on the website, check out the docs to get started, and join us on Discord!


This content originally appeared on DEV Community and was authored by Dan Barr


Print Share Comment Cite Upload Translate Updates
APA

Dan Barr | Sciencx (2025-01-22T22:37:29+00:00) Avoid risky dependencies in AI generated code. Retrieved from https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/

MLA
" » Avoid risky dependencies in AI generated code." Dan Barr | Sciencx - Wednesday January 22, 2025, https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/
HARVARD
Dan Barr | Sciencx Wednesday January 22, 2025 » Avoid risky dependencies in AI generated code., viewed ,<https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/>
VANCOUVER
Dan Barr | Sciencx - » Avoid risky dependencies in AI generated code. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/
CHICAGO
" » Avoid risky dependencies in AI generated code." Dan Barr | Sciencx - Accessed . https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/
IEEE
" » Avoid risky dependencies in AI generated code." Dan Barr | Sciencx [Online]. Available: https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/. [Accessed: ]
rf:citation
» Avoid risky dependencies in AI generated code | Dan Barr | Sciencx | https://www.scien.cx/2025/01/22/avoid-risky-dependencies-in-ai-generated-code/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.