File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
go/ql/test/query-tests/Security/CWE-078 Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ #select
2+ | StoredCommand.go:14:22:14:28 | cmdName | StoredCommand.go:11:2:11:27 | ... := ...[0] | StoredCommand.go:14:22:14:28 | cmdName | This command depends on a $@. | StoredCommand.go:11:2:11:27 | ... := ...[0] | stored value |
13edges
24| StoredCommand.go:11:2:11:27 | ... := ...[0] | StoredCommand.go:13:2:13:5 | rows | provenance | |
35| StoredCommand.go:13:2:13:5 | rows | StoredCommand.go:13:12:13:19 | &... | provenance | FunctionModel |
46| StoredCommand.go:13:12:13:19 | &... | StoredCommand.go:13:12:13:19 | &... | provenance | |
5- | StoredCommand.go:13:12:13:19 | &... | StoredCommand.go:14:22:14:28 | cmdName | provenance | Sink:MaD:1305 |
7+ | StoredCommand.go:13:12:13:19 | &... | StoredCommand.go:14:22:14:28 | cmdName | provenance | Sink:MaD:1 |
8+ models
9+ | 1 | Sink: os/exec; ; false; Command; ; ; Argument[0]; command-injection; manual |
610nodes
711| StoredCommand.go:11:2:11:27 | ... := ...[0] | semmle.label | ... := ...[0] |
812| StoredCommand.go:13:2:13:5 | rows | semmle.label | rows |
913| StoredCommand.go:13:12:13:19 | &... | semmle.label | &... |
1014| StoredCommand.go:14:22:14:28 | cmdName | semmle.label | cmdName |
1115subpaths
12- #select
13- | StoredCommand.go:14:22:14:28 | cmdName | StoredCommand.go:11:2:11:27 | ... := ...[0] | StoredCommand.go:14:22:14:28 | cmdName | This command depends on a $@. | StoredCommand.go:11:2:11:27 | ... := ...[0] | stored value |
Original file line number Diff line number Diff line change 1- Security/CWE-078/StoredCommand.ql
1+ query: Security/CWE-078/StoredCommand.ql
2+ postprocess: TestUtilities/PrettyPrintModels.ql
You can’t perform that action at this time.
0 commit comments