New GitHub code scanning tech should make it easier to spot security flaws
Scanning GitHub code has never been simpler
GitHub now allows developers to scan their code for the “default setup” repository, hopefully helping them to spot any security issues before they escalate.
With this new feature, Github says developers will be able to configure the repository automatically, and with as little effort as possible.
GitHub’s code scanning is powered by its CodeQL engine, and while it supports a wide variety of compilers, so far the feature is only available for Python, JavaScript, and Ruby. That should change soon, said GitHub’s Walker Chabbott, as the company now seeks to expand the support to additional languages by summer.
Simplifying bug hunting
Those looking to test out the new feature should open up their repository’s settings, navigate to “Code security and analysis”, and click the “Set up” drop-down menu. There, they’ll find the “Default” option.
"When you click on 'Default,' you'll automatically see a tailored configuration summary based on the contents of the repository," Chabbott said in the blog post. "This includes the languages detected in the repository, the query packs that will be used, and the events that will trigger scans. In the future, these options will be customizable."
Once “Enable CodeQL” is turned on, the feature will automatically start looking for flaws in the repository.
The CodeQL code analysis engine, BleepingComputer reminds, was added to the GitHub platform in September 2019, following the latter’s acquisition.
Are you a pro? Subscribe to our newsletter
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
After a year in beta testing, general availability was announced in September 2020. During the beta stage, the tool scanned more than 12,000 repositories, 1.4 million times, and found more than 20,000 security vulnerabilities. Some of these were of high severity, including remote code execution (RCE), SQL injection, and cross-site scripting (XSS).
Scanning the code is free of charge for all, the publication added, stressing that Enterprise users can also benefit from it, via the GitHub Advanced Security for GitHub Enterprise.
- Here are the best firewalls right now
Via: BleepingComputer
Sead is a seasoned freelance journalist based in Sarajevo, Bosnia and Herzegovina. He writes about IT (cloud, IoT, 5G, VPN) and cybersecurity (ransomware, data breaches, laws and regulations). In his career, spanning more than a decade, he’s written for numerous media outlets, including Al Jazeera Balkans. He’s also held several modules on content writing for Represent Communications.