File tree
3,266 files changed
+81063
-45951
lines changed- .devcontainer
- .github
- codeql
- workflows
- .vscode
- actions/ql
- lib
- change-notes/released
- ext/config
- src
- Security
- CWE-077
- CWE-829
- change-notes/released
- codeql-suites
- experimental/Security/CWE-829
- test/query-tests/Security
- CWE-094
- CWE-829
- cpp/ql
- lib
- change-notes/released
- ext
- semmle/code/cpp
- ir/dataflow/internal
- models/implementations
- security/InvalidPointerDereference
- src
- Diagnostics
- Internal
- JPL_C/LOC-3/Rule 17
- Likely Bugs/Memory Management
- Metrics/Internal
- Security/CWE
- CWE-079
- CWE-114
- CWE-119
- CWE-134
- CWE-170
- CWE-190
- change-notes/released
- codeql-suites
- test
- experimental/query-tests/Security/CWE/CWE-193/constant-size
- library-tests
- dataflow
- dataflow-tests
- source-sink-tests
- taint-tests
- preprocessor/preprocessor
- templates/nontype_instantiations/general
- query-tests
- Diagnostics
- JPL_C/LOC-3/Rule 17
- Security/CWE
- CWE-022/SAMATE/TaintedPath
- CWE-134
- SAMATE
- semmle/consts
- CWE-193
- CWE-311/semmle/tests
- csharp
- extractor
- Semmle.Extraction.CSharp.DependencyFetching
- SourceGenerators/DotnetSourceGeneratorWrapper
- Semmle.Extraction.CSharp
- Entities
- Expressions
- Types
- Extractor
- Semmle.Extraction.Tests
- ql
- campaigns/Solorigate
- lib
- change-notes/released
- src
- change-notes/released
- consistency-queries
- integration-tests/all-platforms
- blazor_build_mode_none
- BlazorTest/Components/Pages
- blazor_net_8
- BlazorTest/Components/Pages
- blazor
- BlazorTest/Components/Pages
- standalone_resx
- standalone_winforms
- lib
- change-notes/released
- ext
- semmle/code/csharp
- controlflow/internal
- dataflow/internal
- frameworks/microsoft/aspnetcore
- src
- API Abuse
- Bad Practices
- Control-Flow
- Useless code
- change-notes/released
- codeql-suites
- utils/modelgenerator/internal
- test
- library-tests
- csharp7
- dataflow
- global
- library
- local
- ssa
- frameworks/microsoft/aspnetcore/blazor
- standalone/brokentypes
- query-tests
- API Abuse/NoDisposeCallOnLocalIDisposable
- Bad Practices
- Control-Flow/ConstantCondition
- Path Combine
- Useless Code
- FutileConditional
- IntGetHashCode
- standalone
- Bad Practices/Control-Flow/ConstantCondition
- Likely Bugs
- IncomparableEquals
- ObjectComparison
- utils/modelgenerator/dataflow
- docs
- codeql
- codeql-language-guides
- ql-training/_static-training/slides-semmle-2
- static
- js
- polyfills
- prettify
- theme
- css
- scss
- reusables
- writing-codeql-queries
- go
- actions/test
- documentation/library-coverage
- extractor
- ql
- consistency-queries
- change-notes/released
- lib
- change-notes/released
- ext
- semmle/go
- frameworks
- security
- src
- InconsistentCode
- Security/CWE-352
- change-notes/released
- codeql-suites
- test
- library-tests/semmle/go
- concepts/LoggerCall
- dataflow/flowsources/local/database
- vendor
- github.com
- Masterminds/squirrel
- beego/beego/v2/client/orm
- couchbase/gocb
- v2
- jmoiron/sqlx
- nonexistent/sources
- gorm.io/gorm
- frameworks/StdlibTaintFlow
- query-tests
- InconsistentCode/UnhandledCloseWritableHandle
- Security
- CWE-117
- CWE-312
- javascript
- downgrades
- 5b5db607d20c7b449cef2d1c926b24d77c69bebb
- ccefb5e2d49318eea4aeafd4c6ae2af9f94ac72a
- extractor
- lib/typescript
- src/com/semmle
- js
- ast
- jsdoc
- regexp
- extractor
- parser
- ts
- ast
- extractor
- tests
- comments/output/trap
- es2024
- input
- output/trap
- ts
- input
- output/trap
- ui5
- input
- output/trap
- xsjs
- input
- output/trap
- ql
- lib
- change-notes/released
- ext
- semmle/javascript
- dataflow
- internal
- frameworks
- data/internal
- internal
- flow_summaries
- security/dataflow
- upgrades
- 5b5db607d20c7b449cef2d1c926b24d77c69bebb
- c88c69174bd0dd4e95f1bcfbada68a2505e812c3
- utils/test/internal
- src
- change-notes/released
- codeql-suites
- experimental
- Security/CWE-347
- semmle/javascript
- meta/alerts
- test
- ApiGraphs
- async-await
- dynamic-prop-read
- library-tests
- JSDoc
- NameResolution
- Nodes
- RegExp/VFlagOperations
- CombinationOfOperators
- Intersection
- QuotedString
- Subtraction
- TaintTracking
- TripleDot
- TypeAnnotations/JSDoc
- TypeScript/Types
- frameworks
- ClientRequests
- HTTP
- data
- hapi
- src
- query-tests
- AngularJS
- DeadAngularJSEventListener
- DependencyMismatch
- DisablingSce
- DoubleCompilation
- IncompatibleService
- InsecureUrlWhitelist
- MissingExplicitInjection
- RepeatedInjection
- UnusedAngularDependency
- UseNgSrc
- Comments
- CommentedOutCode
- TodoComments
- DOM
- Alert
- HTML
- PseudoEval
- TargetBlank
- Declarations
- ArgumentsRedefined
- AssignmentToConst
- ClobberingVarInit
- ConflictingFunctions
- DeadStoreOfGlobal
- DeadStoreOfLocal
- DeadStoreOfProperty
- DeclBeforeUse
- DefaultArgumentReferencesNestedFunction
- DuplicateVarDecl
- IneffectiveParameterType
- MissingThisQualifier
- MissingVarDecl
- MixedStaticInstanceThisAccess
- RedeclaredVariable
- SuspiciousMethodNameDeclaration
- TemporalDeadZone
- TooManyParameters
- UniqueParameterNames
- UniquePropertyNames
- UnreachableOverloads
- UnstableCyclicImport
- ExampleBad
- UnusedParameter
- UnusedProperty
- UnusedVariable
- Babelrc
- Electron
- DangerousWebPreferencesSettings
- NodeIntegration
- Expressions
- BitwiseSignCheck
- CompareIdenticalValues
- ComparisonWithNaN
- DuplicateCondition
- DuplicateProperty
- DuplicateSwitchCase
- ExprHasNoEffect
- HeterogeneousComparison
- ImplicitOperandConversion
- MissingAwait
- MissingDotLengthInComparison
- MissingSpaceInAppend
- MisspelledIdentifier
- MisspelledVariableName
- RedundantExpression
- SelfAssignment
- ShiftOutOfRange
- StringInsteadOfRegex
- SuspiciousInvocation
- SuspiciousPropAccess
- UnboundEventHandlerReceiver
- UnclearOperatorPrecedence
- UnknownDirective
- UnneededDefensiveProgramming
- WhitespaceContradictsPrecedence
- JSDoc
- BadParamTag
- JSDocForNonExistentParameter
- UndocumentedParameter
- LanguageFeatures
- ArgumentsCallerCallee
- BadTypeof
- ConditionalComments
- DebuggerStatement
- DeleteVar
- EmptyArrayInit
- Eval
- ExpressionClosures
- ForInComprehensionBlocks
- IllegalInvocation
- InconsistentNew
- InvalidPrototype
- JumpFromFinally
- LengthComparisonOffByOne
- NonLinearPattern
- PropertyWriteOnPrimitive
- SemicolonInsertion
- SetterIgnoresParameter
- SetterReturn
- SpuriousArguments
- StrictModeCallStackIntrospection
- SyntaxError
- TemplateSyntaxInStringLiteral
- ThisBeforeSuper
- UnusedIndexVariable
- WithStatement
- YieldInNonGenerator
- NodeJS
- CyclicImport
- test1
- test2/inner
- DubiousImport
- InvalidExport
- MissingExports
- UnresolvableImport
- src
- sub
- subsub
- UnusedDependency
- Performance
- NonLocalForIn
- ReassignParameterAndUseArguments
- React
- DirectStateMutation
- InconsistentStateUpdate
- UnsupportedStateUpdateInLifecycleMethod
- UnusedOrUndefinedStateProperty
- RegExp
- BackrefBeforeGroup
- BackrefIntoNegativeLookahead
- BackspaceEscape
- DuplicateCharacterInCharacterClass
- EmptyCharacterClass
- IdentityReplacement
- MalformedRegExp
- RegExpAlwaysMatches
- UnboundBackref
- UnmatchableCaret
- UnmatchableDollar
- Security
- CWE-020
- IncompleteHostnameRegExp
- IncompleteUrlSchemeCheck
- IncompleteUrlSubstringSanitization
- IncorrectSuffixCheck
- examples
- MissingOriginCheck
- MissingRegExpAnchor
- SuspiciousRegexpRange
- UntrustedDataToExternalAPI
- UselessCharacterEscape
- CWE-022
- TaintedPath
- examples
- ZipSlip
- CWE-073
- CWE-078
- CommandInjection
- IndirectCommandInjection
- SecondOrderCommandInjection
- ShellCommandInjectionFromEnvironment
- UnsafeShellCommandConstruction
- lib
- subLib2
- subLib3
- subLib4
- subLib
- UselessUseOfCat
- CWE-079
- DomBasedXssWithResponseThreat
- DomBasedXss
- pages
- ExceptionXss
- ReflectedXss
- pages
- api
- StoredXss
- UnsafeHtmlConstruction
- lib2
- src
- lib/src
- UnsafeJQueryPlugin
- XssThroughDom
- CWE-089
- local-threat-source
- typed
- untyped
- CWE-094
- CodeInjection
- lib
- webix
- ExpressionInjection
- UnsafeDynamicMethodAccess
- CWE-1004
- CWE-116
- BadTagFilter
- DoubleEscaping
- IncompleteSanitization
- CWE-117
- CWE-1275
- CWE-134
- CWE-178
- CWE-200
- lib
- subfolder
- CWE-201
- CWE-209
- CWE-295
- CWE-300
- CWE-312
- CWE-313
- CWE-326
- CWE-327
- CWE-338
- CWE-346
- CWE-347
- CWE-352
- CWE-367
- CWE-377
- CWE-384
- CWE-400
- DeepObjectResourceExhaustion
- ReDoS
- lib
- moduleLib
- otherLib/js/src
- subLib4
- subLib5
- subLib6
- sublib
- regexplib
- RemovePropertyInjection
- CWE-451
- CWE-502
- CWE-506
- CWE-522-DecompressionBombs
- CWE-598
- CWE-601
- ClientSideUrlRedirect
- ServerSideUrlRedirect
- CWE-611
- CWE-614
- CWE-640
- CWE-643
- CWE-693
- CWE-730
- CWE-754
- CWE-770
- MissingRateLimit
- ResourceExhaustion
- documentaion-examples
- CWE-776
- CWE-798
- __tests__
- CWE-807
- CWE-829
- CWE-830
- CWE-834
- CWE-843
- CWE-862
- CWE-912
- CWE-915
- PrototypePollutingAssignment
- otherlib/src
- sublib
- PrototypePollutingFunction
- examples
- PrototypePollutingMergeCall
- src-non-vulnerable-lodash
- src-vulnerable-lodash
- webix
- CWE-916
- CWE-918
- Statements
- DanglingElse
- EphemeralLoop
- IgnoreArrayResult
- ImplicitReturn
- InconsistentLoopOrientation
- InconsistentReturn
- LabelInCase
- LoopIterationSkippedDueToShifting
- MisleadingIndentationAfterControlStmt
- NestedLoopsSameVariable
- ReturnAssignsLocal
- ReturnOutsideFunction
- SuspiciousUnusedLoopIterationVariable
- UnreachableStatement
- UseOfReturnlessFunction
- UselessComparisonTest
- UselessConditional
- Vue
- WrongExtensionJSON
- external
- DuplicateFunction
- d
- DuplicateToplevel
- SimilarFunction
- SimilarToplevel
- java/ql
- consistency-queries
- integration-tests/java
- buildless-gradle-boms
- src/main/java/com/fractestexample
- buildless-inherit-trust-store
- buildless-maven-mirrorof
- src
- main
- java/com/example
- resources
- test/java/com/example
- gradle-sample-without-wrapper-or-gradle-buildless
- src
- main/java/com/example
- test/java/com/example
- maven-download-failure
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-enforcer-multiple-versions
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-enforcer-single-version
- src
- main
- java/com/example
- resources
- test/java/com/example
- maven-enforcer
- lib
- change-notes/released
- semmle/code/java
- controlflow
- dataflow/internal
- environment
- frameworks/spring
- security
- src
- Language Abuse
- Likely Bugs/Concurrency
- Security/CWE
- CWE-200
- CWE-327
- CWE-367
- change-notes/released
- codeql-suites
- experimental/Security/CWE
- CWE-016
- CWE-489
- test
- experimental/query-tests/security
- CWE-016
- CWE-022
- CWE-089/src/main
- CWE-094
- CWE-1004
- CWE-348
- CWE-352
- CWE-470
- CWE-502
- CWE-601
- CWE-625
- CWE-652
- library-tests
- dataflow
- capture
- null
- partial
- switchexpr
- taint-ioutils
- taintsources
- this-flow
- frameworks/spring
- beans
- cache
- componentscan
- context
- controller
- http
- ui
- util
- validation
- webmultipart
- webutil
- pathsanitizer
- query-tests
- EmptyMethod
- UnreleasedLock
- security
- CWE-022/semmle/tests
- CWE-074
- CWE-079/semmle/tests
- CWE-089/semmle/examples
- CWE-090
- CWE-094
- CWE-200/semmle/tests/SpringBootActuators
- CWE-327/semmle/tests
- CWE-352
- CWE-367/semmle/tests
- CWE-502
- CWE-552
- CWE-611
- CWE-917
- CWE-918
- CWE-925
- stubs
- aspectj
- org/aspectj/lang/annotation
- springframework-5.3.8/org/springframework/security/config/annotation/web/builders
- springframework-5.8.x
- org/springframework
- beans
- factory
- annotation
- config
- support
- boot
- actuate/autoconfigure/security/servlet
- autoconfigure
- jdbc
- security/servlet
- cache
- context
- annotation
- support
- core
- annotation
- env
- io
- support
- type
- dao
- data
- domain
- util
- expression
- common
- spel
- standard
- support
- http
- client
- server
- jdbc
- core
- namedparam
- object
- support
- rowset
- jndi
- lang
- remoting
- caucho
- httpinvoker
- rmi
- scripting
- bsh
- support
- security
- config
- annotation
- web
- builders
- configurers
- web/server
- web
- csrf
- savedrequest
- util/matcher
- stereotype
- ui
- util
- validation
- web
- bind
- annotation
- support
- client
- context
- request
- multipart
- reactive/function/client
- servlet
- mvc/support
- view
- util
- misc
- bazel/3rdparty
- py_deps
- tree_sitter_extractors_deps
- codegen
- generators
- lib
- templates
- test
- scripts
- suite-helpers
- change-notes/released
- python
- extractor
- semmle/python/passes
- tsg-python
- src
- tsp
- bindings/rust
- ql
- lib
- change-notes/released
- semmle/python
- objects
- src
- Functions
- Metrics/Internal
- Resources
- examples
- Security/CWE-918
- Variables
- change-notes/released
- codeql-suites
- test/query-tests
- Functions/general
- Resources
- FileNotAlwaysClosed
- Statements/unreachable
- Variables/unused
- ql
- ql
- src
- codeql_ql/ast
- queries/style
- test/queries/style/QlRefInlineExpectations
- dummy
- ruby
- extractor
- src
- ql
- consistency-queries
- lib
- change-notes/released
- codeql/ruby/dataflow/internal
- src
- change-notes/released
- codeql-suites
- test/library-tests
- dataflow
- barrier-guards
- local
- summaries
- variables
- rust
- ast-generator
- src
- templates
- autobuild
- codegen
- extractor
- macros
- src
- src
- config
- generated
- translate
- ql
- consistency-queries
- integration-tests
- hello-project
- hello-workspace
- exe/src
- lib/src/a_module
- options
- cfg
- features
- target
- qltest
- dependencies
- failing_cargo_check
- lib
- main
- workspace-with-glob
- lib
- change-notes/released
- codeql
- files
- rust
- controlflow
- internal
- generated
- dataflow
- internal
- elements
- internal
- generated
- frameworks
- rustcrypto
- stdlib
- internal
- security
- regex
- ext/generated/reqwest
- utils/test
- src
- change-notes/released
- codeql-suites
- queries
- diagnostics
- security
- CWE-020
- CWE-022
- examples
- CWE-311
- CWE-312
- summary
- telemetry
- unusedentities
- utils/modelgenerator/internal
- test
- extractor-tests
- canonical_path_disabled
- CONSISTENCY
- canonical_path
- CONSISTENCY
- crate_graph
- generated
- AsmExpr
- AssocTypeArg
- CallExpr
- Crate
- ExternCrate
- FieldExpr
- FormatArgsExpr
- GenericParamList
- LetExpr
- MacroItems
- CONSISTENCY
- MatchExpr
- MethodCallExpr
- Path
- RecordExprFieldList
- RecordExprField
- RecordExpr
- RecordFieldList
- RecordField
- RecordPatFieldList
- RecordPatField
- RecordPat
- StructExprFieldList
- StructExprField
- StructExpr
- StructFieldList
- StructField
- StructPatFieldList
- StructPatField
- StructPat
- Trait
- TypeAlias
- TypeBound
- Union
- UseTree
- Variant
- utf8
- library-tests
- controlflow-unstable
- controlflow
- dataflow
- global
- local
- modeled
- models
- pointers
- sources
- strings
- taint
- path-resolution
- CONSISTENCY
- my2
- my3
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
3,266 files changed
+81063
-45951
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
| 12 | + |
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
3 | 2 |
| |
4 | 3 |
| |
5 | 4 |
| |
| |||
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 |
| |
12 | 15 |
| |
13 | 16 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
| 12 | + | |
11 | 13 |
| |
| 14 | + | |
| 15 | + | |
12 | 16 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
|
Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + |
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 |
| |
22 | 26 |
| |
23 | 27 |
| |
| |||
38 | 42 |
| |
39 | 43 |
| |
40 | 44 |
| |
41 |
| - | |
42 | 45 |
| |
43 |
| - | |
| 46 | + | |
44 | 47 |
| |
45 | 48 |
| |
46 | 49 |
| |
|
Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + |
Lines changed: 40 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + |
0 commit comments