{"id":55349,"date":"2024-02-16T09:21:00","date_gmt":"2024-02-16T09:21:00","guid":{"rendered":"http:\/\/63796e9e-ae1f-4947-aff7-3189099d22ca"},"modified":"2024-02-16T09:21:00","modified_gmt":"2024-02-16T09:21:00","slug":"github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right","status":"publish","type":"post","link":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/","title":{"rendered":"GitHub: AI helps developers write safer code, but you need to get the basics right"},"content":{"rendered":"<figure class=\"c-shortcodeImage u-clearfix c-shortcodeImage-large\">\n<div class=\"c-shortcodeImage_imageContainer\">\n<div class=\"c-shortcodeImage_image\"><picture class=\"c-cmsImage c-cmsImage_loaded\"><source media=\"(max-width: 767px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/37fdc36c4bbd41ad92e4beaa71bdd849ede389a4\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=768\" alt=\"Lock with colorful background\"><source media=\"(max-width: 1023px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/344644b906a9848812b215c223c5f1ea17d57d04\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1024\" alt=\"Lock with colorful background\"><source media=\"(max-width: 1440px)\" srcset=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\" alt=\"Lock with colorful background\"><img decoding=\"async\" src=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\" alt=\"Lock with colorful background\" width=\"1280\" height=\"853.3333333333333\" fetchpriority=\"low\"><\/picture><\/div>\n<p> <!----><\/div>\n<p> <!----><figcaption> <span class=\"c-shortcodeImage_credit g-outer-spacing-top-xsmall u-block\">sakkmesterke\/Getty Images<\/span><\/figcaption><\/figure>\n<p>It might be nice to have sophisticated <a href=\"https:\/\/www.zdnet.com\/article\/cybersecurity-101-everything-on-how-to-protect-your-privacy-and-stay-safe-online\/\" rel=\"follow\">cybersecurity tools<\/a> to help detect vulnerabilities, but code safety still needs to start with developers getting the basics right.&nbsp;<\/p>\n<p>This focus on the foundations means adhering to fundamentals, such as turning on <a href=\"https:\/\/www.zdnet.com\/article\/multi-factor-authentication-how-to-enable-2fa-and-boost-your-security\/\" rel=\"follow\">two-factor authentication<\/a> (2FA) and adopting industry standards and best practices, said Mike Hanley, GitHub&#8217;s chief security officer (CSO) and senior vice president of engineering.&nbsp;<\/p>\n<p><strong>Also: <\/strong><a href=\"https:\/\/www.zdnet.com\/article\/best-vpn\/\" rel=\"follow\"><strong>The best VPN services (and how to choose the right one for you)<\/strong><\/a><\/p>\n<p>The Microsoft-owned software development platform has more than 100 million users and sees its fair share of targeted cyberattacks. However, the form of these attacks has not changed significantly during the past decade. The majority of these atttempts are phishing and social-engineering attacks, which aim to take over the credentials and accounts of software maintainers, as well as exploits of web application vulnerabilities.&nbsp;<\/p>\n<p><!----><\/p>\n<p>With cybercriminals largely sticking to the same tactics, it is critical that security starts with the developer. &#8220;You can buy tools to prevent and detect vulnerabilities, but the first thing you need to do is help developers ensure they&#8217;re building secure applications,&#8221; Hanley said in an interview with ZDNET.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/best-password-manager\/\" rel=\"follow\">The best password managers to save you from login hassle<\/a><\/strong><\/p>\n<p>As major software tools, including those that power video-conferencing calls and autonomous cars, are built and their libraries made available on GitHub, if the accounts of people maintaining these applications are not properly secured, malicious hackers can take over these accounts and compromise a library.&nbsp;<\/p>\n<p>The damage can be wide-reaching and lead to another <a href=\"https:\/\/www.zdnet.com\/article\/businesses-fear-rise-of-third-party-attacks-as-ransomware-impact-grows\/\" rel=\"follow\">third-party breach<\/a>, such as the likes of <a href=\"https:\/\/www.zdnet.com\/article\/solarwinds-the-more-we-learn-the-worse-it-looks\/\" rel=\"follow\">SolarWinds<\/a> and <a href=\"https:\/\/www.zdnet.com\/article\/singapore-holds-emergency-meetings-with-cii-sectors-over-log4j\/\" rel=\"follow\">Log4j<\/a>, he noted. Hanley joined GitHub in 2021, taking on the newly created role of CSO as news of the colossal&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/solarwinds-ready-to-move-past-breach-and-help-customers-manage-theirs\/\" rel=\"follow\">SolarWinds attack<\/a> spread.&nbsp;<\/p>\n<p>&#8220;We still tell people to turn on 2FA&#8230;getting the basics is a priority,&#8221; he said.&nbsp;<\/p>\n<p>He pointed to GitHub&#8217;s efforts to <a href=\"https:\/\/www.zdnet.com\/article\/github-launches-new-two-factor-authentication-mandates-for-code-developers\/\" rel=\"follow\">mandate the use of 2FA<\/a> for all users, which is a process that has been in the works during the last one and a half years and will be completed early this year.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/passkeys-what-are-they-and-how-to-get-started\/\" rel=\"follow\">What are passkeys? The life-changing magic of going passwordless<\/a><\/strong><\/p>\n<p>With the security market now flooded with &#8220;flashy&#8221; offerings, it can be easy for professionals to overlook the need for a simple deadbolt on the door.<\/p>\n<p>The <a href=\"https:\/\/www.zdnet.com\/article\/smbs-face-growing-cybersecurity-threats-but-basic-measures-can-lower-risks\/\" rel=\"follow\">basic controls<\/a> are going to be more effective in securing an organisation&#8217;s environment, alongside the adoption of industry standards and best practices, he said. These practices include <a href=\"https:\/\/cloudsecurityalliance.org\/star\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"c-regularLink\">Cloud Security Alliance&#8217;s published benchmarks<\/a> and&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/singapores-guidelines-to-bolster-mobile-app-security-are-optional-for-now\/\" rel=\"follow\">Singapore&#8217;s Safe App Standard<\/a>, which is built on &#8220;common sense&#8221; basic security practices and input from both private and public organizations to help focus on the most essential components.&nbsp;<\/p>\n<h2>Redefining shift-left development with AI<\/h2>\n<p><a href=\"https:\/\/www.zdnet.com\/article\/what-is-ai-heres-everything-you-need-to-know-about-artificial-intelligence\/\" rel=\"follow\">Artificial intelligence<\/a> (AI), including <a href=\"https:\/\/www.zdnet.com\/article\/what-is-generative-ai-and-why-is-it-so-popular-heres-everything-you-need-to-know\/\" rel=\"follow\">generative AI<\/a>, is also emerging as an important companion for software developers, particularly in identifying potential vulnerabilities as they write their code, according to Hanley.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<\/strong><a href=\"https:\/\/www.zdnet.com\/article\/how-to-use-chatgpt-to-write-code\/\" rel=\"follow\"><strong>How to use ChatGPT to write code<\/strong><\/a><\/p>\n<p>AI redefines the shift-left model and helps prevent developers from writing vulnerabilities in their code right from the start, he said.&nbsp;<\/p>\n<p>The shift-left approach involves testing software earlier in the development lifecycle, so its quality can be assessed and refined throughout the development stage.&nbsp;<\/p>\n<p>With software vulnerabilities often discovered after the codes are released to the public &#8212; and sometimes it takes years before they are uncovered, such as in the case of Log4j &#8212; the ability for AI to identify and provide suggestions to plug potential vulnerabilities before the software is published is a game-changer for developers, Hanley said. &nbsp;<\/p>\n<p>According to&nbsp;<a href=\"https:\/\/www.gitclear.com\/coding_on_copilot_data_shows_ais_downward_pressure_on_code_quality\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"c-regularLink\">research from GitClear<\/a>, which looked at 153 million changed lines of code written from 2020 to 2023, the proportion of codes that are reverted or updated less than two weeks after they are written is predicted to double this year compared to 2021.&nbsp;<\/p>\n<p><strong>Also:&nbsp;<a href=\"https:\/\/www.zdnet.com\/article\/implementing-ai-into-software-engineering-heres-everything-you-need-to-know\/\" rel=\"follow\">Implementing AI into software engineering? Here&#8217;s everything you need to know<\/a><\/strong><\/p>\n<p>Pointing to GitHub&#8217;s AI-assisted software development tool, Copilot, Hanley said the technology aims to not only help developers write code, but also to review and fix it.&nbsp;<\/p>\n<p><a href=\"https:\/\/www.zdnet.com\/article\/microsoft-has-over-a-million-paying-github-copilot-users-ceo-nadella\/\" rel=\"follow\">GitHub Copilot<\/a> is touted to provide code suggestions that are aligned with a project&#8217;s context and style conventions, offering developers the ability to decide what to accept, reject, or edit. The tool can be integrated with other editors, such as Visual Studio and Neovim, and can suggest syntax and code in several languages, including Python, JavaScript, Ruby, and C#.&nbsp;<\/p>\n<p>First introduced in October 2021, GitHub Copilot is currently used by more than one million developers and 20,000 organizations, GitHub CEO Thomas Dohmke said in a&nbsp;<a href=\"https:\/\/github.blog\/2023-06-27-the-economic-impact-of-the-ai-powered-developer-lifecycle-and-lessons-from-github-copilot\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"c-regularLink\">June 2023 post<\/a>. The AI-assisted tool has generated more than three billion accepted lines of codes.&nbsp;<\/p>\n<p>Its users on average have accepted almost 30% of code suggestions, with this figure climbing as developers have gained familiarity with the tool, Dohmke said, citing a sample analysis of 934,533 GitHub Copilot users.<\/p>\n<p>Based on the 30% productivity rate, and a projected 45 million developers in 2030, he said generative AI developer tools can potentially add 15 million &#8220;effective developers&#8221; to the global capacity by 2030, boosting GDP by more than $1.5 trillion.&nbsp;<\/p>\n<p><strong>Also: <a href=\"https:\/\/www.zdnet.com\/article\/how-generative-ai-can-make-your-it-job-more-complicated\/\" rel=\"follow\">How AI-assisted code development can make your IT job more complicated<\/a><\/strong><\/p>\n<p>GitHub Copilot users also report coding 55% faster with the tool, he noted, adding that 46% of codes were completed by the AI-powered technology in files where it was activated.<\/p>\n<p>Like self-driving cars, though, AI-assisted development tools are not a replacement for human developers and code review processes, Hanley said. They are companion tools and, as the moniker suggests, co-pilots for software developers are more effective when they work together with their human counterparts.&nbsp;<\/p>\n<div id=\"pinbox-63796e9e-ae1f-4947-aff7-3189099d22ca\" class=\"c-shortcodePinbox-carousel\">\n<div class=\"c-listingCarouselHorizontal\">\n<h4 class=\"c-sectionHeading\">Artificial Intelligence<\/h4>\n<p> <!----> <span class=\"c-listingCarouselHorizontal_loadingIndicator\"><\/span> <\/div>\n<\/div>\n<p>READ MORE <a href=\"https:\/\/www.zdnet.com\/article\/github-ai-helps-developers-write-safer-code-but-basic-safety-is-crucial\/#ftag=RSSbaffb68\">HERE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Don&#8217;t dabble with AI-assisted development until you&#8217;ve got firm foundations in place.<br \/>\nREAD MORE HERE&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[62],"tags":[],"class_list":["post-55349","post","type-post","status-publish","format-standard","hentry","category-zdnet-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GitHub: AI helps developers write safer code, but you need to get the basics right 2026 | ThreatsHub Cybersecurity News<\/title>\n<meta name=\"description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitHub: AI helps developers write safer code, but you need to get the basics right 2026 | ThreatsHub Cybersecurity News\" \/>\n<meta property=\"og:description\" content=\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security &amp; Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/\" \/>\n<meta property=\"og:site_name\" content=\"ThreatsHub Cybersecurity News\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-16T09:21:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\" \/>\n<meta name=\"author\" content=\"TH Author\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@threatshub\" \/>\n<meta name=\"twitter:site\" content=\"@threatshub\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TH Author\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/\"},\"author\":{\"name\":\"TH Author\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\"},\"headline\":\"GitHub: AI helps developers write safer code, but you need to get the basics right\",\"datePublished\":\"2024-02-16T09:21:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/\"},\"wordCount\":970,\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/2a8ad93895024ed071c5e7b21a849d3846eeda98\\\/2024\\\/02\\\/15\\\/a8bc07ee-194b-430c-aeed-d36d64225ea3\\\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\",\"articleSection\":[\"ZDNet | Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/\",\"name\":\"GitHub: AI helps developers write safer code, but you need to get the basics right 2026 | ThreatsHub Cybersecurity News\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/2a8ad93895024ed071c5e7b21a849d3846eeda98\\\/2024\\\/02\\\/15\\\/a8bc07ee-194b-430c-aeed-d36d64225ea3\\\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\",\"datePublished\":\"2024-02-16T09:21:00+00:00\",\"description\":\"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/2a8ad93895024ed071c5e7b21a849d3846eeda98\\\/2024\\\/02\\\/15\\\/a8bc07ee-194b-430c-aeed-d36d64225ea3\\\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\",\"contentUrl\":\"https:\\\/\\\/www.zdnet.com\\\/a\\\/img\\\/resize\\\/2a8ad93895024ed071c5e7b21a849d3846eeda98\\\/2024\\\/02\\\/15\\\/a8bc07ee-194b-430c-aeed-d36d64225ea3\\\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitHub: AI helps developers write safer code, but you need to get the basics right\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"name\":\"ThreatsHub Cybersecurity News\",\"description\":\"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\"},\"alternateName\":\"Threatshub.org\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#organization\",\"name\":\"ThreatsHub.org\",\"alternateName\":\"Threatshub.org\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Threatshub_Favicon1.jpg\",\"width\":432,\"height\":435,\"caption\":\"ThreatsHub.org\"},\"image\":{\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/threatshub\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.threatshub.org\\\/blog\\\/#\\\/schema\\\/person\\\/12e0a8671ff89a863584f193e7062476\",\"name\":\"TH Author\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g\",\"caption\":\"TH Author\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GitHub: AI helps developers write safer code, but you need to get the basics right 2026 | ThreatsHub Cybersecurity News","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/","og_locale":"en_US","og_type":"article","og_title":"GitHub: AI helps developers write safer code, but you need to get the basics right 2026 | ThreatsHub Cybersecurity News","og_description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","og_url":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/","og_site_name":"ThreatsHub Cybersecurity News","article_published_time":"2024-02-16T09:21:00+00:00","og_image":[{"url":"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280","type":"","width":"","height":""}],"author":"TH Author","twitter_card":"summary_large_image","twitter_creator":"@threatshub","twitter_site":"@threatshub","twitter_misc":{"Written by":"TH Author","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#article","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/"},"author":{"name":"TH Author","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476"},"headline":"GitHub: AI helps developers write safer code, but you need to get the basics right","datePublished":"2024-02-16T09:21:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/"},"wordCount":970,"publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280","articleSection":["ZDNet | Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/","url":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/","name":"GitHub: AI helps developers write safer code, but you need to get the basics right 2026 | ThreatsHub Cybersecurity News","isPartOf":{"@id":"https:\/\/www.threatshub.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#primaryimage"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#primaryimage"},"thumbnailUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280","datePublished":"2024-02-16T09:21:00+00:00","description":"ThreatsHub Cybersecurity News | ThreatsHub.org | Cloud Security & Cyber Threats Analysis Hub. 100% Free OSINT Threat Intelligent and Cybersecurity News.","breadcrumb":{"@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#primaryimage","url":"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280","contentUrl":"https:\/\/www.zdnet.com\/a\/img\/resize\/2a8ad93895024ed071c5e7b21a849d3846eeda98\/2024\/02\/15\/a8bc07ee-194b-430c-aeed-d36d64225ea3\/gettyimages-1356115619.jpg?auto=webp&amp;width=1280"},{"@type":"BreadcrumbList","@id":"https:\/\/www.threatshub.org\/blog\/github-ai-helps-developers-write-safer-code-but-you-need-to-get-the-basics-right\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.threatshub.org\/blog\/"},{"@type":"ListItem","position":2,"name":"GitHub: AI helps developers write safer code, but you need to get the basics right"}]},{"@type":"WebSite","@id":"https:\/\/www.threatshub.org\/blog\/#website","url":"https:\/\/www.threatshub.org\/blog\/","name":"ThreatsHub Cybersecurity News","description":"%%focuskw%% Threat Intel \u2013 Threat Intel Services \u2013 CyberIntelligence \u2013 Cyber Threat Intelligence - Threat Intelligence Feeds - Threat Intelligence Reports - CyberSecurity Report \u2013 Cyber Security PDF \u2013 Cybersecurity Trends - Cloud Sandbox \u2013- Threat IntelligencePortal \u2013 Incident Response \u2013 Threat Hunting \u2013 IOC - Yara - Security Operations Center \u2013 SecurityOperation Center \u2013 Security SOC \u2013 SOC Services - Advanced Threat - Threat Detection - TargetedAttack \u2013 APT \u2013 Anti-APT \u2013 Advanced Protection \u2013 Cyber Security Services \u2013 Cybersecurity Services -Threat Intelligence Platform","publisher":{"@id":"https:\/\/www.threatshub.org\/blog\/#organization"},"alternateName":"Threatshub.org","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.threatshub.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.threatshub.org\/blog\/#organization","name":"ThreatsHub.org","alternateName":"Threatshub.org","url":"https:\/\/www.threatshub.org\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","contentUrl":"https:\/\/www.threatshub.org\/blog\/coredata\/uploads\/2025\/05\/Threatshub_Favicon1.jpg","width":432,"height":435,"caption":"ThreatsHub.org"},"image":{"@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/threatshub"]},{"@type":"Person","@id":"https:\/\/www.threatshub.org\/blog\/#\/schema\/person\/12e0a8671ff89a863584f193e7062476","name":"TH Author","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/066276f086d5155df79c850206a779ad368418a844da0182ce43f9cd5b506c3d?s=96&d=mm&r=g","caption":"TH Author"}}]}},"_links":{"self":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/55349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/comments?post=55349"}],"version-history":[{"count":0,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/posts\/55349\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/media?parent=55349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/categories?post=55349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.threatshub.org\/blog\/wp-json\/wp\/v2\/tags?post=55349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}