Rasmus Wriedt Larsen
cf1cbb2e14
DO NOT MERGE: Add meta queries to security extended for QA
2023-11-13 13:56:34 +01:00
Rasmus Wriedt Larsen
e4a6f8a719
Revert "NEVER MERGE: Ensure we don't use site-packages stuff"
...
This reverts commit 76f6adde5121d6d0740b419e08c083d48e887d2f.
2023-11-13 13:56:03 +01:00
Rasmus Wriedt Larsen
aa0de781cd
Python: auto subclass capture
2023-11-13 13:56:03 +01:00
Rasmus Wriedt Larsen
c4c8ab3363
Python: auto subclass capture
2023-11-13 13:56:03 +01:00
Rasmus Wriedt Larsen
d8679d4af3
Python: auto subclass capture
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
b00eb625a4
Python: auto subclass capture
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
83f6460fc0
NEVER MERGE: Ensure we don't use site-packages stuff
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
e1b808ceb4
Python: Don't include docs/ folder
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
ff06643538
Python: Disallow invalid path component
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
bf7af7876c
Python: Disallow examples
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
a20f06f8e0
Python: Use separate directory for subclass capture models
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
7a224f85b2
Python: Ignore any captured info with tests in it
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
2d3aca7e69
Python: Allow single file processing
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
0496e6fae1
Python: Remove suspicious packages
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
3c919ea7dd
Python: Allow any .bqrs file
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
6ddc2596fc
SubclassFinder: don't include site-packages
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
8dfc3e5679
Remove old auto-modeling
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
addcd12107
Python: auto model
2023-11-13 13:56:02 +01:00
Rasmus Wriedt Larsen
6425a810ad
Python: auto model
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
954e8f9ecb
Python: Revert manual pickle modeling
...
This reverts commit 62910f0cab525ca4d4901c4c27f6e6b22c3375fc.
This reverts commit 75a8197879ec47094d9b18f3dab7bcc1c1cdba28.
We don't find `kombu.serialization.pickle_load` since we respect
`__all__`. I think that was an attempt to not flood the captured
modeling with useless re-exports, but I think we've ended up doing that
anyway... we should consider to remove that restriction!
see 21d7df29c7/kombu/serialization.py (L29)
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
9765cee27c
Revert "Python: Model owslib.etree.etree directly"
...
This reverts commit 1213e786519a11142746fd3a725c874181f3a42b.
By fixing a few bugs in the SubclassFinder + manually running Find.ql on the geonode DB from DCA, I found that the installed version of owslib had both: https://github.com/geopython/OWSLib/blob/0.27.2/owslib/etree.py
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
c4f5924d84
Python: Fix problem if import is used
...
I fixed it in both predicates... I think we might still be able to remove
`newDirectAlias` -- but with it being better, it will allow us to better test if `newImportAlias` actually cover everything we need!
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
f4ccc629da
Python: Add test highlight problem is import is used :O
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
b7f43354fa
Python: Fix underlying problem of not using Alias
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
ef693ea0aa
Python: Use django View instead of MethodView
...
Due to the 'only model most specific spec' logic highlighted in previous
commit, I'm changing away from MethodView/View, and use Django view instead.
In practice this shouldn't matter at all, but for writing tests it would
have been a nice fix to only have the "same name but more specific"
logic apply when it's the same _definition_ location. We used to have
this information available, but right now we don't... so instead of
spending a lot of time rewriting the core library, I simply used a
different class :D :O :(
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
8c9204a345
Python: Explain the funky logic in Find.ql
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
a937e249a1
Python: Ensure no deps visible in FindSubclass tests
2023-11-13 13:56:01 +01:00
Rasmus Wriedt Larsen
3931ce7f29
Python: More examples of things to handle in find-subclass
2023-11-13 13:56:01 +01:00
Taus
ce953d241e
Python: Model owslib.etree.etree directly
...
Somehow, this alias did not get picked up by the tooling.
2023-11-13 13:56:01 +01:00
Taus
85eb3fa460
Python: auto model
...
Just the missing sinks suite.
2023-11-13 13:56:01 +01:00
Taus
e558ea796d
Python: Add extensible modelling for lxml.etree
2023-11-13 13:56:01 +01:00
Taus
81b9ee9328
Python: auto model
...
Based on the usual suites.
2023-11-13 13:56:01 +01:00
Taus
ce3a0b07d2
Python: Refactor references to ElementTree
...
This would probably be better as a module, but I wanted to verify
first that this would yield the right results.
2023-11-13 13:56:01 +01:00
Taus
c485e31314
Python: Model kombu.serialization
...
More `pickle` wrappers.
2023-11-13 13:56:01 +01:00
Taus
f30cc7c2d4
Python: Add model for flask.restful
...
Not subclass-related -- just an alias.
2023-11-13 13:56:01 +01:00
Taus
75235c0c02
Python: Add cloudpickle model
...
This one didn't seem to fit into the subclass approach, so I just modeled
it manually.
2023-11-13 13:56:01 +01:00
Taus
a737685307
Python: Add meta-query for "interesting" taint sinks
2023-11-13 13:56:00 +01:00
Taus
3ddac90482
Python: auto model
...
`APIException` stuff
2023-11-13 13:56:00 +01:00
Taus
aaaa942fa0
Python: Model rest_framework.exceptions.APIException
...
Only models the subclasses of `APIException` that share the same interface as
`APIException` itself with regard to the `getBody` predicate.
2023-11-13 13:56:00 +01:00
Taus
1e3ca8aeb5
Python: auto model
...
A few more models arising from the API graph fix
2023-11-13 13:56:00 +01:00
Taus
7d185922d8
Python: auto model
...
I hope you like models, because here's a bunch of them!
(Based on MRVA top 1000 and the missing sinks suite.)
2023-11-13 13:56:00 +01:00
Taus
10898b00ab
Python: Add Django FileField model
2023-11-13 13:56:00 +01:00
Taus
5feb2a7726
Python: extend aiohttp model
2023-11-13 13:56:00 +01:00
Taus
70491ce3a0
Python: Add aioch model
2023-11-13 13:56:00 +01:00
Taus
55dc75615a
Python: Add Peewee model
2023-11-13 13:56:00 +01:00
Taus
f0102be052
Python: Add Pydantic model
2023-11-13 13:56:00 +01:00
Taus
c2df81a838
Python: Add logging.Logger model
2023-11-13 13:56:00 +01:00
Taus
94e0bc06c7
Python: Add Urllib3 model
2023-11-13 13:56:00 +01:00
Taus
0844563523
Python: Add Tornado models
2023-11-13 13:56:00 +01:00
Taus
5016c5568c
Python: add some stdlib models
2023-11-13 13:56:00 +01:00
Taus
359a162522
Python: Add starlette.requests.URL model
2023-11-13 13:56:00 +01:00
Taus
1c0af9d759
Python: Add SqlAlchemy model
2023-11-13 13:56:00 +01:00
Taus
84ba18cfc2
Python: Add rest_framework model
2023-11-13 13:56:00 +01:00
Taus
e060cfc554
Python: Add Pycurl model
2023-11-13 13:56:00 +01:00
Taus
ebd9802e74
Python: add MultiDict model
2023-11-13 13:55:59 +01:00
Taus
1178894ad4
Python: Add MarkupSafe model
2023-11-13 13:55:59 +01:00
Taus
c08587c84c
Python: Add invoke model
2023-11-13 13:55:59 +01:00
Taus
4f75e5fa5c
Python: Add httpx model
2023-11-13 13:55:59 +01:00
Taus
da01b95801
Python: Add Flask app and blueprint models
2023-11-13 13:55:59 +01:00
Taus
e1e4ec8936
Python: Add Django RawSQL and HttpRequest models
2023-11-13 13:55:59 +01:00
Taus
8500acd996
Python: Add fabric connection model
2023-11-13 13:55:59 +01:00
Taus
0d20a712fd
Python: Add aiohttp.ClientSession model
2023-11-13 13:55:59 +01:00
Taus
7acf287c70
Python: Add clickhouse_driver model
2023-11-13 13:55:59 +01:00
Taus
71b9bd3f21
Python: Add starlette.websocket model
2023-11-13 13:55:59 +01:00
Rasmus Wriedt Larsen
1a22f5f0e5
Python: Also capture alias with new name
2023-11-13 13:55:59 +01:00
Rasmus Wriedt Larsen
99beef7d7e
Python: Add test of find-subclass code
2023-11-13 13:55:59 +01:00
Rasmus Wriedt Larsen
215c954dea
Python: Improve speed of process-mrva-results.py
...
Same trick as 'generate-code-scanning-query-list.py'
2023-11-13 13:55:59 +01:00
Taus
7c8bd409ad
Python: auto model
...
Top 1000.
2023-11-13 13:55:59 +01:00
Taus
2f5eaac8e4
Python: auto model
...
Based on missing sinks suite.
2023-11-13 13:55:59 +01:00
Taus
92b5ac8b6a
Python: Add http.client.HTTPResponse model
2023-11-13 13:55:59 +01:00
Taus
4da728d452
Python: auto model
...
Based on top 1000 repos
2023-11-13 13:55:59 +01:00
Taus
c27f6eaa18
Python: auto model
...
Based on missing sinks suite.
2023-11-13 13:55:59 +01:00
Taus
e860d5e1e5
Python: Add Requests response model
...
This required making some of the relevant bits public, but they are marked as internal anyway.
2023-11-13 13:55:59 +01:00
Taus
eb69e6a342
Python: auto model
...
Based on missing sinks suite.
2023-11-13 13:55:58 +01:00
Taus
e34e0a0426
Python: Add Flask response model
2023-11-13 13:55:58 +01:00
Taus
369d35872d
Python: auto model
...
Based on `no-deps.missing-sinks.yml`.
2023-11-13 13:55:58 +01:00
Taus
cfd69b22bc
Python: auto model
...
Based on a MRVA top-1000 run.
2023-11-13 13:55:58 +01:00
Taus
332423dd25
Python: Add Django response models
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
2896741d56
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
3a1a8ad4fc
Python: Enable auto-model for Django Model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
93eabd9ce8
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
61689c8de3
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
a15af39007
Python: Enable auto-model for cgi.FieldStorage
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
50ec22bf4e
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
79fa277862
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
0932471e07
Python: auto model
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
bc1fdb0aab
Python: More import fixes
...
:thinkies: turns out that .getASubclass*() had to be applied everywhere...
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
06fbab9e15
Python: More auto-modeling
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
ef6113c45c
Python: Enable auto-model BaseHttpRequestHandler
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
b4c4fe102f
Python: Improve auto-model from better import alias handling
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
1922a1f41c
Python: Improve SelfRefMixin
...
This is important to model mixins correctly, for example when they help
handle incoming requests, and therefore need to know that `self.kwargs`
contains data controlled by a user.
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
9fe02edf9a
Python: Allow any results.bqrs file
2023-11-13 13:55:58 +01:00
Rasmus Wriedt Larsen
7633d0e71a
Python: Improve import * handling
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
e55acb8918
Python: More automatic modeling
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
7949403bd8
Python: Automodel for WSGIServer
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
a23fe366a1
Python: Automodel for tornado
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
3cf86ee6ce
Python: Make Django use auto-modeling
...
Ooops
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
6232fa1a5f
Python: Remove manual MaD modeling
...
Everything is covered now 👍
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
cd50fd5b62
Python: Add more auto-generated models
...
This time using old set of projects
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
d4acc704a4
Python: Sort MaD rows
...
(makes future diffing much easier)
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
fd7de0ee92
FIXME already fixed
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
c76bd71a3c
Python: Add manual modeling still missing from auto modeling
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
fa6f2a1f09
Python: Add auto-modeling from current venv in MRVA top 1000 projects
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
8121debbd7
Python: Add script to process results from MRVA (bqrs files)
...
Also makes `empty.model.yml` empty once again
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
bef7eccbf1
Python: Remove query predicate annotation
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
afc00567f0
Python: Add query metadata
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
4d69cb33eb
Python: Streamline what modules to allow for now
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
6a3f1270ea
Python: Adjust test-code predicate
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
88eb91aa70
Python: Improve docs/names around already modeled classes
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
a6a09b4a7a
WIP rest of modeling done so far
2023-11-13 13:55:57 +01:00
Rasmus Wriedt Larsen
7d6d9a7420
WIP: Flask View class modeling for restplus
...
Based on some DBs I had that contained dependencies
2023-11-13 13:55:57 +01:00
Chris Smowton
78fcbd07d6
Merge pull request #14630 from github/release-prep/2.15.2
...
Release preparation for version 2.15.2
2023-10-30 11:26:32 +00:00
github-actions[bot]
4641990021
Release preparation for version 2.15.2
2023-10-30 11:05:53 +00:00
Mathias Vorreiter Pedersen
c4521a30aa
Merge pull request #14113 from geoffw0/implicitflow
...
Swift: Flow through OpenExistentialExpr
2023-10-30 10:08:29 +00:00
Mathias Vorreiter Pedersen
4e08ba6820
Merge pull request #14618 from geoffw0/qldoc
...
Swift: QLDoc and test for getCanonicalType
2023-10-30 10:06:26 +00:00
Tamás Vajk
b9c89750b9
Merge pull request #14493 from tamasvajk/fix/params-attribute-argument
...
C#: Fix params attribute argument extraction
2023-10-30 10:50:02 +01:00
Mathias Vorreiter Pedersen
342b3d7733
Merge pull request #14619 from MathiasVP/fix-strtol-model
...
C++: Fix `strtol` model
2023-10-30 09:41:23 +00:00
Geoffrey White
1929dead39
Merge branch 'main' into implicitflow
2023-10-27 23:35:54 +01:00
Owen Mansel-Chan
c1ecd5a0da
Merge pull request #14608 from Kwstubbs/golang-cookie-reflectedxss-sanitizer
...
Go: GoAdd Cookie Sanitizer to Reflected XSS
2023-10-27 21:47:39 +01:00
Kevin Stubbings
57cbacb495
test.go change
2023-10-27 12:07:51 -07:00
Kevin Stubbings
ce0104799a
Fix minor issues
2023-10-27 11:42:22 -07:00
Geoffrey White
8937e0b313
Swift: == -> =
2023-10-27 17:18:09 +01:00
Alex Ford
cb1cd5ed2a
Merge pull request #14560 from alexrford/rb/modgen
...
Ruby: add a query and script for autogenerating typeModel and summaryModel data extensions entries
2023-10-27 16:43:42 +01:00
Mathias Vorreiter Pedersen
33494fe9e1
C++: Extend the taint model and accept test changes.
2023-10-27 16:26:37 +01:00
Mathias Vorreiter Pedersen
e4683449cb
C++: Add failing test.
2023-10-27 16:26:37 +01:00
Mathias Vorreiter Pedersen
8bf8888c24
C++: Simplify 'parameterNeverEscapes' and add a comment.
2023-10-27 16:26:37 +01:00
Mathias Vorreiter Pedersen
6062fbb475
Merge pull request #14383 from geoffw0/nsstringregex
...
Swift: Add regular expression evaluation models for StringProtocol and NSString methods
2023-10-27 15:49:23 +01:00
Mathias Vorreiter Pedersen
572cec2c55
C++: Accept test changes.
2023-10-27 15:00:25 +01:00
Mathias Vorreiter Pedersen
43e8b900bf
C++: Fix 'strtol' model.
2023-10-27 14:59:11 +01:00
Geoffrey White
2a552d9721
Swift: Address QL-for-QL warning.
2023-10-27 14:56:19 +01:00
Mathias Vorreiter Pedersen
d6b6c432d9
C++: Add test with incorrect IR due to wrong model.
2023-10-27 14:53:06 +01:00
Owen Mansel-Chan
d534c93ff1
Merge pull request #14606 from owen-mc/go/incorrect-integer-conversion-fixes
...
Go: Two fixes to upper bound checks in "incorrect integer conversion" query
2023-10-27 14:50:11 +01:00
Alex Ford
f6ac63b259
Ruby: modgen - use FeatureEqualSourceSinkCallContext feature rather than late filtering for method context
2023-10-27 14:48:50 +01:00
Geoffrey White
12201d2e8e
Swift: Codegen.
2023-10-27 14:37:06 +01:00
Geoffrey White
6ad5c9542b
Swift: Add getCanonicalType to the NominalType test as well.
2023-10-27 14:37:06 +01:00
Dave Bartolomeo
b18a6d5e0b
Merge pull request #14582 from github/dbartol/threat-models-2
...
Java: Threat model implementation with priorities.
2023-10-27 09:33:53 -04:00
Geoffrey White
ce471105e2
Swift: QLDoc getCanonicalType.
2023-10-27 14:23:51 +01:00
Mathias Vorreiter Pedersen
4aed638066
Merge pull request #14577 from MathiasVP/capture-flow-swift
...
Swift: Add variable-capture flow
2023-10-27 14:09:04 +01:00
Erik Krogh Kristensen
c1a1ebfb60
Merge pull request #14616 from erik-krogh/identity-severity
...
JS: lower the severity of js/identity-replacement to medium
2023-10-27 14:27:05 +02:00
Anders Schack-Mulligen
e9cb272396
Merge pull request #14615 from aschackmull/dataflow/stage-alias
...
Dataflow: simplify using stage aliases.
2023-10-27 14:17:30 +02:00
erik-krogh
cf958f0828
lower the severity of js/identity-replacement to medium
2023-10-27 13:54:17 +02:00
Anders Schack-Mulligen
10c657bc23
Dataflow: simplify using stage aliases.
2023-10-27 13:40:21 +02:00
Alex Ford
0818354ad7
Ruby: modgen - fix unbound variable
2023-10-27 11:46:09 +01:00
Owen Mansel-Chan
00ba7e42b1
Merge pull request #14613 from owen-mc/change-note-check-on-shared
...
Update `Change-note-check` workflow to detect changes in shared folder
2023-10-27 11:45:03 +01:00
Anders Schack-Mulligen
c7be5ac527
Merge pull request #14602 from aschackmull/java/split-dispatch-cached-stages
...
Java: Split the different layers of virtual dispatch into separate cached stages.
2023-10-27 12:36:29 +02:00
Owen Mansel-Chan
1db622e740
Make check-change-note workflow include shared
2023-10-27 11:26:13 +01:00
Mathias Vorreiter Pedersen
68999f3cef
Swift: Fix test by including the 'allowParameterReturnInSelf' hook from the variable capture library.
2023-10-27 11:25:19 +01:00
Mathias Vorreiter Pedersen
9b150e4ea9
Swift: Add failing test.
2023-10-27 11:22:56 +01:00
Mathias Vorreiter Pedersen
a5a7d27c4b
Swift: Add change note.
2023-10-27 11:16:32 +01:00
Owen Mansel-Chan
3c9783c7c9
Add change note
2023-10-27 11:12:37 +01:00
Mathias Vorreiter Pedersen
b41ec37993
Swift: Remove the code related to constructor capture (and the related TODO). This cannot happen in Swift.
2023-10-27 11:05:48 +01:00
Tom Hvitved
ee5c014382
Merge pull request #14609 from hvitved/csharp/stub-gen-attribute-usage
...
C#: Include `AttributeUsages` in stub generator
2023-10-27 12:05:34 +02:00
Owen Mansel-Chan
581305b234
Improve QLDoc for UpperBoundCheckGuard
2023-10-27 10:59:20 +01:00
Owen Mansel-Chan
8beacb8d4a
Change predicate name from getX to getOrder
2023-10-27 10:44:42 +01:00
Mathias Vorreiter Pedersen
9cae488ef4
Merge pull request #14612 from aschackmull/dataflow/type-doc
...
Dataflow: Improve qldoc on the type system.
2023-10-27 10:39:57 +01:00
Mathias Vorreiter Pedersen
65e13aa5ed
Swift: Add simple version of the 'captureList' test that works.
2023-10-27 10:27:35 +01:00
Mathias Vorreiter Pedersen
93234c0b5c
Swift: Add model for 'withVaList' and accept test changes.
2023-10-27 10:21:12 +01:00
Mathias Vorreiter Pedersen
9e2dd09ddc
Swift: Accept test regression (caused by no model for 'withVaList').
2023-10-27 10:20:07 +01:00
Anders Schack-Mulligen
0f4ea10638
Merge pull request #14611 from aschackmull/dataflow/partialflow-changenote
...
Dataflow: Add change note for partial flow api change.
2023-10-27 10:57:17 +02:00
Anders Schack-Mulligen
776e35279d
Dataflow: Improve qldoc on the type system.
2023-10-27 10:43:54 +02:00
Michael Nebel
e4276f7adb
Java: Apply suggestions from code review
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2023-10-27 10:34:20 +02:00
Anders Schack-Mulligen
b106db6fda
Dataflow: Add change note for partial flow api change.
2023-10-27 09:46:46 +02:00
Anders Schack-Mulligen
9769953669
Java: Split the different layers of virtual dispatch into separate cached stages.
2023-10-27 09:40:20 +02:00
Kevin Stubbings
52a0fdabcf
formatting
2023-10-27 00:03:30 -07:00
Tom Hvitved
08d6379563
C#: Regenerate stubs for (Asp)NetCore.App
2023-10-27 08:34:55 +02:00
Tom Hvitved
abc16abf6f
C#: Include AttributeUsages in stub generator
2023-10-27 08:34:20 +02:00
Kevin Stubbings
135923c9c1
Change XNetHtmltest
2023-10-26 20:48:38 -07:00
Mathias Vorreiter Pedersen
63525a9d9e
Swift: Delete one TODO (it has been converted to an internal issue) and fix another.
2023-10-26 21:48:41 +01:00
Kevin Stubbings
e6e87a44a3
Add change note
2023-10-26 12:36:35 -07:00
Dave Bartolomeo
d2afb20f3f
Merge remote-tracking branch 'origin/main' into dbartol/threat-models-2
2023-10-26 14:05:40 -04:00
Erik Krogh Kristensen
a5bfeb68a8
Merge pull request #14604 from erik-krogh/fix-thistype
...
JS: fix `TypeExprKinds` crashing on a `ThisExpression`
2023-10-26 20:05:26 +02:00
Dave Bartolomeo
9800458467
Update shared/threat-models/codeql/threatmodels/ThreatModels.qll
...
Co-authored-by: Michael Nebel <michaelnebel@github.com >
2023-10-26 13:46:55 -04:00
Dave Bartolomeo
927eb8424d
Update shared/threat-models/codeql/threatmodels/ThreatModels.qll
...
Co-authored-by: Michael Nebel <michaelnebel@github.com >
2023-10-26 13:46:37 -04:00
Dave Bartolomeo
8d9e4d391f
Update shared/threat-models/codeql/threatmodels/ThreatModels.qll
...
Co-authored-by: Michael Nebel <michaelnebel@github.com >
2023-10-26 13:46:28 -04:00
Alexander Eyers-Taylor
55ec9d0a91
Merge pull request #14601 from aschackmull/java/fix-tests
...
Java: Update tests to new partial flow api
2023-10-26 17:52:01 +01:00
Alex Ford
5a1a3f0727
Ruby: modgen - deduplicate getAnyParameter logic
2023-10-26 17:45:47 +01:00
Alex Ford
86ba75cadf
Ruby: modgen - support self arguments
2023-10-26 17:42:46 +01:00
Alex Ford
6203887645
fixup
2023-10-26 17:38:43 +01:00
Mathias Vorreiter Pedersen
784bb72b33
Swift: Add some more tests.
2023-10-26 17:29:26 +01:00
Owen Mansel-Chan
b451adabfc
Two small QLDoc improvements
2023-10-26 17:10:12 +01:00
Owen Mansel-Chan
896a3c65be
Avoid doing float arithmetic with large integers
...
There is the possibility of overflow.
2023-10-26 17:09:53 +01:00
Owen Mansel-Chan
570ca3b6fe
Fix upper bound check to make test pass
2023-10-26 17:08:19 +01:00
Alex Ford
24946c0dfd
Ruby: modgen - restrict flow summaries to public methods
2023-10-26 17:05:31 +01:00
Alex Ford
fef2932f56
Apply suggestions from code review
...
Co-authored-by: Harry Maclean <hmac@github.com >
2023-10-26 17:04:51 +01:00
Owen Mansel-Chan
773f46d3b4
Add failing test for upper bound checks
2023-10-26 16:58:36 +01:00
Mathias Vorreiter Pedersen
30ecb4b0c8
Merge pull request #14588 from aschackmull/shared/rangeanalysis
...
C++/Java: Share core range analysis
2023-10-26 16:32:46 +01:00
yoff
867a39083e
Merge pull request #14114 from yoff/python/allow-namespace-packages
...
Python: Allow namespace packages
2023-10-26 16:56:05 +02:00
erik-krogh
302199a74a
fix TypeExprKinds crashing on a ThisExpression
2023-10-26 16:33:54 +02:00
Max Schaefer
abef8483bd
Merge pull request #14600 from github/max-schaefer/express-rate-limit
...
JavaScript: Add support for importing `express-rate-limit` using a named import.
2023-10-26 15:15:22 +01:00
Mathias Vorreiter Pedersen
96a37f3a3c
Swift: Simplify more tests.
2023-10-26 14:55:17 +01:00
Mathias Vorreiter Pedersen
2ad121a8a5
Swift: Simplify test.
2023-10-26 14:46:59 +01:00
Rasmus Lerchedahl Petersen
dcc778520a
Python: refactor code
...
Also add explanatory comment.
Co-authored-by: Taus <tausbn@github.com >
2023-10-26 15:00:02 +02:00
Rasmus Lerchedahl Petersen
50041f07a3
Python: fix comment
2023-10-26 14:28:00 +02:00
Anders Schack-Mulligen
35f6e6ebb4
Java: Update tests to new partial flow api
2023-10-26 14:09:03 +02:00
Max Schaefer
aff848b038
Update javascript/ql/lib/semmle/javascript/security/dataflow/MissingRateLimiting.qll
...
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com >
2023-10-26 13:06:52 +01:00
Jeroen Ketema
dbb4167f80
Merge pull request #14579 from jketema/ir-backwards
...
C++: Define an extractor version table and use in IR generation
2023-10-26 13:36:15 +02:00
Owen Mansel-Chan
0ed01453b9
Fix getMaxIntValue to accept bitSize 64
2023-10-26 12:27:43 +01:00
Max Schaefer
2c7291336d
Move test files into right directory.
2023-10-26 12:16:52 +01:00
Max Schaefer
bb146a1758
JavaScript: Add support for rateLimit export from express-rate-limit package.
2023-10-26 12:14:57 +01:00
Mathias Vorreiter Pedersen
2465cc20f0
Swift: Don't define 'ClosureSelfParameterNode' as the expression node of the closure.
2023-10-26 11:56:27 +01:00
Jeroen Ketema
64004926bc
C++: Use a more declarative predicate name
2023-10-26 12:07:19 +02:00
Jeroen Ketema
903f376620
C++: Define an extractor version table and use in IR generation
2023-10-26 12:07:19 +02:00
Mathias Vorreiter Pedersen
b1d4ca505d
Merge pull request #14599 from aschackmull/dataflow/partialflow-separate
...
Dataflow: Restrict partial flow to either forward or reverse flow.
2023-10-26 11:01:03 +01:00
Anders Schack-Mulligen
bbc3cfba6f
Dataflow: Fix documentation.
2023-10-26 11:29:16 +02:00
Anders Schack-Mulligen
a2e3b37847
Dataflow: Fix accidental visibility.
2023-10-26 11:28:52 +02:00
Chris Smowton
8198898d73
Merge pull request #14583 from smowton/smowton/admin/really-deprecate-old-java-names
...
Java: Deprecate MethodAccess and SuperMethodAccess
2023-10-26 10:25:05 +01:00
Owen Mansel-Chan
39eeed9238
Add failing test showcasing problem
2023-10-26 10:20:27 +01:00
Stephan Brandauer
5fe6a5a730
Merge pull request #14487 from github/kaeluka/extraction-query-docs
...
Java: basic version of automodel extraction query docs
2023-10-26 11:10:01 +02:00
Anders Schack-Mulligen
4dca4a7389
Dataflow: Restrict partial flow to either forward or reverse flow.
2023-10-26 10:33:03 +02:00
Anders Schack-Mulligen
ec58b209e3
Merge pull request #14584 from Marcono1234/kotlin-Literal-getLiteral
...
Kotlin: Mention `Literal::getLiteral()` difference from source code
2023-10-26 10:03:57 +02:00
Kevin Stubbings
21e4a5b2d5
Add Cookie Sanitizer
2023-10-25 22:07:08 -07:00
Chris Smowton
29d57d82b7
Deprecate MethodAccess and SuperMethodAccess
2023-10-25 22:26:38 +01:00
Jami
c7b9e405b7
Merge pull request #14517 from jcogs33/jcogs33/update-framework-cov-diff-workflow
...
CI: Update framework coverage difference commenter
2023-10-25 14:31:00 -04:00
Geoffrey White
2cfca032de
Swift: Fix use of deprecated predicate.
2023-10-25 17:32:55 +01:00
Geoffrey White
82b92c38f9
Swift: Change method types to DataFlow::Node / go ahead with planned deprecations.
2023-10-25 17:11:21 +01:00
Geoffrey White
bfd150a1d3
Swift: Clarify comment.
2023-10-25 16:38:59 +01:00
Geoffrey White
ff15b73250
Swift: Update the change note.
2023-10-25 16:32:59 +01:00
Geoffrey White
4a08ca39d6
Swift: Replace PotentialRegexEval with a more specialized solution.
2023-10-25 16:26:46 +01:00
Alex Ford
16c5edd3ca
Ruby: add a query and script for autogenerating typeModel and summaryModel data extensions entries
2023-10-25 15:52:02 +01:00
Mathias Vorreiter Pedersen
11194e574c
Swift: Get rid of the unnecessary parameter/argument position for the closure. Instead, we can just reuse the 'this' parameter and argument.
2023-10-25 15:46:10 +01:00
Geoffrey White
354983087e
Swift: this.(PotentialRegexEval) -> super. or this. .
2023-10-25 15:25:12 +01:00
Mathias Vorreiter Pedersen
951b6beeb1
Swift: Untangle the confusion between 'getParameter' and 'asParameter'.
2023-10-25 14:44:09 +01:00
Jeroen Ketema
990d7161b2
Merge pull request #14337 from aschackmull/cpp/container-not-locatable
...
C++: Remove getLocation from Container.
2023-10-25 15:37:57 +02:00
Mathias Vorreiter Pedersen
78e08cf63c
Swift: Remove irrelevant TODO.
2023-10-25 13:55:07 +01:00
Anders Schack-Mulligen
6882504397
C#: Fix compilation
2023-10-25 14:31:49 +02:00
Anders Schack-Mulligen
5ded55cd9f
C#: Sync Bound.qll
2023-10-25 14:08:48 +02:00
Anders Schack-Mulligen
283d6efdf8
Rangeanalysis/Java/C++: Address some ql4ql findings.
2023-10-25 14:06:35 +02:00
Jeroen Ketema
75a1173d63
C++: Add change note
2023-10-25 14:05:38 +02:00
Jeroen Ketema
dc512728fa
C++: Make File extend Locatable
2023-10-25 14:05:38 +02:00
Jeroen Ketema
4ea5c13390
C++: Add back getLocation in File
2023-10-25 14:05:38 +02:00
Anders Schack-Mulligen
7124a53c9c
C++: Remove getLocation from Container.
2023-10-25 14:05:38 +02:00
Jami
53d92d58fc
Merge pull request #14581 from jcogs33/jcogs33/add-internal-to-model-exclusions
...
Java: exclude internal packages globally from MaD models
2023-10-25 08:04:03 -04:00
Michael Nebel
b3e5b86f0a
Java: Cleanup threat models tests.
2023-10-25 14:02:31 +02:00
Mathias Vorreiter Pedersen
05385eb704
Merge pull request #14587 from MathiasVP/fix-indirect-strtok-model
...
C++: Fix `strtok` model for indirections
2023-10-25 12:09:13 +01:00
Owen Mansel-Chan
27646ce971
Merge pull request #14547 from owen-mc/go/enable-data-flow-consistency-checks
...
Go: make data flow consistency checks available (and fix some)
2023-10-25 11:15:44 +01:00
Geoffrey White
a3d53ba9ec
Merge pull request #14574 from github/geoffw0-patch-2
...
Swift: Update README.md
2023-10-25 10:56:01 +01:00
Geoffrey White
7029f14651
Merge pull request #14511 from geoffw0/substring
...
Swift: Model Substring
2023-10-25 10:46:47 +01:00
Anders Schack-Mulligen
2592c94c54
Java: Replace range analysis with shared version.
2023-10-25 11:29:55 +02:00
Anders Schack-Mulligen
36082808d3
Java: Implement shared range analysis signatures.
2023-10-25 11:29:55 +02:00
Anders Schack-Mulligen
c1c4a5bfcf
Rangeanalysis: Copy qldoc and simplification from Java.
2023-10-25 11:17:02 +02:00
Anders Schack-Mulligen
cd44d67529
Rangeanalysis: Add temporary Java compatibility flag.
2023-10-25 11:17:02 +02:00
Anders Schack-Mulligen
06fe10bbe9
Rangeanalysis: Bugfix division with float representation.
2023-10-25 11:17:02 +02:00
Anders Schack-Mulligen
7b214a24df
C++: Add division test
2023-10-25 11:17:02 +02:00
Anders Schack-Mulligen
232c147f6b
Rangeanalysis: Port join-order fix from Java version.
2023-10-25 11:17:02 +02:00
Anders Schack-Mulligen
ec39de20d8
C++: Convert to qlpack version of core range analysis.
2023-10-25 11:17:01 +02:00
Anders Schack-Mulligen
38274db205
Rangeanalysis: Parameterise library.
2023-10-25 11:17:01 +02:00
Anders Schack-Mulligen
169ba03778
Rangeanalysis: Copy C++ version verbatim.
2023-10-25 11:17:01 +02:00
Anders Schack-Mulligen
aed830cf1b
Rangeanalysis: Make new qlpack
2023-10-25 11:17:01 +02:00
Mathias Vorreiter Pedersen
032572b924
C++: Fix 'strtok' model.
2023-10-25 09:39:36 +01:00
Mathias Vorreiter Pedersen
f54379d096
C++: Add failing test.
2023-10-25 09:38:49 +01:00
Tony Torralba
4920c7f8b0
Merge pull request #14585 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2023-10-25 10:02:50 +02:00
Stephan Brandauer
cffcc7334d
Java: automodel extraction docs: add two intro sentences
2023-10-25 09:45:00 +02:00
Stephan Brandauer
0f2db1bcdb
Java: automodel extraction docs: use markdown footnote
2023-10-25 09:32:59 +02:00
Stephan Brandauer
3eeb6ffec4
Java: automodel extraction docs: spell out positive and negative
2023-10-25 09:05:22 +02:00
Stephan Brandauer
44c87561b3
Java: review suggestion from adityasharad
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-10-25 09:00:28 +02:00
Stephan Brandauer
c240c1b3f5
Java: review suggestions from aeisenberg
...
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com >
2023-10-25 08:59:21 +02:00
github-actions[bot]
6cbadece0e
Add changed framework coverage reports
2023-10-25 00:15:35 +00:00
Marcono1234
bf20b8e5a5
Kotlin: Mention Literal::getLiteral() difference from source code
...
It appears the Kotlin extractor does not have access to the actual
string representation in the source code, and for most literal types
uses simply the represented value also as `getLiteral` result, see
https://github.com/github/codeql/blob/codeql-cli/v2.15.1/java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt#L4443
2023-10-25 02:04:54 +02:00
Geoffrey White
8a5f3e4825
Swift: Fix an issue with RegexTracking.qll using PotentialRegexEval rather than RegexEval.
2023-10-24 22:49:19 +01:00
Jami
7c053ed428
CI: add .strip() to comment/ID file read
...
Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com >
2023-10-24 17:48:38 -04:00
Geoffrey White
021ed88a0a
Swift: Add a test revealing unevaluated regexs.
2023-10-24 22:42:15 +01:00
Chris Smowton
12d0f1a84b
Merge pull request #14575 from github/smowton/feature/more-intuitive-java-class-names
...
Java: Replace MethodAccess, LValue, RValue with more intuitive names. Introduce NewClassExpr.
2023-10-24 19:01:37 +01:00
Dave Bartolomeo
33f10d8d19
Better handling of all threat model without too many binding sets
2023-10-24 13:59:15 -04:00
Cornelius Riemenschneider
790615fbc2
Merge pull request #14552 from github/criemen/bazel-js
...
Javascript extractor: Bazel-based build
2023-10-24 19:36:39 +02:00
Dave Bartolomeo
5fd56ce866
Alternate threat model implementation
2023-10-24 13:12:37 -04:00
Jami Cogswell
121fd0896b
Java: exclude internal packages in general from models
2023-10-24 12:49:49 -04:00
Geoffrey White
42a2ec9891
Merge branch 'main' into substring
2023-10-24 17:03:00 +01:00
Geoffrey White
06b1cd939c
Merge pull request #14502 from geoffw0/xmlquery
...
Swift: Model RawRepresentable
2023-10-24 16:25:15 +01:00
Chris Smowton
30610c9a3f
Temporarily de-deprecate SuperMethodAccess to accommodate private tests
2023-10-24 16:05:52 +01:00
Geoffrey White
3bcee63980
Update README.md
...
Change the Warning to a Note and rephrase.
2023-10-24 15:46:32 +01:00
Mathias Vorreiter Pedersen
862de152a1
Swift: Add required qldoc.
2023-10-24 15:45:17 +01:00
Mathias Vorreiter Pedersen
6f37d7c374
Swift: Accept changes in paths.
2023-10-24 15:39:19 +01:00
Mathias Vorreiter Pedersen
9652679c6f
Merge pull request #14568 from alexet/alexet/add-fn-tests
...
CPP: Add test demonstrating use-after-free false negatives.
2023-10-24 15:38:01 +01:00
Stephan Brandauer
e97456f5fc
Java: automodel extraction docs: note on packaging and backwards compatibility
2023-10-24 16:30:59 +02:00
Mathias Vorreiter Pedersen
56b49a4de3
Swift: Add a closure flow step from the right-hand side of variable declarations to the underlying pattern.
2023-10-24 15:28:28 +01:00
Mathias Vorreiter Pedersen
3d5098aaeb
Swift: Add failing test.
2023-10-24 15:28:25 +01:00
Mathias Vorreiter Pedersen
1c298e6001
Swift: Fix 'parameter' -> 'argument' flow into closures.
2023-10-24 15:28:01 +01:00
Mathias Vorreiter Pedersen
310ebe47b3
Swift: Clean up test file.
2023-10-24 15:27:59 +01:00
Cornelius Riemenschneider
42c343e820
Address review
2023-10-24 16:03:35 +02:00
Chris Smowton
92d3d9d83f
Update integration test expectations
2023-10-24 14:47:19 +01:00
Chris Smowton
4205f1bd03
Temporarily un-deprecate MethodAccess to decouple from private tests
2023-10-24 14:03:26 +01:00
Chris Smowton
b849a66c97
Update test expectations
2023-10-24 14:02:30 +01:00
Nora Dimitrijević
9dbf7e818d
Swift: align definition of InputSig slightly closer to Java version
...
Though there is a regression in the tests, so more work is needed.
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
9de3cc703a
Swift: add CapturePostUpdateNode
...
However, this doesn't change any of the test results.
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
5418d39a0d
Swift: add and accept a few new simple test cases
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
af49a3aa64
Swift: accept new results in old tests
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
8115774a7a
Swift: Add the capture flow step as part of the normal data flow relation
...
TODO: see if we need to exclude duplicate SSA steps
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
4e1b44a059
Swift: port simpleAstFlowStep/hasAliasedAccess
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
21a369de13
Swift: Add closure content read-write steps
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
c04654d8f9
Swift: getImmediateBasicBlockDominator/2 should use immediatelyDominates/0.
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
95a7d6559c
Swift: initial version of a swift port of most of the java code
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
3253c0425c
Swift: s/getName/getShortName/ in InlineFlowTest.qll
2023-10-24 13:56:31 +01:00
Nora Dimitrijević
050b8e682f
Swift: add failing inline expectation test based on closure AST tests.
2023-10-24 13:56:31 +01:00
Jeroen Ketema
ba67217b44
Merge pull request #14571 from MathiasVP/fix-indirect-taint
...
C++: Fix indirect taint
2023-10-24 14:47:43 +02:00
Chris Smowton
06238dd5f6
Improve reflective class names
2023-10-24 13:29:32 +01:00
Chris Smowton
011666b48c
Fix description and improve predicate name of VarWrite.
2023-10-24 12:59:57 +01:00
Chris Smowton
ede17585a6
Amend NewClassExpr description
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2023-10-24 12:51:42 +01:00
Chris Smowton
e3edea2a5f
Apply simple suggestions from code review
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2023-10-24 12:51:03 +01:00
Stephan Brandauer
eb97ce3294
Java: automodel extraction query docs, candidate examples
2023-10-24 13:49:38 +02:00
Chris Smowton
efb63aada3
Add change note
2023-10-24 11:45:41 +01:00
Chris Smowton
3627eb2bcf
Add missing qldoc
2023-10-24 11:15:08 +01:00
Chris Smowton
e8c9708282
Autoformat
2023-10-24 11:06:19 +01:00
Chris Smowton
09e83d1173
Fix isEnclosingMethodAccess wrapper
2023-10-24 11:03:57 +01:00
Chris Smowton
ac38d4c9c6
Mass rename L/RValue -> VarWrite/Read
2023-10-24 10:58:29 +01:00
Chris Smowton
59a49eef0b
Add aliases for public, importable renamed classes and predicates.
...
Also rename and aliases a couple of uses of Access noted along the way.
2023-10-24 10:54:35 +01:00
Chris Smowton
f552a15aae
Mass-rename MethodAccess -> MethodCall
2023-10-24 10:30:26 +01:00
Geoffrey White
f597f0272a
Update README.md
...
Turned the warning at the top into a warning box.
Made the section headers consistent.
I was going to add a section, but I realized it belongs somewhere else. :)
2023-10-24 10:12:20 +01:00
Michael Nebel
26f767073d
Merge pull request #14363 from michaelnebel/csharp/sunsetqlstubgen
...
C#: Sunset QL based stub generator.
2023-10-24 11:05:56 +02:00
Chris Smowton
a10731c591
Java: introduce more-intuitive names for ClassInstanceExpr, L/RValue and MethodAccess.
2023-10-24 09:38:49 +01:00
Mathias Vorreiter Pedersen
1fce26534f
C++: Remove implied conjunct.
2023-10-24 09:25:32 +01:00
Tony Torralba
4e823b4306
Merge pull request #14566 from atorralba/atorralba/java/springframework-6-models
...
Java: Added up to date models for Spring's ResponseEntity
2023-10-24 09:11:37 +02:00
Mathias Vorreiter Pedersen
67ed12c916
C++: Correctly model that 'operator->', and 'get'
...
on smart pointers perform a load.
2023-10-23 20:11:23 +01:00
Mathias Vorreiter Pedersen
b107c4c641
C++: Fix missing result in 'ModelUtil'. The problem was that 'n.asInstruction()' on line 81 wasn't necessarily a 'CallInstruction' (it could be a conversion).
2023-10-23 19:34:25 +01:00
Mathias Vorreiter Pedersen
c0b04eac7c
C++: Add failing test.
2023-10-23 19:29:28 +01:00
Alex Eyers-Taylor
26b0363707
CPP: Add test demonstrating use-after-free false negatives.
2023-10-23 17:01:52 +01:00
Paolo Tranquilli
140ff723e4
Merge pull request #14563 from github/redsun82/codegen-test-with
...
Codegen: add `@qltest.test_with`
2023-10-23 17:35:31 +02:00
Joe Farebrother
3f11d83b7b
Merge pull request #14500 from joefarebrother/shared-filepath-normalize
...
Shared: Add library for filepath normalization
2023-10-23 16:09:44 +01:00
Paolo Tranquilli
02a2debe94
Codegen: fix python compatibility problem
2023-10-23 16:56:44 +02:00
Tony Torralba
cd10dc8a27
Java: Added up to date models for Spring's ResponseEntity
2023-10-23 16:06:11 +02:00
Chris Smowton
e301223644
Merge pull request #14541 from JarLob/patch-3
...
fix CWE number
2023-10-23 15:05:02 +01:00
Michael Nebel
743be92624
C#: Adjust workflow to point to the new location for the script.
2023-10-23 15:10:20 +02:00
Michael Nebel
5ba0e0ffce
C#: Adjust the relative path to the stub generator project file.
2023-10-23 15:09:38 +02:00
Michael Nebel
d4af05cbf9
C#: Move stub generator script.
2023-10-23 15:09:38 +02:00
Michael Nebel
ed6a068ebc
C#: Update the stub generator readme.
2023-10-23 15:09:38 +02:00
Michael Nebel
4e99266b65
C#: Sunset the QL based stub generator.
2023-10-23 15:09:38 +02:00
Paolo Tranquilli
7cc20587ad
Codegen: add @qltest.test_with
...
This allows to group together related AST classes to reuse the same
test source and extraction. For example this is useful for
`EnumDecl/EnumCaseDecl/EnumElementDecl`, where this is applied to.
2023-10-23 14:51:22 +02:00
Ian Lynagh
b89088737a
Merge pull request #14551 from igfoo/igfoo/loc
...
Java/Kotlin: Reshuffle our LoC queries
2023-10-23 11:50:03 +01:00
Stephan Brandauer
319b799f95
Merge pull request #14553 from github/kaeluka/fix-positive-example-query
...
Java: Automodel Framework Mode Extraction Bug
2023-10-23 09:48:49 +02:00
Jami Cogswell
687ecffe71
CI: don't upload comment/ID artifact if no existing comment
2023-10-22 15:28:07 -04:00
Owen Mansel-Chan
b46174f464
Merge pull request #14536 from owen-mc/go/amend-library-coverage
...
Go: Add Go frameworks for automated coverage reports
2023-10-20 21:28:30 +01:00
Dave Bartolomeo
76a9b71231
Merge branch 'main' into dbartol/threat-models
2023-10-20 14:05:17 -04:00
Stephan Brandauer
1d7c2f4799
Java: format
2023-10-20 16:37:46 +02:00
Stephan Brandauer
f0c0bbf4c8
remove bug: needless restriction to sink examples in framework mode +examples
2023-10-20 16:34:29 +02:00
Mathias Vorreiter Pedersen
6c10ba2fb1
Merge pull request #14495 from github/calumgrant/comp-generated-this
...
C++: Fix ImplicitThisFieldAccess
2023-10-20 15:25:26 +01:00
Cornelius Riemenschneider
9ba32a0440
Add bazel-based build for the Javascript extractor.
2023-10-20 16:23:50 +02:00
Cornelius Riemenschneider
de85f2bbf8
Fix errorprone violations.
2023-10-20 16:23:35 +02:00
Calum Grant
8054a5d086
C++: Add changenote
2023-10-20 14:48:20 +01:00
Owen Mansel-Chan
0ba0063e6d
Update go/ql/lib/change-notes/2023-10-20-enclosing-callable-for-external-files.md
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2023-10-20 13:37:44 +01:00
Erik Krogh Kristensen
f562d5319f
Merge pull request #14539 from flyboss/main
...
fix typo ('Configration' to ‘Configuration’)
2023-10-20 14:10:42 +02:00
Ian Lynagh
26634a3266
Java/Kotlin: Add a changenote for the lines-of-code changes
2023-10-20 13:04:39 +01:00
Ian Lynagh
d816035da6
Java/Kotlin: Tweak LoC message
2023-10-20 13:02:11 +01:00
Ian Lynagh
13a9e83e6a
Java/Kotlin: Reshuffle our LoC queries
...
There's now a single lines-of-code query that gives the total number of
lines of code over both languages.
Per-language LoC queries are now just summaries.
2023-10-20 12:43:41 +01:00
Paolo Tranquilli
c92519ed6b
Merge pull request #14538 from github/redsun82/add-unspecified-element-children
...
Swift: add children to `UnspecifiedElement`
2023-10-20 12:27:05 +02:00
Owen Mansel-Chan
da68153a96
Fix change note name and location
2023-10-20 11:24:25 +01:00
Owen Mansel-Chan
5d729616cd
Add change note
2023-10-20 11:20:10 +01:00
Michael B. Gale
58fe66f5a8
Merge pull request #14550 from github/mbg/docs/bump-to-go1.21
...
Bump to Go 1.21 in supported compilers docs
2023-10-20 11:09:59 +01:00
flyboss
ee813c1e61
Update UnsafeHtmlConstructionQuery.qll
...
add a deprecated alias in case anyone depends on the misspelled name.
2023-10-20 17:57:23 +08:00
Michael B. Gale
46aa712c28
Bump to Go 1.21 in supported compilers docs
2023-10-20 10:49:02 +01:00
Esben Sparre Andreasen
1b9b6ae5b5
Merge pull request #14542 from github/esbena/proper-check-change-note
...
Improve change note checking
2023-10-20 11:47:53 +02:00
Ian Lynagh
a4ef183a2e
Merge pull request #14529 from igfoo/igfoo/classid_fqname
...
Kotlin: Don't convert back and forth between ClassId and FqName
2023-10-20 10:28:25 +01:00
Jami Cogswell
ee4a9c3f8d
CI: remove extraneous quotes that were causing 'get_previous_run_id' to always fail with a 'list index out of bounds' error
2023-10-19 19:23:14 -04:00
Jami Cogswell
6e29b70100
CI: update comment (if it exists)
2023-10-19 19:19:25 -04:00
Jami Cogswell
9263cfdf56
CI: save and upload comment id (if it exists)
2023-10-19 19:14:23 -04:00
Dave Bartolomeo
15e9838f16
Add a readme file
2023-10-19 17:27:21 -04:00
Dave Bartolomeo
fb1b41b649
Fix formatting
2023-10-19 17:20:38 -04:00
Dave Bartolomeo
c268163804
warnOnImplicitThis
2023-10-19 17:18:47 -04:00
Dave Bartolomeo
910b2a98f1
Merge remote-tracking branch 'origin/main' into dbartol/threat-models
2023-10-19 17:07:38 -04:00
Dave Bartolomeo
bd7de83aab
Use extension packs for threat models
2023-10-19 17:07:26 -04:00
Dave Bartolomeo
07eb60d044
Merge pull request #14531 from github/post-release-prep/codeql-cli-2.15.1
...
Post-release preparation for codeql-cli-2.15.1
2023-10-19 13:32:33 -04:00
Dave Bartolomeo
712f7758cf
Merge branch 'main' into post-release-prep/codeql-cli-2.15.1
2023-10-19 12:14:07 -04:00
Owen Mansel-Chan
e19ebf9ca8
Add external file scope
2023-10-19 16:48:38 +01:00
Owen Mansel-Chan
563805ff0c
Fix nodeGetEnclosingCallable
...
It wasn't updated when MkImplicitVarargsSlice was added as a branch of
TNode. This meant that it gave no result for `ImplicitVarargsSlice`s
in function calls used to initialise variables declared at file level.
2023-10-19 16:48:37 +01:00
Owen Mansel-Chan
a3cecd178f
Add consistency query
...
This can be run on an existing database to check for any assumptions
of the data flow library which do not hold.
2023-10-19 16:47:56 +01:00
Erik Krogh Kristensen
2a1ca637fd
Merge pull request #14543 from erik-krogh/string-not-int
...
move the documentation of codePointAt and codePointCount to the string type instead of the int type
2023-10-19 14:39:10 +02:00
erik-krogh
5cd732b3c6
move the documentation of codePointAt and codePointCount to the string type instead of the int type
2023-10-19 12:57:06 +02:00
Owen Mansel-Chan
67601b5312
Add DataFlowImplConsistency.qll for Go library
2023-10-19 11:43:00 +01:00
Mathias Vorreiter Pedersen
0ab159f803
Merge pull request #14135 from github/sashabu/frontend-update
...
C++: Update for changes in frontend.
2023-10-19 11:40:24 +01:00
Esben Sparre Andreasen
2c99e2f3d5
improve change note file name checks
2023-10-19 12:16:27 +02:00
Esben Sparre Andreasen
836bb6006c
improve env var usage in check-change-note.yml
2023-10-19 12:05:29 +02:00
Mathias Vorreiter Pedersen
0bfa53cfd6
Merge pull request #14524 from MathiasVP/add-more-dataflow-documentation
...
C++: Add more documentation about dataflow through indirections
2023-10-19 10:32:12 +01:00
Mathias Vorreiter Pedersen
4feda50add
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-19 11:00:42 +02:00
Mathias Vorreiter Pedersen
b5cbd909f7
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-19 11:00:33 +02:00
Mathias Vorreiter Pedersen
35702a9fdf
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-19 11:00:18 +02:00
Jeroen Ketema
a972d0943a
C++: Accept test changes after changes in IR generation
2023-10-19 10:45:14 +02:00
Jeroen Ketema
2a64552979
C++: Add support for C23/C++23 floating-point types
2023-10-19 10:45:14 +02:00
Jeroen Ketema
7e71d9e619
C++: Update expected test results after outputting less loads from the extractor
2023-10-19 10:45:14 +02:00
Jeroen Ketema
bec3e62771
C++: Update cpp/constant-array-overflow test results after frontend update
2023-10-19 10:45:14 +02:00
Jeroen Ketema
23c6027386
C++: Update expected test changes after frontend update
2023-10-19 10:45:13 +02:00
Jeroen Ketema
8b8a2726d4
C++: Accept semantic range analysis test changes due to extra loads in the IR
2023-10-19 10:45:13 +02:00
Jeroen Ketema
554087161b
C++: Accept sign analysis test changes
...
The IR now contains extra loads that need to be accounted for.
2023-10-19 10:45:13 +02:00
Jeroen Ketema
5036135f01
C++: Fix IR generation for the comma operator
2023-10-19 10:45:13 +02:00
Jeroen Ketema
0fceecee6d
C++: Fix extractor options for deprecated_with_msg test
...
The previous extractor options no longer work, because the default assumed
compiler versions have changed in the frontend.
2023-10-19 10:45:13 +02:00
Jeroen Ketema
e271c7e5e7
C++: Accept IR GVN test changes a CopyValue is now Load due to IR changes
2023-10-19 10:45:13 +02:00
Jeroen Ketema
91a98f3512
C++: Accept new dataflow IR inconsistencies
...
These are due to additional loads being generated on fields, and should not
cause any problems. Ideally, we should tune the definition of
`TPostFieldUpdateNode` to make these go away.
2023-10-19 10:45:13 +02:00
Jeroen Ketema
231e9ef098
C++: Accept PrintAST value category changes after frontend update
2023-10-19 10:45:13 +02:00
Jeroen Ketema
a6dae91215
C++: Accept IR test changes after value category updates
2023-10-19 10:45:12 +02:00
Jeroen Ketema
3202bcce70
C++: Handle ternary operators whose value category is a prvalue with a load
2023-10-19 10:45:12 +02:00
Jeroen Ketema
c60cb136bb
C++: Do not generate loads for ParenthesisExprs
2023-10-19 10:45:12 +02:00
Jeroen Ketema
4339e18ed6
C++: Update IR generation for changes in frontend
2023-10-19 10:45:12 +02:00
Jaroslav Lobačevski
2b541b78ac
fix CWE number
2023-10-19 09:36:25 +02:00
Tony Torralba
049ba54948
Merge pull request #14533 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2023-10-19 08:56:36 +02:00
Erik Krogh Kristensen
daca5121f6
Merge pull request #14540 from github/dependabot/cargo/ql/tracing-0.1.40
...
Bump tracing from 0.1.39 to 0.1.40 in /ql
2023-10-19 08:47:56 +02:00
dependabot[bot]
2af1302a4a
Bump tracing from 0.1.39 to 0.1.40 in /ql
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-19 03:33:14 +00:00
flyboss
86336565eb
fix typo
2023-10-19 02:34:31 +00:00
github-actions[bot]
065353667f
Add changed framework coverage reports
2023-10-19 00:15:51 +00:00
Tony Torralba
da44b13fd4
Merge pull request #14515 from atorralba/atorralba/java/spring-csrf-improv
...
Java: Improve java/spring-disabled-csrf-protection
2023-10-18 17:49:10 +02:00
Paolo Tranquilli
d55289bf68
Swift: add children to UnspecifiedElement
...
This will allow better downgrade scripts in the future.
2023-10-18 16:42:04 +02:00
Michael B. Gale
4246ebf9e0
Merge pull request #14535 from github/mbg/go/dependabot-ignore-tests
...
Go: Add Dependabot config for `go/ql/test` which ignores all dependencies
2023-10-18 14:40:16 +01:00
Michael B. Gale
771b5eca47
No allow, only ignore
2023-10-18 14:25:38 +01:00
Michael B. Gale
10e9c6defd
Update .github/dependabot.yml
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-10-18 14:23:32 +01:00
Michael B. Gale
df191e4b6d
Update .github/dependabot.yml
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-10-18 14:22:06 +01:00
Mathias Vorreiter Pedersen
7f97492580
C++: Make sphinx happy.
2023-10-18 14:15:55 +01:00
Mathias Vorreiter Pedersen
a36d432184
C++: Simplify a paragraph and use line numbers in CPP code.
2023-10-18 14:15:01 +01:00
Mathias Vorreiter Pedersen
c04546da98
C++: Use named code blocks.
2023-10-18 14:03:09 +01:00
Mathias Vorreiter Pedersen
308d027d1e
C++: Fix typo.
2023-10-18 14:02:05 +01:00
Mathias Vorreiter Pedersen
44e214b933
C++: Stick to the pointer vs. indirection terminology.
2023-10-18 13:47:09 +01:00
Mathias Vorreiter Pedersen
f6b1d66167
C++: Convert another paragraph to a numbered list.
2023-10-18 13:38:50 +01:00
Mathias Vorreiter Pedersen
1b1a78bf04
C++: Convert a paragraph to a numbered list.
2023-10-18 13:34:32 +01:00
Mathias Vorreiter Pedersen
342f4f867b
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
2023-10-18 14:30:46 +02:00
Mathias Vorreiter Pedersen
9d2e21e470
C++: Move the note in the beginning of the document into a reusable file.
2023-10-18 13:29:52 +01:00
Mathias Vorreiter Pedersen
ff3d4b8b40
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:18:23 +02:00
Mathias Vorreiter Pedersen
3b6c43c9a1
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:18:05 +02:00
Mathias Vorreiter Pedersen
8812567c69
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:15:11 +02:00
Mathias Vorreiter Pedersen
0d36d918c9
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:11:58 +02:00
Mathias Vorreiter Pedersen
d4cbb8cb22
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:11:24 +02:00
Mathias Vorreiter Pedersen
9a91145d7e
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:09:39 +02:00
Mathias Vorreiter Pedersen
efe7153ac2
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:09:05 +02:00
Mathias Vorreiter Pedersen
9ad461daa0
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:08:40 +02:00
Mathias Vorreiter Pedersen
59b26c0dad
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
2023-10-18 14:08:20 +02:00
Mathias Vorreiter Pedersen
b71248face
Update docs/codeql/codeql-language-guides/codeql-for-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:06:14 +02:00
Mathias Vorreiter Pedersen
dc77614bd1
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:05:59 +02:00
Mathias Vorreiter Pedersen
56a1a7cc4d
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:05:45 +02:00
Mathias Vorreiter Pedersen
f3dd2ebe7d
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:05:19 +02:00
Mathias Vorreiter Pedersen
16fbffe47b
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:05:05 +02:00
Mathias Vorreiter Pedersen
51cf400669
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:04:39 +02:00
Mathias Vorreiter Pedersen
02e3d2704c
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:03:50 +02:00
Mathias Vorreiter Pedersen
e6ae3ffe7a
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:03:41 +02:00
Mathias Vorreiter Pedersen
d21943137f
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Felicity Chapman <felicitymay@github.com >
2023-10-18 14:03:28 +02:00
Owen Mansel-Chan
bddd448fdf
Add Go frameworks for automated coverage reports
...
Note that the space at the beginning of the package patterns for the
standard library is deliberate, because builtin functions use the empty
string as their package and we want to attribute them to the standard
library.
2023-10-18 12:49:31 +01:00
Calum Grant
6472ed7fe0
C++: Fix GVN for ImplicitThisFieldAccess
2023-10-18 12:40:55 +01:00
Calum Grant
c51efb1477
C++: Tighten up definitions of field accesses
2023-10-18 11:39:09 +01:00
Michael B. Gale
bd811f25da
Add Dependabot config for go/ql/test
2023-10-18 11:06:02 +01:00
github-actions[bot]
8dcd8b9e5b
Post-release preparation for codeql-cli-2.15.1
2023-10-17 20:24:00 +00:00
Chris Smowton
70aa490bbd
Merge pull request #14503 from smowton/smowton/admin/adapt-tests-to-jdk21
...
Java: Adapt tests to JDK21
2023-10-17 20:07:47 +01:00
Edward Minnix III
15afc3ed64
Merge pull request #14491 from egregius313/egregius313/java/mad/convert-iv
...
Java: Refactor `java/static-initialization-vector` to use Models as Data
2023-10-17 13:15:45 -04:00
Geoffrey White
b93442a2b6
Merge pull request #14523 from geoffw0/appendingformat
...
Swift: Model StringProtocol.appendingformat and String.decodecstring
2023-10-17 18:04:29 +01:00
Ian Lynagh
ab891465a4
Kotlin: Don't convert back and forth between ClassId and FqName
...
This showed up as a bug in Kotlin 2 mode:
We were starting with the Class Id "java/util/Map.Entry", which we then
converted to the FqName "java.util.Map.Entry", and then back to a
Class Id with ClassId.topLevel. This gave us a Class Id that
referenceClass wasn't able to resolve.
Now we just stick with the Class Id that we started with, and the class
can be resolved by Kotlin 2.
2023-10-17 17:01:53 +01:00
Robert Marsh
53e80e0f27
Merge pull request #14398 from rdmarsh2/rdmarsh2/swift/autoclosure-cfg
...
Swift: add CFG for normal autoclosures
2023-10-17 11:50:24 -04:00
Mathias Vorreiter Pedersen
c8e8ac0b55
C++: Make sphinx happy.
2023-10-17 16:15:59 +01:00
Mathias Vorreiter Pedersen
9a6fc967db
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-10-17 17:05:27 +02:00
Mathias Vorreiter Pedersen
17ee7c2352
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-10-17 17:04:33 +02:00
Mathias Vorreiter Pedersen
c4075b3ec7
C++: Make an explanation of 'allowImplicitRead' slightly more explicit.
2023-10-17 16:02:48 +01:00
Mathias Vorreiter Pedersen
d390b6235b
C++: Delete 'we assume'.
2023-10-17 16:00:09 +01:00
Ed Minnix
8ed5bfb27d
Remove reference to DataFlow2
2023-10-17 10:59:36 -04:00
Mathias Vorreiter Pedersen
0a71705dfe
C++: Add a small note about performance.
2023-10-17 15:57:37 +01:00
Mathias Vorreiter Pedersen
2fcf0abb7f
C++: Fix phinx syntax.
2023-10-17 15:45:16 +01:00
Mathias Vorreiter Pedersen
c5307bed2b
C++: Replace 'use_data' with 'read_data'.
2023-10-17 15:36:14 +01:00
Mathias Vorreiter Pedersen
d6ccd63ed2
C++: Reorganize the setup in the 'Flow from a qualifier to a field access' section.
2023-10-17 15:33:25 +01:00
Mathias Vorreiter Pedersen
3de32e813b
C++: Simplify introductory text and code.
2023-10-17 15:19:59 +01:00
Mathias Vorreiter Pedersen
bbf9bcde2a
Merge pull request #14482 from MathiasVP/additional-call-targets-for-cpp
...
C++: Add an abstract class that can be used to extend `viableCallable`
2023-10-17 14:57:21 +01:00
Mathias Vorreiter Pedersen
e264bddb25
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-10-17 15:51:20 +02:00
Mathias Vorreiter Pedersen
fa3053f7fa
Update docs/codeql/codeql-language-guides/advanced-dataflow-scenarios-cpp.rst
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-10-17 15:50:55 +02:00
AlexDenisov
401639e10b
Merge pull request #14528 from github/alexdenisov/debug-notes-on-db-upgrades
...
Docs: add a note on db migration scripts debugging
2023-10-17 15:49:39 +02:00
Alex Denisov
057172c391
Docs: add a note on db migration scripts debugging
2023-10-17 14:55:35 +02:00
Rasmus Wriedt Larsen
28bedda5ea
Merge pull request #14513 from RasmusWL/yield-modeling
...
Python: Improve `yield` modeling
2023-10-17 14:15:01 +02:00
Stephan Brandauer
9d719aa44e
Merge pull request #13444 from github/java/update-mad-decls-after-triage-2023-06-13T14-50-57
...
Java: Update MaD Declarations after Triage
2023-10-17 13:54:10 +02:00
Joe Farebrother
aa418dc7d0
Add more line breaks in qldoc
2023-10-17 12:51:22 +01:00
Mathias Vorreiter Pedersen
68f2501bf0
Merge pull request #14496 from geoffw0/memberinittest
...
Swift: Add data flow tests for member initialization.
2023-10-17 12:35:07 +01:00
Mathias Vorreiter Pedersen
9a2c1daebe
C++: Add tests for 'AdditionalCallTarget'.
2023-10-17 11:48:44 +01:00
Geoffrey White
5ffb773568
Swift: Explore instantiated / not instantiated classes.
2023-10-17 11:30:03 +01:00
Mathias Vorreiter Pedersen
0ad338f04a
Merge pull request #14521 from geoffw0/defaultstep
...
Swift: Add CollectionContent to defaultImplicitTaintRead
2023-10-17 11:07:10 +01:00
Tony Torralba
96d6e8e3f2
Update change note
2023-10-17 11:57:53 +02:00
Tony Torralba
3cd06b0026
More review suggestions
2023-10-17 11:54:32 +02:00
Tony Torralba
62a9ffd277
Apply suggestions from code review
2023-10-17 11:51:55 +02:00
Mathias Vorreiter Pedersen
75a8f01f65
C++: Add more documentation about dataflow through indirections.
2023-10-17 09:53:40 +01:00
Tony Torralba
4ecda9cccd
Add consistency check exception
2023-10-17 10:18:19 +02:00
Rasmus Wriedt Larsen
80506f1028
Python: Accept .expected changes
2023-10-17 10:11:39 +02:00
Rasmus Wriedt Larsen
62a992473f
Python: Update QLDoc
2023-10-17 10:09:19 +02:00
Rasmus Wriedt Larsen
2bf4c32433
Python: Add syntactic support for yield in contextlib.contextmanager
2023-10-17 09:51:20 +02:00
Rasmus Wriedt Larsen
2399793c8a
Python: Expand contextmanager test even more
2023-10-17 09:41:30 +02:00
Chris Smowton
3145c53a19
Accept test changes for JDK21
2023-10-16 22:00:41 +01:00
Chris Smowton
bd77f572f1
Compile collections test for Java 11
2023-10-16 21:54:09 +01:00
Geoffrey White
0a96eb0a40
Swift: Change note.
2023-10-16 21:43:55 +01:00
Geoffrey White
2679d1fdb5
Swift: Add models.
2023-10-16 21:40:38 +01:00
Erik Krogh Kristensen
24e779b826
Merge pull request #14520 from github/dependabot/cargo/ql/regex-1.10.2
...
Bump regex from 1.10.0 to 1.10.2 in /ql
2023-10-16 22:27:50 +02:00
Geoffrey White
451d779f4a
Swift: Test String.decodeCString.
2023-10-16 21:22:03 +01:00
Geoffrey White
459b006244
Swift: Test StringProtocol.appendingFormat.
2023-10-16 21:22:03 +01:00
Dave Bartolomeo
8e890571ed
Merge pull request #14519 from github/release-prep/2.15.1
...
Release preparation for version 2.15.1
2023-10-16 13:55:45 -04:00
dependabot[bot]
cf0173acad
Bump regex from 1.10.0 to 1.10.2 in /ql
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.10.0 to 1.10.2.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.10.0...1.10.2 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 17:49:47 +00:00
github-actions[bot]
3b3c036626
Release preparation for version 2.15.1
2023-10-16 17:49:39 +00:00
Michael B. Gale
d15c60ba76
Merge pull request #14516 from github/mbg/go/fix-dependabot-yml-again
2023-10-16 18:48:26 +01:00
Geoffrey White
c6ff42986d
Swift: Change note.
2023-10-16 18:43:03 +01:00
Geoffrey White
990c40c8c8
Swift: Barrier for duplicate results in constant queries, resulting from sources like [1, 2, 3].
2023-10-16 18:28:51 +01:00
Geoffrey White
6108f787dd
Swift: Effect on query tests.
2023-10-16 18:28:51 +01:00
Geoffrey White
0509c0fdf3
Swift: Effect on dataflow tests.
2023-10-16 18:28:50 +01:00
Geoffrey White
89867d6214
Swift: Default content read step.
2023-10-16 18:28:50 +01:00
Robert Marsh
efb04f6db4
Swift: update generated files list
2023-10-16 17:22:52 +00:00
Robert Marsh
d0ec2fd643
Swift: fix QLDoc typos
...
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com >
2023-10-16 13:20:41 -04:00
Dave Bartolomeo
e4e472ee74
Merge pull request #14512 from MathiasVP/fix-size-in-invalid-ptr-deref
...
C++: Fix size deduction in `cpp/invalid-pointer-deref`
2023-10-16 11:22:41 -04:00
Alex Ford
25c416ec8a
Merge pull request #14061 from maikypedia/maikypedia/ruby-jwt
...
Ruby: JWT Security Queries (CWE-347)
2023-10-16 15:42:31 +01:00
Edward Minnix III
21bea38ec8
Merge pull request #14472 from egregius313/egregius313/sync-local-and-remote-queries
...
Java: Synchronize `*Local` versions of queries with their remote counterpart
2023-10-16 10:31:40 -04:00
Ed Minnix
c65d407937
Remove old DataFlow2 import
2023-10-16 10:30:00 -04:00
Tony Torralba
d08ee76b16
Java: Improve java/spring-disabled-csrf-protection
2023-10-16 16:01:14 +02:00
Michael B. Gale
8c818a8657
group => groups
2023-10-16 14:53:03 +01:00
Mathias Vorreiter Pedersen
26a665369b
C++: Add QLDoc.
2023-10-16 14:15:55 +01:00
Michael B. Gale
822f37156e
Merge pull request #14483 from github/mbg/go/dependabot
...
Go: Improve Dependabot configuration
2023-10-16 14:05:36 +01:00
Joe Farebrother
05162c68ec
Fix typo
2023-10-16 13:43:06 +01:00
Alex Ford
22850b28df
Ruby: update alert message test output
2023-10-16 13:08:49 +01:00
Joe Farebrother
aade79f723
Improve qldoc and fix changenote
2023-10-16 13:02:28 +01:00
Alex Ford
66d230a207
ruby: qlformat
2023-10-16 12:45:46 +01:00
Alex Ford
3dd042c38a
Merge remote-tracking branch 'origin/main' into maikypedia/ruby-jwt
2023-10-16 12:42:19 +01:00
Mathias Vorreiter Pedersen
79947956bc
Merge pull request #14509 from MathiasVP/tag-redundant-null-check-simple-as-security
...
C++: Mark `cpp/redundant-null-check-simple` as a security query
2023-10-16 11:58:21 +01:00
Mathias Vorreiter Pedersen
ba27a0d515
Update cpp/ql/src/change-notes/2023-10-16-redundant-null-check-simple.md
...
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com >
2023-10-16 12:48:53 +02:00
Geoffrey White
1f92267786
Swift: Sort out identical files situation.
2023-10-16 11:26:12 +01:00
Geoffrey White
890b9d59ed
Swift: Fix line numbers.
2023-10-16 11:09:54 +01:00
Rasmus Wriedt Larsen
883bd9f3b3
Python: Add test for type-tracking with yield
2023-10-16 12:09:07 +02:00
Mathias Vorreiter Pedersen
32d82380f1
C++: Add change note.
2023-10-16 11:08:27 +01:00
Geoffrey White
225a9fe2d8
Merge branch 'main' into implicitflow
2023-10-16 11:02:34 +01:00
Mathias Vorreiter Pedersen
d8a049f5cc
C++: Accept test changes.
2023-10-16 10:51:47 +01:00
Geoffrey White
0e1da37379
Revert "Swift: Hide OpenExistentialExpr from the AST instead."
...
This reverts commit 9ad1749957 .
2023-10-16 10:49:39 +01:00
Mathias Vorreiter Pedersen
7e6857d36b
C++: Make 'hasSize' slightly smarter when handling ternary operators.
2023-10-16 10:48:28 +01:00
Mathias Vorreiter Pedersen
6a7b2e4aa4
C++: Add failing test.
2023-10-16 10:47:45 +01:00
Joe Farebrother
fe2468e7d0
Merge pull request #14498 from joefarebrother/csharp-missing-access-control
...
C#: Fix FP in Missing Function Level Access Control and Insecure Direct Object Reference
2023-10-16 10:46:19 +01:00
Geoffrey White
39a6375606
Swift: Change note.
2023-10-16 10:17:32 +01:00
Geoffrey White
613c7b24b5
Swift: Model .base, withUTF8(_:).
2023-10-16 10:17:32 +01:00
Geoffrey White
0bc24b8641
Swift: Model replaceSubrange more generally.
2023-10-16 10:17:32 +01:00
Geoffrey White
c6f2a2936b
Swift: Widen the StringProtocol model.
2023-10-16 10:14:43 +01:00
Geoffrey White
dcba1b9913
Swift: Tests for Substring.
2023-10-16 10:14:42 +01:00
Mathias Vorreiter Pedersen
20c3984872
C++: Add the 'security' tag and add a 'security-severity' rating to 'cpp/redundant-null-check-simple'.
2023-10-16 09:54:36 +01:00
Arthur Baars
0e3369f93f
Merge pull request #14484 from aibaars/ts53-js
...
JS: Support import attributes
2023-10-16 10:47:49 +02:00
Erik Krogh Kristensen
80c5e1ea77
Merge pull request #14497 from erik-krogh/jsp
...
JS: add support for extracting `.jsp` files
2023-10-16 09:27:46 +02:00
Erik Krogh Kristensen
c30e004506
Merge pull request #14506 from github/dependabot/cargo/ql/tracing-0.1.39
...
Bump tracing from 0.1.38 to 0.1.39 in /ql
2023-10-16 09:24:12 +02:00
Tony Torralba
ae8e237f2c
Merge pull request #14494 from atorralba/atorralba/remove-library
...
Java/C/C#: Remove library annotations
2023-10-16 09:01:40 +02:00
Tamás Vajk
d723905035
Merge pull request #14368 from tamasvajk/standalone/use-legacy-framework-dlls
...
C#: Choose between .NET framework or core DLLs in standalone
2023-10-16 08:53:55 +02:00
dependabot[bot]
7700210ed2
Bump tracing from 0.1.38 to 0.1.39 in /ql
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.38 to 0.1.39.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.38...tracing-0.1.39 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-16 03:21:13 +00:00
Owen Mansel-Chan
53561008a1
Merge pull request #14445 from owen-mc/go/automated-mad-coverage-report
...
Go: automated mad coverage report
2023-10-15 21:49:47 +01:00
Owen Mansel-Chan
39bca2d4bb
Merge pull request #14276 from tunnelshade/enable-gokit-by-default
...
Go: Enable GoKit module into the default list
2023-10-15 21:44:27 +01:00
Maiky
e204100701
Resolve conflict in Concepts.qll
2023-10-15 10:37:10 +02:00
Maiky
17210c76a5
change-note edition
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-10-15 10:25:58 +02:00
BD
0ef83b3c74
Merge branch 'main' into enable-gokit-by-default
2023-10-15 10:22:27 +05:30
Chris Smowton
7fbba3a659
Java: adapt stub to ExecutorService change in JDK19
2023-10-13 20:30:28 +01:00
Chris Smowton
8f985e0045
Java: restrict test to source classes
2023-10-13 20:30:28 +01:00
Chris Smowton
0510b0c825
Java: restrict test to source methods
...
Otherwise it finds standard library methods that depend on stdlib internals as to what happens to get extracted. In particular the extractor bump to JDK21 led to MethodHandles being in scope and a new method being found; seems better to avoid considering the standard library at all.
2023-10-13 20:30:28 +01:00
Geoffrey White
cea87a53e0
Swift: Fix LocalTaint.expected.
2023-10-13 18:19:26 +01:00
Ed Minnix
3356261031
Static IV refactor to MaD
2023-10-13 12:50:49 -04:00
Geoffrey White
e2ac3769bc
Swift: Change note.
2023-10-13 17:42:14 +01:00
Geoffrey White
aa0db1426d
Swift: Simplify the QL a bit further.
2023-10-13 17:42:14 +01:00
Geoffrey White
d0f214a9a7
Swift: Widen the model to include things that are not strictly RawRepresentable but which appear similar. This fixes the XXE test cases. Unclear whether xmlParserOption in the test should in fact extend RawRepresentable, or not.
2023-10-13 17:35:05 +01:00
Joe Farebrother
9097d93ac7
Add shared library for filepath normalization
2023-10-13 17:07:47 +01:00
Jeroen Ketema
d56a9f0781
Merge pull request #14424 from jketema/rewrite-cgi-xss
...
C++: Rewrite `cpp/cgi-xss` to not use default taint tracking
2023-10-13 17:57:04 +02:00
Mathias Vorreiter Pedersen
fb0016e4f6
Merge pull request #14485 from geoffw0/logging
...
Swift: Add more sinks to `swift/cleartext-logging`
2023-10-13 16:09:19 +01:00
Mathias Vorreiter Pedersen
9a2ac65f53
Merge pull request #14394 from geoffw0/sqlpathinject3
...
Swift: Add sinks for sqlite3 and SQLite.swift to swift/hardcoded-key
2023-10-13 16:07:09 +01:00
Robert Marsh
b832fc8e32
Swift: additional QLDoc around closures
2023-10-13 14:54:38 +00:00
Mathias Vorreiter Pedersen
140ff537c0
C++: Split 'defaultViableCallable' and 'viableCallable'.
2023-10-13 15:47:02 +01:00
Geoffrey White
4e29ed5ff0
Swift: Model RawRepresentable.
2023-10-13 15:00:49 +01:00
Geoffrey White
228aaee0bf
Swift: Add data flow tests for RawRepresentable, OptionSet.
2023-10-13 14:34:05 +01:00
Joe Farebrother
915352861d
Check for generic base types in Missing Function Level Access Control and Insecure Direct Object Reference.
2023-10-13 14:22:45 +01:00
erik-krogh
69c3e62965
add change-note
2023-10-13 15:16:39 +02:00
Geoffrey White
9e473ebda4
Swift: Remove the 'rawValue' step as well.
2023-10-13 14:02:15 +01:00
Geoffrey White
da14f428e2
Swift: Remove now redundant additional taint step. from the XXE query.
2023-10-13 13:57:54 +01:00
Tamas Vajk
15ec0a10c9
Code quality improvements
2023-10-13 14:09:58 +02:00
Calum Grant
192c16bbb3
C++: Format QL and delete note
2023-10-13 13:07:43 +01:00
Jeroen Ketema
61676277e8
C++: Fix barrier in cpp/cgi-xss
2023-10-13 14:05:47 +02:00
Geoffrey White
33f83a2089
Swift: Add some failing data flow test cases.
2023-10-13 12:24:43 +01:00
Calum Grant
552221868f
C++: Expand ImplicitThisFieldAccess
2023-10-13 12:05:20 +01:00
Tony Torralba
0cea3f8531
Remove library annotations
2023-10-13 12:46:56 +02:00
Harry Maclean
1297acf5b1
Merge pull request #14216 from hmac/hmac-graphql-enum
...
Ruby: Restrict GraphQL remote flow sources
2023-10-13 11:31:50 +01:00
erik-krogh
9080e84fc9
add support for extracting .jsp files
2023-10-13 12:09:27 +02:00
Tamas Vajk
791a6422b3
C#: Fix params attribute argument extraction
2023-10-13 11:30:02 +02:00
Tamas Vajk
e730815f41
C#: Add test case for params arguments in attributes
2023-10-13 11:29:32 +02:00
Tony Torralba
5e921784fb
Merge pull request #14399 from ebickle/fix/thread-resource-arithmetic
...
Java: Flow taint through arithmetic expressions for java/thread-resource-abuse experimental query
2023-10-13 10:06:33 +02:00
Erik Krogh Kristensen
b1ad61e27d
Merge pull request #14481 from erik-krogh/proper-codepoints
...
ReDoS: use the new codePointAt and codePointCount methods instead of regex hacks
2023-10-13 09:35:55 +02:00
Felicity Chapman
2ddcd1d9cc
Merge pull request #14489 from github/felicitymay-typo-fix
...
Fix typo in link
2023-10-12 21:45:30 +01:00
Felicity Chapman
8f70b55158
Fix typo in link
2023-10-12 20:53:44 +01:00
Ian Lynagh
2edc70da79
Merge pull request #14390 from igfoo/igfoo/compr
...
Kotlin: Improve support for TRAP compression options
2023-10-12 20:22:10 +01:00
Robert Marsh
dd71204128
Swift: update test expectations for for-in locations
2023-10-12 18:59:36 +00:00
Geoffrey White
fe57cd0784
Merge pull request #14488 from geoffw0/strlentest
...
Swift: Additional test cases for `swift\string-length-conflation`
2023-10-12 19:39:43 +01:00
AlexDenisov
6ab2de10e3
Merge pull request #14437 from github/alexdenisov/ignore-unavailable-declarations
...
Swift: skip declarations marked as unavailable
2023-10-12 20:08:18 +02:00
Ian Lynagh
ed9502fd0b
Kotlin: Enhance the TRAP compression test
2023-10-12 18:13:07 +01:00
Ian Lynagh
adb47399c7
Kotlin: Improve support for TRAP compression options
...
While you could control compression with
CODEQL_EXTRACTOR_JAVA_OPTION_TRAP_COMPRESSION
before, most TRAP files used gzip regardless for compatibility with the
Java extractor. Now Java understands the option too we can use it for
shared TRAP files.
2023-10-12 18:13:06 +01:00
Mathias Vorreiter Pedersen
3c34638438
Merge pull request #14486 from MathiasVP/simplify-overrun-write
...
C++: Remove unnecessary `FlowState` from `cpp/overrun-write`
2023-10-12 17:48:52 +01:00
Geoffrey White
9f683b8630
Swift: Remove duplicate results.
2023-10-12 17:38:58 +01:00
Geoffrey White
cf7f355fc4
Swift: Additional test cases.
2023-10-12 17:11:56 +01:00
Stephan Brandauer
bcde466d6c
use of characteristics
2023-10-12 17:22:05 +02:00
Stephan Brandauer
1bbf88f208
Java: basic version of automodel extraction queries
2023-10-12 17:07:46 +02:00
Ed Minnix
31c04b50f7
Change note
2023-10-12 09:58:09 -04:00
Ed Minnix
4eeaf84133
Sync NumericCastTaintedQuery
2023-10-12 09:58:08 -04:00
Ed Minnix
ec84f072eb
Sync ArithmeticTaintedLocalQuery
2023-10-12 09:58:08 -04:00
Ed Minnix
da933fb77a
Sync ExternallyControlledFormatStringLocalQuery
2023-10-12 09:58:08 -04:00
Ed Minnix
f1886320e5
Sync ImproperValidationOfArrayIndexLocalQuery
2023-10-12 09:58:08 -04:00
Ed Minnix
69531b9f7c
Sync ResponseSplittingLocalQuery
2023-10-12 09:58:08 -04:00
Ed Minnix
ef282955fd
Sync SqlTaintedLocalQuery with SqlInjectionQuery
2023-10-12 09:58:08 -04:00
Ed Minnix
e4f567979a
Sync XSS Local
2023-10-12 09:58:08 -04:00
Mathias Vorreiter Pedersen
64fa6c8bbd
C++: Remove the hacky flow state since this is no longer needed after #13717 .
2023-10-12 13:58:36 +01:00
Geoffrey White
5c0085880f
Swift: Change note.
2023-10-12 13:24:10 +01:00
Geoffrey White
e2a8569940
Swift: Clean up indentation.
2023-10-12 13:05:20 +01:00
Geoffrey White
8f852f2e7d
Swift: Turn sink models into flow summary models, where appropriate.
2023-10-12 12:57:05 +01:00
erik-krogh
fa1e8ee426
add getACodepoint to the shared Strings library, and use it in NfaUtils
2023-10-12 13:38:19 +02:00
erik-krogh
822ba2ae59
add documentation for the new string methods in ql-language-specification.rst
2023-10-12 13:38:19 +02:00
erik-krogh
116025c569
use the new codePointAt and codePointCount methods instead of regex hacks
2023-10-12 13:38:19 +02:00
Arthur Baars
a4d0ef6350
Add changenote
2023-10-12 13:04:00 +02:00
Arthur Baars
a9a21aa313
Rename DynamicImportExpr::getImport{Attributes => Options}
2023-10-12 13:00:39 +02:00
Arthur Baars
1f4fcf1f31
Rename test files
2023-10-12 13:00:39 +02:00
Arthur Baars
a1c1f7b910
Add tests for deprecated 'assert' syntax
2023-10-12 13:00:39 +02:00
Arthur Baars
f38d2e1b89
Replace 'assert' with 'with' in QL test files
2023-10-12 13:00:39 +02:00
Arthur Baars
c28004f2a6
Rename 'getImportAssertion()' to 'getImportAttributes()' in QL library
2023-10-12 13:00:39 +02:00
Arthur Baars
07172da1bc
Add tests for deprecated 'assert' syntax
2023-10-12 12:51:13 +02:00
Arthur Baars
f7b02c01dd
Rename getAssertion() to getAttributes() in the extractor
2023-10-12 12:51:13 +02:00
Arthur Baars
1d9ee5da3c
Rename 'assertions' to 'attributes' in JS extractor
2023-10-12 12:49:25 +02:00
Erik Krogh Kristensen
59c43c7904
Merge pull request #14410 from erik-krogh/bigger-compilation-cache
...
use a bigger compilation cache in the compile-queries workflow
2023-10-12 12:35:44 +02:00
Mathias Vorreiter Pedersen
782ecd77b7
C++: Add change notes.
2023-10-12 11:15:41 +01:00
Mathias Vorreiter Pedersen
02f73145d6
Merge pull request #14354 from geoffw0/conversions2
...
Swift: Improve models for Numeric, RangeReplaceableCollection
2023-10-12 11:13:50 +01:00
Michael B. Gale
75900f05c9
Go: group golang.org dependencies
2023-10-12 10:55:45 +01:00
Michael B. Gale
114a875f3d
Go: re-add Dependabot allow list
2023-10-12 10:55:31 +01:00
Arthur Baars
b936e91fe9
Support JS import attributes (previously import assertions)
2023-10-12 11:43:42 +02:00
Mathias Vorreiter Pedersen
6865ce56bc
C++: Add an abstract class that can be used to extend 'viableCallable'.
2023-10-12 10:35:36 +01:00
Michael B. Gale
f6570710e7
Merge pull request #14441 from github/dependabot/go_modules/go/extractor/golang.org/x/tools-0.14.0
...
Bump golang.org/x/tools from 0.13.0 to 0.14.0 in /go/extractor
2023-10-12 10:19:34 +01:00
Tamas Vajk
3b4ea27caf
Be more explicit about expected assembly loading exceptions
2023-10-12 11:10:30 +02:00
Tamas Vajk
09c1c715a3
Filter analyzer assemblies from nuget packages
2023-10-12 11:10:30 +02:00
Geoffrey White
7916bd39b4
Swift: Generalize 'write' models.
2023-10-12 09:21:33 +01:00
Geoffrey White
09974b5176
Swift: Extend sink models.
2023-10-12 09:17:04 +01:00
Tamas Vajk
8a0dc31ab0
Revert "Add source generators to framework stubs"
...
This reverts commit 2e8a91efda .
2023-10-12 09:35:08 +02:00
Tamas Vajk
2e8a91efda
Add source generators to framework stubs
2023-10-12 08:51:06 +02:00
Tamas Vajk
534ea3ecac
Adjust stub generator test to fix the nuget package version
2023-10-12 08:50:32 +02:00
Owen Mansel-Chan
5fcdb9e112
Merge pull request #14442 from owen-mc/go/test-qldoc-coverage
...
Fix module name
2023-10-11 23:45:53 +01:00
Owen Mansel-Chan
286271340e
Merge branch 'main' into go/automated-mad-coverage-report
2023-10-11 21:31:25 +01:00
Tamas Vajk
e82076d558
Lock SDK version in standalone test
2023-10-11 22:28:47 +02:00
Owen Mansel-Chan
e300440a8b
Delete redundant import
2023-10-11 21:28:31 +01:00
Owen Mansel-Chan
dfcdb4ace8
Update CSV to MaD in description for java and C#
2023-10-11 21:09:59 +01:00
Eric Bickle
ee2d8f84de
Merge branch 'main' into fix/thread-resource-arithmetic
2023-10-11 13:09:57 -07:00
Owen Mansel-Chan
e5e9c33005
Generated reports
2023-10-11 21:09:55 +01:00
Owen Mansel-Chan
06a600c7fb
Set up automated coverage reports for Go
...
Copied from https://github.com/github/codeql/pull/6148
2023-10-11 21:09:54 +01:00
Eric Bickle
f018d83951
Merge branch 'fix/thread-resource-arithmetic' of https://github.com/ebickle/codeql into fix/thread-resource-arithmetic
2023-10-11 13:09:39 -07:00
Eric Bickle
4cb78ab3c7
Remove change notes
2023-10-11 13:08:56 -07:00
Tamas Vajk
da096553a2
Do not throw exception when working directory cleanup fails
2023-10-11 20:48:17 +02:00
Geoffrey White
0e4cd7f52f
Swift: Additional test cases.
2023-10-11 18:37:24 +01:00
Henry Mercer
1a370bfbbe
Merge pull request #14443 from github/post-release-prep/codeql-cli-2.15.0
...
Post-release preparation for codeql-cli-2.15.0
2023-10-11 17:39:04 +01:00
Tamas Vajk
4f31b5a214
C#: Fix stub generator to use framework references from nuget packages
2023-10-11 16:40:09 +02:00
Rasmus Lerchedahl Petersen
a4117538ab
Python: update test expectations
...
This update looks different locally for me,
so this is slightly sketchy..
2023-10-11 16:31:56 +02:00
Tamas Vajk
ada5dcced4
Adjust expected test result in windows standalone test
2023-10-11 16:25:35 +02:00
Tamas Vajk
e718796f23
Separate standalone dependency integration tests by platform
2023-10-11 16:25:35 +02:00
Tamas Vajk
e1b283c14a
Exclude nuget packages with prefix runtime. from the references
2023-10-11 16:25:34 +02:00
Tamas Vajk
93380f8cbb
Force the nuget download of dotnet framework reference assemblies
2023-10-11 16:25:34 +02:00
Tamas Vajk
12fdb3427b
Add integration test targetting .NET 4.8
2023-10-11 16:25:34 +02:00
Tamas Vajk
b8effa3a1c
Add integration test listing standalone extracted assemblies
2023-10-11 16:25:34 +02:00
Tamas Vajk
4e2c6ff8d7
C#: Consider possibly restored reference assemblies
2023-10-11 16:25:34 +02:00
Tamas Vajk
4887c697c9
C#: Choose between .NET framework or core DLLs in standalone
2023-10-11 16:25:34 +02:00
github-actions[bot]
ae6af17c74
Post-release preparation for codeql-cli-2.15.0
2023-10-11 14:19:20 +00:00
Tamás Vajk
a31f946d6f
Merge pull request #14436 from tamasvajk/void-type-value-type
...
C#: Include the `void` type in value types
2023-10-11 16:16:06 +02:00
Asger F
7780fe9472
Merge pull request #14435 from asgerf/ruby/port-synced-queries
...
JS/Ruby: desync two queries and port the Ruby version to ConfigSig-style
2023-10-11 15:50:58 +02:00
Owen Mansel-Chan
b6bf4d04ff
Fix module name
2023-10-11 14:47:46 +01:00
dependabot[bot]
442a4fe9cf
Bump golang.org/x/tools from 0.13.0 to 0.14.0 in /go/extractor
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-11 13:12:49 +00:00
Michael B. Gale
7a98afe6ec
Merge pull request #14439 from github/mbg/go/workspace-experiments
...
Go: Move `go.mod` into `extractor` subdirectory
2023-10-11 14:11:07 +01:00
Jean Helie
a4eb3fd997
Merge pull request #14438 from github/jhelie/fix-automodel-extraction-queries
...
Automodel: Fix automodel extraction queries
2023-10-11 14:30:01 +02:00
Michael B. Gale
7d7d90e7e0
Update expected test output
2023-10-11 13:18:27 +01:00
Michael B. Gale
94b0bc1e35
Move go.mod into extractor directory
2023-10-11 13:10:20 +01:00
Jean Helie
6260768e6a
update query message to incoude extensibleType
2023-10-11 14:02:24 +02:00
Jean Helie
c41676a21a
update query message to incoude extensibleType
2023-10-11 14:02:12 +02:00
Owen Mansel-Chan
477d8f8b9a
Merge pull request #14064 from amammad/amammad-go-NewFileSystemAccess
...
Go: New File System Access Sinks
2023-10-11 12:58:38 +01:00
Owen Mansel-Chan
96543b8337
Merge pull request #14075 from amammad/amammad-go-JWT
...
Go: Improved JWT query, JWT decoding without verification
2023-10-11 12:31:43 +01:00
Mathias Vorreiter Pedersen
02915582eb
Merge pull request #14432 from MathiasVP/select-the-right-node-for-flow-sources
...
C++: Use fully converted instructions as the target of modelled functions
2023-10-11 13:04:16 +02:00
Owen Mansel-Chan
8a3aa2c767
Fix formatting
2023-10-11 11:46:31 +01:00
Tamas Vajk
267fd23b26
C#: Include the void type in value types
2023-10-11 12:01:17 +02:00
Tamás Vajk
304d7a4395
Merge pull request #14429 from tamasvajk/relax-metadata_handle-keyset
...
C#: Remove `keyset` from `metadata_handle` relation
2023-10-11 12:00:11 +02:00
Erik Krogh Kristensen
85bb14f04f
Merge pull request #14405 from erik-krogh/tagCall
...
JS: recognize tagged template literals as `DataFlow::CallNode`
2023-10-11 11:25:34 +02:00
Mathias Vorreiter Pedersen
d54ab640c7
Merge branch 'main' into select-the-right-node-for-flow-sources
2023-10-11 10:17:10 +01:00
Alex Denisov
4133284bc8
Swift: skip declarations marked as unavailable
2023-10-11 10:55:49 +02:00
Tamás Vajk
aa7a667919
Merge pull request #14421 from tamasvajk/csharp/autobuilder-test
...
C#: Add autobuilder test with global.json
2023-10-11 10:35:53 +02:00
amammad
5e273238ca
fix qldoc
2023-10-11 10:33:44 +02:00
Asger F
89bd00a4ec
Ruby: port queries to ConfigSig-style
2023-10-11 10:06:19 +02:00
Asger F
6df919a917
JS/Ruby: remove sync between two queries
2023-10-11 10:06:11 +02:00
Rasmus Wriedt Larsen
68d00a829e
Merge pull request #14430 from RasmusWL/api-graph-import-star
...
Python: Better allow `import *` to work with API graphs
2023-10-11 10:03:46 +02:00
Erik Krogh Kristensen
6377e92067
Update javascript/ql/lib/semmle/javascript/dataflow/DataFlow.qll
...
Co-authored-by: Asger F <asgerf@github.com >
2023-10-11 09:52:48 +02:00
Erik Krogh Kristensen
e99b1598d1
Merge pull request #14433 from erik-krogh/delete-expected
...
JS: delete an .expected file outside the test directories
2023-10-11 09:44:04 +02:00
Tamás Vajk
c587dbb72a
Merge pull request #14428 from tamasvajk/feature/deterministic-conflict-resolution
...
C#: Make conflicting assembly selection deterministic in standalone
2023-10-11 08:40:50 +02:00
amammad
4499048d8e
better query quality thanks to owen
2023-10-10 23:41:45 +02:00
amammad
877605d31b
change c to C for fixing the qhelp error :)
2023-10-10 23:35:05 +02:00
amammad
b6968d9260
fix beego tests
2023-10-10 23:30:26 +02:00
amammad
8d6f985aea
fix afero additional step and tests
2023-10-10 23:24:04 +02:00
amammad
db9f74bc78
fix tests
2023-10-10 23:15:07 +02:00
amammad
82483a206e
fix tests
2023-10-10 23:14:11 +02:00
amammad
38b0ed8176
fix issues according to codereview
2023-10-10 23:12:30 +02:00
erik-krogh
ccd06c78b9
delete an .expected file outside the test directories
2023-10-10 21:35:19 +02:00
Robert Marsh
484d020c39
Merge branch 'main' into rdmarsh2/swift/autoclosure-cfg
2023-10-10 18:47:13 +00:00
Eric Bickle
7a4382fb69
Merge branch 'main' into fix/thread-resource-arithmetic
2023-10-10 09:38:16 -07:00
Eric Bickle
80c8259e34
Remove unnecessary AdditionalValueStep check
2023-10-10 09:35:45 -07:00
Mathias Vorreiter Pedersen
f1cefc8900
Merge branch 'main' into select-the-right-node-for-flow-sources
2023-10-10 17:35:37 +01:00
Mathias Vorreiter Pedersen
496f190d70
C++: Accept test changes.
2023-10-10 16:45:31 +01:00
Mathias Vorreiter Pedersen
512c10ec59
C++: Use the fully converted expression when converting models to dataflow nodes.
2023-10-10 16:45:25 +01:00
Rasmus Wriedt Larsen
ee75b104eb
Python: Add change-note
2023-10-10 17:45:11 +02:00
Rasmus Wriedt Larsen
72d0dcdaba
Python: Workaround for module level items from import * not being LocalSourceNodes
2023-10-10 17:45:11 +02:00
Rasmus Wriedt Larsen
6521e5165c
Python: Extend import * with plain use
...
(no calls or anything)
2023-10-10 17:45:11 +02:00
yoff
f1266a3e81
Merge pull request #14417 from github/tausbn/python-add-flow-for-assignment-expressions
2023-10-10 17:09:20 +02:00
Tamas Vajk
4c6073ebce
C#: Remove keyset from metadata_handle relation
2023-10-10 16:49:48 +02:00
Tamas Vajk
2378e31c5e
C#: Make conflicting assembly selection deterministic
2023-10-10 16:32:02 +02:00
Michael B. Gale
be16cb4190
Merge pull request #14415 from github/mbg/go/dependabot-config
2023-10-10 14:36:34 +01:00
Michael B. Gale
ce905bba41
Apply suggestions from code review
...
Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com >
2023-10-10 14:21:20 +01:00
Tamás Vajk
bc1c22cda2
Merge pull request #14425 from tamasvajk/standalone/nuget-download-lazy
...
C#: Only download nuget.exe if there are packages.config files
2023-10-10 14:28:43 +02:00
Rasmus Wriedt Larsen
2d947a4f53
Merge pull request #13781 from maikypedia/maikypedia/python-unsafe-deserialization
...
Python: Add unsafe deserialization sinks (CWE-502)
2023-10-10 13:30:38 +02:00
Owen Mansel-Chan
542d5a2451
Merge pull request #14414 from owen-mc/go/fix-incorrect-integer-conversion-performance-regression
...
Go: Change MaxValueState API to get architecture bit size
2023-10-10 11:27:18 +01:00
Jeroen Ketema
3b777c2764
C++: Rewrite cpp/cgi-xss to not use default taint tracking
...
Also add a test that demonstrates that we need to look at inidrect expressions
and not direct ones.
2023-10-10 11:56:39 +02:00
Tamas Vajk
1872a937d5
C#: Only download nuget.exe if there are packages.config files
2023-10-10 11:39:39 +02:00
Owen Mansel-Chan
fd9c1d30f9
Remove argument that is always one value
2023-10-10 10:35:04 +01:00
Owen Mansel-Chan
cf0411e7e2
Change MaxValueState API to get architecture bit size
...
This fixes a performance regression, though it is not clear why.
2023-10-10 10:35:02 +01:00
Taus
8e1bb4b364
Python: Accept moved consistency test results
...
Co-authored-by: Rasmus Lerchedahl Petersen <yoff@github.com >
2023-10-10 09:22:36 +00:00
Geoffrey White
0d562d4874
Swift: Autoformat.
2023-10-10 10:01:37 +01:00
Geoffrey White
48ee4add08
Merge branch 'main' into sqlpathinject3
2023-10-10 08:54:44 +01:00
Geoffrey White
0374414798
Swift: Fix TupleElement syntax.
2023-10-10 08:31:50 +01:00
Michael Nebel
5c44f8bbad
Merge pull request #14370 from michaelnebel/java/enablethreatmodels
...
Java: Enable threat models for most Java queries.
2023-10-10 09:25:47 +02:00
Tamas Vajk
538df1bb6d
C#: Add autobuilder test with global.json
2023-10-10 09:11:40 +02:00
Erik Krogh Kristensen
5cb3543899
Merge pull request #14420 from github/dependabot/cargo/ql/regex-1.10.0
...
Bump regex from 1.9.6 to 1.10.0 in /ql
2023-10-10 08:43:46 +02:00
dependabot[bot]
0e09420e7b
Bump regex from 1.9.6 to 1.10.0 in /ql
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.9.6 to 1.10.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.6...1.10.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-10 03:56:00 +00:00
Erik Krogh Kristensen
4489e2bf28
Merge pull request #14403 from erik-krogh/dDEps
...
All: delete outdated deprecations
2023-10-09 21:04:55 +02:00
amammad
2579791f51
fix examples
2023-10-09 19:00:55 +02:00
Jeroen Ketema
fe60269fdd
Merge pull request #14416 from jketema/revert-cgi-xss-rewrite
...
Revert "C++: Rewrite `cpp/cgi-xss` to not use default taint tracking"
2023-10-09 18:52:54 +02:00
Jeroen Ketema
6ff8e06ace
Revert "C++: Rewrite cpp/cgi-xss to not use default taint tracking"
...
This reverts commit b6132d2a0f .
2023-10-09 16:30:21 +02:00
Robert Marsh
dab9a859f3
Merge branch 'main' into rdmarsh2/swift/autoclosure-cfg
2023-10-09 14:21:28 +00:00
Taus
e8ac258994
Python: Add missing flow for AssignmentExpr nodes
...
Also extend the tests surrounding this construct to be a bit more comprehensive.
Co-authored-by: Rasmus Lerchedahl Petersen <yoff@github.com >
2023-10-09 14:16:03 +00:00
Michael B. Gale
f186b93c93
Add dependabot configuration for Go dependencies
2023-10-09 15:14:17 +01:00
Robert Marsh
8af727734e
Merge pull request #13909 from rdmarsh2/rdmarsh2/swift/for-in
...
Swift: dataflow for `for-in` loops
2023-10-09 10:00:27 -04:00
Michael B. Gale
ebd640da04
Merge pull request #14391 from github/mbg/go/update-newer-go-version-needed
...
Go: Fix version detection and test for `newer-go-version-needed`
2023-10-09 14:47:37 +01:00
Erik Krogh Kristensen
625e889c62
Merge pull request #14339 from erik-krogh/range-printing
...
JS/PY/RB/Java: escape unicode chars in overly-large-range
2023-10-09 14:22:38 +02:00
Geoffrey White
57e32b47b7
Merge pull request #14386 from geoffw0/swiftperf
...
Swift: defaultImplicitTaintRead performance improvement
2023-10-09 13:07:11 +01:00
Geoffrey White
62b0ebf2fe
Merge pull request #14407 from geoffw0/grdbsinks
...
Swift: Add sinks for the GRDB database library to swift/hardcoded-key
2023-10-09 12:58:17 +01:00
erik-krogh
e1b2f81f43
Revert "update doc example to not use isBarrierGuard"
...
This reverts commit 28f8c1cc11 .
2023-10-09 13:29:41 +02:00
erik-krogh
ef63d9dd47
use a bigger compilation cache in the compile-queries workflow
2023-10-09 13:21:37 +02:00
Michael Nebel
cf3a62d201
Java: Address review comments.
2023-10-09 13:06:59 +02:00
Anders Schack-Mulligen
4a0ab4a050
Merge pull request #14402 from Marcono1234/marcono1234/MemberRefExpr-getReceiverExpr
...
Java: Add predicate `MemberRefExpr::getReceiverExpr`
2023-10-09 13:01:36 +02:00
Anders Schack-Mulligen
8c6a1be070
Merge pull request #14401 from Marcono1234/marcono1234/ClassInstanceExpr-type-argument-doc
...
Java: Adjust `ClassInstanceExpr` type argument predicates docs
2023-10-09 13:01:18 +02:00
Robert
e38ba27a65
Merge pull request #14408 from github/robertbrignull/telemetryLevel-docs
...
Update about-telemetry-in-codeql-for-visual-studio-code.rst to mention telemtry.telemetryLevel
2023-10-09 11:38:33 +01:00
Robert
ada331588f
Update about-telemetry-in-codeql-for-visual-studio-code.rst to mention telemtry.telemetryLevel
2023-10-09 11:04:52 +01:00
Jeroen Ketema
f7bd801e00
Merge pull request #11716 from jketema/rewrite-cgi-xss
...
C++: Rewrite `cpp/cgi-xss` to not use default taint tracking
2023-10-09 11:26:14 +02:00
Mathias Vorreiter Pedersen
a1d417d8b6
Merge pull request #14385 from alexet/ir-debug-perf
...
CPP: Improve performance of IR debugging
2023-10-09 11:21:03 +02:00
Tony Torralba
0258dd4fed
Merge pull request #14379 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2023-10-09 10:06:22 +02:00
erik-krogh
a7ab9fd93b
add change-notes
2023-10-09 09:43:06 +02:00
erik-krogh
f48b47c656
JavaScript: add import that populate the shared abstract classes
2023-10-09 09:14:55 +02:00
erik-krogh
57c757c0a6
Ruby: delete outdated deprecation in test code
2023-10-09 09:14:55 +02:00
erik-krogh
194f918c0b
Python: delete various outdated deprecations
2023-10-09 09:14:55 +02:00
erik-krogh
c2942b37a7
JS: delete various outdated deprecations
2023-10-09 09:14:55 +02:00
erik-krogh
e0fefce2a3
Ruby: delete various deprecated predicates
2023-10-09 09:14:54 +02:00
erik-krogh
e3e8f3d7c4
Java: delete various outdated deprecations
2023-10-09 09:14:54 +02:00
erik-krogh
689eda4dae
CPP: delete the deprecated AnalysedString class
2023-10-09 09:14:54 +02:00
erik-krogh
1c9f59e491
Python:delete deprecated files modelling web frameworks
2023-10-09 09:14:54 +02:00
erik-krogh
0d992a3d1f
delete old deprecated aliases of various regex libraries
2023-10-09 09:14:54 +02:00
erik-krogh
28f8c1cc11
update doc example to not use isBarrierGuard
2023-10-09 09:14:51 +02:00
github-actions[bot]
7c332a31a8
Add changed framework coverage reports
2023-10-09 00:16:19 +00:00
Geoffrey White
8a7325268a
Swift: Change note.
2023-10-07 23:19:24 +01:00
Geoffrey White
c492b5f2dd
Swift: Model sinks.
2023-10-07 23:19:09 +01:00
Geoffrey White
8bf6fd67d1
Swift: Add a test for GRDB hardcoded key sinks.
2023-10-07 23:07:32 +01:00
erik-krogh
4bc4e0845d
delete the deprecated isBarrierGuard predicate from the shared dataflow library, and its uses
2023-10-07 21:48:49 +02:00
erik-krogh
d261cec3cd
add change-note
2023-10-07 15:41:08 +02:00
Marcono1234
f3e5045259
Java: Add predicate MemberRefExpr::getReceiverExpr
2023-10-07 14:53:07 +02:00
erik-krogh
56e9eda2b9
fix performance by caching getArgument
2023-10-07 13:06:45 +02:00
Marcono1234
2c0dcd3a2d
Java: Adjust ClassInstanceExpr type argument predicates docs
...
The type arguments which these predicates have as result are for the
type of the created instance.
Previously the documentation said "provided to the constructor", which
is misleading / incorrect. Type arguments provided to the constructor
are specified directly after the `new` keyword:
```
class C {
<T> C() {
}
}
new <String> C();
```
And those are not part of the results of these predicates.
2023-10-07 03:43:58 +02:00
Eric Bickle
4dca396106
Add change notes for ThreadResourceAbuse ArithExpr fix
2023-10-06 14:31:37 -07:00
Eric Bickle
000c1f7ec8
Java: Flow taint through ArithExpr for ThreadResourceAbuse
...
Ensure that tainted values flow through arithmetic operations when
checking for ThreadResourceAbuse vulnerabilities.
For example, multiplying 'number of seconds' by 1000 as an input
to Thread.Sleep, which accepts milliseconds, is a common scenario.
2023-10-06 14:24:37 -07:00
Robert Marsh
30a9656ebb
Swift: change note for autoclosure cfg
2023-10-06 20:19:35 +00:00
Robert Marsh
cb749bd973
Swift: CFG for normal autoclosure exprs
2023-10-06 20:14:49 +00:00
Robert Marsh
661da76838
Swift: add function call autoclosure tests
2023-10-06 19:49:33 +00:00
erik-krogh
7ca0996912
add a taint-tracking tests for calls to tagged template strings
2023-10-06 21:39:42 +02:00
erik-krogh
9b6501787a
add API-graph test for the new tagged template calls
2023-10-06 21:25:34 +02:00
Geoffrey White
0918e50b05
Swift: Switch pragma to inline_late.
2023-10-06 20:23:51 +01:00
erik-krogh
18e6a5491c
recognize tagged templates as DataFlow::CallNode
2023-10-06 21:14:00 +02:00
erik-krogh
951ed01d6b
combine the library-tests/CallGraphs/FullTest tests into one file
2023-10-06 20:57:09 +02:00
Geoffrey White
7c28528eac
Swift: Change note.
2023-10-06 18:26:21 +01:00
Geoffrey White
676179620a
Swift: Get sqlite3 C API results (model Data.withUnsafeBytes, Data.withUnsafeMutableBytes, permit flow out of collections at the query sink)
2023-10-06 18:26:20 +01:00
Geoffrey White
bc9d8cc40f
Swift: Get another SQLite.swift result.
2023-10-06 18:26:20 +01:00
Geoffrey White
691665fca8
Swift: Add models for SQLite.swift.
2023-10-06 18:26:19 +01:00
Geoffrey White
bece2e8689
Swift: Add models for sqlite3 C API.
2023-10-06 18:26:19 +01:00
Geoffrey White
9a628d4165
Swift: Add test for sqlite3 C API.
2023-10-06 18:26:18 +01:00
Geoffrey White
8006996f46
Swift: Add test for SQLite.swift.
2023-10-06 18:26:18 +01:00
Geoffrey White
9ad1749957
Swift: Hide OpenExistentialExpr from the AST instead.
2023-10-06 17:55:29 +01:00
Geoffrey White
76db1c5c8b
Swift: Add the same code to the AST test as well.
2023-10-06 17:13:49 +01:00
Robert Marsh
85587413d0
Swift: fix QLDoc formatting for getSequence
2023-10-06 15:29:56 +00:00
Robert Marsh
c281db6b5b
Swift: improve QLDoc for getSequence
2023-10-06 15:23:58 +00:00
Robert Marsh
ec292ca4e1
Swift: Split for-each change note into two lines
2023-10-06 15:21:55 +00:00
amammad
7d36c23d59
fix qhelp and PascalCase issues
2023-10-06 16:14:10 +02:00
Jeroen Ketema
b6132d2a0f
C++: Rewrite cpp/cgi-xss to not use default taint tracking
2023-10-06 16:11:13 +02:00
Michael Nebel
dca39348ab
Java: Add change note.
2023-10-06 15:09:16 +02:00
Michael Nebel
fb10af9042
Jave: Remove the local threat model from the default configuration.
2023-10-06 14:58:48 +02:00
amammad
7d73808d60
fix a test mistake, add comments for JWT extension points
2023-10-06 13:31:09 +02:00
amammad
aa127b1662
do review improvements
2023-10-06 13:22:43 +02:00
Michael B. Gale
0b13da35eb
Go: Update newer-go-version-needed test
...
- Use a version that is accepted by Go tooling
- Run is no longer successful with Go 1.21
2023-10-06 11:57:47 +01:00
Michael B. Gale
01a1d814f4
Do not call EmitNewerGoVersionNeeded for v1.21+
2023-10-06 11:57:37 +01:00
Michael B. Gale
c63f6807c4
Go: Run go version with GOTOOLCHAIN=local
2023-10-06 11:57:26 +01:00
Michael B. Gale
76781e5d75
Go: Add GoVersionInfo type
...
Refactors `tryReadGoDirective` to return this instead of a pair.
This will make it easier to return multiple versions.
2023-10-06 11:57:08 +01:00
Mathias Vorreiter Pedersen
a08356979f
Merge pull request #14382 from MathiasVP/deduplicate-why
...
C++: Project away `why` to prevent tuple duplication in `Buffer.qll`
2023-10-06 12:52:58 +02:00
Geoffrey White
b0c7964ea6
Swift: Add the same code to the CFG test as well.
2023-10-06 10:07:52 +01:00
Geoffrey White
b3185e9519
Swift: Expand the test case.
2023-10-06 09:43:33 +01:00
Mathias Vorreiter Pedersen
eb3f1967a5
Merge pull request #14365 from MathiasVP/disable-flow-through-pointer-arith-for-size
...
C++: Disable size-flow through pointer arithmetics in `cpp/invalid-pointer-deref`
2023-10-06 10:14:31 +02:00
Asger F
97b3ebe385
Merge pull request #14380 from asgerf/js/amd-range
...
JS: Add AmdModuleDefinition::Range
2023-10-05 21:05:28 +02:00
Mathias Vorreiter Pedersen
b231b1ccaf
Merge pull request #14384 from MathiasVP/handle-instructions-in-reverse-flow
2023-10-05 20:26:38 +02:00
Robert Marsh
bbec4082c0
Merge pull request #14312 from geoffw0/sqlpathinject2
...
Swift: Add sinks for sqlite3 and SQLite.swift to swift/cleartext-storage-database
2023-10-05 14:08:55 -04:00
Geoffrey White
66637e8c03
Swift: Autoformat.
2023-10-05 18:53:30 +01:00
Geoffrey White
81d4ec1e98
pragma node
2023-10-05 18:30:50 +01:00
Alex Eyers-Taylor
c79ec8c37a
CPP: Improve performance of IR debugging
2023-10-05 17:35:52 +01:00
Geoffrey White
fdcc6b482d
Swift: Simplify allowImplicitRead slightly.
2023-10-05 16:42:43 +01:00
Geoffrey White
7ddece1560
Swift: Update .expected after merge.
2023-10-05 16:20:56 +01:00
Geoffrey White
6bea7f89a8
Merge branch 'main' into sqlpathinject2
2023-10-05 16:15:37 +01:00
Geoffrey White
e31ca58a2f
Swift: Post-merge fix.
2023-10-05 15:45:22 +01:00
Geoffrey White
17894db501
Merge branch 'main' into conversions2
2023-10-05 15:33:05 +01:00
Mathias Vorreiter Pedersen
20900dafc0
C++: Handle reverse flow when 'nodeTo' is an instruction.
2023-10-05 16:28:57 +02:00
Michael Nebel
96f93cefba
UNDO AGAIN: Add local threat models.
2023-10-05 16:16:00 +02:00
Mathias Vorreiter Pedersen
2f39ab1977
C++: Project away 'why' to prevent tuple duplication in 'Buffer.qll'.
2023-10-05 13:32:52 +02:00
Geoffrey White
e225ea6bef
Swift: Remove redundant code.
2023-10-05 11:14:54 +01:00
Geoffrey White
dcd88100f0
Swift: Minor corrections, update parse.expected.
2023-10-05 11:11:52 +01:00
Geoffrey White
446416f1ab
Swift: Change note.
2023-10-05 11:06:11 +01:00
Geoffrey White
a1512c8af0
Swift: This should always have been private.
2023-10-05 11:06:11 +01:00
Geoffrey White
9bdddabd8a
Swift: Avoid changing interfaces we don't need to. Improve QLDoc.
2023-10-05 10:45:59 +01:00
Geoffrey White
fddda0368c
Swift: Add PotentialRegexEval / doesEvaluate mechanism.
2023-10-05 10:45:59 +01:00
Geoffrey White
fa10dbea9f
Swift: Support mode flags through NSString.CompareOptions.
2023-10-05 10:45:59 +01:00
Geoffrey White
a052a4e385
Swift: Update to a proper data flow config so we can add implicit reads from arrays at the sink.
2023-10-05 10:45:58 +01:00
Geoffrey White
cdc0d1fff1
Swift: Check the options flag contains .regularExpression.
2023-10-05 10:45:58 +01:00
Geoffrey White
fe4ef48844
Swift: Rename some predicates and make them work on dataflow nodes.
2023-10-05 10:26:08 +01:00
Asger F
315272839d
JS: Change note
2023-10-05 08:13:43 +02:00
Robert Marsh
a402bfcfb0
Swift: update for-in change note
2023-10-04 20:05:11 +00:00
Robert Marsh
5dd7c14d36
Swift: add getSequence back to ForEachStmt
2023-10-04 20:05:00 +00:00
Asger F
162c477236
JS: Add AmdModuleDefinition::Range
2023-10-04 20:38:37 +02:00
Geoffrey White
b5ff104a00
Swift: Naive model for regular expression evaluations through NSString and StringProtocol methods.
2023-10-04 19:19:29 +01:00
Geoffrey White
5263cccefc
Swift: Bite the bullet and make 'regex' a non-optional field of the regex test, so that we can be confident where we fail to identify them.
2023-10-04 19:19:28 +01:00
Geoffrey White
24c385b1da
Swift: Expand and correct regex tests.
2023-10-04 19:19:28 +01:00
Robert Marsh
9c3b72cf3f
Swift: remove TODO comment
2023-10-04 15:59:12 +00:00
Robert Marsh
00068d6157
Merge branch 'main' into rdmarsh2/swift/for-in
...
Fix conflict in AST test output
2023-10-04 15:58:36 +00:00
Henry Mercer
74368540ae
Merge pull request #14375 from github/release-prep/2.15.0
...
Release preparation for version 2.15.0
2023-10-04 15:18:55 +01:00
github-actions[bot]
9fe993bec3
Release preparation for version 2.15.0
2023-10-04 14:15:27 +00:00
Robert Marsh
b5f1296cc2
Swift: Use getFullyConverted in CFG generation
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2023-10-04 09:44:48 -04:00
Mathias Vorreiter Pedersen
843e9ad254
C++: Add more QLDoc.
2023-10-04 14:37:05 +02:00
Michael Nebel
40e63a63e2
Java: Re-factor most queries and tests to use threat models.
2023-10-04 14:01:58 +02:00
amammad
0f5dd40ff1
fix beego tests
2023-10-04 13:41:26 +02:00
amammad
0c2275ddb1
fix Gin tests
2023-10-04 12:57:15 +02:00
amammad
c3a21daf83
fix Echo tests
2023-10-04 12:54:34 +02:00
amammad
06ec3bbbb5
fix beego tests
2023-10-04 12:52:59 +02:00
Michael Nebel
f0fb065446
Java: Opt-in the SQL injection query to use threat model flow sources.
2023-10-04 10:51:07 +02:00
Michael Nebel
5fd6dc3b87
Java: Opt-in the XSS query to use threat model flow sources.
2023-10-04 10:48:09 +02:00
BD
31550b22b6
Merge branch 'main' into enable-gokit-by-default
2023-10-04 12:42:09 +05:30
amammad
22c4b5113d
do gofmt
2023-10-03 18:29:34 +02:00
Mathias Vorreiter Pedersen
9a139ea903
C++: Accept test changes.
2023-10-03 15:58:35 +02:00
Mathias Vorreiter Pedersen
57d3f3f482
C++: Actually propagate the 'isBarrier1' or 'isBarrier2' predicates to the dataflow configurations.
2023-10-03 15:58:24 +02:00
Mathias Vorreiter Pedersen
9df5e43fae
C++: Block flow through indirect flow through pointer-arithmetic instructions when following flow for the allocation size.
2023-10-03 15:31:50 +02:00
Bharadwaj Machiraju
53a291aeae
Remove GoKit from untrusted flow sources test
2023-10-03 15:39:52 +05:30
Bharadwaj Machiraju
6c8ae55a68
Enable GoKit module into the default list
2023-10-03 15:39:52 +05:30
Geoffrey White
0f1711fe1e
Swift: Test insertMany.
2023-10-02 23:04:07 +01:00
Geoffrey White
db5e0ff7a8
Swift: Autoformat.
2023-10-02 16:06:38 +01:00
Geoffrey White
3d552d7d5d
Swift: Simplify FloatPoint model now that it works to do so.
2023-10-02 11:59:26 +01:00
Geoffrey White
3265d49a98
Swift: Remove duplicate row.
2023-10-02 11:59:26 +01:00
Geoffrey White
f83456a398
Swift: Change note.
2023-10-02 11:59:25 +01:00
Geoffrey White
c61edc13e7
Swift: Model RangeReplaceableCollection initializers.
2023-10-02 11:59:25 +01:00
Geoffrey White
0c534b69eb
Swift: Extend Numeric models.
2023-10-02 11:59:25 +01:00
Geoffrey White
2863a14cd1
Swift: Add more tests for Arrays.
2023-10-02 11:59:24 +01:00
Geoffrey White
df1bc1a597
Swift: Add more tests for Numerics.
2023-10-02 11:59:24 +01:00
amammad
95363455af
fix tests, and review suggestions.
2023-09-30 22:50:08 +10:00
amammad
f0f60c3b7d
move JWT.qll to experimental
2023-09-30 22:30:30 +10:00
Rasmus Lerchedahl Petersen
177db998c7
Python: add change note
2023-09-29 15:28:08 +02:00
Rasmus Lerchedahl Petersen
ed3ffde5e6
Python: modules are now possibly non-unique
...
We should consider if this is the right way..
2023-09-29 15:10:19 +02:00
Rasmus Lerchedahl Petersen
be506c64ba
Python: update test-expectations
...
These are semantic differences.
They generally look good, except perhaps
we should exclude illegal package names?
(It passes `legalShortName`, though).
2023-09-29 15:10:19 +02:00
Rasmus Lerchedahl Petersen
4f35a62583
Python: broaden search for imports
...
This now finds vulnerabilities in
https://github.com/github/field-security-codeql/issues/100
2023-09-29 15:10:19 +02:00
Rasmus Lerchedahl Petersen
d9854eb409
Python: Add QLDoc
2023-09-29 15:10:19 +02:00
Rasmus Lerchedahl Petersen
1d4832cbfe
python: allow namespace packages as packages
...
remove the logic around isPotentialPackage
2023-09-29 15:10:19 +02:00
Rasmus Lerchedahl Petersen
362cf107a4
python: add tests for module import
...
- `--max-import-depth=3` to give points-to a chance
- `not_root` dir to force namespace package logic
- add usage in `example.py` to get files extracted
2023-09-29 15:10:19 +02:00
erik-krogh
5d4b542995
escape unicode chars in overly-large-range
2023-09-28 20:16:09 +02:00
amammad
8d47a7b21d
Update python/ql/lib/semmle/python/security/dataflow/PathInjectionQuery.qll
...
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com >
2023-09-28 18:13:34 +03:30
Rasmus Wriedt Larsen
f3acc89900
Python: Accept .expected
2023-09-28 10:41:16 +02:00
Robert Marsh
77fd9172fa
Swift: Fix extra param in downgrade script
2023-09-27 20:55:08 +00:00
Robert Marsh
64e4c1ea6d
Swift: remove another table from downgrade script
2023-09-27 20:52:06 +00:00
Robert Marsh
d71d6b265a
Swift: remove table from downgrade properties
2023-09-27 20:50:21 +00:00
Robert Marsh
4799ba0069
Swift: yet another downgrade script fix
2023-09-27 20:47:45 +00:00
Robert Marsh
188ad6a571
Swift: another attempt at fixing downgrade script
2023-09-27 20:07:26 +00:00
Robert Marsh
9975a18a29
Swift: Hopefully fix codegen test failure
2023-09-27 20:06:13 +00:00
Geoffrey White
bb1720d50a
Swift: Fix test after merge.
2023-09-27 19:31:04 +01:00
Geoffrey White
936f846b09
Merge branch 'main' into implicitflow
2023-09-27 19:27:07 +01:00
Robert Marsh
a7a50cfc9a
Swift: more downgrade script fixes
2023-09-27 18:01:17 +00:00
amammad
7d5bbc3b1e
put each new sink in its own framework
2023-09-28 01:02:05 +10:00
amammad
9598bb5a68
stash
2023-09-27 23:22:29 +10:00
amammad
c6ad358751
fix package FPs, fix additioanlstep issue
2023-09-27 21:11:07 +10:00
amammad
c78f390128
add go generate support, upgrade JWT.qll
2023-09-27 20:17:31 +10:00
amammad
73803eaac9
fix tests
...
add missed afero sinks
2023-09-27 06:27:05 +10:00
Robert Marsh
50521f7b45
Swift: fix ql reference in downgrade script
2023-09-26 20:08:23 +00:00
amammad
cea44e2bee
added the go generate commands for depstubber
2023-09-27 05:22:52 +10:00
amammad
3febbec64e
fix qldoc and review suggestions
2023-09-27 05:16:35 +10:00
Robert Marsh
81ee932e62
Swift: Fix db types in downgrade script for for-in
2023-09-26 18:03:08 +00:00
Robert Marsh
293400a623
Swift: change note for for-in dataflow
2023-09-26 15:13:05 +00:00
Robert Marsh
ae1072e09f
Merge branch 'main' into rdmarsh2/swift/for-in
2023-09-26 15:12:46 +00:00
Robert Marsh
811c33b016
Swift: finish downgrade script for for-in PR
2023-09-25 20:23:43 +00:00
Robert Marsh
92fdb7a35f
Swift: finish upgrade script for for-in PR
2023-09-25 20:13:52 +00:00
Geoffrey White
f9a617c714
Swift: Change note.
2023-09-25 20:31:00 +01:00
Geoffrey White
51ed824adf
Swift: Add more SQLite.swift models.
2023-09-25 20:30:59 +01:00
Geoffrey White
6be01eac04
Swift: Add implict read steps for dictionary content.
2023-09-25 20:30:59 +01:00
Geoffrey White
4350060b0f
Swift: Add SQLite.swift models.
2023-09-25 20:30:59 +01:00
Geoffrey White
839b9635b9
Swift: Effect of fixing string interpolation bug.
2023-09-25 20:30:58 +01:00
Geoffrey White
16ae637238
Swift: Add sqlite3 models.
2023-09-25 20:30:48 +01:00
Geoffrey White
4245a38de9
Swift: Add SQLite.swift and sqlite3 C API test cases for swift/cleartext-storage-database.
2023-09-25 20:30:48 +01:00
amammad
fd0d194a8a
add changenote
2023-09-26 05:26:00 +10:00
amammad
b7f874d1f1
fix tests, better afero support!
2023-09-26 05:04:25 +10:00
amammad
c5faddc2a4
remove fasthttp in favor or fasthttp framework
2023-09-26 03:01:51 +10:00
amammad
9f9c9e0e5e
fix issues according to codereview
2023-09-26 02:06:57 +10:00
amammad
e239d763dc
Merge branch 'main' into amammad-go-NewFileSystemAccess
2023-09-26 02:04:59 +10:00
Rasmus Wriedt Larsen
05ab28f11d
autoformat
2023-09-25 10:35:18 +02:00
Rasmus Wriedt Larsen
db7b1eea55
Merge branch 'main' into maikypedia/python-unsafe-deserialization
2023-09-25 10:29:18 +02:00
Rasmus Wriedt Larsen
f515559e56
Python: Sort Frameworks.qll
2023-09-25 10:25:43 +02:00
Rasmus Wriedt Larsen
a45e10d64f
Python: Slight rewrite of numpy test
...
To use positional argument for allow_pickle
2023-09-25 10:25:11 +02:00
Rasmus Wriedt Larsen
56d99fbd8a
Add numpy reference
2023-09-25 10:24:53 +02:00
Rasmus Wriedt Larsen
d1caa75053
Python: Fix format for pandas.read_pickle
2023-09-25 10:24:27 +02:00
Robert Marsh
8ce79e6be8
Swift: for-in downgrade script
2023-09-22 19:12:27 +00:00
Robert Marsh
325d6f738c
Swift: add expr types to for-in upgrade script
2023-09-22 18:14:37 +00:00
Robert Marsh
5b77e7db8a
Swift: for-in upgrade script passing CFG test
2023-09-22 17:44:45 +00:00
Harry Maclean
2214caef4b
Ruby: Identify named graphql params as sources
2023-09-22 17:54:55 +01:00
Robert Marsh
30b30695e4
Swift: WIP upgrade script for for-each refactor
2023-09-19 19:28:05 +00:00
amammad
da864bf7f7
fix QLDoc
2023-09-19 22:19:18 +10:00
amammad
a96b0011f0
clean tests
2023-09-19 22:12:10 +10:00
amammad
1e12a86781
Merge branch 'main' into amammad-go-JWT
2023-09-19 22:01:50 +10:00
amammad
2136929164
clean tests
2023-09-19 22:01:40 +10:00
amammad
bc6a0fc776
move to CWE-347
2023-09-19 07:15:46 +10:00
Harry Maclean
2053ee00ab
Ruby: Add change note
2023-09-18 16:02:09 +01:00
Harry Maclean
18dac9ab8a
Ruby: Handle GraphQL array types
2023-09-18 16:00:56 +01:00
Maiky
1764aa0caf
Fixing NumpyLoadCall
2023-09-17 19:44:48 +02:00
Maiky
8254d0dd10
Naming error
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-09-17 18:53:48 +02:00
Maiky
6d0ba5f97b
Add allow_pickle to tests
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-09-17 18:53:18 +02:00
Maiky
70103967ef
Doc changes
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-09-17 18:47:19 +02:00
Maiky
cada523031
Remove unnecessary import
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-09-17 18:46:13 +02:00
Maiky
97c20b181a
Add change note
2023-09-16 14:01:53 +02:00
amammad
52d1e45b05
add comments for better quality
2023-09-15 23:25:25 +10:00
Maiky
f08eb3cdf4
Doc change
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:51:53 +02:00
Maiky
15b965bb3b
rename verifies() to verifiesSignature()
2023-09-15 11:45:19 +02:00
Maiky
c43d0866f6
Update ruby/ql/src/experimental/cwe-347/EmptyJWTSecret.ql
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:42:43 +02:00
Maiky
122881ddf5
Simplify DataFlow::PairNode
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:41:19 +02:00
Maiky
d4f6111621
Naming change
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:40:51 +02:00
Maiky
153a435257
Naming change
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:40:42 +02:00
Maiky
aea6eeda38
Naming change
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:40:34 +02:00
Maiky
2ebe46bd05
Naming change
...
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com >
2023-09-15 11:40:20 +02:00
Harry Maclean
5706bc6205
Ruby: Model GraphQL InputObject arguments
2023-09-14 19:02:39 +01:00
Robert Marsh
eddca7f3f6
Swift: autoformat for for-in changes
2023-09-14 16:48:19 +00:00
Robert Marsh
56b646a74c
Merge branch 'main' into rdmarsh2/swift/for-in
2023-09-14 14:14:06 +00:00
Harry Maclean
5411123b8a
Ruby: Fix GraphQL test
2023-09-14 14:14:26 +01:00
Harry Maclean
57ae1ee3e9
Ruby: Add test for GraphQL remote flow sources
2023-09-14 13:46:52 +01:00
Harry Maclean
1526fff085
Ruby: Add missing doc comments
2023-09-14 13:46:37 +01:00
Harry Maclean
20f1a74202
Ruby: Restrict GraphQL remote flow sources
...
Previously we considered any splat parameter in a graphql resolver to be
a remote flow source. Now we limit that to reads of the parameter which
yield scalar types (e.g. String), as defined by the GraphQL schema.
This should reduce GraphQL false positives.
2023-09-14 12:14:56 +01:00
Robert Marsh
e0fae764f1
Swift: move IteratorProtocol model to its own file
2023-09-13 20:09:17 +00:00
Robert Marsh
7ca6b6f9a6
Swift: add dataflow test for async for
2023-09-12 19:05:03 +00:00
Robert Marsh
53ad559da5
Swift: fix for-try-await CFG
2023-09-12 19:04:30 +00:00
Robert Marsh
988a871999
Swift: add flow through for-in loops
2023-09-08 20:00:27 +00:00
Robert Marsh
a3e250aef5
Swift: extract iterator variable for for-in loops
2023-09-08 19:08:57 +00:00
Robert Marsh
50d23f145b
merge main into for-in getnextcall branch
2023-09-08 15:51:27 +00:00
amammad
f3ea72c234
proper tests with depstubber, remove Duplicates :(
2023-09-03 04:51:05 +10:00
Geoffrey White
0cb00c9091
Swift: Change note.
2023-08-31 15:50:54 +01:00
Geoffrey White
93c39c5fdd
Swift: Add data flow through OpenExistentialExpr.
2023-08-31 15:50:32 +01:00
Geoffrey White
b8d29e8fc1
Swift: Add a more realistic test case as well.
2023-08-31 15:46:47 +01:00
Geoffrey White
aeeafd75bf
Swift: Add a test for flow through OpenExistentialExpr.
2023-08-31 15:27:18 +01:00
amammad
40ff16bdaf
Merge branch 'main' into amammad-go-JWT
2023-08-29 20:02:57 +10:00
amammad
68392e7ae7
V1
2023-08-28 22:23:51 +10:00
amammad
25c60c455e
v1
2023-08-27 23:53:45 +10:00
Maiky
17565cde75
Add JWT Security Queries
2023-08-25 21:28:53 +02:00
Alex Denisov
b657301d39
Swift: update test expectations
2023-08-22 18:03:19 +02:00
Alex Denisov
e9fdbfabea
Swift: extract nextCall from ForEachStmt
2023-08-22 17:36:40 +02:00
Maiky
6274dfafdc
typo
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-07-27 23:43:48 +02:00
Maiky
49aa3eb92b
Update change note
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-07-27 23:43:39 +02:00
Maiky
6d6a243776
Update Change Note
2023-07-20 12:33:26 +02:00
Maiky
1a1fee3088
Doc change
2023-07-20 03:28:13 +02:00
Maiky
a1782182dd
Python: Add unsafe deserialization sinks (CWE-502)
2023-07-20 03:26:22 +02:00
Taus
e5b17af9b5
Java: Fix bad tool output
2023-06-14 12:16:44 +02:00
Taus
b860b21ced
Update MaD Declarations after Triage
2023-06-13 16:50:58 +02:00