惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园_首页
宝玉的分享
宝玉的分享
S
SegmentFault 最新的问题
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
美团技术团队
IT之家
IT之家
罗磊的独立博客
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
月光博客
月光博客
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
博客园 - 叶小钗
M
MIT News - Artificial intelligence
B
Blog RSS Feed
有赞技术团队
有赞技术团队
Y
Y Combinator Blog

Sysdig Blog

Masterclass: AI is more than ChatGPT and LLMs CVE-2026-39987 update: How attackers weaponized marimo to deploy a blockchain botnet via HuggingFace Kubernetes 1.36 - New security features 5 steps to securing AI workloads Marimo OSS Python Notebook RCE: From Disclosure to Exploitation in Under 10 Hours Security briefing: March 2026 The Sysdig MCP server is now available in AWS Marketplace Risk isn’t reduced until you take action: How teams resolve issues in the cloud AI infrastructure security: Why it deserves its own category Three pillars for building effective runtime-powered cloud defense, the right way Closing the cloud security gap with runtime security Seeing risk isn’t stopping it: Why visibility alone isn’t enough TeamPCP expands: Supply chain compromise spreads from Trivy to Checkmarx GitHub Actions AI coding agents are running on your machines — Do you know what they're doing? Runtime security for AI coding agents: Protecting AI-assisted development How runtime insights power every cloud security use case CVE-2026-33017: How attackers compromised Langflow AI pipelines in 20 hours Inline Cloud Response: Accelerating AWS threat containment for SOC teams Runtime malware detection for AWS Fargate Detecting CVE-2026-3288 & CVE-2026-24512: Ingress-nginx configuration injection vulnerabilities for Kubernetes Malware detection with Sysdig Security briefing: February 2026 Leveling up Kubernetes Posture: From baselines to risk-aware admission Eliminating runtime blind spots: How CleanStart and Sysdig build continuous trust across the container lifecycle LLMjacking: From Emerging Threat to Black Market Reality Real risks live at runtime: Why CISOs must care about deep telemetry in 2026 Sysdig named a Leader in the Forrester Wave™: Cloud Native Application Protection Solutions, Q1 2026 How to run rootless containers AI-assisted cloud intrusion achieves admin access in 8 minutes Security briefing: January 2026
Connecting runtime to source: Sysdig and Semgrep integration
2025-07-29 · via Sysdig Blog

In today’s complex cloud environments and mounting pressure, the last thing security teams need is a dead end. Yet, that’s often what a critical runtime finding becomes. We’ve all been there: you see a vulnerability actively running in production, but the trail goes cold. Where did it come from? Which team owns it? How do we implement the fix?

At Sysdig, we know that identifying an active vulnerability is only half the battle. That’s why our partnership with Semgrep is so important. We’re not just connecting two tools; we’re connecting the two most critical points in the security lifecycle: the moment a vulnerability is detected at runtime and the exact line of code where it was born.

Bridging runtime and source context

For too long, runtime security and static analysis have operated in separate universes. Sysdig’s runtime threat detection, powered by Falco, provides unparalleled runtime context: process activity, network connections, and file system interactions within live containers. Meanwhile, Semgrep provides the source context: the repositories, dependency manifests, and code ownership that represent the ground truth for your developers.

The problem has always been the manual correlation required to bridge them. A security engineer gets a finding from Sysdig about a critical in-use vulnerability in a production pod but then has to manually hunt for the source repository. A developer gets a software composition analysis (SCA) finding from Semgrep but has no data to determine if it's a theoretical risk or a five-alarm fire in production.

This integration replaces that manual hunt with a dynamic, automated data enrichment process.

Anatomy of an enriched finding: The data flow

When a Sysdig finding is generated, a precise, automated workflow is triggered to fuse runtime and source context.

  1. Runtime Detection: Sysdig detects a vulnerable package being used by a running process inside a container. This generates a detailed runtime finding, for example,  including the image ID, package name (log4j-core), and version (2.14.1).
  2. Metadata Extraction: As part of its standard data collection, Sysdig has already collected the container image's metadata, including the OCI labels for the source repository and commit SHA.
  3. The Enrichment: Sysdig uses this extracted source information to match data to the Semgrep platform. The query essentially asks: "For the repository github.com/my-org/my-app at commit a1b2c3d, what do you know about the package log4j-core?"
  4. Source Context Retrieval: Because Semgrep has already scanned this, it has the required data indexed. It instantly returns a payload containing the precise location of the vulnerable dependency (e.g., pom.xml, line 52) and the remediation advice (e.g., "Upgrade to version 2.17.1").
  5. Unified Finding: Sysdig merges this Semgrep payload into its original runtime finding. The security engineer now sees a single, actionable view in the Sysdig Secure UI, containing both the "what" and the "where." Whilst within Semgrep, can see this vulnerability with the runtime context.

It’s a direct, programmatic path from a runtime event to a source code location.

How it works: Building the metadata bridge

The bridge between runtime and source isn't magic - it's built on a simple and powerful DevOps best practice that you enable in your CI/CD pipeline: embedding metadata directly into the container image. This one-time setup creates a durable link that travels with your application from source to production.

This is done using standard Open Container Initiative (OCI) labels. By adding these key-value pairs, you create the permanent breadcrumb trail that connects a running workload back to its origin. This is a robust, non-proprietary mechanism. For this integration, two labels are most important:

  • org.opencontainers.image.source: The URL of the source code repository.
  • org.opencontainers.image.revision: The specific commit hash (SHA) from which the image was built.

Implementing this is a straightforward modification to your image build step in any CI/CD system. 

Once an image built this way is deployed, Sysdig automatically discovers these labels. The embedded repository and commit information now serve as the exact coordinates for matching the data to Semgrep, closing the loop.

The result: A single, actionable view

This integration fundamentally changes the nature of a security finding. Instead of a simple notification, teams get a comprehensive remediation ticket in a single view.

By building a seamless technical bridge between runtime and source code, Sysdig and Semgrep are giving teams a unified signal. This allows security operations to reduce alert fatigue and focus on high-impact threats, while developers receive the precise, actionable data needed to reduce Mean Time to Remediation (MTTR). We’re empowering you to move from security bottlenecks to secure velocity, finally delivering on the promise of DevSecOps