Add focused integration coverage for AI, graph, and fingerprint wiring paths#9
Merged
Conversation
Agent-Logs-Url: https://github.com/webxxz/ssrf-detector/sessions/42ee21e0-37d0-49d5-bc50-083ddc7afee4 Co-authored-by: webxxz <166613223+webxxz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/webxxz/ssrf-detector/sessions/42ee21e0-37d0-49d5-bc50-083ddc7afee4 Co-authored-by: webxxz <166613223+webxxz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/webxxz/ssrf-detector/sessions/a8bf41ee-2dd6-4d9d-87fa-a7e098496b15 Co-authored-by: webxxz <166613223+webxxz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/webxxz/ssrf-detector/sessions/a8bf41ee-2dd6-4d9d-87fa-a7e098496b15 Co-authored-by: webxxz <166613223+webxxz@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
webxxz
April 11, 2026 06:20
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds focused integration-style tests for the V2 wiring introduced across AI payload/reporting, SSRF graph traversal, and service fingerprint enrichment. The goal is to lock in cross-module behavior at integration boundaries, especially fallback and escalation paths.
Payload generation + AI fallback
internal/payloads/generator_ai_test.go.ai_mutationpayloads emitted when AI is unavailable).Chain enrichment from service fingerprinting
internal/chain/portmap_fingerprint_test.go.MapInternalNetworkWithFingerprintwith a synthetic open Redis target.Graph build/traversal attack-path wiring
internal/graph/wiring_test.go.BuildGraphemits expected graph structure andFindAttackPathsreturns a high-impact RCE path.Report rendering AI fallback
internal/report/platforms_ai_fallback_test.go.Small maintainability cleanups in touched code