fix: Security Hardening - #448
Open
ravisoundar wants to merge 10 commits into
Open
Conversation
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Collaborator
Author
|
/ok-to-test cbcab89 |
ravisoundar
marked this pull request as ready for review
August 4, 2026 01:22
Contributor
Greptile SummaryThis PR hardens request processing and topology generation against fuzz-discovered crashes, denial-of-service inputs, and unsafe filesystem access.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant Server
participant Queue
participant Provider
participant Translator
participant Filesystem
Client->>Server: POST /v1/generate
Server->>Server: Validate request and output path
Server->>Queue: Submit validated request
Queue->>Provider: Generate topology data
Provider-->>Queue: Bounded, validated graph
Queue->>Translator: Render topology
Translator->>Translator: Bound expansion and skip cycles
Translator->>Filesystem: Write only to allowed destination
Queue-->>Client: Result or controlled HTTP error
Reviews (4): Last reviewed commit: "incorporate greptile review comments" | Re-trigger Greptile |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #448 +/- ##
==========================================
+ Coverage 72.15% 76.05% +3.89%
==========================================
Files 89 95 +6
Lines 5689 6745 +1056
==========================================
+ Hits 4105 5130 +1025
+ Misses 1382 1346 -36
- Partials 202 269 +67 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
ravisoundar
force-pushed
the
rs-sec-fixes
branch
from
August 4, 2026 03:04
5095801 to
a803b60
Compare
Collaborator
Author
|
/ok-to-test a803b60 |
Contributor
|
🌿 Preview your docs: https://nvidia-preview-pull-request-448.docs.buildwithfern.com/topograph |
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.
Description
Fixes the security vulnerability issues reported through the autonomous fuzzing campaign.
ARB 6385019: [PSIRT-Fuzz] Unauthenticated POST /v1/generate with provider=test + engine=slurm and a modelFileName whose…
ARB 6385048: [PSIRT-Fuzz] An unauthenticated POST to the topograph API server (/v1/generate or /v1/lookup) with…
ARB 6385121: [PSIRT-Fuzz] Unauthenticated POST /v1/generate (provider=test, engine=slurm, plugin=topology/block) with a…
ARB 6385310: [PSIRT-Fuzz] The InfiniBand provider parses ibnetdiscover/pdsh command output with an unchecked…
ARB 6385450: [PSIRT-Fuzz] parseNetq in the NetQ provider dereferences nodeMap[up] without a nil check (netq.go:207) when…
ARB 6385488: [PSIRT-Fuzz] Unauthenticated POST /v1/generate selecting the production-registered "test" provider passes…
ARB 6385529: [PSIRT-Fuzz] topograph translate tree walkers have no visited set; ID=child-key self-edge -> infinite-loop DoS
ARB 6385613: [PSIRT-Fuzz] Unauthenticated POST /v1/generate writes a file to an attacker-chosen arbitrary path: the…
ARB 6399661: [PSIRT-Fuzz] topograph gcp-sim provider: index-out-of-range panic on switchless model node (NetLayers OOB)
Checklist
git commit -s).