• Blog
  • Docs
  • Careers
  • Get Support
  • Contact Sales
DigitalOcean
  • Browse all products

    Featured AI Products

    Managed Agents

    Run AI agents in the cloud with governed tool access

    New

    Learning Services

    Improve agents and models with evidence

    New

    Data Services

    Store, retrieve, and surface the context you need

    Inference Engine

    Run inference at scale with policy-driven routing

    Model Library

    Discover, compare, and evaluate AI models

    GPU Droplets

    GPU-powered virtual machines to build and run AI apps

    Browse all products
  • See all solutions

    AI/ML

    AI HR Knowledge Assistant

    Deploy AI tools developed for Human Resources

    AI Training GPU

    Accelerate model training with dedicated GPU infrastructure

    AI Recommendation Engine

    Build tools to personalize user experiences

    Multimodal AI

    Run models that process multiple data types

    GPU Clusters

    GPUs clustered together for large-scale tasks

    GPU Inference

    Serve models efficiently with optimized GPU compute

  • Community

    Blog

    The latest product releases and insights from our experts

    The Wave

    Content to level up your business

    Tutorials

    Our extensive library of technical articles

    Q&A

    Answers to your cloud and coding questions

    YouTube

    Educational content and tutorials

    Visit DigitalOcean's Community Site
  • Become a Partner

    About Partner Pod

    Discounts, revenue share, and more for businesses

    AI Partner Program

    Boost your AI business

    DigitalOcean Startups

    Resources and support to propel your startup

    Partners Directory

    Current list of DigitalOcean Partners

    Customer Stories

    Customers growing on DigitalOcean

    Need help? Talk to an expert
    Become a Partner
  • Pricing
  • Log in
  • Sign up
  • Log in
  • Sign up

Company

AboutLeadershipBlogCareersCustomersPartnersReferral ProgramAffiliate ProgramPressLegalPrivacy PolicySecurityBrandInvestor Relations

Products

Managed AgentsKnowledge BasesGPU DropletsBare Metal GPUsInference EngineData ServicesLearning ServicesInsightsEvaluationsModel LibraryMicroVMsDropletsKubernetesFunctionsApp PlatformLoad BalancersManaged DatabasesSpacesBlock StorageNetwork File StorageAPIUptimeSecrets ManagerCloud Security Posture Management (CSPM)Identity and Access Management (IAM)CloudwaysView all Products

Resources

Community TutorialsCommunity Q&AWrite for DOnationsCurrents ResearchDigitalOcean StartupsWavemakers ProgramCompass CouncilOpen SourceNewsletter SignupMarketplacePricingPricing CalculatorDocumentationRelease NotesCode of ConductShop Swag

Solutions

AI Training GPUGPU InferenceVPS HostingWebsite HostingVPNDocker HostingNode.js HostingWeb Mobile AppsWordPress HostingVirtual MachinesView all Solutions

Contact

SupportSalesReport AbuseSystem StatusShare your ideas
AboutLeadershipBlogCareersCustomersPartnersReferral ProgramAffiliate ProgramPressLegalPrivacy PolicySecurityBrandInvestor Relations
Managed AgentsKnowledge BasesGPU DropletsBare Metal GPUsInference EngineData ServicesLearning ServicesInsightsEvaluationsModel LibraryMicroVMsDropletsKubernetesFunctionsApp PlatformLoad BalancersManaged DatabasesSpacesBlock StorageNetwork File StorageAPIUptimeSecrets ManagerCloud Security Posture Management (CSPM)Identity and Access Management (IAM)CloudwaysView all Products
Community TutorialsCommunity Q&AWrite for DOnationsCurrents ResearchDigitalOcean StartupsWavemakers ProgramCompass CouncilOpen SourceNewsletter SignupMarketplacePricingPricing CalculatorDocumentationRelease NotesCode of ConductShop Swag
AI Training GPUGPU InferenceVPS HostingWebsite HostingVPNDocker HostingNode.js HostingWeb Mobile AppsWordPress HostingVirtual MachinesView all Solutions
SupportSalesReport AbuseSystem StatusShare your ideas

© 2026 DigitalOcean, LLC.

Sitemap
Trust & Security

How DigitalOcean Uses Semgrep to Fortify Security: A Highlight From Our Toolset

author

By Jordan Vaughn

Product Security Engineer

  • Published: October 7, 2024
  • 2 min read
<- Back to blog home

One tool DigitalOcean uses to help provide code safety and quality is Semgrep, an open-source static analysis tool. Our Product Security team, in part, adds automation and guardrails to our engineering processes to integrate security by default. Semgrep doesn’t just help us address individual vulnerabilities; it empowers us to tackle entire classes of security issues. Semgrep allows us to detect vulnerabilities across codebases using complex matching patterns, and it integrates seamlessly into our CI pipeline to create a robust security framework on every pull request.

How we use Semgrep to identify security issues

Here’s a peek into how Semgrep empowered our security efforts after a researcher alerted us to an issue. The flaw involved legacy account users and their default team configurations. In rare scenarios, our authorization systems incorrectly used the User ID as the Team ID. This inaccuracy allowed users who had left a team to still access resources intended for that team. The researcher also identified a separate issue where certain endpoints related to the Biller user role were not enforcing function-level authorization properly.

The complexity of the underlying business logic made uncovering and addressing these issues more difficult than a simple search-and-replace in our codebase. Through labor-intensive manual analysis, we identified a cohort of affected endpoints that needed to be fixed. However, we thought there was more out there that we couldn’t find. We codified the issue into a Semgrep rule and leveraged Semgrep to conduct a thorough audit, which resulted in a large addition to our affected endpoints. We also integrated this rule into our CI pipelines, thus preventing similar issues from making their way into production in the future. The result of hours of manual analysis was surpassed by several minutes of rule creation.

In addition to its pattern-matching capabilities, we also found a lot of value in Semgrep’s ability to enhance developer workflows. When Semgrep identifies a vulnerability, it can provide enriched metadata, including custom auto-fix logic and links to detailed internal explanations of the vulnerabilities or desired remediation actions. This helps developers quickly understand and address issues within their code, reinforcing our commitment to maintaining a secure environment.

By integrating Semgrep into our security practices, DigitalOcean is better equipped to handle code security issues proactively and ensure robust protection for your data. Learn more about DigitalOcean’s security processes on our Blog or Security webpage. If you believe you have identified a security issue in DigitalOcean’s products, please report it via our bug bounty program.

About the author

Jordan Vaughn
Jordan Vaughn
Author
Product Security Engineer
See author profile
See author profile

Share

  • Trust Security

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
Sign up

Related Articles

How DigitalOcean is Preparing for Post-Quantum Cryptography
Trust & Security

How DigitalOcean is Preparing for Post-Quantum Cryptography

Tyler Healy
  • December 3, 2026
  • 2 min read

Read more

Virtualization, Responsible Disclosure, and CVE-2026-99312

Virtualization, Responsible Disclosure, and CVE-2026-99312

Tyler Healy
  • November 19, 2026
  • 3 min read

Read more

Critical PHP RCE Vulnerabilities: Patch Now (CVE-2026-109618, CVE-2026-109619)
Trust & Security

Critical PHP RCE Vulnerabilities: Patch Now (CVE-2026-109618, CVE-2026-109619)

Tim Lisko
  • October 21, 2026
  • 10 min read

Read more