jf scan throws "sca graph scan" error when scanning generic JAR
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Reproduce the failure with jf scan "json.jar" and with --sca --without-contextual-analysis, then trace the CLI security scan path that submits the SCA graph request. Done means a generic JAR with no dependency metadata completes without the nodes validation error, while normal scans continue to work.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When running jf scan and providing JAR files containing class files + MANIFEST.MF but no other dependency, maven, or other project information, xray throws an error even when not requesting to run an SCA scan.
14:06:35 [🚨Error] target 'json.jar [unknown]' errors:
sca scanning 'generic://sha256:d7c7b242bbe4e16743cefeff8effa1bc685a0eb6a4d8a0d575de55d79270dfc0/json.jar' failed with error: server response: 400 Bad Request
"sca graph scan request is not valid: the field 'nodes' is required"
Current behavior
2026-10-02T14:27:21.437Z [jfxia] [DEBUG] [] [archive_mgr:732 ] [UnnamedContext ] No classification found for json.jar, classified as generic [flow_origin][cli_indexer_app]
2026-10-02T14:27:21.437Z [jfxia] [DEBUG] [] [archive_mgr:738 ] [UnnamedContext ] json.jar was classified as Generic [flow_origin][cli_indexer_app]
2026-10-02T14:27:21.437Z [jfxia] [DEBUG] [] [utils:442 ] [UnnamedContext ] total running time for indexing tree construction of json.jar: 9.3747e-05 seconds [flow_origin][cli_indexer_app]
2026-10-02T14:27:21.437Z [jfxia] [INFO ] [] [archive_mgr:356 ] [UnnamedContext ] finished walking artifact files: artifact:/json.jar, sha256:d7c7b242bbe4e16743cefeff8effa1bc685a0eb6a4d8a0d575de55d79270dfc0, filteredOut:0, inspected:26, archivesOpened:0, archivesNotOpened:0 [flow_origin][cli_indexer_app]
2026-10-02T14:27:21.437Z [jfxia] [DEBUG] [] [utils:442 ] [UnnamedContext ] total running time for indexing json.jar: 0.00163604 seconds [flow_origin][cli_indexer_app]
2026-10-02T14:27:21.689Z [jfxia] [DEBUG] [] [refiner:259 ] [UnnamedContext ] returned from external 0 comps [flow_origin][cli_indexer_app]
14:27:21 [Debug] Sending HTTP POST request to: https://XXX.jfrog.io/xray/api/v1/xsc/sca/scan/graph?multi_scan_id=XXX&scan_type=binary
14:27:21 [Debug] Sending HTTP PUT request to: https://XXX.jfrog.io/xray/api/v1/xsc/event
14:27:22 [Debug] Command event:
{{0 failed 0 0 false 6.919976092s } XXX [] }
14:27:22 [🔵Info] Trace ID for JFrog Platform logs: XXX
14:27:22 [🚨Error] target 'json.jar [unknown]' errors:
sca scanning 'generic://sha256:d7c7b242bbe4e16743cefeff8effa1bc685a0eb6a4d8a0d575de55d79270dfc0/json.jar' failed with error: server response: 400 Bad Request
"sca graph scan request is not valid: the field 'nodes' is required"
Reproduction steps
The same results with:
jf scan "json.jar"
and
jf scan "json.jar" --sca --without-contextual-analysis
Expected behavior
As the JAR is generic and does not appear to match any vulnerabilities, the scan should continue without error
JFrog CLI-Security version
3.999.999
JFrog CLI version (if applicable)
2.125.0
Operating system type and version
RHEL 8.10
JFrog Xray version
3.154.11
- Lingua principale
- Go
- Stelle
- 13
- Fork
- 52
- Merge medio
- 2g 11h
- PR unite (30g)
- 22
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jfrog/jfrog-cli-security
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
jfrog/jfrog-cli-security#904 ·
I maintainer di solito rispondono entro 2 giorni
-
feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
jfrog/jfrog-cli-security#893 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
jfrog/jfrog-cli-security#871 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
jfrog/jfrog-cli-security#817 ·
I maintainer di solito rispondono entro 2 giorni
-
feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
jfrog/jfrog-cli-security#824 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di jfrog/jfrog-cli-security
Issue simili
-
[Bug]: ap gateway image build cannot find local policies on WindowsForse già presa @Jayzilva l’ha presa oggi. ApertaAspect/Configuration Severity/Major
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
wso2/api-platform#3912 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
keyxmakerx/Chronicle#1721 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Gentleman-Programming/gentle-ai#5720 ·
I maintainer di solito rispondono entro 1 giorno
-
compress: block buffers get re-zeroed on every call, and the zeroing is immediately overwrittenAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ClickHouse/ch-go#1218 ·
I maintainer di solito rispondono entro 13 giorni