Runtime Correlation with Code (SAST)
App runtime feeds runtime exploit data back to Code, turning static analysis findings from theoretical risk into actionable intelligence. Vulnerabilities confirmed as actively exploited get escalated. Vulnerabilities confirmed as unreachable get deprioritized.
The Problem with Static Findings Alone
Static analysis (SAST) scans your source code and identifies potential vulnerabilities. This is essential work. But a report with 200 findings does not tell you which ones are actually being exploited right now in production.
Without runtime context, security teams are forced to prioritize by CVSS score and guesswork. A medium-severity SQL injection on line 847 might be the most critical finding in your codebase if attackers are actively targeting it. Or it might be buried in a code path no request ever reaches.
The gap between "this code is vulnerable" and "this vulnerability is being exploited" is where App runtime and Code connect.
How It Works
When both App runtime and Code are active on the same project, they share data bidirectionally through the ByteHide platform.
Escalation: Theoretical to Actively Exploited
- Code flags a vulnerability in your codebase (for example, a SQL injection in an API endpoint)
- Code assigns it a severity based on static analysis: medium
- App runtime detects a SQL injection attempt targeting that same endpoint in production
- App runtime reports the incident with full context: payload, source IP, method, confidence score
- Code receives the runtime signal and reprioritizes the finding to critical, because it is no longer theoretical
The vulnerability now shows a "Runtime Confirmed" indicator in the Code dashboard, with a direct link to the App runtime incident that validated it.
De-escalation: Flagged but Unreachable
The loop works in the other direction too:
- Code flags a vulnerability in an endpoint
- App runtime has runtime visibility into how that endpoint is accessed
- App runtime confirms the endpoint is internal, behind authentication, or unreachable from the outside
- Code receives the runtime context and adjusts the priority downward
Your team stops spending time on vulnerabilities that cannot be exploited in the real deployment environment.
What You See in the Dashboard
In Code
Findings enriched with runtime data display additional context:
- Runtime Status: Whether App runtime has observed exploit attempts against this vulnerability
- Last Exploit Attempt: Timestamp of the most recent attack targeting this finding
- Attack Frequency: How often this vulnerability is being targeted
- Reachability: Whether App runtime confirms the vulnerable code path is reachable from external traffic
In App runtime
Incidents that match a Code finding display:
- Linked Vulnerability: Direct link to the corresponding Code finding with CWE/CVE reference
- Code Location: The exact file and line Code identified, alongside the runtime execution context App runtime captured
Impact on Prioritization
Without runtime correlation:
| Finding | CVSS | Priority |
|---|---|---|
SQL Injection in /api/users | 8.6 | High |
XSS in /admin/reports | 6.1 | Medium |
Path Traversal in /api/files | 7.5 | High |
SSRF in /internal/webhook | 9.1 | Critical |
With runtime correlation from App runtime:
| Finding | CVSS | Runtime Signal | Adjusted Priority |
|---|---|---|---|
SQL Injection in /api/users | 8.6 | 47 exploit attempts this week | Critical (actively exploited) |
XSS in /admin/reports | 6.1 | No attempts observed | Medium (unchanged) |
Path Traversal in /api/files | 7.5 | Endpoint is internal only | Low (unreachable) |
SSRF in /internal/webhook | 9.1 | Endpoint is internal only | Medium (unreachable, deprioritized) |
The SSRF finding had the highest CVSS score, but runtime data shows it is on an internal endpoint that external traffic never reaches. The SQL injection had a lower score, but it is actively under attack. Without App runtime, your team would fix the SSRF first. With App runtime, they fix the SQL injection first.
Setup
Runtime correlation is automatic when both products are active:
- Set up a Code project and connect your repository
- Set up App runtime on the same application
- Both products share data through the ByteHide platform automatically
No additional configuration is needed. When App runtime detects an attack that matches a Code finding, the correlation appears in both dashboards.
Related
ByteHide Code
Static analysis with SAST, SCA, and Secret Detection
SAST Overview
How Code's static analysis engine identifies vulnerabilities
SAST Triage and Remediation
Prioritizing and resolving findings in Code
Protection Modules
All App runtime protection modules that generate runtime signals