Sonar Blog

Home

Blog

Sonar's latest blog posts

Featured Post

What is Clean Code?

If you’ve followed us for a while, you most likely noticed that we changed the way we describe what we do: from “code quality” to “continuous code inspection,” then “code quality and code security”… to Clean Code.


But what is Clean Code, and what does it encompass?

Read More
https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/ddb995eb-cb89-4435-82fb-1b937cdf11dc/what_is_clean_code_blog_feature.webp
https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/5c31ddcb-0f0b-45f6-9ef6-dbd445f6025a/2024_security_predictions_blog_index.webp
Blog post

2024 Security Predictions from the Sonar Research Team

Reflecting on changes in the industry over the past year, as well as the research we’ve published, the Sonar Vulnerability Research team came together and compiled our thoughts on what we foresee for cybersecurity in 2024.

Read Blog post >

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/1617c8c9-0faa-4f13-9d13-05721dd7ef2a/sonar_at_blackhat_eu_blog_index.webp
Blog post

Sonar @ Black Hat Europe!

Last week, several SonarSourcers traveled to London to attend our third Black Hat event of the year. Here's what happened!

Read article >

Get new blogs delivered directly to your inbox!

Stay up-to-date with the latest Sonar content. Subscribe now to receive the latest blog articles.

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/bf453bc7-6980-489e-9b4d-09ff939c983d/pfsense_code_vulnerabilities_blog_index.webp
Blog post

pfSense Security: Sensing Code Vulnerabilities with SonarCloud

Our Clean Code solution SonarCloud discovered multiple vulnerabilities leading to remote code execution on pfSense CE 2.7.0. Let's see how SonarCloud found them and how it can keep your code clean.

Read blog post >

 An artistic impression of nested code with a big red cross over the top right corner.
Blog post

Stop nesting ternaries in JavaScript

Nesting ternary operators makes code more complex and less clear. Let's investigate other ways to write conditional expressions.

Read article >

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/f520b31d-6cc5-4f3f-80e4-d85628182c31/costly_consequences_blog_index.webp
Blog post

Unraveling the Costs of Bad Code in Software Development

Not only does bad code cost companies millions of dollars, but countless hours of lost time, productivity, and brand reputation too. By acknowledging the existence of bad code and implementing proactive measures to mitigate its impact, developers and organizations can steer software toward success.

Read blog post >

Image of preventing secrets in code
Blog post

Sonar keeps your secrets from leaking … unlike that "trusted" friend from grade school

What are hard coded secrets? Why do you care if secrets are hidden in your code? How does Sonar help prevent secrets from getting into your code, entering your repository, and leaking out from your CI/CD pipeline? In this post, Product Manager, Alex Gigleux, answers all your questions.

Read blog post >

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/245aa8f4-4550-4f24-a8a7-304a93f3c0cd/omdia-hero-image.jpeg
Blog post

Sonar is “On the Radar”: New Omdia Report

Omdia — an analyst firm that provides decades of industry experience, world-class research and consultancy, and actionable insights in over 200 markets — has published research about Sonar, our solutions, and recent innovations of deeper SAST and zero-configuration automatic analysis for C/C++. The research digs into why Sonar should be on your radar and also takes a look at the market view as well as from a current positioning.

Read article >

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/7293f25a-1ce5-4395-931d-1e612070ba78/top_issues_in_java_projects_blog_index%20%281%29.webp
Blog Post

Top issues in Java projects

Let's dig into the projects using Java as language and see, according to what SonarLint telemetry shows, that there are still lots of issues that appear in the huge list of analyzed projects.

Read blog post >

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/c2ae785c-a6a3-410b-a598-5a4010559f0b/vs_code_security_npm_vulnerabilities_blog_index.webp
Blog post

Visual Studio Code Security: Finding New Vulnerabilities in the NPM Integration (3/3)

It's time to wrap up our series on the security of Visual Studio Code with new vulnerabilities in the NPM integration, bypassing the Workspace Trust security feature.

Read article >

SonarQube 10.3 Release Announcement Image
Blog post

SonarQube 10.3 Release Announcement

The new SonarQube 10.3 release is out now, including Secrets Detection at the Source, Clean Code Taxonomy & Clean as You Code Updates, Automate Provisioning GitHub Projects and Teams, 2023 CWE Top 25 Report, the Blazor Framework, and Stronger Security.

Read article >

https://assets-eu-01.kc-usercontent.com:443/14a55959-a51a-01d5-d7c0-1d06e516432a/ce58b847-3724-4e35-bcfa-1c2a6e17a497/vs_code_security_markdown_vulnerabilities_in_third_party_extensions_blog_index.webp
Blog post

Visual Studio Code Security: Markdown Vulnerabilities in Third-Party Extensions (2/3)

We took a look at the security of the most popular code editor, Visual Studio Code! This blog post covers vulnerabilities our researchers discovered in third-party extensions.

Read article >