feat(vuln): Add Quantum package analyzer for DataRobot native C/C++ libraries#14
Draft
feat(vuln): Add Quantum package analyzer for DataRobot native C/C++ libraries#14
Conversation
Co-authored-by: elatt <2617872+elatt@users.noreply.github.com>
Co-authored-by: elatt <2617872+elatt@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Quantum Package Analyzer for DataRobot Native Libraries
Add Quantum package analyzer for DataRobot native C/C++ libraries
Dec 19, 2025
Member
|
@sviatsh I have no clue if the AI didn't just hallucinate all of this but if not, it could be a starting point. And since you know quantum much more than me, you can probably fine tune the prompts. |
Co-authored-by: elatt <2617872+elatt@users.noreply.github.com>
Author
Those files were accidentally modified when running |
Copilot
AI
changed the title
feat(vuln): Add Quantum package analyzer for DataRobot native C/C++ libraries
Add Quantum package analyzer for DataRobot native C/C++ libraries
Dec 19, 2025
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
Trivy now detects DataRobot Quantum packages - native C/C++ libraries (curl, openssl, libpng, etc.) packaged as Python wheels via quantum-builders. These were previously invisible to vulnerability scanning despite being system-level dependencies.
Implementation
Parser (
pkg/dependency/parser/python/quantum/): Extracts canonical package names from upstream URLs inquantum.spec.jsonfileshttps://curl.se/download/curl-7.88.1.tar.gz→ packagecurl@7.88.1library_namefield if URL parsing fails.postN+drsuffix) for CVE matchingAnalyzer (
pkg/fanal/analyzer/language/python/quantum/): Detects.dist-info/quantum.spec.jsonfiles created by quantum-builders'stamp_env()Vulnerability mapping: Routes to Conan ecosystem (GitLab Advisory DB, NVD) for C/C++ package CVE detection
Type system: Added
QuantumLangType andTypeQuantumPkganalyzer constantsExample quantum.spec.json structure
{ "name": "quantum-native-curl", "library_name": "curl", "version": "7.88.1", "fullversion": "7.88.1.post5+dr", "upstream": "https://curl.se/download/curl-7.88.1.tar.gz", "license": "MIT" }Fixes
Related issues
Related PRs
Checklist
Original prompt
This pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.