instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
BabylonJS__BabylonNative__829
BabylonJS/BabylonNative
829
defect
00ea35e7dfc7622d25f1bf45d502f4061ad96c63
5fc7883b1d23e04b7cbe8c559954b63e6a9c1c14
Introduce NativeOptimizations plugin
This change introduces a `NativeOptimizations` plugin, which initially supports this Babylon.js PR: https://github.com/BabylonJS/Babylon.js/pull/10671 Here is the background on this from some side discussions: > JS execution is on the order of 10x slower without JIT (e.g. in React Native vs. the browser). This crea...
diff --git a/Apps/Playground/Android/app/CMakeLists.txt b/Apps/Playground/Android/app/CMakeLists.txt index 2c0182e068..149b3df49e 100644 --- a/Apps/Playground/Android/app/CMakeLists.txt +++ b/Apps/Playground/Android/app/CMakeLists.txt @@ -59,6 +59,7 @@ target_link_libraries(BabylonNativeJNI AppRuntime ...
5
5
0
[{"id": "G0", "claim": "The file mixes initializer styles (e.g. `auto coordinates = ...` alongside brace-init `const auto x{...}`); the reviewer asks for a nit-level cleanup of mixed initializer usage.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim...
null
BackendStack21__restana__90
BackendStack21/restana
90
defect
65718528e0e534df2f82c6643a1aa6b3e757d5f3
157a39c74a745dd3c2cba38519dedad48ca70d7f
Extend send method
Extend send method to support the following data types: - [x] String - [x] Object - [x] Error - [x] Buffer (with default header) - [x] Stream Out of scope: - [ ] Promise
diff --git a/libs/response-extensions.js b/libs/response-extensions.js index 7604132..d1248d2 100644 --- a/libs/response-extensions.js +++ b/libs/response-extensions.js @@ -1,41 +1,91 @@ 'use strict' +const { forEachObject } = require('./utils') + const CONTENT_TYPE_HEADER = 'content-type' +const TYPE_JSON = 'appli...
2
1
0
[{"id": "G0", "claim": "The string/Buffer handling loses performance and is bad practice because it reassigns parameters directly instead of delegating to separate functions that go straight to their objective.", "category": "performance", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G2", "cl...
null
BallisticLA__RandBLAS__106
BallisticLA/RandBLAS
106
defect
2bebe4a89e16f6110e4513222a49c48b5d65faa1
01a96540afa81c40ae58fc952c7b4892c7cf508f
KS-Tests for Fisher-Yates
This PR is being created as a draft, serving as tracker for current changes until ready for review. ### See below for Riley's description of the project Here are the instructions for a small project: #### One-line statement I want Kolmogorov-Smiornov tests for repeated_fisher_yates. The tests will be analogo...
diff --git a/test/test_basic_rng/rng_common.hh b/test/test_basic_rng/rng_common.hh index f1103b4b..1392a3d2 100644 --- a/test/test_basic_rng/rng_common.hh +++ b/test/test_basic_rng/rng_common.hh @@ -176,6 +176,21 @@ double hypergeometric_pmf(int64_t N, int64_t K, int64_t D, int64_t observed_k) { return out; } +...
5
5
0
[{"id": "G0", "claim": "The KS check should be one function that tests the statistic against a critical value and returns {first index, diff} where the CDFs differ by more than the tolerance, so failures are immediately debuggable.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
BallisticLA__RandBLAS__28
BallisticLA/RandBLAS
28
defect
dae7592fbaf4f07df1ad55232934752c78bdc79e
56ea58437e693db368b622aedcf7fea96a7421fc
integrate templated RNGState
This contains everything on #25 including prototypes and improvements to the dense implementation as well as integration for sparse. On the sparse side I tried to make minimal changes.
diff --git a/RandBLAS/CMakeLists.txt b/RandBLAS/CMakeLists.txt index 7fb2742a..0a7ac15c 100644 --- a/RandBLAS/CMakeLists.txt +++ b/RandBLAS/CMakeLists.txt @@ -1,8 +1,5 @@ -set(RandBLAS_cxx_srcs - base.cc) set(RandBLAS_libs blaspp Random123) - if (RandBLAS_HAS_OpenMP) list(APPEND RandBLAS_libs OpenMP::OpenMP...
9
9
1
[{"id": "G0", "claim": "The reviewer asks what the new RNGState-to-std::tuple conversion functions are supposed to do; their purpose is unclear (they turned out to be unused anywhere).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer ...
null
BallisticLA__RandBLAS__3
BallisticLA/RandBLAS
3
defect
059b05589acfdba2aa666e317627c514738a4753
799e8e1c87ea2a3c2ac6aa3cb95789246f0fb8fd
Cmake automation and ci
- propagate build options from the dependencies using cmake channels - get CI working via github actions
diff --git a/.github/workflows/core-linux.yaml b/.github/workflows/core-linux.yaml new file mode 100644 index 00000000..e4a01908 --- /dev/null +++ b/.github/workflows/core-linux.yaml @@ -0,0 +1,42 @@ +name: core-linux +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + + workflow_dispatch:...
2
1
0
[{"id": "G0", "claim": "The author should make a post on the discussion thread summarizing the CMake infrastructure in a somewhat generic way, so the reviewer can get a general understanding of the CMake practices from this PR.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduce...
null
BallisticLA__RandBLAS__31
BallisticLA/RandBLAS
31
defect
aff4ac61ae775db4112f4376ee3db5d730b0ec61
21cc5f95852f8dca8ad5beb6fa7a3cdc499a0b5a
testing add address sanitizer runs
this will catch memory leaks, invalid memory read/write, etc... let's get #27 in before merging this
diff --git a/.github/workflows/core-linux.yaml b/.github/workflows/core-linux.yaml index 79b95135..9fac77da 100644 --- a/.github/workflows/core-linux.yaml +++ b/.github/workflows/core-linux.yaml @@ -43,7 +43,7 @@ jobs: cd Random123/ make prefix=`pwd`/../Random123-install install-include - -...
2
2
1
[{"id": "G0", "claim": "CMake errors out because the pull request replaced INTERFACE with PUBLIC in target_link_libraries and target_compile_options in RandBLAS/CMakeLists.txt, and changing these back to INTERFACE fixes it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {...
null
BallisticLA__RandBLAS__51
BallisticLA/RandBLAS
51
defect
d21aac75cbb79f4fedf768ace1d1f034134eda4f
72db38c0822b34009a0b694c3f27e2de392c4d48
Kaiwen_branch: Submatrix generation
I added the function fill_rsubmat_omp that does the submatrix generation, modified fill_rmat to just call the new function. I also created a testing suite for the sub matrix generation that is exactly what I showed during our meeting on Friday.
diff --git a/RandBLAS/CMakeLists.txt b/RandBLAS/CMakeLists.txt index fe3f2d5d..2b3444f3 100644 --- a/RandBLAS/CMakeLists.txt +++ b/RandBLAS/CMakeLists.txt @@ -1,4 +1,5 @@ +set(CMAKE_CXX_STANDARD 20) set(RandBLAS_libs blaspp Random123) if (RandBLAS_HAS_OpenMP) list(APPEND RandBLAS_libs OpenMP::OpenMP_CXX) diff ...
2
2
1
[{"id": "G0", "claim": "Write the documentation for fill_rsubmat_omp and move the docstring currently sitting above it back so it appears just before fill_rmat.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment explaining why set(CMAKE_...
null
BallisticLA__RandBLAS__62
BallisticLA/RandBLAS
62
defect
7ec22993f620d70b6abbd8e70c44994f17d49dbf
ed350b228cb63f6dbf8709e6bcdf253293e1c027
Bugfixes for generating dense sketching operators
This PR resolves the bug from #57 in a way that supports the functionality mentioned in #53.
diff --git a/RandBLAS/dense.hh b/RandBLAS/dense.hh index df899a78..4a7d5503 100644 --- a/RandBLAS/dense.hh +++ b/RandBLAS/dense.hh @@ -201,35 +201,45 @@ DenseSkOp<T,RNG>::~DenseSkOp() { * @returns the updated CBRNG state */ template<typename T, typename RNG, typename OP> -static auto fill_dense_submat_impl( +stati...
3
3
1
[{"id": "G0", "claim": "Remove unnecessary print statements from the tests and enable the tests that are currently commented out.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The submatrix-generation code fails the newly re-enabled concatenation tes...
null
BallisticLA__RandBLAS__74
BallisticLA/RandBLAS
74
defect
03170537dbaee636cfc1df0afdf12041398f654f
526c40491c9983ace3067d76f770acaf57663b86
Implementation of sketch_vector
Created sketch_vector function in skge.hh and added unit test test_sketch_vec
diff --git a/RandBLAS/skge.hh b/RandBLAS/skge.hh index 2e3cee29..57e13855 100644 --- a/RandBLAS/skge.hh +++ b/RandBLAS/skge.hh @@ -596,6 +596,84 @@ void sketch_general( return sketch_general(layout, opA, opS, m, d, n, alpha, A, lda, S, 0, 0, beta, B, ldb); }; +// ================================================...
8
8
3
[{"id": "G0", "claim": "The documentation's explanation of how (x, incx) and (y, incy) determine \\mat(x) and \\mat(y) is confusing and uses an unusual presentation; it should be reworked to explicitly acknowledge the presentation as unusual, explain that incx/incy are interpreted like lda in GEMM and treated exactly a...
null
Banno__polymer-webpack-loader__54
Banno/polymer-webpack-loader
54
defect
b79808c4c227fa0edf1cb50d9c964ddc38b859f5
43c74aabff0dfbf9156a9e9f7096f0a1b66e782a
Use the html-loader and find url()s in styles
Closes #29 Use the html-loader for HTML content to recognize image references (and other configured attributes) and add them to the dependency graph. Also utilize postcss to process any style tag contents with a `url()` statement and add those to the dependency graph.
diff --git a/README.md b/README.md index a32cf98..dd47796 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,8 @@ The loader transforms your components: ignoreLinks: Condition(s) (optional), ignoreLinksFromPartialMatches: Array<String> (optional), ignorePathReWrite: Condition(s) (optional), - process...
1
1
0
[{"id": "G0", "claim": "The JSDoc comment on process() contains the typo `transforme`, which should read `transform`.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Banno__polymer-webpack-loader__86
Banno/polymer-webpack-loader
86
defect
cf8fa9836dd53e3236476c721748fab8cdaf9b6b
e25742257e0ba52ff0b603e7c64e72d74c28de4d
Use appendChild instead of insertBefore
Fixed https://github.com/webpack-contrib/polymer-webpack-loader/issues/84
diff --git a/register-html-template.js b/register-html-template.js index cc5ad76..c446aa6 100644 --- a/register-html-template.js +++ b/register-html-template.js @@ -39,10 +39,10 @@ class RegisterHtmlTemplate { div.innerHTML = trimmedVal; if (div.firstChild) { if (document.body) { - docum...
1
1
1
[{"id": "G0", "claim": "appendChild takes a single argument only, so the extra `document.body.firstChild` parameter passed at both call sites should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Baroshem__nuxt-security__340
Baroshem/nuxt-security
340
defect
a6b9c02150ca128240bdfb3af7474988f8b495fc
c767309077017dfae16b00666fdc47c98d54892c
feat(ssg): disable meta tag for SSG mode
<!--- Provide a general summary of your changes in the title above --> This PR adds a configuration option to disable the meta tag in SSG mode. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (a non-breaking change which fixes an ...
diff --git a/docs/content/1.documentation/1.getting-started/2.configuration.md b/docs/content/1.documentation/1.getting-started/2.configuration.md index c2a994c2..6d8067e7 100644 --- a/docs/content/1.documentation/1.getting-started/2.configuration.md +++ b/docs/content/1.documentation/1.getting-started/2.configuration....
3
2
2
[{"id": "G0", "claim": "The new `ssg.enabled` option is the wrong design: an `enabled` flag in `ssg` should disable the SSG work of the module completely, so either the check should live at the module.ts level (so no SSG plugins are triggered at all) or the option should instead be a `meta` config option that controls ...
null
Bearer__bearer__1024
Bearer/bearer
1,024
defect
5e3dfcb02620d54376496f069a818da7ba8a034b
ad90ee99ae763742f4fdb2db3022197a5c3f50da
fix: result scope following testing
## Description <!-- What does this PR do and how does it --> - Fixes `effectiveScope` by ensuring we only convert nested scope to result scope. Prior to this change, we were converting cursor scope into result scope. - Run sanitizer rules in the default nested scope <!-- Add this section if required ## Related...
diff --git a/new/detector/composition/java/java.go b/new/detector/composition/java/java.go index 3c127b5e0..5b1b34df0 100644 --- a/new/detector/composition/java/java.go +++ b/new/detector/composition/java/java.go @@ -201,7 +201,7 @@ func (composition *Composition) DetectFromFileWithTypes(file *file.FileInfo, det tr...
1
1
0
[{"id": "G0", "claim": "The condition should reference effectiveScope instead of filter.Scope for clarity, i.e. `if effectiveScope == settings.NESTED_SCOPE && scope == settings.RESULT_SCOPE`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__103
Bearer/bearer
103
defect
fd2ba7b051ddbd3b7ed6f0863c4108e2f8bfb225
8d941f9d12a9791e97c2dfbcc6226a7acf8bdec7
feat: implement risks for dataflow
## Description This pr adds risks to dataflow. Risks are similar to dataflow's datatypes except that they are grouped by detector. This pr also addresses and fixes a custom ruby detector bug. We were missing filenames and file language in source, since it was affecting dataflow (empty filenames) it was fixed as part ...
diff --git a/pkg/detectors/custom/.snapshots/TestRubyLoggersJSON b/pkg/detectors/custom/.snapshots/TestRubyLoggersJSON index 67c26c205..744aae58f 100644 --- a/pkg/detectors/custom/.snapshots/TestRubyLoggersJSON +++ b/pkg/detectors/custom/.snapshots/TestRubyLoggersJSON @@ -41,9 +41,9 @@ "type": "custom", "detector...
3
2
0
[{"id": "G0", "claim": "Rename the misspelled parameter \"filinfo\" to \"fileinfo\" in ExtractArguments' signature, per the applied suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "How do you know the detector is Stored here? — t...
null
Bearer__bearer__114
Bearer/bearer
114
defect
1ec22efa9fade3dc0584b6bb5c808bf04fd5d198
0914a563cbc562aca2aaaf0177f607705a12112f
test: Add integration test for init command
## Description Add an integration test covering the `init` command. ## Checklist - [X] I've added test coverage that shows my fix or feature works as expected. - [X] I've updated or added documentation if required. - [X] I've included usage information in the description if CLI behavior was updated or added....
diff --git a/integration/flags/.snapshots/TestInitCommand-init b/integration/flags/.snapshots/TestInitCommand-init new file mode 100644 index 000000000..1ad1ea6ec --- /dev/null +++ b/integration/flags/.snapshots/TestInitCommand-init @@ -0,0 +1,35 @@ +report: + format: json + output: "" + report: detectors +sca...
1
1
0
[{"id": "G0", "claim": "The TestCase properties (OutputPath, RunInTempDir) should not be public and mutated directly by callers; pass them as parameters to NewTestCase instead, e.g. via an options struct.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__1163
Bearer/bearer
1,163
defect
fed0bea4f89e95c3f43a6a711416bf2338da0b09
ad3f8c55bdb39c303f2aa4fc5af7d939e02e4c60
fix: repository lookup errors and diff git file scanning
## Description <!-- What does this PR do and how does it --> Makes the following fixes to changes introduced in https://github.com/Bearer/bearer/pull/1158 : - Fix error trying to lookup git repo when scanning a single non-git file - Allow diff scans to scan files/folders within the repo, rather than only the enti...
diff --git a/pkg/commands/artifact/run.go b/pkg/commands/artifact/run.go index 0492d7f0f..8d7d9bb0a 100644 --- a/pkg/commands/artifact/run.go +++ b/pkg/commands/artifact/run.go @@ -5,6 +5,7 @@ import ( "errors" "fmt" "os" + "path/filepath" "sort" "strings" "time" @@ -151,7 +152,12 @@ func (r *runner) Scan(c...
1
1
1
[{"id": "G0", "claim": "The pull request should include tests that help demonstrate the issue it fixes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__1195
Bearer/bearer
1,195
defect
a21804bed0bdca7da5cc45d232852050051c85b8
c8d6d8cf42bf333ccda4abc005ae50e23a9410f2
feat: add severity computation details
## Description <!-- What does this PR do and how does it --> Add details for severity computation to SaaS report payload ``` "severity_meta": { "rule_severity": "low", "sensitive_data_categories": [ "PII", "Personal Data" ], "local_data_t...
diff --git a/e2e/rules/.snapshots/TestAuxilary-testdata-data-auxilary b/e2e/rules/.snapshots/TestAuxilary-testdata-data-auxilary index f162b6194..8ab70f232 100644 --- a/e2e/rules/.snapshots/TestAuxilary-testdata-data-auxilary +++ b/e2e/rules/.snapshots/TestAuxilary-testdata-data-auxilary @@ -16,6 +16,7 @@ high: ...
1
1
0
[{"id": "G0", "claim": "The SeverityWeighting field populated with the hasLocalDataTypes bool should keep consistent terminology — either name the field TriggerWeighting (holding triggerWeighting) or name it HasLocalDataTypes while keeping &hasLocalDataTypes as its value.", "category": "design", "verdict": "supported",...
null
Bearer__bearer__1601
Bearer/bearer
1,601
defect
44d807e3c057a94fdddffe80a2bffd424c78b81e
a7e56901130e4655519ae0c548b0bd897bb1d8b7
fix: handle identifiers in subscript
## Description If there is an identifier in the subscript, we want to track this back to its origin With this change, we can now pick up both of these cases: ```python globals()[input()] # no identifier x = input() globals()[x] # identifier ``` <!-- Add this section if required ## Related --> <!--...
diff --git a/internal/languages/python/.snapshots/TestSubscript--subscript.yml b/internal/languages/python/.snapshots/TestSubscript--subscript.yml new file mode 100644 index 000000000..8797715b8 --- /dev/null +++ b/internal/languages/python/.snapshots/TestSubscript--subscript.yml @@ -0,0 +1,142 @@ +high: + - rule: +...
2
2
2
[{"id": "G0", "claim": "The pull request should not create a dataflow association between the subscript expression and its index/key node (Dataflow(node, subscriptNode)).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Dataflow and lookupVariable...
null
Bearer__bearer__173
Bearer/bearer
173
defect
9cf39d2ff401c33807a02d7a8239754b9f9cbbcd
93d40cc010c8f01eb1d2c1c2817bff0e5b77abdb
feat(policies): add rails sessions policy
## Description * Add support for Rails' leaking sessions policy * Some changes to detectors to support assignment node types (which can have anything - identifier, hash, etc - on the right hand side) -- thanks @vjerci for the help on this 🙏 Sample code: ``` class Users < ApplicationRecord session[:us...
diff --git a/integration/custom_detectors/.snapshots/TestCustomDetectors-detect_rails_session b/integration/custom_detectors/.snapshots/TestCustomDetectors-detect_rails_session new file mode 100644 index 000000000..8cdc93ea2 --- /dev/null +++ b/integration/custom_detectors/.snapshots/TestCustomDetectors-detect_rails_se...
3
1
1
[{"id": "G0", "claim": "The detect_rails_session pattern should use a typed metavariable such as `<$DATA_TYPE>` instead of `$ANYTHING`, because the rule needs to extract data types rather than match anything.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
Bearer__bearer__177
Bearer/bearer
177
defect
74cd2e303214ebf01abea5783afe871217ade062
0bec25ce44810e98ec73e7d7f82e1347fce79bf7
feat(policies): add rails cookie leaks policy
## Description Add cookie leaking policy for Rails <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <!-- References some existing PR - #CCC --> ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [ ] I've updated ...
diff --git a/integration/custom_detectors/.snapshots/TestCustomDetectors-detect_rails_cookies b/integration/custom_detectors/.snapshots/TestCustomDetectors-detect_rails_cookies new file mode 100644 index 000000000..9aba97651 --- /dev/null +++ b/integration/custom_detectors/.snapshots/TestCustomDetectors-detect_rails_co...
1
1
1
[{"id": "G0", "claim": "The rails cookies detector should also match Rails cookie method variants such as cookies.signed[...] and cookies.permanent[...] (and their permutations), hardcoding them for now as agreed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__1842
Bearer/bearer
1,842
defect
039294eca49451fdeaa381aa2f0926f8bf3d03ea
79b620ccf1843ed4ed19fbf87b2f762d0f0ee10a
feat: add languages to dataflow report
## Description <!-- What does this PR do and how does it --> We now include language statistics in the dataflow report under the languages section. Entries are sorted by usage and expose per-language file counts, total bytes, and the percentage of the codebase they represent. Behind the --include-stats flag we enri...
diff --git a/e2e/flags/.snapshots/TestReportFlags-report-dataflow b/e2e/flags/.snapshots/TestReportFlags-report-dataflow index 62cf3bc55..612835572 100644 --- a/e2e/flags/.snapshots/TestReportFlags-report-dataflow +++ b/e2e/flags/.snapshots/TestReportFlags-report-dataflow @@ -1,4 +1,4 @@ -{"data_types":[{"uuid":"22e24c...
1
1
0
[{"id": "G0", "claim": "The languages structure added to the dataflow report should be reworked.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__29
Bearer/bearer
29
defect
a5e006ef5ba37071414e96503fca488a0f2385d0
eae6e3eb3b5691a9069b7eaab450de96148cf21e
AMA-2969 classify recipe urls
🎁 What --- Classify interfaces that match recipe URLs ✨ Why --- Support recipe classification for interface detections
diff --git a/go.mod b/go.mod index a5fe06bbb..32feef1e6 100644 --- a/go.mod +++ b/go.mod @@ -36,6 +36,7 @@ require ( github.com/rivo/uniseg v0.2.0 // indirect github.com/ssoroka/slice v0.0.0-20220402005549-78f0cea3df8b // indirect github.com/struCoder/pidusage v0.2.1 // indirect + github.com/weppos/publicsuffix-g...
6
6
2
[{"id": "G0", "claim": "The unchecked type assertion data.Value.(interfaces.Interface) in Classify will panic if the detection value is not an interfaces.Interface; the reviewer asks for the comma-ok form with an error return instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
Bearer__bearer__302
Bearer/bearer
302
defect
9b589e2de392c86c74b8a5008b8ceba08ee1cb8c
16253d52956cbeae6c158170decac8070042e9cb
feat: Use encrypted_ column prefix to mark SQL detections encrypted
## Description Closes #283 ## Checklist - [ ] I've added test coverage that shows my fix or feature works as expected. - [X] I've updated or added documentation if required. - [X] I've included usage information in the description if CLI behavior was updated or added. - [X] PR title follows [Conventional Co...
diff --git a/integration/flags/.snapshots/TestReportFlags-report-dataflow-verified-by b/integration/flags/.snapshots/TestReportFlags-report-dataflow-verified-by index fb4980de0..720605299 100644 --- a/integration/flags/.snapshots/TestReportFlags-report-dataflow-verified-by +++ b/integration/flags/.snapshots/TestReportF...
2
2
2
[{"id": "G0", "claim": "The new rego processor should be limited to SQL detections (`SQL`, which includes the `create_table_sql` custom detection) or to `schema_rb`, rather than running on detections generally.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim...
null
Bearer__bearer__305
Bearer/bearer
305
defect
1fa953191c65017569cbcfe76a8fbfb373e911c3
092b61c6941f661ba3a80adb7f0dde11dd753312
feat: AMA-3307-fix-scan-usage-showing-on-error-vjeran
## Description 1. This pr makes sure flags containg custom predefined values are valid, before running the scan. In case you input value that is not in predefined values list as in this example(`--report=test`) usage will show with error: <img width="1320" alt="Screenshot 2022-12-20 at 14 31 59" src="https://user-i...
diff --git a/integration/flags/.snapshots/TestReportFlagsShouldFail-invalid-context-flag b/integration/flags/.snapshots/TestReportFlagsShouldFail-invalid-context-flag new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/integration/flags/.snapshots/TestReportFlagsShouldFail-invalid-context-flag @@ -0,0 +...
3
3
0
[{"id": "G0", "claim": "The ErrInvalidFormat error message should be reworded from \"you've specified invalid format, valid ones are json,yaml\" to \"invalid format argument; supported values: json, yaml\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
Bearer__bearer__350
Bearer/bearer
350
defect
835e1a3b908df2256e3bcfe333eb2f183ed424c3
11d6f21a21ed92b90b056552819ff980945365f6
feat(policies): Add support for secret leaks
## Description <!-- What does this PR do and how does it --> closes #346 <img width="495" alt="image" src="https://user-images.githubusercontent.com/110196/211351338-87a85cab-8d5f-4012-a614-dbbc6e5b588e.png"> <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA ...
diff --git a/integration/policies/.snapshots/TestPolicies-secret_leak b/integration/policies/.snapshots/TestPolicies-secret_leak new file mode 100644 index 000000000..b19ce796e --- /dev/null +++ b/integration/policies/.snapshots/TestPolicies-secret_leak @@ -0,0 +1,13 @@ +critical: + - policy_name: Secret Leak contai...
2
2
0
[{"id": "G0", "claim": "The secret_leak policy name \"Secret Leak contains %s\" should be changed to \"Do not leak secrets.\" as suggested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The secret_leak policy's empty description should be replace...
null
Bearer__bearer__372
Bearer/bearer
372
defect
bab0ef6813ad0cdbb0f7e1dd7789a8dab827d9d5
73fbf52f94b901c1342ed3650ff220d26cc22a36
feat(recipes): add exclusion patterns when wildcard is used
## Description <!-- What does this PR do and how does it --> closes #370 <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <!-- References some existing PR - #CCC --> ## Checklist - [x] I've added test coverage that shows my fix or feature works as expect...
diff --git a/pkg/classification/db/db.go b/pkg/classification/db/db.go index 2666e6759..f50d68ab3 100644 --- a/pkg/classification/db/db.go +++ b/pkg/classification/db/db.go @@ -40,12 +40,13 @@ type DefaultDB struct { } type Recipe struct { - URLS []string `json:"urls" yaml:"urls"` - Name string `json:"n...
2
2
1
[{"id": "G0", "claim": "FindMatchingRecipeUrl should not care about classification and should only match URLs; instead an ignored/excluded boolean should be added to RecipeURLMatch so the calling function classifies the URL.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
Bearer__bearer__486
Bearer/bearer
486
defect
1fea8d881acd452a4af4e730598ad40939c0fc65
7ba55a3e1f8e66394e82cc23349c2c1bc7664d7b
feat(rules): add exception rule in ruby
## Description <!-- What does this PR do and how does it --> closes #483 <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <!-- References some existing PR - #CCC --> ## Checklist - [ ] I've added test coverage that shows my fix or feature works as expect...
diff --git a/integration/rules/rules_test.go b/integration/rules/rules_test.go index 47697209d..dad29c92b 100644 --- a/integration/rules/rules_test.go +++ b/integration/rules/rules_test.go @@ -105,6 +105,16 @@ func TestRubyLangLoggerDataflow(t *testing.T) { runRulesTest("ruby/lang/logger", "dataflow", "ruby_lang_logg...
3
3
1
[{"id": "G0", "claim": "The remediation message's good example should read `raise CustomException.new(user.uuid)` instead of `CustomException.new(user.uuid)`.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rule description should read \"Do not...
null
Bearer__bearer__488
Bearer/bearer
488
defect
9452f83a8780df993ea863a70ce19c2971c0d176
b34e0aaa144257a66bedf4ada2c2f1cc874dd222
feat(privacy report): merge subjects and third party reports
## Description Following product feedback and manual testing: * Merge subjects and third party reports into one "privacy" report * Bug fixes for third party report section (counts were wrong; multiple subjects were not handled) * Add "New Relic" as associated recipe to new relic rule References #398 <!-- A...
diff --git a/pkg/commands/artifact/run.go b/pkg/commands/artifact/run.go index db0ee4ac9..17e45e313 100644 --- a/pkg/commands/artifact/run.go +++ b/pkg/commands/artifact/run.go @@ -270,7 +270,7 @@ func (r *runner) Report(config settings.Config, report types.Report) (bool, erro } return reportPassed, nil } - ...
1
1
0
[{"id": "G0", "claim": "The dataflow and stats report types should be removed from the public documentation (they could be kept as internal for now) now that the privacy report exists.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
Bearer__bearer__549
Bearer/bearer
549
defect
2775636d3b0a491073be86b5b28ce1321d5aed07
df5b012a36ae8cf7363476baf954b00a2a9ea78c
feat: add javascript jwt support
## Description This pr cleans up a little bit previously added js rules This pr adds a rule for javascript, specifically supporting detections of encoding sensitive data in jwt. It searches for this pattern: ```javascript jwt.sign($<DATA_TYPE>) ``` ## Related Solves a part of https://github.com/Bearer/curio...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index 979a33277..8a7add7cd 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -42,6 +42,16 @@ func TestExpressSecureCookieSummary(t *testing.T) { runRulesTest("javascript/express/insec...
2
2
0
[{"id": "G0", "claim": "The jwt.yml rule documentation is incomplete (its Resources section is unfinished, shown as 'Coming soon'), and it should be completed, with @markmichon asked to weigh in on the new rule doc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
Bearer__bearer__563
Bearer/bearer
563
defect
eaaed729bbf9e4d70ad0fdfc45c7430d9a8620b8
ab4f887355832454a13b35197e04bad02f9d5274
feat: ruby BigQuery rule
## Description <!-- What does this PR do and how does it --> Adds a Ruby rule for sending data to BigQuery. <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <!-- References some existing PR - #CCC --> ## Checklist - [x] I've added test coverage that shows...
diff --git a/integration/rules/ruby_test.go b/integration/rules/ruby_test.go index bcf8a4814..a5d4b70a4 100644 --- a/integration/rules/ruby_test.go +++ b/integration/rules/ruby_test.go @@ -194,6 +194,16 @@ func TestRubyThirdPartiesAlgoliaDataflow(t *testing.T) { runRulesTest("ruby/third_parties/algolia", "dataflow", ...
1
1
0
[{"id": "G0", "claim": "It is worth adding test examples using alternative insertion syntax such as `inserter.insert([{ first_name: user.first_name }])`, if that syntax is realistic.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__596
Bearer/bearer
596
defect
ecebb0448e11633aa7a65e8a1f57a3d25b912950
55e96fa933cb0e3d2e7db2a7c55e263b628eae90
feat: add honeybadger js rule
## Description This rule adds support for honeybadger js rule Patterns: ``` - pattern: | $<HONEYBADGER>.$<METHOD>($<...>$<DATA_TYPE>$<...>) filters: - variable: DATA_TYPE detection: datatype - variable: HONEYBADGER values: - Honeybadger - honeyba...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index 955deabe3..b97f820d0 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -101,3 +101,8 @@ func TestJavascriptRollbarSummary(t *testing.T) { t.Parallel() runRulesTest("javascript...
1
1
0
[{"id": "G0", "claim": "The pattern variable in honeybadger.yml is named ROLLBAR, a copy-paste typo, and should be renamed to HONEYBADGER (in the pattern and its filter variable).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__649
Bearer/bearer
649
defect
af8a13f886ca9ae324f698987ea6dc0c698dd06c
061825a18186372a83f2c312118ead3046561bab
feat: add rails open redirect rule
## Description Add rails open redirect rule Patterns: ``` - pattern: | redirect_to(params[$<_>]) ``` ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] I've included usage information in the descr...
diff --git a/integration/rules/ruby_test.go b/integration/rules/ruby_test.go index f0c4e27f4..1d85d34f5 100644 --- a/integration/rules/ruby_test.go +++ b/integration/rules/ruby_test.go @@ -130,6 +130,11 @@ func TestRubyRailsSessionKeyUsingUserInput(t *testing.T) { getRunner(t).runTest(t, rubyRulesPath+"rails/session_...
1
1
1
[{"id": "G0", "claim": "The rule should use a similar definition of \"user input\" to the other rules, though the AWS lambda case probably isn't relevant.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__650
Bearer/bearer
650
defect
af8a13f886ca9ae324f698987ea6dc0c698dd06c
1d16761ff8960789256949a7d5b4ab1a8dc4d5b9
feat: jwt hardcoded secret
## Description Update jwt cwe ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] I've included usage information in the description if CLI behavior was updated or added. - [x] PR title follows [Conventional...
diff --git a/pkg/commands/process/settings/rules/javascript/lang/jwt.yml b/pkg/commands/process/settings/rules/javascript/lang/jwt.yml index e65557e71..0ce685476 100644 --- a/pkg/commands/process/settings/rules/javascript/lang/jwt.yml +++ b/pkg/commands/process/settings/rules/javascript/lang/jwt.yml @@ -45,4 +45,5 @@ m...
1
1
1
[{"id": "G0", "claim": "Adding CWE-798 to the javascript_jwt rule is wrong because that rule covers sensitive data, which is not necessarily credentials.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__652
Bearer/bearer
652
defect
af8a13f886ca9ae324f698987ea6dc0c698dd06c
0c20a09736b565e95827545da486bf92a7cc8c6f
feat: add jwt weak encryption
## Description This pr adds support for js jwt weak encryption detection ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] I've included usage information in the description if CLI behavior was updated or ad...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index 2eb4ffb9c..10f92bd61 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -24,6 +24,11 @@ func TestJavascriptJWT(t *testing.T) { getRunner(t).runTest(t, javascriptRulesPath+"lang/j...
1
1
0
[{"id": "G0", "claim": "The skip_data_types entry (\"Unique Identifier\") in jwt_weak_encryption.yml is not needed since the rule's trigger is presence, so it should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__673
Bearer/bearer
673
defect
84fd36b5aa477747e508c2a32c48ab54238ad304
985959847d95d6c9ce7376ec34e8fe81e40fc30c
fix: fix false positives on req detection
## Description Stricter pattern match for detecting problematic request objects. Combined with fix here https://github.com/Bearer/bearer/pull/622/commits/0c1ef456b20e20d2f4b168e6f981a7c1a086b67a this should address a lot of the false positives seen in battle testing. Relates to #606 <!-- Add this section if ...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index cde0faa04..e886959fb 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -69,9 +69,9 @@ func TestJavascriptExpressUnsafeDeserialization(t *testing.T) { getRunner(t).runTest(t, jav...
1
1
1
[{"id": "G0", "claim": "Bracket-notation access such as req.params[\"user_id\"] would not be found by the rule's request-object detection patterns.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__678
Bearer/bearer
678
defect
8c341ce12ae30dd9e61a00abecc4dce9ee4462c3
f429fe273b94b7e3596b56c45ca4e40d6f5614ee
feat(javascript rule): hardcoded string support
## Description This pr adds 2 rules, 1 is for detecting passport usage with hardcoded string And another one for detecting hardcoded string in config files. ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] ...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index cde0faa04..6802bd9f8 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -49,6 +49,11 @@ func TestJavascriptLangFileGeneration(t *testing.T) { getRunner(t).runTest(t, javascriptRu...
2
2
0
[{"id": "G0", "claim": "The remediation message in hardcoded_secret.yml misspells \"environment\" as \"enviorment\"; it should read \"use environment variables instead.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The remediation message in pa...
null
Bearer__bearer__68
Bearer/bearer
68
defect
a2d5489d2d6df1278c39686f0f0e8d60aaaf05f6
d72fe22a1e4b397997060f9f3a3fcb719065f481
Add internal domains flag
## Description Add internal domains flag and use this during classifier instantiation We accept internal domains as strings, and then parse these as regular expressions when initializing the interfaces classifier <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <...
diff --git a/docs/reference/commands.md b/docs/reference/commands.md index 273a4ac06..88d776e5d 100644 --- a/docs/reference/commands.md +++ b/docs/reference/commands.md @@ -37,6 +37,7 @@ curio scan [FLAGS] [PATH] - `--debug` enable debug logs - `--disable-domain-resolution` skip attempt to resolve detected domains du...
2
1
0
[{"id": "G0", "claim": "The docs example for --internal-domains should drop the backslash-escaped format and use the simpler form --internal-domains=\"*.my-company.com,private.sh\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The flag should pe...
null
Bearer__bearer__680
Bearer/bearer
680
defect
e98d43956d244c4702819c894ab54e39fc0fdfaf
b39ce0602f6561a1b2540de65f5d3ceb073bbdc0
fix(summary): fix display for summary
## Description <!-- What does this PR do and how does it --> Only show rules that actually applies to the project Also fixes logger in JS where we weren't detecting `DATA_TYPE` in certain conditions ## Related Closes #569 ## Checklist - [ ] I've added test coverage that shows my fix or feature works...
diff --git a/pkg/commands/process/settings/rules/javascript/lang/logger.yml b/pkg/commands/process/settings/rules/javascript/lang/logger.yml index 31c4f15ad..2e3024cd1 100644 --- a/pkg/commands/process/settings/rules/javascript/lang/logger.yml +++ b/pkg/commands/process/settings/rules/javascript/lang/logger.yml @@ -1,6...
1
1
1
[{"id": "G0", "claim": "The updated summary report snapshot showing \"0 default rules applied\" seems wrong (the count of applied default rules the PR's output produces looks wrong).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__700
Bearer/bearer
700
defect
c011a714e47bae8bbe861ec58a63caf320d424e0
23a0c8d71019e6cedb7f134eea3e8babe773e399
feat(JS rules): extend expressjs cookie rule
## Description * Split expressjs cookie rule into two rules: one for misconfiguration and one for default configuration used * Add expressjs session rule to catch case of default configuration used (default name) * Ensure support for both cookie-session and express-session modules Relates to #606 <!-- Add this...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index a846ef5aa..d01336117 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -132,6 +132,16 @@ func TestExpressSecureCookie(t *testing.T) { getRunner(t).runTest(t, javascriptRulesPath...
1
1
0
[{"id": "G0", "claim": "The `$<...>` metavariables in the auxiliary attribute patterns of default_cookie_config.yml should be unnecessary inside an object/hash, and if they are needed to make the rule work, something elsewhere needs fixing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco...
null
Bearer__bearer__707
Bearer/bearer
707
defect
e6a6246a19d2f605e542b85d513e2976d847e50e
1ca67de0a49aa671a6ea7b3255a0d3392def16e3
feat(JS ruels): add insecure CORS rule for express
## Description * Add expressJS rule to catch when origin is set by user input Relates to #606 <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <!-- References some existing PR - #CCC --> ## Checklist - [x] I've added test coverage that shows my fix or fe...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index 231e2d5ca..877ff3eab 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -99,6 +99,10 @@ func TestJavascriptExpressExternalResource(t *testing.T) { getRunner(t).runTest(t, javascr...
1
1
0
[{"id": "G0", "claim": "The auxiliary pattern could use a regex for the Access-Control-Allow-Origin values instead of listing four value alternatives, which would simplify the rule (see PR #575).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__721
Bearer/bearer
721
defect
7658ca067757c66c8db5b0e818c1f389ebfd34f4
b06ba44ee40fd805b29aa33abf9d95c003aeb531
feat(javascript rule): add dom purify lib
## Description This pr adds support for dom purify vulnerability, as well as fixes santization library decteion for unsecure_html rule ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] I've included usage in...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index 34257e09d..cb1277c83 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -256,6 +256,11 @@ func TestJavascripPassportHardcodedSecret(t *testing.T) { getRunner(t).runTest(t, javasc...
4
4
1
[{"id": "G0", "claim": "Fix the misspelling \"voulnerabilites\" (and capitalise \"xss\") in the remediation message's description line.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the misspelling \"Voulnerability\" in the Resources link tex...
null
Bearer__bearer__726
Bearer/bearer
726
defect
b81e2c720ac2de2c75023b320afdc77894100f5f
7260ce77816d23617d798965b0aa356eb1e71b3a
feat(JS rules): add CWE-94 AWS Lambda code injection
## Description Add rule to check for code injection using node.js vm module (virtual machine) Relates to #606 <!-- Add this section if required ## Related --> <!-- Closes some existing issue - Close #AAA <!-- References some existing PR - #CCC --> ## Checklist - [ ] I've added test coverage that sh...
diff --git a/integration/rules/javascript_test.go b/integration/rules/javascript_test.go index 396984419..48c99c7e3 100644 --- a/integration/rules/javascript_test.go +++ b/integration/rules/javascript_test.go @@ -69,6 +69,11 @@ func TestJavascriptDangeoursInsertHTML(t *testing.T) { getRunner(t).runTest(t, javascriptR...
3
3
0
[{"id": "G0", "claim": "The second pattern's METHOD filter has only one value (Script), so the variable should be dropped and the method inlined into the pattern.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new AWS Lambda rule is similar ...
null
Bearer__bearer__767
Bearer/bearer
767
defect
cf39059befa6518d46ed62b89bee9e4bccd0bc72
adbbe00454a2681c27d471bb3f4c49c6bb28a844
fix: split integration tests
## Description Separate github integration test workflow into two, one for ruby tests and one for javascript tests. Note: this should be considered as a temporary fix only, to address CI timeouts on `main` branch. A more sophisticated testing solution will be considered during Milestone 3 ("Improve rule integrati...
diff --git a/.github/workflows/javascript_integration_test.yml b/.github/workflows/javascript_integration_test.yml new file mode 100644 index 000000000..c1e31ab77 --- /dev/null +++ b/.github/workflows/javascript_integration_test.yml @@ -0,0 +1,27 @@ +name: Javascript Integration Tests +on: + push: + branches: + ...
1
1
0
[{"id": "G0", "claim": "The ruby integration workflow's display name should be 'Ruby Integration Tests' rather than 'Javascript Integration Tests'.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Bearer__bearer__789
Bearer/bearer
789
defect
27399109e9c85017c1cece0e9f41d53f1c1ebb01
28056b8570b7ae9e56fdd54548eec1f4fb4ed6ed
feat: add support for object deconstructing.
## Description This pr adds support for object deconstructing. It adds minimal support in a way we only support first level of object deconstructing. --- ### Supported findings - `const` will detect both `let` and `const`, they are considered the same - `var` needs to be specified - it's different than `co...
diff --git a/new/detector/composition/javascript/.snapshots/TestObjectDeconstructing-deconstructing.json b/new/detector/composition/javascript/.snapshots/TestObjectDeconstructing-deconstructing.json new file mode 100644 index 000000000..1707cd0a5 --- /dev/null +++ b/new/detector/composition/javascript/.snapshots/TestOb...
1
1
1
[{"id": "G0", "claim": "It is unclear whether destructuring multiple properties at once (e.g. `const { firstName, lastName } = req.params`) is supported, and the case should be made clear/demonstrated (e.g. with a test case).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Bearer__bearer__81
Bearer/bearer
81
defect
22a51d3f3116bc24e909a8325fec833ff5df17cc
d907a2f2bfa1eb2dbcfb66ff6c7c015d64806fad
test: Add first integration tests
## Description This adds snapshot-based integration testing for the following command and option flag combinations. * `curio help` * `curio version` ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] I'v...
diff --git a/integration/flags/.snapshots/TestMetadataFlags-help b/integration/flags/.snapshots/TestMetadataFlags-help new file mode 100644 index 000000000..8f2d0859e --- /dev/null +++ b/integration/flags/.snapshots/TestMetadataFlags-help @@ -0,0 +1,11 @@ +Curio is a tool for scanning policy breaches + +Scan Example: +...
5
3
2
[{"id": "G0", "claim": "The TestMetadataFlags-version snapshot file added by the pull request is empty (no captured output), so the version test verifies nothing.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The report/format/output flag tests added b...
null
Bearer__bearer__954
Bearer/bearer
954
defect
0fcd0224af9d8d81a6a03a685aea689dd882701b
ffa00efb2e58c876dcc0a83c767accce519f7eb1
fix: check if object is nil
## Description This pr adds a fix for nil exception ## Checklist - [x] I've added test coverage that shows my fix or feature works as expected. - [x] I've updated or added documentation if required. - [x] I've included usage information in the description if CLI behavior was updated or added. - [x] PR title f...
diff --git a/new/detector/implementation/java/object/object.go b/new/detector/implementation/java/object/object.go index a322041e5..7caf46323 100644 --- a/new/detector/implementation/java/object/object.go +++ b/new/detector/implementation/java/object/object.go @@ -133,7 +133,7 @@ func (detector *objectDetector) getAssi...
3
2
1
[{"id": "G0", "claim": "The pull request's change to object detection has no test file covering it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "It would be nice if the detected properties were both on the same object rather than two objects each carr...
null
BeastByteAI__scikit-llm__27
BeastByteAI/scikit-llm
27
defect
b2bedb13277334f3d113228361593de07e647be1
aba29304f308aca2850e0c42db19fe1bdfeca029
added default_label argument and functionality + isort formatting
1. added needed requirements 2. isort the imports 3. Added default_label argument + docstring + functionality Resolves https://github.com/iryna-kondr/scikit-llm/issues/14
diff --git a/requirements-dev.txt b/requirements-dev.txt index 3164f42..c2de4e7 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,3 +4,5 @@ isort ruff docformatter interrogate +numpy +pandas diff --git a/skllm/models/gpt_zero_shot_clf.py b/skllm/models/gpt_zero_shot_clf.py index fe64cfb..560143c 100...
4
3
3
[{"id": "G0", "claim": "In the multi-label classifier, randomly picked default labels may exceed the max_labels constraint in some cases because the output-length check runs before the default label is applied.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
BeehiveInnovations__pal-mcp-server__113
BeehiveInnovations/pal-mcp-server
113
defect
0655590a516f18142fdbf5d97944f02fe225ba01
fd8213f86aa64040ff92d9582cbdeb76f64bf721
Fix model metadata preservation with continuation_id (fixes #111)
## Summary This PR fixes issue #111 where the model metadata was incorrectly reported when using `continuation_id` without specifying a model. The system was defaulting to `DEFAULT_MODEL` instead of preserving the model from the previous conversation turn. ## Problem When using the Zen chat tool with `continuation_i...
diff --git a/server.py b/server.py index 93af0a5cc..8f87a1c48 100644 --- a/server.py +++ b/server.py @@ -852,6 +852,16 @@ async def reconstruct_thread_context(arguments: dict[str, Any]) -> dict[str, Any # Create model context early to use for history building from utils.model_context import ModelContext + ...
1
1
1
[{"id": "G0", "claim": "The new tests copy the model-selection logic of reconstruct_thread_context instead of calling it, making them brittle duplicates of the implementation, and should be refactored to call reconstruct_thread_context directly and assert on its output.", "category": "testing", "verdict": "supported", ...
null
BeehiveInnovations__pal-mcp-server__127
BeehiveInnovations/pal-mcp-server
127
defect
0623ce3546fd744877b4fa09cf8943b4bb5c85dc
c60ab7e353348bc3cacf1e42b6ec7b5b7ef6a6da
feat: selective tool disabling
addresses https://github.com/BeehiveInnovations/zen-mcp-server/issues/115 ## Description This PR adds support for selectively disabling tools via the DISABLED_TOOLS environment variable, allowing users to customize which MCP tools are available in their Zen server instance. This feature enables better control ove...
diff --git a/.env.example b/.env.example index 1d88d4cdd..b88bd7008 100644 --- a/.env.example +++ b/.env.example @@ -143,3 +143,13 @@ MAX_CONVERSATION_TURNS=20 # ERROR: Shows only errors LOG_LEVEL=DEBUG +# Optional: Tool Selection +# Comma-separated list of tools to disable. If not set, all tools are enabled. +# Es...
2
1
1
[{"id": "G0", "claim": "The new tests re-implement parse_disabled_tools_env, ESSENTIAL_TOOLS and the filtering logic instead of importing them from server.py, so the tests would not catch regressions in the production code, and the warning tests should assert the logger.warning calls (e.g. with pytest's caplog) rather ...
null
BeehiveInnovations__pal-mcp-server__150
BeehiveInnovations/pal-mcp-server
150
defect
75dc724ecdbe902d75c28893e0fa65b276adfad9
05f1844a823c6ba2198a6a5d5b97452582e528af
Add uvx support
## Description Adds uvx support to enable running Zen MCP Server as a standalone executable via uvx, so you don't have to clone any repos locally Now all you have to do is add this to your `.config/Claude/claude_desktop_config.json`: ```json { "mcpServers": { "zen": { "comman...
diff --git a/pyproject.toml b/pyproject.toml index 303a47ef..b3e715b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,31 @@ +[project] +name = "zen-mcp-server" +version = "0.1.0" +description = "AI-powered MCP server with multiple model providers" +requires-python = ">=3.9" +dependencies = [ + "mcp>=1.0....
2
1
1
[{"id": "G0", "claim": "The API-key debug logging should mask or omit the key values instead of potentially exposing them.", "category": "security", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author should run code_quality_checks.sh and update README.md to document the ...
null
BeehiveInnovations__pal-mcp-server__191
BeehiveInnovations/pal-mcp-server
191
defect
ad6b21626566db9f04997584fd1b47897ff15ae5
3ff6fef086833b48918f1cf71c48aa690bb6c045
Add configuration for Grok 4.
## Description Adds configuration and support for X.AI's new Grok 4 model (grok-4-0709) with 256K context window, extended thinking/reasoning capabilities, and vision support. ## Changes Made - [x] Added Grok 4 model configuration to XAI provider - [x] Updated model aliases to make "grok" point to latest Grok...
diff --git a/providers/xai.py b/providers/xai.py index dcb14a12b..98dbd55fb 100644 --- a/providers/xai.py +++ b/providers/xai.py @@ -21,6 +21,24 @@ class XAIModelProvider(OpenAICompatibleProvider): # Model configurations using ModelCapabilities objects SUPPORTED_MODELS = { + "grok-4-0709": ModelCapab...
4
3
2
[{"id": "G0", "claim": "The max_output_tokens of 256,000 equals the context window and should be verified against official X.AI documentation, using a lower documented value if the real limit is smaller.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
BeehiveInnovations__pal-mcp-server__192
BeehiveInnovations/pal-mcp-server
192
defect
ad6b21626566db9f04997584fd1b47897ff15ae5
8a128e193551395ee1e1f689c9f103e90cdca739
refactor: Extract image validation to provider base class
## Summary - Consolidates duplicated image validation logic from individual providers into a reusable base class method - Improves maintainability and ensures consistent validation across all providers - Reduces code duplication by ~50 lines across providers ## Changes - Added `validate_image()` method to ModelProvide...
diff --git a/providers/base.py b/providers/base.py index aff87055e..991642cbc 100644 --- a/providers/base.py +++ b/providers/base.py @@ -196,6 +196,9 @@ class ModelProvider(ABC): # All concrete providers must define their supported models SUPPORTED_MODELS: dict[str, Any] = {} + # Default maximum image si...
3
3
1
[{"id": "G0", "claim": "The os.path.exists() check followed by open() introduces a potential TOCTOU race condition; remove the exists check and handle FileNotFoundError around open() instead.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Move the impo...
null
BeehiveInnovations__pal-mcp-server__222
BeehiveInnovations/pal-mcp-server
222
defect
e29deb23db2c33371d7b49053921c0b2c7ba2049
cce6f7106ca2da93405e8aae4f4dcca87f7dfce1
fix: pip detection inconsistency in non-interactive shells
## Summary Resolves issue #188 where pip is detected successfully during virtual environment setup but fails during dependency installation in non-interactive shell environments like Git Bash on Windows. ## Root Cause The issue occurred due to path inconsistency: - `get_venv_python_path()` returned relative paths li...
diff --git a/pyproject.toml b/pyproject.toml index b3e715b30..476e8c9f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ extend-exclude = ''' | \.mypy_cache | \.tox | \.venv + | \.zen_venv | venv | _build | buck-out diff --git a/run-server.sh b/run-server.sh index 8fa4727ef..de66be8...
3
3
3
[{"id": "G0", "claim": "The test_improved_pip_detection_logic test is a non-functional placeholder: its mock_run patch is unused, the subprocess.run call executes a real process, and the assertions are commented out, so it verifies nothing; implement it properly or remove it.", "category": "testing", "verdict": "suppor...
null
BeehiveInnovations__pal-mcp-server__227
BeehiveInnovations/pal-mcp-server
227
defect
e29deb23db2c33371d7b49053921c0b2c7ba2049
5565f59a1c930b494ad71f27cf4ee5d672873e9b
fix: uvx resource packaging issues for OpenRouter functionality
## Summary Fixes critical uvx installation issues where OpenRouter functionality completely fails due to inaccessible `conf/custom_models.json` file. **Resolves Issues:** - #203 - OpenRouter models not loading in uvx - #186 - uvx installation broken for OpenRouter - #206 - Config file not found in packaged environmen...
diff --git a/providers/openrouter_registry.py b/providers/openrouter_registry.py index 97b8f60ed..0ee7f3950 100644 --- a/providers/openrouter_registry.py +++ b/providers/openrouter_registry.py @@ -37,9 +37,23 @@ def __init__(self, config_path: Optional[str] = None): # Environment variable path ...
2
2
2
[{"id": "G0", "claim": "The multi-path resolution is brittle and redundant (Path(\"conf/custom_models.json\") duplicates Path.cwd()/\"conf\"/\"custom_models.json\"), and should use importlib.resources to access conf/custom_models.json as package data instead of relying on the CWD or __file__ location.", "category": "de...
null
BeehiveInnovations__pal-mcp-server__247
BeehiveInnovations/pal-mcp-server
247
defect
12542054a214022d3f515e53367f5bf3a77fb289
493082405237e66a2f033481a5f8bf8293b0d553
feat: add comprehensive GPT-5 series model support
## Description Adds complete support for GPT-5 series models (GPT-5, GPT-5-mini, GPT-5-nano) with proper thinking mode capabilities, fixing a critical bug that prevented extended reasoning features from working. ## Changes Made - [x] Added GPT-5, GPT-5-mini, and GPT-5-nano models to unified configurat...
diff --git a/conf/custom_models.json b/conf/custom_models.json index 8d83e000e..2bda899c0 100644 --- a/conf/custom_models.json +++ b/conf/custom_models.json @@ -228,6 +228,48 @@ "temperature_constraint": "fixed", "description": "OpenAI's o4-mini model - optimized for shorter contexts with rapid reasoning ...
4
2
0
[{"id": "G0", "claim": "The gpt-5, gpt-5-mini and gpt-5-nano configurations set temperature_constraint to \"fixed\" while supports_temperature is true, which restricts each model to a single temperature value; consider changing it to \"range\" for flexibility, as in gpt-4.1.", "category": "design", "verdict": "supporte...
null
BeehiveInnovations__pal-mcp-server__260
BeehiveInnovations/pal-mcp-server
260
defect
12090646ee83f2368311d595d87ae947e46ddacd
9044b63809113047fe678d659e4fcd175f58e87a
fix: resolve consensus tool model_context parameter missing issue
## PR Title Format **Please ensure your PR title follows [Conventional Commits](https://www.conventionalcommits.org/) format:** ### Version Bumping Types (trigger semantic release): - `feat: <description>` - New features → **MINOR** version bump (1.1.0 → 1.2.0) - `fix: <description>` - Bug fixes → **PATCH** ver...
diff --git a/tests/test_consensus.py b/tests/test_consensus.py index dc1a12ee9..7f23ccc02 100644 --- a/tests/test_consensus.py +++ b/tests/test_consensus.py @@ -331,6 +331,79 @@ def test_customize_workflow_response(self): result = tool.customize_workflow_response(response_data, request) assert result[...
2
1
0
[{"id": "G0", "claim": "The new ModelContext instantiation inside the relevant_files branch is redundant, since another ModelContext is created a few lines below for temperature validation, which is inefficient and confusing; instantiate one ModelContext at the beginning of _consult_model and reuse it, moving the impor...
null
BeehiveInnovations__pal-mcp-server__263
BeehiveInnovations/pal-mcp-server
263
defect
12090646ee83f2368311d595d87ae947e46ddacd
fab1f2447531090f5f9b4611cbb22ecce1d4b63a
fix: respect custom OpenAI model temperature settings (#245)
## Summary Fixes #245 - Custom OpenAI models (gpt-5, o3) now respect the `supports_temperature` configuration setting. ## Problem Users configuring custom OpenAI models in `custom_models.json` with `supports_temperature: false` were experiencing 400 errors because the OpenAI provider was still sending temperature pa...
diff --git a/.claude/commands/fix-github-issue.md b/.claude/commands/fix-github-issue.md new file mode 100644 index 000000000..4334bf626 --- /dev/null +++ b/.claude/commands/fix-github-issue.md @@ -0,0 +1,14 @@ +Please analyze and fix the GitHub issue: $ARGUMENTS. + +Follow these steps: + +1. Use `gh issue view` to get...
4
4
0
[{"id": "G0", "claim": "validate_model_name repeats the model-restriction-check logic for built-in and custom models and should be refactored to a single restriction check to make the code DRY and easier to understand.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
BeehiveInnovations__pal-mcp-server__349
BeehiveInnovations/pal-mcp-server
349
defect
bcfaccecd490859fe189f45df4cf5b8e102d7874
1f8b58d607c2809b9fa78860718a69207cb66e32
fix: Omit store parameter for OpenRouter responses endpoint
## Description Fixes OpenRouter Zod validation error when using OpenAI models that require the `/responses` endpoint (e.g., `openai/gpt-5-pro`, `openai/gpt-5.1-codex`). OpenRouter's `/responses` endpoint rejects `store:true` via Zod validation. This is an endpoint-level limitation, not model-specific. The fix conditi...
diff --git a/providers/openai_compatible.py b/providers/openai_compatible.py index 4b514d796..ccf4fac46 100644 --- a/providers/openai_compatible.py +++ b/providers/openai_compatible.py @@ -421,9 +421,17 @@ def _generate_with_responses_endpoint( "model": model_name, "input": input_messages, ...
9
4
0
[{"id": "G0", "claim": "The @patch.object decorator on test_openrouter_responses_omits_store_parameter is redundant, its mock_client parameter is unused, and both should be removed to simplify the test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
BeehiveInnovations__pal-mcp-server__350
BeehiveInnovations/pal-mcp-server
350
defect
bcfaccecd490859fe189f45df4cf5b8e102d7874
813ce5c9f7db2910eb12d8c84d3d99f464c430ed
feat: Add Claude Opus 4.5 model via OpenRouter
## Summary Adds support for Claude Opus 4.5 via OpenRouter, Anthropic's frontier reasoning model for complex software engineering and agentic workflows. ## Changes - Added `anthropic/claude-opus-4.5` to `conf/openrouter_models.json` - Aliases: `opus`, `opus4.5`, `claude-opus` (migrated from Opus 4.1) - Intelligence sc...
diff --git a/conf/openrouter_models.json b/conf/openrouter_models.json index 1c733f6bc..06864ae9d 100644 --- a/conf/openrouter_models.json +++ b/conf/openrouter_models.json @@ -24,6 +24,23 @@ } }, "models": [ + { + "model_name": "anthropic/claude-opus-4.5", + "aliases": [ + "opus", + ...
3
2
2
[{"id": "G0", "claim": "test_registry_capabilities should also test the new model by its full name (anthropic/claude-opus-4.5) and its new opus4.5 alias.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The claude-opus alias, which this PR migrated to cla...
null
BeehiveInnovations__pal-mcp-server__352
BeehiveInnovations/pal-mcp-server
352
defect
bbfdfac511668e8ae60f9b9b5d41eb9ab55d74cf
2f30434dc4fec3eec93b493aed0d299276ee39f2
feat: re-enable web search for clink codex using correct --enable flag
## Description The previous fix (aceddb6) removed `--search` entirely to fix the "unexpected argument" error, but this also disabled web search functionality. This PR restores web search for clink codex using the correct `--enable web_search_request` flag that works with the `codex exec` subcommand. ## Changes Made -...
diff --git a/conf/cli_clients/codex.json b/conf/cli_clients/codex.json index 7f76a4c42..4f210ed64 100644 --- a/conf/cli_clients/codex.json +++ b/conf/cli_clients/codex.json @@ -4,7 +4,8 @@ "additional_args": [ "--json", "--dangerously-bypass-approvals-and-sandbox", - "--search" + "--enable", + "we...
1
1
0
[{"id": "G0", "claim": "The new test's has_enable_flag and has_config_flag checks are not robust because they verify flag and value independently in config_args (e.g. ['--enable', 'other_feature', 'web_search_request'] would false-positive) and has_config_flag matches any arg containing 'web_search_request' instead of ...
null
BeehiveInnovations__pal-mcp-server__353
BeehiveInnovations/pal-mcp-server
353
defect
bcfaccecd490859fe189f45df4cf5b8e102d7874
9ed15f405a9462b4db7aa44ca2d989e092c008e4
fix: path traversal vulnerability in is_dangerous_path()
## Summary - Fixes path traversal vulnerability (CWE-22) where subdirectories of dangerous paths were not blocked - `is_dangerous_path()` now uses prefix matching instead of exact string matching - For example, `/etc/passwd` is now correctly blocked when `/etc` is in DANGEROUS_PATHS ## Fixes - Fixes #312 - Fixes #293 ...
diff --git a/tests/test_path_traversal_security.py b/tests/test_path_traversal_security.py new file mode 100644 index 00000000..13453987 --- /dev/null +++ b/tests/test_path_traversal_security.py @@ -0,0 +1,65 @@ +""" +Test path traversal security fix. + +Fixes vulnerability reported in: +- https://github.com/BeehiveInn...
6
4
3
[{"id": "G0", "claim": "The string-based prefix comparison with manual path separators is fragile, and the check should use pathlib's object-oriented features (e.g. Path.parents) instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The repeti...
null
BeehiveInnovations__pal-mcp-server__36
BeehiveInnovations/pal-mcp-server
36
defect
c5f682c7b010d15d67622f26ca189d3618e0074b
155c4ec21b84ab59ea5b1607d18ebd07a86c7181
feat: Add o3-pro model support
## Description Adds support for OpenAI's o3-pro model with proper configuration and temperature constraints. ## Changes Made - [x] Added o3-pro model configuration to custom_models.json with 200K context window - [x] Updated OpenAI provider to handle o3-pro with fixed temperature constraint (1.0) - [x] Extended simu...
diff --git a/conf/custom_models.json b/conf/custom_models.json index 611e4f06f..1ae67ad86 100644 --- a/conf/custom_models.json +++ b/conf/custom_models.json @@ -139,6 +139,15 @@ "supports_function_calling": true, "description": "OpenAI's o3-mini with high reasoning effort - optimized for complex problems"...
5
4
4
[{"id": "G0", "claim": "It is worth verifying whether the supports_json_mode flag added for o3-pro in custom_models.json is actually leveraged by the OpenAI provider, and if that is a desired feature, corresponding updates in the provider logic and ModelCapabilities might be beneficial so the configuration has the inte...
null
BeehiveInnovations__pal-mcp-server__89
BeehiveInnovations/pal-mcp-server
89
defect
4dae6e457ee05fb1042cd853d450c203e7985672
f2b1c8b80379c05de8609653961dd20461c43a14
fix: respect OPENROUTER_ALLOWED_MODELS in listmodels tool
## PR Title Format **PR Title:** `fix: respect OPENROUTER_ALLOWED_MODELS in listmodels tool` This follows the required format for bug fixes (triggers PATCH version bump). ## Description This PR fixes an issue where the `listmodels` tool was showing all ~200+ OpenRouter models regardless of the `OPENROUTER_ALLOWED_M...
diff --git a/tests/test_listmodels_restrictions.py b/tests/test_listmodels_restrictions.py new file mode 100644 index 000000000..f92dfbd57 --- /dev/null +++ b/tests/test_listmodels_restrictions.py @@ -0,0 +1,240 @@ +"""Test listmodels tool respects model restrictions.""" + +import asyncio +import os +import unittest +f...
1
1
1
[{"id": "G0", "claim": "The broad `except Exception: pass` blocks in tools/listmodels.py (the OpenRouter restrictions check around line 213 and the total-available-models count around line 288) can silently hide errors and should catch more specific exceptions or log the exception instead.", "category": "maintainabilit...
null
BehaviorTree__BehaviorTree.CPP__1058
BehaviorTree/BehaviorTree.CPP
1,058
defect
8b79f9683af49a62417350fb1061c81f645964ff
8e58767bd7d5b094974d9de3a06427a6834f6279
Fixed possible infinite loop in Groot2Publisher when destructor is ca…
This PR addresses Issue #1057. `active_server` is no longer set to `true` in the server loop. Instead it is `true` on construction, and set to `false` on destruction. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved publisher heartbeat/ti...
diff --git a/src/loggers/groot2_publisher.cpp b/src/loggers/groot2_publisher.cpp index 1a9240191..bf4e617e4 100644 --- a/src/loggers/groot2_publisher.cpp +++ b/src/loggers/groot2_publisher.cpp @@ -81,7 +81,7 @@ struct Groot2Publisher::PImpl std::string tree_xml; - std::atomic_bool active_server = false; + std:...
5
4
3
[{"id": "G0", "claim": "The test's timeout check can still hang the test runner because the std::future destructor blocks waiting for an async task launched with std::launch::async even after wait_for times out; use std::terminate() or a subprocess so the destructor cannot block.", "category": "testing", "verdict": "su...
null
BehaviorTree__BehaviorTree.CPP__1097
BehaviorTree/BehaviorTree.CPP
1,097
defect
46fe51606c00f71e646b7b3575426de39ab1fb9f
8f3f1a4760c6825310e623f6b74001de6ce6dcbc
Fix: DelayNode ignores delay_msec when created from XML
## Description `DelayNode` created via XML/`NodeConfig` ignored the `delay_msec` input port, executing immediately instead of delaying. Root cause: the `NodeConfig` constructor never enabled port reading. ```xml <!-- This would execute immediately (0ms) instead of waiting --> <Delay delay_msec="1500"> <AlwaysSucces...
diff --git a/src/decorators/delay_node.cpp b/src/decorators/delay_node.cpp index ea6f82ff2..add38d8a0 100644 --- a/src/decorators/delay_node.cpp +++ b/src/decorators/delay_node.cpp @@ -12,7 +12,7 @@ DelayNode::DelayNode(const std::string& name, unsigned milliseconds) } DelayNode::DelayNode(const std::string& name, ...
3
3
0
[{"id": "G0", "claim": "The new DelayWithXML test should use delay_msec=\"100\" instead of \"200\".", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The polling loop's sleep of 10 ms should be reduced to 1 ms.", "category": "testing", "verdict": "supporte...
null
BehaviorTree__BehaviorTree.CPP__264
BehaviorTree/BehaviorTree.CPP
264
defect
6983ace9f722d31776ab4c5de857858cba5c052c
8fd6807cdd20d894f63b43034ddc374d0543805f
Added printTreeRecursively overload with ostream parameter
Fixes #261
diff --git a/include/behaviortree_cpp_v3/behavior_tree.h b/include/behaviortree_cpp_v3/behavior_tree.h index 0e702143d..6422b514f 100644 --- a/include/behaviortree_cpp_v3/behavior_tree.h +++ b/include/behaviortree_cpp_v3/behavior_tree.h @@ -44,6 +44,7 @@ #include "behaviortree_cpp_v3/decorators/timeout_node.h" #inclu...
1
1
0
[{"id": "G0", "claim": "Instead of adding a second overload, the two declarations should be merged into one function with a default argument (std::ostream& stream = std::cout) for simplicity.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BehaviorTree__BehaviorTree.CPP__336
BehaviorTree/BehaviorTree.CPP
336
defect
40b5cc9cd9a9b46746ddb27aa325f9b13aa749de
e34892c276a973fcb27279cc6db5b2f95e585214
Dima/fix async action node
Hey, I've noticed that the AsyncActionNode has some strange bugs in the case the tick() method throws an exception. 1. One problem was in the thread_handle_.wait() call from within the thread. With some unlucky scheduling it might happen, that the thread_handle_ is accessed from the "tick" thread before being in...
diff --git a/include/behaviortree_cpp_v3/action_node.h b/include/behaviortree_cpp_v3/action_node.h index a7ef2aee6..be19e74d4 100644 --- a/include/behaviortree_cpp_v3/action_node.h +++ b/include/behaviortree_cpp_v3/action_node.h @@ -17,6 +17,8 @@ #include <atomic> #include <thread> #include <future> +#include <mutex...
2
2
1
[{"id": "G0", "claim": "In the uncaught-exception path of AsyncActionNode::executeTick the PR should not set the node to a terminal status like FAILURE (FAILURE carries semantic meaning in the tree); the reviewer questions whether setting any status there has an effect and would rather have the node set to IDLE.", "cat...
null
BehaviorTree__BehaviorTree.CPP__438
BehaviorTree/BehaviorTree.CPP
438
defect
c2d1e4b80b8a8acf0d0eeb74249d77b5784c25c0
696331f8032a3914c7125a8901731a7cf5226d08
Fix incorrect registration of behavior trees containing faulty XML
This fixes a problem where a behavior tree containing an invalid structure (for example, a BehaviorTree with less than one child or more than two children) could still be instantiated by the factory, even though the XML parser threw and exception when trying to load it. This was possible because adding a BehaviorTree's...
diff --git a/include/behaviortree_cpp_v3/xml_parsing.h b/include/behaviortree_cpp_v3/xml_parsing.h index 1b5bc0899c..c680f1f323 100644 --- a/include/behaviortree_cpp_v3/xml_parsing.h +++ b/include/behaviortree_cpp_v3/xml_parsing.h @@ -36,9 +36,6 @@ class XMLParser : public Parser Pimpl* _p; }; -void VerifyXML(con...
2
2
1
[{"id": "G0", "claim": "VerifyXML must not be removed from the public interface / public access, since Groot 1.0 relies on it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Code should not be moved (functions like ThrowError, ChildrenCount and the verif...
null
BehaviorTree__BehaviorTree.CPP__730
BehaviorTree/BehaviorTree.CPP
730
defect
db5789eaabc49c0c12692437bb50e5b3cc26153b
49355fd6405c851b84ae1742a25e73474664c2f9
Add optional metadata to TreeNodeManifest
Users may want to specify additional data for a node ("metadata"). They now have the option to do this, and this "metadata" will be a part of the automatically created XML when calling [writeTreeNodesModelXML](https://github.com/BehaviorTree/BehaviorTree.CPP/blob/ceb25a7f78bc88b347d903b78969e2bd68f7df4b/src/xml_parsing...
diff --git a/include/behaviortree_cpp/basic_types.h b/include/behaviortree_cpp/basic_types.h index a86e31504..6cd356913 100644 --- a/include/behaviortree_cpp/basic_types.h +++ b/include/behaviortree_cpp/basic_types.h @@ -10,7 +10,9 @@ #include <chrono> #include <memory> #include <string_view> +#include <utility> #i...
4
3
2
[{"id": "G0", "claim": "The manifest should replace `description` with `metadata` (description being just one metadata element) instead of adding metadata alongside description.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ManifestMetadata struct w...
null
Belphemur__node-json-db__1117
Belphemur/node-json-db
1,117
defect
034493bd4318c75c45a6daf561b4d60b89449514
a97b2a35bc69664925d45787c20ec0891d7949ea
Add .enc.json extension for encrypted databases to prevent mismatched access
## Implementation Complete ✅ - [x] Modify `JsonDBConfig.ts` to append `.enc.json` extension when encryption is enabled - [x] Update `setEncryption()` method to modify filename and update adapters - [x] Make `setEncryption()` idempotent (can be called multiple times) - [x] Handle custom file extensions properly (replac...
diff --git a/src/lib/JsonDBConfig.ts b/src/lib/JsonDBConfig.ts index e52abb68..0eaddcf7 100644 --- a/src/lib/JsonDBConfig.ts +++ b/src/lib/JsonDBConfig.ts @@ -13,25 +13,29 @@ export interface JsonDBConfig { export class Config implements JsonDBConfig { adapter: IAdapter<any>; - public readonly filename: stri...
1
1
1
[{"id": "G0", "claim": "The documentation about encryption in README and the JSDoc must be updated to cover the new automatic .enc.json extension behavior.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Belphemur__node-json-db__1136
Belphemur/node-json-db
1,136
defect
66325721ee6684c9d23f3ec9b36b1cb1ce85d727
abfdf0f2e759e6be81d04e3fab3df5301ad22faf
feat: add serialization support for Set, Map, Date, RegExp, and BigInt via ISerializer contract
`Set`, `Map`, `RegExp`, and `BigInt` don't survive `JSON.stringify` — Sets/Maps become `{}`, BigInt throws. Dates worked via a regex heuristic that could false-positive on ISO-looking strings. This adds a `__type`/`__value` envelope pattern with a pluggable `ISerializer` interface. ### Changes - **`ISerializer` contr...
diff --git a/src/JsonDB.ts b/src/JsonDB.ts index 9843d716..89d93ca3 100644 --- a/src/JsonDB.ts +++ b/src/JsonDB.ts @@ -9,8 +9,10 @@ import {readLockAsync, writeLockAsync} from "./lock/Lock"; export {Config, ConfigWithAdapter} from './lib/JsonDBConfig' export {DatabaseError, DataError} from './lib/Errors' export type...
7
7
2
[{"id": "G0", "claim": "Serializing an object that already carries __type/__value properties breaks the deserialize(serialize(x)) == x roundtripping guarantee, since nothing escapes those keys and such an object can come back as the wrong type (e.g. a RegExp); correctly implementing it requires escaping.", "category": ...
null
Belval__TextRecognitionDataGenerator__60
Belval/TextRecognitionDataGenerator
60
defect
06d987bb48a48d40c8d15d60f4a78d25b3ec6f18
ea0927aa533f666c704ed199178b259fb66d7435
Add argument font
As said in #59 : we can generate picture with only one font pass by argument
diff --git a/TextRecognitionDataGenerator/run.py b/TextRecognitionDataGenerator/run.py index 7603cebc67..678c5cf4d8 100644 --- a/TextRecognitionDataGenerator/run.py +++ b/TextRecognitionDataGenerator/run.py @@ -252,6 +252,14 @@ def parse_arguments(): help="Apply a tight crop around the rendered text", ...
2
2
1
[{"id": "G0", "claim": "The `--font` argument should drop its `default=\"\"` line, since argparse will default to `None` anyway.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added to `tests.py` covering the pull request's new ...
null
BerriAI__litellm__17921
BerriAI/litellm
17,921
defect
2f82c223d3564694e685cfab6a39cd0278ab60fb
c5453beb07ba649e84a6cbb53946d7a170868950
fix gemini web search requests count
## Summary Fix incorrect `web_search_requests` count in Gemini streaming responses. ## Bug In `_calculate_web_search_requests`, the code used `len(grounding_metadata)` (always 1) instead of `len(web_search_queries)` (actual query count). Example: Gemini returns `['weather in NYC', 'current weather New York ...
diff --git a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py index d7d23d24e9f4..d53beab3e0dd 100644 --- a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py +++ b/litellm/llms/vertex_ai/gemini/vertex_and_google_a...
1
1
0
[{"id": "G0", "claim": "The test fixture string contains the misspelling \"Captial\" and should be corrected.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
BerriAI__litellm__17973
BerriAI/litellm
17,973
defect
0be6dd57c3d6d18d55b66a41a185b847a672d642
b5ab708b95576813cd357253e09fa795e06976e6
feat: Add Prometheus metrics for request queue time and guardrails
## Title Add Prometheus metrics for request queue time and guardrail execution ## Relevant issues Fixes #17863 ## Pre-Submission checklist - [x] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is a hard require...
diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.py index 4ce818f0cef6..2c39caaa1395 100644 --- a/litellm/integrations/prometheus.py +++ b/litellm/integrations/prometheus.py @@ -14,6 +14,7 @@ Literal, Optional, Tuple, + Union, cast, ) @@ -44,6 +45,7 @@ def _get...
1
1
0
[{"id": "G0", "claim": "The timing calls this PR adds on the request hot path (a function-local `import time` plus extra `time.time()` calls for the queue-time calculation, the arrival-time capture and the guardrail timing) may introduce performance issues; the reviewer asks whether there is another way that still lets...
null
BerriAI__litellm__18279
BerriAI/litellm
18,279
defect
8a8f5b36af8eeec2dabbeb1c1adb530389df3aef
4a1bc90e61a47512e7355ace5f246e89672f2cdd
Use already configured opentelemetry providers
Users that instrument using opentelemetry-instrument can now setup exporters as per their environment ## Relevant issues Fixes #13646 ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/litellm/`](https:...
diff --git a/litellm/integrations/opentelemetry.py b/litellm/integrations/opentelemetry.py index 12e60bc25bb3..b356e41c1529 100644 --- a/litellm/integrations/opentelemetry.py +++ b/litellm/integrations/opentelemetry.py @@ -196,51 +196,88 @@ def _init_otel_logger_on_litellm_proxy(self): litellm.service_call...
3
2
0
[{"id": "G0", "claim": "Invert the `if provider is None` condition in the `_get_or_create_provider` helper so the explicitly-provided case returns early and the nesting is reduced.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks...
null
BerriAI__litellm__18374
BerriAI/litellm
18,374
defect
f6350aac9b87cd54852cf4e328f71539067a4678
0addab4f63088592fc1b4f40088e33b3270533d6
Add gemini thought signature support via tool call id
## Relevant issues Fixes #18160 ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is a hard requir...
diff --git a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py index b1810b40cf92..a5cc3dca8c1d 100644 --- a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py +++ b/litellm/llms/vertex_ai/gemini/vertex_and_google_a...
1
1
1
[{"id": "G0", "claim": "The new debug log in function_setup interpolates `model` into a clear-text log message, which the scanner flags as potentially logging sensitive data (password/secret) as clear text.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BerriAI__litellm__18569
BerriAI/litellm
18,569
defect
3d024b7a8937215bbc636d1231a1b5b049246540
b9f2020ee507a210e1611104448301113f35c324
Feat/add watsonx fields
## Relevant issues Implements requested feature from #18364. Watsonx provider was already available in the dropdown menu, only missing fields were needed. Decided to add a correct placeholder. Closes #18364 ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review y...
diff --git a/litellm/proxy/public_endpoints/provider_create_fields.json b/litellm/proxy/public_endpoints/provider_create_fields.json index 9916bdf6923f..74bd7e769352 100644 --- a/litellm/proxy/public_endpoints/provider_create_fields.json +++ b/litellm/proxy/public_endpoints/provider_create_fields.json @@ -2866,7 +2866,...
2
2
2
[{"id": "G0", "claim": "API key isn't the only way of doing auth for watsonx (e.g. the machine could have the credentials), so the newly-required API Key credential field is wrongly required.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The API Ba...
null
BerriAI__litellm__18614
BerriAI/litellm
18,614
defect
6dc11deeac27a4530d7b4ec920d50595c1842167
5c5e11cb09d06a6e6b34ae15406847c90f60c413
Fix: Map Gemini cached_tokens to Langfuse cache_read_input_tokens
## Relevant issues Fixes #18520 ## Pre-Submission checklist - [x] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is a hard requirement** - [see details](https://docs.litellm.ai/docs/extras/contributing_code) - [ ] My PR p...
diff --git a/litellm/integrations/langfuse/langfuse.py b/litellm/integrations/langfuse/langfuse.py index 10347bc7c67a..3f6dabc46f59 100644 --- a/litellm/integrations/langfuse/langfuse.py +++ b/litellm/integrations/langfuse/langfuse.py @@ -739,6 +739,27 @@ def _log_langfuse_v2( # noqa: PLR0915 ...
1
1
0
[{"id": "G0", "claim": "The cache-token handling in _log_langfuse_v2 should be refactored into a separate function to avoid bloat.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BerriAI__litellm__18675
BerriAI/litellm
18,675
defect
b5aa7d1838c7193aa3506346bb54e21fb95c9c48
30f02edb71c35f27daea8c0c1b8bcfd476007c42
[Feature] Allow Add and Update for router_settings on Keys and Teams
## Relevant issues This PR adds the functionality to add router_settings on Keys and Teams through the Create and Update. The router settings is the same shape as the global router settings we have currently inside of the Config table, and this is the first PR to support key and team based routing. When complete th...
diff --git a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma index e565135bbc4d..ae7856f893bd 100644 --- a/litellm-proxy-extras/litellm_proxy_extras/schema.prisma +++ b/litellm-proxy-extras/litellm_proxy_extras/schema.prisma @@ -124,6 +124,7 @@ model Lit...
3
3
1
[{"id": "G0", "claim": "The router_settings field should be typed Optional[RouterSettings] instead of Optional[dict] so it is clear what settings can be set on a key/team.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Router settings should be serialize...
null
BerriAI__litellm__18891
BerriAI/litellm
18,891
defect
3a2de85e7b4c97c5ce23e244b5d1b14632ce829c
a7c6dc556179eb935fbbb493013aa5337404a97f
fix: models loadbalancing billing issue by filter
## Relevant issues Fixes #18333 ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is a hard requir...
diff --git a/litellm/proxy/auth/model_checks.py b/litellm/proxy/auth/model_checks.py index 71ae1348f39a..af2574d88ee7 100644 --- a/litellm/proxy/auth/model_checks.py +++ b/litellm/proxy/auth/model_checks.py @@ -64,6 +64,27 @@ def _get_models_from_access_groups( return all_models +def get_access_groups_from_mod...
1
1
1
[{"id": "G0", "claim": "The key's allowed access groups and the team's allowed access groups should be kept separate rather than combined, because a key does not always inherit all of the team's allowed access groups.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BerriAI__litellm__19234
BerriAI/litellm
19,234
defect
362b1a1577ed3592b12b3243e05d09acfa430e7a
2a0f87bde048e406e6dbf1d5465e77d7e0282bc3
Litellm staging 01 16 2026
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [ ] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is...
diff --git a/docker/supervisord.conf b/docker/supervisord.conf index c6855fe652b9..877335804fe6 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -1,6 +1,8 @@ [supervisord] nodaemon=true loglevel=info +logfile=/tmp/supervisord.log +pidfile=/tmp/supervisord.pid [group:litellm] programs=main,he...
1
1
0
[{"id": "G0", "claim": "The newly added verbose_logger.debug f-strings in cost_per_second() interpolate model cost variables into the log message, which the security scanner flags as potential clear-text logging of sensitive information.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "intr...
null
BerriAI__litellm__19513
BerriAI/litellm
19,513
defect
aa4b0e0149f1251f127b858b1cbcd67a0e198ef1
2b39c8b7c78a6e7e1898a1eaac494d089fe65e5d
Fix Azure RPM calculation formula
## Relevant issues Fixes #19512 ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [ ] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is a hard requirem...
diff --git a/litellm/utils.py b/litellm/utils.py index 06eceefe0cc1..bb79b1c03454 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -4719,7 +4719,7 @@ def calculate_max_parallel_requests( elif rpm is not None: return rpm elif tpm is not None: - calculated_rpm = int(tpm / 1000 / 6) + ...
1
1
1
[{"id": "G0", "claim": "The existing tests in tests/local_testing/test_router_max_parallel_requests.py (lines 57 and 110) still use the old incorrect formula and will fail with this change; they need to be updated from \"tpm / 1000 / 6\" to \"tpm / 1000 * 6\" to match the fix.", "category": "testing", "verdict": "suppo...
null
BerriAI__litellm__19527
BerriAI/litellm
19,527
defect
aa4b0e0149f1251f127b858b1cbcd67a0e198ef1
54204982bdf3e5ddb951a3665383b071fd37fb18
Fix date overflow/division by zero in proxy utils
## Relevant issues Fixes #19514 Also corrects handling of edge case for December: `_get_projected_spend_over_limit` raises `ValueError: month must be in 1..12` in December because it constructs `datetime.date(today.year, today.month + 1, 1)` without handling `today.month == 12`. ## Pre-Submission checklist ...
diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index e0855333e26f..ae96ffa83a5d 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -7,7 +7,7 @@ import threading import time import traceback -from datetime import datetime, timedelta +from datetime import date, datetime, timedelta from ...
5
4
0
[{"id": "G0", "claim": "Division by zero can still occur in _get_projected_spend_over_limit when daily_spend is 0 (current_spend is 0, e.g. at the start of a month), so add a check to handle this edge case before the division.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing...
null
BerriAI__litellm__20796
BerriAI/litellm
20,796
defect
35eb3030982e17b945e9905c15a88280b3f4ec88
6b938f81d14eb3aa71fa43598a8d5350a0d37d44
[Fix] /v2/guardrails/list Returns Sensitive Values
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is...
diff --git a/litellm/proxy/guardrails/guardrail_endpoints.py b/litellm/proxy/guardrails/guardrail_endpoints.py index a825ce22b250..c0c878424276 100644 --- a/litellm/proxy/guardrails/guardrail_endpoints.py +++ b/litellm/proxy/guardrails/guardrail_endpoints.py @@ -150,6 +150,7 @@ async def list_guardrails_v2(): } ...
3
2
2
[{"id": "G0", "claim": "list_guardrails_v2 passes a plain dict from _get_masked_values into GuardrailInfoResponse.litellm_params, which is typed Optional[BaseLitellmParams], relying on implicit Pydantic coercion that can raise response validation errors and adds unnecessary per-item model parsing; the same pattern appe...
null
BerriAI__litellm__20991
BerriAI/litellm
20,991
defect
b88b2520c02be44cd55499dc8410d4bf329cc2dd
55225a09cf9379ad81246bdf197a3ec2f4cc9394
[Feature] Allow Sorting on /spend/logs/ui
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is...
diff --git a/litellm/proxy/spend_tracking/spend_management_endpoints.py b/litellm/proxy/spend_tracking/spend_management_endpoints.py index c05eda85c815..a853e764cdd1 100644 --- a/litellm/proxy/spend_tracking/spend_management_endpoints.py +++ b/litellm/proxy/spend_tracking/spend_management_endpoints.py @@ -1687,6 +1687,...
1
1
0
[{"id": "G0", "claim": "The `sort_order` parameter defaults to `desc` while `sort_by` defaults to `None`, which creates a minor asymmetry between the defaults of the two new query parameters.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BerriAI__litellm__21088
BerriAI/litellm
21,088
defect
a58f18872b09ad7003a9bd8aff3664203a4f1517
ae44022a407fe25dac5312dff3f973b276f84b55
[Fix] Spend Management Tests
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [ ] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is...
diff --git a/litellm/proxy/spend_tracking/spend_management_endpoints.py b/litellm/proxy/spend_tracking/spend_management_endpoints.py index 9c0190bdfecc..0c91fd00b388 100644 --- a/litellm/proxy/spend_tracking/spend_management_endpoints.py +++ b/litellm/proxy/spend_tracking/spend_management_endpoints.py @@ -3,7 +3,6 @@ ...
5
1
1
[{"id": "G0", "claim": "The raw SQL in ui_view_spend_logs hardcodes ORDER BY \"startTime\" DESC, so the validated sort_by/sort_order query parameters are ignored and users requesting e.g. sort_by=spend&sort_order=asc always get results sorted by startTime DESC.", "category": "correctness", "verdict": "supported", "prio...
null
BerriAI__litellm__21627
BerriAI/litellm
21,627
defect
d4ae3c8370f98a78023116d4cb418424dca7559b
c7fe400d4deb54918f2d42bfaa431a9ec89730c6
[Fix] Service Account Visibility for Team Members
## Relevant issues Reported: Team members cannot see service accounts belonging to their team, but former members can still see service accounts they created after leaving. ## Summary ### Failure Path (Before Fix) - `include_team_keys` on `/key/list` only returned keys for teams where the user was an **admi...
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py index 1a02120cb6c2..301cfd1d53c1 100644 --- a/litellm/proxy/management_endpoints/key_management_endpoints.py +++ b/litellm/proxy/management_endpoints/key_management_endpoints.py @...
1
1
1
[{"id": "G0", "claim": "get_member_team_ids() duplicates the DB query from get_admin_team_ids() — both fetch the same team records; the code should fetch teams once and pass them to both functions.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BerriAI__litellm__21704
BerriAI/litellm
21,704
defect
d5fa49fbb7882038e430ba201159db500100701d
de1517411f2a54a40552a9dcb897bd065910bbf8
[Feature] UI - Logs: Show retry count for requests
## Relevant issues <!-- e.g. "Fixes #000" --> ## Summary ### Problem The Logs page does not show how many retries were attempted for each request. The router tracks retry attempts via response headers (`x-litellm-attempted-retries`, `x-litellm-max-retries`), but this information is never persisted to spend lo...
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 0e4fab9c79d0..ef471b29e6b4 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -3044,6 +3044,8 @@ class SpendLogsMetadata(TypedDict): str ] # S3/GCS object key for cold storage retrieval litellm_overhead_time_ms: ...
1
1
1
[{"id": "G0", "claim": "The initial max_retries written into metadata before the try block may become stale when num_retries is later overridden by deployment_num_retries or _retry_policy_retries, so the failed initial attempt's spend log can show a max_retries that does not match the actual max retries used by the ret...
null
BerriAI__litellm__22049
BerriAI/litellm
22,049
defect
e9a45bf75b9f8fde784befaf82c53cf3b09bb1e0
f4e23c97fd7261f43646261692e35022a710ea3e
[Fix] Enrich Failure Spend Logs With Key/Team Metadata
## Relevant issues <!-- e.g. "Fixes #000" --> ## Summary ### Failure Path (Before Fix) When a request fails, the spend log written to `LiteLLM_SpendLogs` is missing key metadata (`key_alias`, `user_id`, `team_id`, `team_alias`). This occurs in two scenarios: 1. **Auth errors (401)**: `auth_exception_handler.py` cr...
diff --git a/litellm/proxy/hooks/proxy_track_cost_callback.py b/litellm/proxy/hooks/proxy_track_cost_callback.py index 815d64f22adc..80e202e95782 100644 --- a/litellm/proxy/hooks/proxy_track_cost_callback.py +++ b/litellm/proxy/hooks/proxy_track_cost_callback.py @@ -12,7 +12,7 @@ ) from litellm.litellm_core_utils.li...
3
2
1
[{"id": "G0", "claim": "Unlike the get_team_object call, the get_key_object call in _enrich_failure_metadata_with_key_info does not pass check_cache_only=True, so on a cache miss it falls through to a direct database query, adding unexpected latency and DB load in the failure path; since the enrichment is best-effort a...
null
BerriAI__litellm__22066
BerriAI/litellm
22,066
defect
8f118fbbce6bdb87ef2ea6b63d7809f13b129c92
b78a30f7737618a2dc6b964cb96b27ccb4ed264b
[Feature] Add request_duration_ms to SpendLogs
## Summary ### Problem There is no persisted request duration in `LiteLLM_SpendLogs`. Duration must be computed from `endTime - startTime` on every query. ### Fix - Adds a `request_duration_ms` INTEGER column to `LiteLLM_SpendLogs` via a Prisma migration (column-add only, no backfill). - New rows compute and s...
diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20260224201417_spend_logs_request_duration/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260224201417_spend_logs_request_duration/migration.sql new file mode 100644 index 000000000000..604c1b16ff5f --- /dev/null +++ b/litellm-pro...
2
1
0
[{"id": "G0", "claim": "_get_request_duration_ms should clamp negative durations to zero when end_time is earlier than start_time.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The migration.sql file is missing a trailing newline and should end wit...
null
BerriAI__litellm__22137
BerriAI/litellm
22,137
defect
adba088df2a2f3574e50968211f211c67692fed4
4643685e7838ce0c8fd6c0ed1f12a2a8a34f9e86
[Fix] /key/aliases: Add pagination and search to prevent OOMs
## Summary The \`/key/aliases\` endpoint previously fetched all key aliases from the database without limit, causing out-of-memory crashes with large key sets. This fix adds pagination and search parameters to the endpoint, moving filtering and pagination to the database level. ### Changes Added \`page\`, \`size\`, ...
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py index c1165ab26d01..8a5145bf7933 100644 --- a/litellm/proxy/management_endpoints/key_management_endpoints.py +++ b/litellm/proxy/management_endpoints/key_management_endpoints.py @...
1
1
1
[{"id": "G0", "claim": "The /key/aliases query fetches all columns of LiteLLM_VerificationToken (including large fields like metadata and permissions) when only key_alias is needed, so with large key sets a page may still use significantly more memory than necessary despite the endpoint's OOM-prevention purpose.", "cat...
null
BerriAI__litellm__22193
BerriAI/litellm
22,193
defect
6600c86dbd9aca60d2f4580cb573ee7236bda245
2fce35a1628af8b82275b6625c713213d18c7b0d
test(ci): add secret scan test and CI job
## Summary - Add unit test (`tests/litellm/test_no_hardcoded_secrets.py`) that scans Python source for Base64 Basic Auth patterns flagged by secret scanners like GitGuardian/ggshield - Add `secret-scan` CI job to the linting workflow that runs the test on every PR, and optionally runs `ggshield` if `GITGUARDIAN_API_KEY...
diff --git a/.github/workflows/test-linting.yml b/.github/workflows/test-linting.yml index 7c5c269f8993..abd857ea2b08 100644 --- a/.github/workflows/test-linting.yml +++ b/.github/workflows/test-linting.yml @@ -74,3 +74,30 @@ jobs: - name: Check import safety run: | poetry run python -c "from litel...
2
2
2
[{"id": "G0", "claim": "The new secret-scan workflow job does not limit the GITHUB_TOKEN's permissions; consider setting an explicit permissions block, minimally contents: read.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ggshield step's if: env...
null
BerriAI__litellm__22243
BerriAI/litellm
22,243
defect
33bb798997d2a28c83ef97d054016788aa28bb59
f4e3e016a1c534996e8d901e67b9e547eab0a892
[Fix] Prometheus Metrics Team +Inf Budgets
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [ ] I have Added testing in the [`tests/litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/litellm) directory, **Adding at least 1 test is...
diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.py index 08db77e8571a..121431d21145 100644 --- a/litellm/integrations/prometheus.py +++ b/litellm/integrations/prometheus.py @@ -2686,6 +2686,8 @@ async def _assemble_team_object( if team_info: team_object.budget_r...
1
1
1
[{"id": "G0", "claim": "Applying the same DB fallback for max_budget in _assemble_user_object, since if max_budget is None in request metadata but has a real value in the DB, _safe_get_remaining_budget will return +Inf for user metrics too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope":...
null
BerriAI__litellm__22858
BerriAI/litellm
22,858
defect
dd183a7fcb5dc734ddc770bad1663da961945ece
96b75be03d1db6e4957183061fb20e97163318ee
[Feature] RBAC for Vector Stores and Agents
## Relevant issues <!-- e.g. "Fixes #000" --> ## Summary Users need the ability to restrict internal users (and optionally team admins) from accessing agent and vector store management features. Today, agent write operations are PROXY_ADMIN-only but reads are open, and vector store management has no role-based...
diff --git a/litellm/proxy/agent_endpoints/endpoints.py b/litellm/proxy/agent_endpoints/endpoints.py index 65674d01be70..80c55f634f78 100644 --- a/litellm/proxy/agent_endpoints/endpoints.py +++ b/litellm/proxy/agent_endpoints/endpoints.py @@ -16,6 +16,7 @@ from litellm._logging import verbose_proxy_logger from litell...
8
8
5
[{"id": "G2", "claim": "_check_if_team_admin largely duplicates the existing _user_has_admin_privileges helper and issues a raw litellm_teamtable.find_many query in the critical request path, contrary to the convention that request-path DB queries go through helper functions.", "category": "maintainability", "verdict":...
null
BerriAI__litellm__22866
BerriAI/litellm
22,866
defect
86d5b4c632f4b3e3279e64b1cd0426d985a00dfc
4a4bcced3c0a80a390edd0b8fa1e69cda588a1e5
feat: bedrock mantle provider
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [ ] I have Added testing in the [`tests/test_litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/test_litellm) directory, **Adding at least...
diff --git a/docs/my-website/docs/providers/bedrock_mantle.md b/docs/my-website/docs/providers/bedrock_mantle.md new file mode 100644 index 000000000000..185d9a6e215d --- /dev/null +++ b/docs/my-website/docs/providers/bedrock_mantle.md @@ -0,0 +1,157 @@ +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabI...
7
2
2
[{"id": "G0", "claim": "The bedrock_mantle completion handler in main.py lacks a region-aware default URL fallback (unlike the Groq handler), so if api_base, litellm.api_base and the BEDROCK_MANTLE_API_BASE secret are all unset, api_base stays None and requests could silently go to the wrong default endpoint if the ups...
null
BerriAI__litellm__22939
BerriAI/litellm
22,939
defect
0f4771fe19b41aec28166d32c485c64cd3af435f
21718d208d78eec53e668891956bffc7d5d7fd32
feat: Hashicorp Vault config override backend endpoints
## Relevant issues <!-- e.g. "Fixes #000" --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/test_litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/test_litellm) directory, **Adding at least...
diff --git a/litellm/proxy/management_endpoints/config_override_endpoints.py b/litellm/proxy/management_endpoints/config_override_endpoints.py new file mode 100644 index 000000000000..2978a523fb1c --- /dev/null +++ b/litellm/proxy/management_endpoints/config_override_endpoints.py @@ -0,0 +1,405 @@ +import json +import ...
12
6
3
[{"id": "G1", "claim": "Calling the synchronous initialize_secret_manager directly inside async handlers (the update endpoint and the _init_hashicorp_vault_config_override polling loop) can stall the uvicorn event loop; it should be wrapped in asyncio.to_thread.", "category": "performance", "verdict": "uncertain", "pri...
null
BerriAI__litellm__22981
BerriAI/litellm
22,981
defect
8b0375f99c59d824d701a8950f30080cf2003f07
b6344c319b82d84f6fe8e34a90ab9948ad4feb0d
feat(openai): normalize reasoning_effort dict to string for chat completion API
## Summary Fixes BadRequestError when model config/deployments pass `reasoning_effort` in the Responses API format (`{'effort': 'high', 'summary': 'detailed'}`) to chat completion. The OpenAI chat completion API expects a simple string: `'none'`, `'low'`, `'medium'`, `'high'`, or `'xhigh'`. ## Changes - Add `_normaliz...
diff --git a/litellm/llms/openai/chat/gpt_5_transformation.py b/litellm/llms/openai/chat/gpt_5_transformation.py index 358a94016ae1..af02235c3426 100644 --- a/litellm/llms/openai/chat/gpt_5_transformation.py +++ b/litellm/llms/openai/chat/gpt_5_transformation.py @@ -1,6 +1,6 @@ """Support for OpenAI gpt-5 model family...
5
1
1
[{"id": "G0", "claim": "When reasoning_effort is a dict without an \"effort\" key (e.g. {\"summary\": \"auto\"}), the normalizer returns None and the raw dict silently falls through to the API in the GPT-5 path (and the equivalent O-series block), reproducing the BadRequestError this PR intends to fix; the reviewer ask...
null
BerriAI__litellm__23019
BerriAI/litellm
23,019
defect
b314e8d20a9daa8934153f1668d2174136cc50fa
3a15e1cc2ef68ba96abe9ad7b03e627cb21f8da4
[Fix] Block proxy startup when use_redis_transaction_buffer has no Redis
## Relevant issues <!-- e.g. "Fixes #000" --> ## Summary ### Failure Path (Before Fix) Setting `use_redis_transaction_buffer: true` in `general_settings` without configuring Redis in `litellm_settings` causes the proxy to start successfully but silently drop all spend tracking data. The in-memory queues are drained...
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index b7f11ec27081..d0d132c313d8 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -871,6 +871,12 @@ async def proxy_startup_event(app: FastAPI): # noqa: PLR0915 redis_usage_cache=redis_usage_cache, ...
4
2
0
[{"id": "G0", "claim": "When the flag is sourced from an environment variable with a value str_to_bool does not recognize (e.g. \"1\", \"yes\", \"on\"), the validation is silently bypassed, leaving the proxy able to start in the broken state this PR aims to fix; lines 5641-5644 need handling for str_to_bool returning N...
null
BerriAI__litellm__23027
BerriAI/litellm
23,027
defect
4f4225fdbf51721374d8faf857038a7a2d9ced91
d78752b85b1a843318a03029b1ae05031622e23e
feat: feature flag on validate key alias
## Relevant issues <!-- Fixes regression reported by Roblox: _validate_key_alias_format broke existing key provisioning flows using characters like @ in key_alias --> ## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in ...
diff --git a/litellm/__init__.py b/litellm/__init__.py index d75f47567a53..4fc71e12700d 100644 --- a/litellm/__init__.py +++ b/litellm/__init__.py @@ -305,6 +305,9 @@ False # get response headers from LLM Api providers - example x-remaining-requests, ) enable_json_schema_validation: bool = False +enable_key_ali...
1
1
0
[{"id": "G0", "claim": "In the test methods, `litellm.enable_key_alias_format_validation` is reset only at the end of each test, so a mid-test failure leaves the flag dirty for the rest of the suite; a pytest fixture with `yield` should guarantee cleanup.", "category": "testing", "verdict": "supported", "priority": "P2...
null
BerriAI__litellm__24175
BerriAI/litellm
24,175
defect
48e9d0b2715bf018f59d1b1515ffa96c73c3d4b7
b907b59f14f01dd106603600d8b2adb243b7e5bf
fix(proxy): enforce key-level model restrictions for custom auth
## Pre-Submission checklist **Please complete all items before asking a LiteLLM maintainer to review your PR** - [x] I have Added testing in the [`tests/test_litellm/`](https://github.com/BerriAI/litellm/tree/main/tests/test_litellm) directory, **Adding at least 1 test is a hard requirement** - [see details](https://...
diff --git a/litellm/proxy/auth/user_api_key_auth.py b/litellm/proxy/auth/user_api_key_auth.py index eb6a5bdb994e..0b5baccfadcb 100644 --- a/litellm/proxy/auth/user_api_key_auth.py +++ b/litellm/proxy/auth/user_api_key_auth.py @@ -11,7 +11,7 @@ import re import secrets from datetime import datetime, timezone -from t...
2
2
1
[{"id": "G0", "claim": "Unconditional `_enforce_key_and_fallback_model_access` inside `_run_post_custom_auth_checks` may break existing custom-auth deployments that relied on no key-level model enforcement, so the call should be gated behind an opt-in flag such as `custom_auth_run_common_checks` or a dedicated flag.", ...
null