Owen Mansel-Chan
a4bf2b8f58
Fix 3 tests
2026-06-11 22:59:39 +02:00
copilot-swe-agent[bot]
838d06c53f
Fix changelog copy errors in change-notes and CHANGELOG.md files (codeql-cli-2.25.6)
2026-06-11 22:45:33 +02:00
Owen Mansel-Chan
913dcb1190
Add change note
2026-06-11 22:20:52 +02:00
Owen Mansel-Chan
a375e186ed
Third pass
2026-06-11 21:53:22 +02:00
Matthew Costabile
923fe2dcb9
Merge branch 'main' into patch-1
2026-06-11 15:19:58 -04:00
Owen Mansel-Chan
befb557bfd
Accept fixed MISSING tests
2026-06-11 15:44:20 +02:00
Jeroen Ketema
642259cd51
Merge pull request #21968 from jketema/jketema/namequalifiers
...
C++: Fix `NameQualifyingElement` db inconsistency
2026-06-11 15:11:51 +02:00
copilot-swe-agent[bot]
73bc2d70ae
Model instance-attribute type flow
...
Use a field level step like JS and Ruby.
2026-06-11 14:48:55 +02:00
Owen Mansel-Chan
0d984588f9
Merge pull request #21965 from owen-mc/go/convert-to-inline-expectation-tests
...
Go: convert all qlref tests to inline expectation tests using postprocessing
2026-06-11 13:27:06 +01:00
Sotiris Dragonas
17dbf03c6d
Merge branch 'main' into bazookamusic/cwe-1427
2026-06-11 12:05:57 +02:00
BazookaMusic
ef5678708c
Update not_included_in_qls.expected for promoted prompt injection queries
...
UserPromptInjection moved from experimental to stable (precision low, so not in any well-known suite); the old experimental path no longer exists.
2026-06-11 12:01:56 +02:00
BazookaMusic
7bd5abf809
Refine SystemPromptInjection alert message and move test to stable
...
Update the alert message to "This system prompt depends on a $@." matching the SQL injection query style, and move the test out of experimental into Security/CWE-1427 to mirror the stable query location.
2026-06-11 11:51:25 +02:00
BazookaMusic
e612db2ec9
Promote user prompt injection query to stable security
...
Move UserPromptInjection out of experimental into stable JavaScript security locations.
Set js/user-prompt-injection precision to low and remove experimental tagging.
Move supporting dataflow libraries, qhelp/examples, and tests to stable paths and update references.
2026-06-11 11:28:14 +02:00
copilot-swe-agent[bot]
a4585d8d94
Add test documenting missing PEP249 alerts for connection stored in self attribute
2026-06-11 05:48:40 +00:00
copilot-swe-agent[bot]
7795884946
Initial plan
2026-06-11 05:30:20 +00:00
Owen Mansel-Chan
b4a9689341
Convert .qlref test to inline expectations
2026-06-11 07:15:54 +02:00
Owen Mansel-Chan
6a8e20a0c8
Fix pre-existing whitespace issues in go test files
2026-06-11 07:15:09 +02:00
Owen Mansel-Chan
4c411bbcb5
Convert hand-rolled inline expectations test
2026-06-11 07:13:48 +02:00
Asger F
b60bf8c79f
Merge pull request #21950 from tonghuaroot/experimental-ssrf-ipv6-transition-js
...
Add experimental query: SSRF host guard missing IPv6-transition unwrap (CWE-918/CWE-1389)
2026-06-10 21:42:54 +02:00
Jeroen Ketema
ef00aa2567
C++: Add upgrade and downgrade scripts
2026-06-10 14:38:15 +02:00
Jeroen Ketema
6d0968744b
C++: Fix NameQualifyingElement db inconsistency
2026-06-10 14:35:36 +02:00
Jeroen Ketema
98f147556a
C++: Add namequalifier test with inconsistency
...
While where the remove the file restriction in QL.
2026-06-10 14:27:56 +02:00
Owen Mansel-Chan
3693185b6b
Second pass
2026-06-10 09:14:47 +02:00
Owen Mansel-Chan
1c1d26453d
First pass converting qlref tests to inline expectation with postprocess
2026-06-10 07:46:42 +02:00
tonghuaroot (童话)
4c1a0058bf
Add SsrfIpv6TransitionIncompleteGuard.ql to not_included_in_qls.expected
...
Fix the JS integration test failure flagged in review by listing the new
experimental CWE-918 query in the expected not-included-in-qls suite, in
sorted order.
2026-06-10 08:42:42 +08:00
Tom Hvitved
f5919875b7
Merge pull request #21941 from hvitved/python/content-approx
...
Python: Implement `ContentApprox`
2026-06-09 15:46:04 +02:00
Owen Mansel-Chan
990913519d
Make comment clearer
2026-06-09 12:20:10 +02:00
Owen Mansel-Chan
e22f9fadd7
Fix mistakes in change notes
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-09 12:20:08 +02:00
Owen Mansel-Chan
071a0e3d7d
Add change notes
2026-06-09 12:20:06 +02:00
Owen Mansel-Chan
a92349683e
Deprecate FuncTypeExpr.getResultDecl()
...
It is unused in this library. It could easily be used incorrectly and
silently omit results when `getNumResult() > 1`.
2026-06-09 12:20:04 +02:00
Owen Mansel-Chan
8ce543bf4d
Fix: getNumResult() was wrong in some cases
...
It was the number of result declarations, which is
different from the number of results when one
result declaration declares more than one
variable, as in `x, y int`.
2026-06-09 12:20:02 +02:00
Owen Mansel-Chan
da777a455d
Improve QLDoc
2026-06-09 12:19:58 +02:00
Owen Mansel-Chan
f4f17b01c1
Fix result node and remove SPURIOUS test result
2026-06-09 12:19:56 +02:00
Owen Mansel-Chan
1c47084479
Add result node test with SPURIOUS result
2026-06-09 12:19:51 +02:00
Owen Mansel-Chan
c241049384
Add control flow test for result read steps
2026-06-09 12:19:49 +02:00
Owen Mansel-Chan
8d456df26f
Merge pull request #21960 from github/dependabot/go_modules/go/extractor/extractor-dependencies-28a04969f3
...
Bump golang.org/x/mod from 0.36.0 to 0.37.0 in /go/extractor in the extractor-dependencies group
2026-06-09 05:30:45 +01:00
dependabot[bot]
72fcf27d1a
Bump golang.org/x/mod
...
Bumps the extractor-dependencies group in /go/extractor with 1 update: [golang.org/x/mod](https://github.com/golang/mod ).
Updates `golang.org/x/mod` from 0.36.0 to 0.37.0
- [Commits](https://github.com/golang/mod/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: extractor-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-09 03:03:37 +00:00
yoff
0cea01c22f
Merge pull request #21926 from github/yoff/python-simplify-decorator-predicates
...
Python: simplify decorator-detection predicates to pure AST match
2026-06-08 22:04:33 +02:00
Anders Schack-Mulligen
a473565256
Merge pull request #21954 from aschackmull/cfg/consistency-child-idx
...
Cfg: Add consistency check for relevant child indices.
2026-06-08 14:44:20 +02:00
Anders Schack-Mulligen
01173bf383
Cfg: Fold getTryInit into indexed getBody.
2026-06-08 14:03:12 +02:00
BazookaMusic
d0ffde8c45
Em-dash - of course :D
2026-06-08 14:03:12 +02:00
BazookaMusic
b6c951e90c
Remove redundant file
2026-06-08 13:47:44 +02:00
Anders Schack-Mulligen
c47135a40b
Cfg: Add consistency check for relevant child indices.
2026-06-08 13:40:33 +02:00
BazookaMusic
2cb0851900
1. Rename AgentSDK -> AgentSdk
...
2. Remove redundant constant comparison barriers. This is already happening by default by the taint tracking library.
2026-06-08 12:55:52 +02:00
Owen Mansel-Chan
3cbc8f0262
Merge pull request #21951 from github/workflow/go-version-update
...
Go: Update to 1.26.4
2026-06-08 11:47:47 +01:00
BazookaMusic
e370af6444
QLDoc + include the queries in the correct expected files per query suite
2026-06-08 12:38:28 +02:00
BazookaMusic
61be37d718
Formatting
2026-06-08 12:15:50 +02:00
BazookaMusic
da05992a09
Better document the new queries
2026-06-08 11:27:40 +02:00
Tom Hvitved
cc1ea25856
Python: Implement ContentApprox
2026-06-08 08:41:28 +02:00
github-actions[bot]
5a38cbd5d5
Go: Update to 1.26.4
2026-06-08 04:30:10 +00:00