3.1 KiB
3.1 KiB
Dataflow-Aware Diffs (Entrypoint-to-Sink Reachability)
Module
Scanner
Status
IMPLEMENTED
Description
Semantic entrypoint orchestrator with dataflow boundary analysis, data boundary mapping, and service security dataflow analyzer for entrypoint-to-sink reachability.
Implementation Details
- Semantic Entrypoint Orchestrator:
src/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/SemanticEntrypointOrchestrator.cs- Orchestrates semantic entrypoint analysis across languagessrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/ISemanticEntrypointAnalyzer.cs- Interface for semantic analysissrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/SemanticEntryTraceAnalyzer.cs- Trace analyzer for dataflowsrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/SemanticEntrypoint.cs- Entrypoint model
- Data Boundary Analysis:
src/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Analysis/DataBoundaryMapper.cs- Maps data flow boundariessrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/DataFlowBoundary.cs- Data flow boundary model
- Capability & Threat Detection:
src/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Analysis/CapabilityDetector.cs- Detects capabilities (network, file, crypto, etc.)src/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Analysis/ThreatVectorInferrer.cs- Infers threat vectors from entrypoint-to-sink pathssrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/CapabilityClass.cs- Capability class modelsrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/ThreatVector.cs- Threat vector modelsrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/ApplicationIntent.cs- Application intent modelsrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/SemanticConfidence.cs- Confidence scoring
- Language Adapters:
src/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Adapters/DotNetSemanticAdapter.cssrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Adapters/JavaSemanticAdapter.cssrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Adapters/NodeSemanticAdapter.cssrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Adapters/PythonSemanticAdapter.cssrc/Scanner/__Libraries/StellaOps.Scanner.EntryTrace/Semantic/Adapters/GoSemanticAdapter.cs
- Service Security:
src/Scanner/__Libraries/StellaOps.Scanner.ServiceSecurity/- Service-level dataflow security analysis
E2E Test Plan
- Scan a container image with a web application and verify entrypoint-to-sink dataflow paths are detected
- Verify
DataBoundaryMapperidentifies data flow boundaries (e.g., user input -> database, network -> filesystem) - Verify
CapabilityDetectoridentifies application capabilities (network access, file I/O, crypto usage) - Verify
ThreatVectorInferrerinfers threat vectors from detected dataflow paths - Verify language-specific semantic adapters work for .NET, Java, Node.js, Python, and Go applications
- Verify dataflow-aware diff results appear in the scan report