Default Setup – A New Option to Set Up Code Scanning on GitHub

The GitHub code scanning feature has been enhanced with a new option called “default setup,” designed to assist developers in setting up code scanning with only a few clicks and make it easier to configure it automatically.

GitHub’s code scanning is powered by the CodeQL code analysis engine. This engine supports many languages and compilers, including those that power GitHub’s code analysis. Only the following language repositories have the new option available to them:- 

Over the next six months, Walker Chabbott, GitHub’s product marketing manager, declared that the company is looking at expanding its support to a number of languages, GitHub Said.

How to use the new code scanning setup option?

Here are the simple steps you need to follow in order to use the new option for setting up code scanning:-

  • First of all, in your repo’s settings, you have to navigate to “Code security and analysis”.
  • Then click the “Set up” drop-down menu.
  • After that choose the Default option.
  • That’s it, now you are done.

The default configuration summary will be automatically generated based on repository contents when you click on this ‘Default’ option.

There are a number of things that fall under this category, including:-

  • Languages detected in the repository
  • Query packs that will be used
  • Events that will trigger scans

This option will be customizable in the future so that users can choose what works best for them. When you click “Enable CodeQL,” it will begin scanning the repo for vulnerabilities to help you create more secure software by finding and patching the flaws it discovers.

Since Semmle code-analysis platform was acquired by GitHub in September 2019, the CodeQL code-analysis engine has been added to its capabilities to further enhance the GitHub platform.

In May 2020, GitHub Satellite announced the first beta version of its code scanning solution, and in September 2020, the service was made generally available.

In addition to code scanning, GitHub offers an advanced security feature for GitHub Enterprise private repositories as part of its advanced security features, which is free for all public repositories on GitHub.

Network Security Checklist – Download Free E-Book

Balaji

BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Recent Posts

GitLab Vulnerabilities Allow Attackers to Bypass Security and Run Arbitrary Scripts

GitLab has urgently released security updates to address multiple high-severity vulnerabilities in its platform that…

1 hour ago

LibreOffice Flaws Allow Attackers to Run Malicious Files on Windows

A high-severity security vulnerability (CVE-2025-0514) in LibreOffice, the widely used open-source office suite, has been…

1 hour ago

Cisco Nexus Switch Vulnerability Allows Attackers to Cause DoS

Cisco Systems has disclosed a high-severity vulnerability (CVE-2025-20111) in its Nexus 3000 and 9000 Series…

2 hours ago

Silver Fox APT Hackers Target Healthcare Services to Steal Sensitive Data

A sophisticated cyber campaign orchestrated by the Chinese Advanced Persistent Threat (APT) group, Silver Fox,…

11 hours ago

Ghostwriter Malware Targets Government Organizations with Weaponized XLS File

A new wave of cyberattacks attributed to the Ghostwriter Advanced Persistent Threat (APT) group has…

11 hours ago

LCRYX Ransomware Attacks Windows Machines by Blocking Registry Editor and Task Manager

The LCRYX ransomware, a malicious VBScript-based threat, has re-emerged in February 2025 after its initial…

11 hours ago