erik-krogh
|
26c5480ee6
|
share {js,rb}/regex/missing-regexp-anchor
|
2022-12-18 17:23:41 +01:00 |
|
erik-krogh
|
355499ea52
|
move getACommonTld to the shared pack
|
2022-12-17 17:26:18 +01:00 |
|
erik-krogh
|
f67d0bc8c0
|
put the shared HostnameRegexp code in the shared regex pack
|
2022-12-17 17:26:18 +01:00 |
|
Tom Hvitved
|
5d9c64ba6f
|
Ruby: Model flow through initialize constructors
|
2022-12-14 12:57:39 +01:00 |
|
erik-krogh
|
d95a4a7baf
|
add a second example of how to use module_eval without constructing a code-string
|
2022-12-13 19:33:45 +01:00 |
|
erik-krogh
|
ccf520a5cd
|
Merge branch 'main' into unsafeCodeConstruction
|
2022-12-13 18:31:49 +01:00 |
|
erik-krogh
|
e0045d2736
|
filter out string literals from the taint-sink meta query
|
2022-12-12 21:44:24 +01:00 |
|
erik-krogh
|
5849b2c98a
|
drive-by: simplify the imports in PathInjection.ql
|
2022-12-06 14:09:39 +01:00 |
|
erik-krogh
|
7dcb813ff3
|
remove two more claseses of FPs in rb/non-constant-kernel-open
|
2022-11-29 12:49:23 +01:00 |
|
Peter Stöckli
|
6b1865d2ca
|
Merge branch 'main' into p--ruby-kernel-open-addition
|
2022-11-29 10:19:36 +01:00 |
|
Peter Stöckli
|
5b6dd786c3
|
Add changes for NonConstantKernelOpenQuery
|
2022-11-29 10:00:57 +01:00 |
|
Peter Stöckli
|
315480824b
|
Fix KernelOpen qhelp
|
2022-11-29 10:00:57 +01:00 |
|
Peter Stöckli
|
d8752a0b12
|
Add additional sinks to the rb/kernel-open query
|
2022-11-29 10:00:56 +01:00 |
|
Nick Rolfe
|
8a94cabdbf
|
Merge pull request #11250 from github/nickrolfe/stack-trace-exposure
Ruby: add stack-trace exposure query
|
2022-11-28 10:45:59 +00:00 |
|
erik-krogh
|
f1668801d3
|
add a rb/unsafe-code-construction query
rebase
|
2022-11-25 10:25:30 +01:00 |
|
Nick Rolfe
|
1c407a28cd
|
Apply suggestions from code review
Co-authored-by: Harry Maclean <hmac@github.com>
|
2022-11-24 14:02:32 +00:00 |
|
erik-krogh
|
2ad28ab4db
|
add library inputs as a source to poly-redos
|
2022-11-22 13:05:34 +01:00 |
|
erik-krogh
|
10fff4e2ef
|
Merge branch 'main' into rb-redosMod
|
2022-11-14 21:31:10 +01:00 |
|
Nick Rolfe
|
b39e2ef71c
|
Ruby: add stacktrace exposure query
|
2022-11-14 12:26:40 +00:00 |
|
Nick Rolfe
|
4a98ef064e
|
Ruby: use the 'customizations' pattern for the SQL injection query
|
2022-11-10 11:51:47 +00:00 |
|
Asger F
|
859dc7beb7
|
Merge pull request #11024 from asgerf/rb/data-flow-layer-capture2
Ruby: expand DataFlow API
|
2022-11-09 15:06:03 +01:00 |
|
Erik Krogh Kristensen
|
c82410fd16
|
Merge pull request #10680 from erik-krogh/unsafeRbCmd
RB: add an unsafe-shell-command-construction query
|
2022-11-08 09:22:33 +01:00 |
|
Erik Krogh Kristensen
|
3f871a08e2
|
apply suggestions from doc review
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
|
2022-11-07 16:29:10 +01:00 |
|
erik-krogh
|
40e4359173
|
port the Ruby regex/redos queries to use the shared pack
|
2022-11-07 14:34:18 +01:00 |
|
Arthur Baars
|
98f4c29913
|
Ruby: weak crypto: do not report weak hash algorithms
Weak hash algorithms such as MD5 and SHA1 are often
used in non security sensitive contexts and reporting
all uses is far too noisy.
|
2022-11-04 15:58:50 +01:00 |
|
Henry Mercer
|
dd264c6dfb
|
Consistently mention language in metric names
This improves consistency between the lines of code queries and the
number of successfully extracted files queries.
|
2022-11-03 11:44:10 +00:00 |
|
Henry Mercer
|
c60d071239
|
Lowercase "lines"
|
2022-11-03 11:40:22 +00:00 |
|
Asger F
|
436cc60138
|
Ruby: update some uses of getConstantValue()
|
2022-10-28 15:16:14 +02:00 |
|
erik-krogh
|
e8dce25cc2
|
fix rb/code-injection
|
2022-10-25 14:44:23 +02:00 |
|
erik-krogh
|
7797211118
|
Merge branch 'main' into unsafeRbCmd
|
2022-10-20 10:34:17 +02:00 |
|
erik-krogh
|
3dd89bb7bf
|
remove duplicate alerts due to multiple states reaching the same sink
|
2022-10-19 13:19:18 +02:00 |
|
Alex Ford
|
3baad89e57
|
Merge remote-tracking branch 'origin/main' into rb/sensitive-get-query
|
2022-10-14 10:50:09 +01:00 |
|
Erik Krogh Kristensen
|
332bc35ff1
|
Merge pull request #10708 from erik-krogh/kernelSink
RB: add a query flagging uses of `Kernel.open()` that are not with a constant string
|
2022-10-14 09:13:26 +02:00 |
|
Alex Ford
|
3d478a3951
|
Ruby: clarify qhelp
|
2022-10-13 22:39:54 +01:00 |
|
Alex Ford
|
15cab6eed5
|
Update ruby/ql/src/queries/security/cwe-598/SensitiveGetQuery.qhelp
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2022-10-13 21:43:59 +01:00 |
|
Jeroen Ketema
|
d389a183f0
|
Merge pull request #10743 from jsoref/spelling
Spelling
|
2022-10-12 12:48:22 +02:00 |
|
erik-krogh
|
d427e55507
|
add qhelp
|
2022-10-11 13:26:03 +02:00 |
|
erik-krogh
|
557dd10896
|
add a rb/unsafe-shell-command-construction query
|
2022-10-11 13:26:01 +02:00 |
|
Erik Krogh Kristensen
|
7d282c3d75
|
fix casing in alert-message
Co-authored-by: Arthur Baars <aibaars@github.com>
|
2022-10-11 11:12:59 +02:00 |
|
erik-krogh
|
9a9d2a6fe1
|
Merge branch 'main' into rb-last-msg
|
2022-10-11 10:43:39 +02:00 |
|
erik-krogh
|
de3b15ebe9
|
add a query flagging uses of Kernel.open that are not with a constant string
|
2022-10-11 09:23:29 +02:00 |
|
Josh Soref
|
cbea5ec40c
|
spelling: executables
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
|
2022-10-11 00:23:36 -04:00 |
|
Josh Soref
|
6db36616cd
|
spelling: arbitrary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
|
2022-10-11 00:23:35 -04:00 |
|
erik-krogh
|
38c17c5d0c
|
Merge branch 'main' into rbMeta
|
2022-10-10 12:22:56 +02:00 |
|
Alex Ford
|
43fec9dfc8
|
Revert "Ruby: switch rb/sensitive-get-query back to using local flow"
This reverts commit fa58c51810.
|
2022-10-09 13:06:13 +01:00 |
|
Alex Ford
|
139d3868e5
|
Merge branch 'main' into rb/sensitive-get-query
|
2022-10-09 12:26:44 +01:00 |
|
erik-krogh
|
5d9c68c962
|
remove the taint-steps meta query
|
2022-10-07 13:21:24 +02:00 |
|
erik-krogh
|
a0725fba71
|
fix some more style-guide violations in the alert-messages
|
2022-10-07 12:01:03 +02:00 |
|
erik-krogh
|
c1fae91a1f
|
have rb/meta/taint-steps print only one for each file, to limit the size of the output
|
2022-10-06 15:19:11 +02:00 |
|
erik-krogh
|
169965cfb9
|
make rb/meta/taint-steps into a @kind problem query
|
2022-10-06 13:28:10 +02:00 |
|