# 5 security best practices for adopting generative AI code assistants like GitHub Copilot

DevFeed: [5 security best practices for adopting generative AI code assistants like GitHub Copilot](<https://devfeed.tech/articles/5-security-best-practices-for-adopting-generative-ai-code-assistants-like-github-copilot-7776.md>)

Original publisher: [Read original article](<https://snyk.io/blog/5-security-best-practices-generative-ai-code-assistants-copilot/>)

Author: Liqian Lim (林利蒨)

Published: 2024-03-05T12:00:00Z

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Generative AI](<https://devfeed.tech/topics/generative-ai.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [Code](<https://devfeed.tech/topics/code.md>), [snyk](<https://devfeed.tech/topics/snyk.md>)

Tags: [acquisition](<https://devfeed.tech/tags/acquisition.md>), [ai](<https://devfeed.tech/tags/ai.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code-completion](<https://devfeed.tech/tags/code-completion.md>), [code-reviews](<https://devfeed.tech/tags/code-reviews.md>), [code-security](<https://devfeed.tech/tags/code-security.md>), [developer](<https://devfeed.tech/tags/developer.md>), [errors](<https://devfeed.tech/tags/errors.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [pmm](<https://devfeed.tech/tags/pmm.md>), [security-best-practices](<https://devfeed.tech/tags/security-best-practices.md>), [security-tools](<https://devfeed.tech/tags/security-tools.md>), [snyk](<https://devfeed.tech/tags/snyk.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>), [validation](<https://devfeed.tech/tags/validation.md>)

## AI overview

This article presents five security best practices for adopting generative AI code assistants such as GitHub Copilot. It emphasizes keeping humans in the loop, validating and reviewing AI-generated code, educating teams about risks, and using security tools and guardrails.

## Source excerpt

Learn how you can safely adopt AI code completion tools (like Copilot) by applying these 5 best practices and see how Snyk can make it easy to stay secure.