aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Shalayel <[email protected]>2025-09-17 14:38:44 +0200
committerSami Shalayel <[email protected]>2025-09-18 15:42:20 +0200
commit1cd950dbbb0a0df0b1b8a7bf401326795f1e6952 (patch)
tree04589c77de19de4dc3bddcfe24bdd9b4c2802ab5
parent1cb9c3c9743722058cac198f0533a30ebb1f8b49 (diff)
CRA: review src/qmlls
Mark all files as significant. Use reason:trusted-sources on files that spawn QProcess or parse data: * qdochtmlparser.cpp parses content obtained from the QHelpEngine, which is a trusted source * qqmlcodemodel is used to spawn QProcesses that runs CMake (which is a trusted source) with arguments from QQmlLSUtils::cmakeBuildCommand(const QString &path) (which is also a trusted source) or trusted hard-coded arguments. Pick-to: 6.10 6.9 6.8 Fixes: QTBUG-136201 Change-Id: I3f2ff1dfc208224baff6fe88b337fe24c44b599a Reviewed-by: Ulf Hermann <[email protected]>
-rw-r--r--src/qmlls/qdochtmlparser.cpp1
-rw-r--r--src/qmlls/qdochtmlparser_p.h1
-rw-r--r--src/qmlls/qlanguageserver.cpp1
-rw-r--r--src/qmlls/qlanguageserver_p.h1
-rw-r--r--src/qmlls/qlanguageserver_p_p.h1
-rw-r--r--src/qmlls/qlspcustomtypes_p.h2
-rw-r--r--src/qmlls/qmllsmain.cpp1
-rw-r--r--src/qmlls/qmllsmain_p.h1
-rw-r--r--src/qmlls/qqmlbasemodule_p.h1
-rw-r--r--src/qmlls/qqmlcodemodel.cpp1
-rw-r--r--src/qmlls/qqmlcodemodel_p.h1
-rw-r--r--src/qmlls/qqmlcodemodelmanager.cpp1
-rw-r--r--src/qmlls/qqmlcodemodelmanager_p.h1
-rw-r--r--src/qmlls/qqmlcompletioncontextstrings.cpp1
-rw-r--r--src/qmlls/qqmlcompletionsupport.cpp1
-rw-r--r--src/qmlls/qqmlcompletionsupport_p.h1
-rw-r--r--src/qmlls/qqmlfindusagessupport.cpp1
-rw-r--r--src/qmlls/qqmlfindusagessupport_p.h1
-rw-r--r--src/qmlls/qqmlformatting.cpp1
-rw-r--r--src/qmlls/qqmlformatting_p.h1
-rw-r--r--src/qmlls/qqmlgotodefinitionsupport.cpp1
-rw-r--r--src/qmlls/qqmlgotodefinitionsupport_p.h1
-rw-r--r--src/qmlls/qqmlgototypedefinitionsupport.cpp1
-rw-r--r--src/qmlls/qqmlgototypedefinitionsupport_p.h1
-rw-r--r--src/qmlls/qqmlhighlightsupport.cpp1
-rw-r--r--src/qmlls/qqmlhighlightsupport_p.h1
-rw-r--r--src/qmlls/qqmlhover.cpp1
-rw-r--r--src/qmlls/qqmlhover_p.h1
-rw-r--r--src/qmlls/qqmllanguageserver.cpp1
-rw-r--r--src/qmlls/qqmllanguageserver_p.h1
-rw-r--r--src/qmlls/qqmllintsuggestions.cpp1
-rw-r--r--src/qmlls/qqmllintsuggestions_p.h1
-rw-r--r--src/qmlls/qqmllscompletion.cpp1
-rw-r--r--src/qmlls/qqmllscompletion_p.h1
-rw-r--r--src/qmlls/qqmllscompletionplugin.cpp1
-rw-r--r--src/qmlls/qqmllscompletionplugin_p.h1
-rw-r--r--src/qmlls/qqmllshelpplugininterface.cpp1
-rw-r--r--src/qmlls/qqmllshelpplugininterface_p.h1
-rw-r--r--src/qmlls/qqmllshelputils.cpp1
-rw-r--r--src/qmlls/qqmllshelputils_p.h1
-rw-r--r--src/qmlls/qqmllsplugin_p.h1
-rw-r--r--src/qmlls/qqmllsutils.cpp1
-rw-r--r--src/qmlls/qqmllsutils_p.h1
-rw-r--r--src/qmlls/qqmlrangeformatting.cpp1
-rw-r--r--src/qmlls/qqmlrangeformatting_p.h1
-rw-r--r--src/qmlls/qqmlrenamesymbolsupport.cpp1
-rw-r--r--src/qmlls/qqmlrenamesymbolsupport_p.h1
-rw-r--r--src/qmlls/qqmlsemantictokens.cpp1
-rw-r--r--src/qmlls/qqmlsemantictokens_p.h1
-rw-r--r--src/qmlls/qtextblock.cpp1
-rw-r--r--src/qmlls/qtextblock_p.h1
-rw-r--r--src/qmlls/qtextcursor.cpp1
-rw-r--r--src/qmlls/qtextcursor_p.h1
-rw-r--r--src/qmlls/qtextdocument.cpp1
-rw-r--r--src/qmlls/qtextdocument_p.h1
-rw-r--r--src/qmlls/qtextsynchronization.cpp1
-rw-r--r--src/qmlls/qtextsynchronization_p.h1
-rw-r--r--src/qmlls/qworkspace.cpp1
-rw-r--r--src/qmlls/qworkspace_p.h1
59 files changed, 60 insertions, 0 deletions
diff --git a/src/qmlls/qdochtmlparser.cpp b/src/qmlls/qdochtmlparser.cpp
index 6450e7b0af..8380c296eb 100644
--- a/src/qmlls/qdochtmlparser.cpp
+++ b/src/qmlls/qdochtmlparser.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:trusted-sources
#include <qdochtmlparser_p.h>
#include <QtCore/qregularexpression.h>
diff --git a/src/qmlls/qdochtmlparser_p.h b/src/qmlls/qdochtmlparser_p.h
index d09f2f882e..14ad24abf6 100644
--- a/src/qmlls/qdochtmlparser_p.h
+++ b/src/qmlls/qdochtmlparser_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QDOCHTMLEXTRACTOR_P_H
#define QDOCHTMLEXTRACTOR_P_H
diff --git a/src/qmlls/qlanguageserver.cpp b/src/qmlls/qlanguageserver.cpp
index d90d650a60..23d5dc62a1 100644
--- a/src/qmlls/qlanguageserver.cpp
+++ b/src/qmlls/qlanguageserver.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qlanguageserver_p_p.h"
diff --git a/src/qmlls/qlanguageserver_p.h b/src/qmlls/qlanguageserver_p.h
index f59ee1ecd1..af94afb10e 100644
--- a/src/qmlls/qlanguageserver_p.h
+++ b/src/qmlls/qlanguageserver_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QLANGUAGESERVER_P_H
#define QLANGUAGESERVER_P_H
diff --git a/src/qmlls/qlanguageserver_p_p.h b/src/qmlls/qlanguageserver_p_p.h
index 792a1503bf..8b956e63e1 100644
--- a/src/qmlls/qlanguageserver_p_p.h
+++ b/src/qmlls/qlanguageserver_p_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QLANGUAGESERVER_P_P_H
#define QLANGUAGESERVER_P_P_H
diff --git a/src/qmlls/qlspcustomtypes_p.h b/src/qmlls/qlspcustomtypes_p.h
index e299388b79..113b83f017 100644
--- a/src/qmlls/qlspcustomtypes_p.h
+++ b/src/qmlls/qlspcustomtypes_p.h
@@ -1,5 +1,7 @@
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
+
#ifndef QLSPCUSTOMTYPES_P_H
#define QLSPCUSTOMTYPES_P_H
diff --git a/src/qmlls/qmllsmain.cpp b/src/qmlls/qmllsmain.cpp
index 68c5660213..f553ca315e 100644
--- a/src/qmlls/qmllsmain.cpp
+++ b/src/qmlls/qmllsmain.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qmllsmain_p.h"
diff --git a/src/qmlls/qmllsmain_p.h b/src/qmlls/qmllsmain_p.h
index 9ea9b2382b..ada1616110 100644
--- a/src/qmlls/qmllsmain_p.h
+++ b/src/qmlls/qmllsmain_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QMLLSMAIN_P_H
#define QMLLSMAIN_P_H
diff --git a/src/qmlls/qqmlbasemodule_p.h b/src/qmlls/qqmlbasemodule_p.h
index 118f6b4dc3..3ccc1722be 100644
--- a/src/qmlls/qqmlbasemodule_p.h
+++ b/src/qmlls/qqmlbasemodule_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLBASEMODULE_P_H
#define QQMLBASEMODULE_P_H
diff --git a/src/qmlls/qqmlcodemodel.cpp b/src/qmlls/qqmlcodemodel.cpp
index 42a432046c..7a68766ec1 100644
--- a/src/qmlls/qqmlcodemodel.cpp
+++ b/src/qmlls/qqmlcodemodel.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:trusted-sources
#include "qqmlcodemodel_p.h"
#include "qqmllsplugin_p.h"
diff --git a/src/qmlls/qqmlcodemodel_p.h b/src/qmlls/qqmlcodemodel_p.h
index 21f3d4885a..0120ed2b3d 100644
--- a/src/qmlls/qqmlcodemodel_p.h
+++ b/src/qmlls/qqmlcodemodel_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLCODEMODEL_P_H
#define QQMLCODEMODEL_P_H
diff --git a/src/qmlls/qqmlcodemodelmanager.cpp b/src/qmlls/qqmlcodemodelmanager.cpp
index 96d39a1a7a..f188d2a869 100644
--- a/src/qmlls/qqmlcodemodelmanager.cpp
+++ b/src/qmlls/qqmlcodemodelmanager.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:trusted-sources
#include "qqmlcodemodelmanager_p.h"
#include "qqmllsplugin_p.h"
diff --git a/src/qmlls/qqmlcodemodelmanager_p.h b/src/qmlls/qqmlcodemodelmanager_p.h
index 54840651cd..73a9317957 100644
--- a/src/qmlls/qqmlcodemodelmanager_p.h
+++ b/src/qmlls/qqmlcodemodelmanager_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQmlCodeModelManager_P_H
#define QQmlCodeModelManager_P_H
diff --git a/src/qmlls/qqmlcompletioncontextstrings.cpp b/src/qmlls/qqmlcompletioncontextstrings.cpp
index 5fc2006661..329e0d0ea8 100644
--- a/src/qmlls/qqmlcompletioncontextstrings.cpp
+++ b/src/qmlls/qqmlcompletioncontextstrings.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlcompletioncontextstrings_p.h"
diff --git a/src/qmlls/qqmlcompletionsupport.cpp b/src/qmlls/qqmlcompletionsupport.cpp
index 85283d5a00..d3e7083367 100644
--- a/src/qmlls/qqmlcompletionsupport.cpp
+++ b/src/qmlls/qqmlcompletionsupport.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlcompletionsupport_p.h"
#include "qqmllsutils_p.h"
diff --git a/src/qmlls/qqmlcompletionsupport_p.h b/src/qmlls/qqmlcompletionsupport_p.h
index 5c76fdfafd..38e152dead 100644
--- a/src/qmlls/qqmlcompletionsupport_p.h
+++ b/src/qmlls/qqmlcompletionsupport_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLCOMPLETIONSUPPORT_P_H
#define QQMLCOMPLETIONSUPPORT_P_H
diff --git a/src/qmlls/qqmlfindusagessupport.cpp b/src/qmlls/qqmlfindusagessupport.cpp
index f1654de638..110731305b 100644
--- a/src/qmlls/qqmlfindusagessupport.cpp
+++ b/src/qmlls/qqmlfindusagessupport.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlfindusagessupport_p.h"
#include "qqmllsutils_p.h"
diff --git a/src/qmlls/qqmlfindusagessupport_p.h b/src/qmlls/qqmlfindusagessupport_p.h
index 8c7cbaabbe..569eb04049 100644
--- a/src/qmlls/qqmlfindusagessupport_p.h
+++ b/src/qmlls/qqmlfindusagessupport_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QMLFINDUSAGESUPPORT_P_H
#define QMLFINDUSAGESUPPORT_P_H
diff --git a/src/qmlls/qqmlformatting.cpp b/src/qmlls/qqmlformatting.cpp
index 9096eae82f..dea2f3c444 100644
--- a/src/qmlls/qqmlformatting.cpp
+++ b/src/qmlls/qqmlformatting.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include <qqmlformatting_p.h>
#include <qqmlcodemodel_p.h>
diff --git a/src/qmlls/qqmlformatting_p.h b/src/qmlls/qqmlformatting_p.h
index 93993beb92..7037335e12 100644
--- a/src/qmlls/qqmlformatting_p.h
+++ b/src/qmlls/qqmlformatting_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLFORMATTING_P_H
#define QQMLFORMATTING_P_H
diff --git a/src/qmlls/qqmlgotodefinitionsupport.cpp b/src/qmlls/qqmlgotodefinitionsupport.cpp
index 36258a87e0..3ff3c0deb4 100644
--- a/src/qmlls/qqmlgotodefinitionsupport.cpp
+++ b/src/qmlls/qqmlgotodefinitionsupport.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlgotodefinitionsupport_p.h"
#include "qqmllsutils_p.h"
diff --git a/src/qmlls/qqmlgotodefinitionsupport_p.h b/src/qmlls/qqmlgotodefinitionsupport_p.h
index 4455d235e5..23ddd0d320 100644
--- a/src/qmlls/qqmlgotodefinitionsupport_p.h
+++ b/src/qmlls/qqmlgotodefinitionsupport_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLGOTODEFINITIONSUPPORT_P_H
#define QQMLGOTODEFINITIONSUPPORT_P_H
diff --git a/src/qmlls/qqmlgototypedefinitionsupport.cpp b/src/qmlls/qqmlgototypedefinitionsupport.cpp
index 7c350c5adb..de46ed0919 100644
--- a/src/qmlls/qqmlgototypedefinitionsupport.cpp
+++ b/src/qmlls/qqmlgototypedefinitionsupport.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlgototypedefinitionsupport_p.h"
#include "qqmllsutils_p.h"
diff --git a/src/qmlls/qqmlgototypedefinitionsupport_p.h b/src/qmlls/qqmlgototypedefinitionsupport_p.h
index e440d2e4ce..8a286b1d68 100644
--- a/src/qmlls/qqmlgototypedefinitionsupport_p.h
+++ b/src/qmlls/qqmlgototypedefinitionsupport_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QMLGOTOTYPEDEFINITIONSUPPORT_P_H
#define QMLGOTOTYPEDEFINITIONSUPPORT_P_H
diff --git a/src/qmlls/qqmlhighlightsupport.cpp b/src/qmlls/qqmlhighlightsupport.cpp
index 40cdd2bf06..e58324bcbe 100644
--- a/src/qmlls/qqmlhighlightsupport.cpp
+++ b/src/qmlls/qqmlhighlightsupport.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include <qqmlhighlightsupport_p.h>
diff --git a/src/qmlls/qqmlhighlightsupport_p.h b/src/qmlls/qqmlhighlightsupport_p.h
index db436e52f4..ab2c244f08 100644
--- a/src/qmlls/qqmlhighlightsupport_p.h
+++ b/src/qmlls/qqmlhighlightsupport_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLHIGHLIGHTSUPPORT_P_H
#define QQMLHIGHLIGHTSUPPORT_P_H
diff --git a/src/qmlls/qqmlhover.cpp b/src/qmlls/qqmlhover.cpp
index 362d51122d..8c3334313c 100644
--- a/src/qmlls/qqmlhover.cpp
+++ b/src/qmlls/qqmlhover.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlhover_p.h"
#include <QtQmlLS/private/qqmllshelputils_p.h>
diff --git a/src/qmlls/qqmlhover_p.h b/src/qmlls/qqmlhover_p.h
index 350ad43af0..1b18740d9b 100644
--- a/src/qmlls/qqmlhover_p.h
+++ b/src/qmlls/qqmlhover_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLHOVER_P_H
#define QQMLHOVER_P_H
diff --git a/src/qmlls/qqmllanguageserver.cpp b/src/qmlls/qqmllanguageserver.cpp
index 8e787e4d88..065b93f727 100644
--- a/src/qmlls/qqmllanguageserver.cpp
+++ b/src/qmlls/qqmllanguageserver.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllanguageserver_p.h"
#include "qtextsynchronization_p.h"
diff --git a/src/qmlls/qqmllanguageserver_p.h b/src/qmlls/qqmllanguageserver_p.h
index 99d05c5f89..d2386163b3 100644
--- a/src/qmlls/qqmllanguageserver_p.h
+++ b/src/qmlls/qqmllanguageserver_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLLANGUAGESERVER_P_H
#define QQMLLANGUAGESERVER_P_H
diff --git a/src/qmlls/qqmllintsuggestions.cpp b/src/qmlls/qqmllintsuggestions.cpp
index 362bb0441b..ebdee513db 100644
--- a/src/qmlls/qqmllintsuggestions.cpp
+++ b/src/qmlls/qqmllintsuggestions.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllintsuggestions_p.h"
diff --git a/src/qmlls/qqmllintsuggestions_p.h b/src/qmlls/qqmllintsuggestions_p.h
index a10840db6f..92bd4da208 100644
--- a/src/qmlls/qqmllintsuggestions_p.h
+++ b/src/qmlls/qqmllintsuggestions_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QMLLINTSUGGESTIONS_P_H
#define QMLLINTSUGGESTIONS_P_H
diff --git a/src/qmlls/qqmllscompletion.cpp b/src/qmlls/qqmllscompletion.cpp
index 444a9a83b8..dd83237baf 100644
--- a/src/qmlls/qqmllscompletion.cpp
+++ b/src/qmlls/qqmllscompletion.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllscompletion_p.h"
diff --git a/src/qmlls/qqmllscompletion_p.h b/src/qmlls/qqmllscompletion_p.h
index d9143801c6..529722ef6e 100644
--- a/src/qmlls/qqmllscompletion_p.h
+++ b/src/qmlls/qqmllscompletion_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLLSCOMPLETION_H
#define QQMLLSCOMPLETION_H
diff --git a/src/qmlls/qqmllscompletionplugin.cpp b/src/qmlls/qqmllscompletionplugin.cpp
index fd47c691f7..0a3d7f347a 100644
--- a/src/qmlls/qqmllscompletionplugin.cpp
+++ b/src/qmlls/qqmllscompletionplugin.cpp
@@ -1,4 +1,5 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllscompletionplugin_p.h"
diff --git a/src/qmlls/qqmllscompletionplugin_p.h b/src/qmlls/qqmllscompletionplugin_p.h
index 0dde7bec76..8bda88134b 100644
--- a/src/qmlls/qqmllscompletionplugin_p.h
+++ b/src/qmlls/qqmllscompletionplugin_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLLSCOMPLETIONPLUGIN_H
#define QQMLLSCOMPLETIONPLUGIN_H
diff --git a/src/qmlls/qqmllshelpplugininterface.cpp b/src/qmlls/qqmllshelpplugininterface.cpp
index 62944d69e0..27f09c2ce2 100644
--- a/src/qmlls/qqmllshelpplugininterface.cpp
+++ b/src/qmlls/qqmllshelpplugininterface.cpp
@@ -1,4 +1,5 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllshelpplugininterface_p.h"
diff --git a/src/qmlls/qqmllshelpplugininterface_p.h b/src/qmlls/qqmllshelpplugininterface_p.h
index 280d7c3e5d..02fdd940db 100644
--- a/src/qmlls/qqmllshelpplugininterface_p.h
+++ b/src/qmlls/qqmllshelpplugininterface_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLLSHELPPLUGININTERFACE_H
#define QQMLLSHELPPLUGININTERFACE_H
diff --git a/src/qmlls/qqmllshelputils.cpp b/src/qmlls/qqmllshelputils.cpp
index d07a25639c..43a87e4c89 100644
--- a/src/qmlls/qqmllshelputils.cpp
+++ b/src/qmlls/qqmllshelputils.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllshelputils_p.h"
diff --git a/src/qmlls/qqmllshelputils_p.h b/src/qmlls/qqmllshelputils_p.h
index e34b75858a..3dd888c0a2 100644
--- a/src/qmlls/qqmllshelputils_p.h
+++ b/src/qmlls/qqmllshelputils_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLLSHELPUTILS_P_H
#define QQMLLSHELPUTILS_P_H
diff --git a/src/qmlls/qqmllsplugin_p.h b/src/qmlls/qqmllsplugin_p.h
index 07699ce2c5..b6d4c28c0e 100644
--- a/src/qmlls/qqmllsplugin_p.h
+++ b/src/qmlls/qqmllsplugin_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QMLLSPLUGIN_P_H
#define QMLLSPLUGIN_P_H
diff --git a/src/qmlls/qqmllsutils.cpp b/src/qmlls/qqmllsutils.cpp
index e83d657537..a7d2d63513 100644
--- a/src/qmlls/qqmllsutils.cpp
+++ b/src/qmlls/qqmllsutils.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllsutils_p.h"
diff --git a/src/qmlls/qqmllsutils_p.h b/src/qmlls/qqmllsutils_p.h
index 85874d70bf..78d524cc4f 100644
--- a/src/qmlls/qqmllsutils_p.h
+++ b/src/qmlls/qqmllsutils_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QLANGUAGESERVERUTILS_P_H
#define QLANGUAGESERVERUTILS_P_H
diff --git a/src/qmlls/qqmlrangeformatting.cpp b/src/qmlls/qqmlrangeformatting.cpp
index 2f619e6ccf..b87a7df712 100644
--- a/src/qmlls/qqmlrangeformatting.cpp
+++ b/src/qmlls/qqmlrangeformatting.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include <qqmlrangeformatting_p.h>
#include <qqmlcodemodel_p.h>
diff --git a/src/qmlls/qqmlrangeformatting_p.h b/src/qmlls/qqmlrangeformatting_p.h
index 0996866f04..4085883803 100644
--- a/src/qmlls/qqmlrangeformatting_p.h
+++ b/src/qmlls/qqmlrangeformatting_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLRANGEFORMATTING_P_H
#define QQMLRANGEFORMATTING_P_H
diff --git a/src/qmlls/qqmlrenamesymbolsupport.cpp b/src/qmlls/qqmlrenamesymbolsupport.cpp
index 5ee5069f4f..513ddf1c74 100644
--- a/src/qmlls/qqmlrenamesymbolsupport.cpp
+++ b/src/qmlls/qqmlrenamesymbolsupport.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmllsutils_p.h"
#include "qqmlrenamesymbolsupport_p.h"
diff --git a/src/qmlls/qqmlrenamesymbolsupport_p.h b/src/qmlls/qqmlrenamesymbolsupport_p.h
index 4c428af2f5..343b380c4c 100644
--- a/src/qmlls/qqmlrenamesymbolsupport_p.h
+++ b/src/qmlls/qqmlrenamesymbolsupport_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLRENAMESYMBOLSUPPORT_P_H
#define QQMLRENAMESYMBOLSUPPORT_P_H
diff --git a/src/qmlls/qqmlsemantictokens.cpp b/src/qmlls/qqmlsemantictokens.cpp
index b076790418..f31420a191 100644
--- a/src/qmlls/qqmlsemantictokens.cpp
+++ b/src/qmlls/qqmlsemantictokens.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include <qqmlsemantictokens_p.h>
diff --git a/src/qmlls/qqmlsemantictokens_p.h b/src/qmlls/qqmlsemantictokens_p.h
index c73fead176..cefc04c478 100644
--- a/src/qmlls/qqmlsemantictokens_p.h
+++ b/src/qmlls/qqmlsemantictokens_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QQMLSEMANTICTOKENS_P_H
#define QQMLSEMANTICTOKENS_P_H
diff --git a/src/qmlls/qtextblock.cpp b/src/qmlls/qtextblock.cpp
index beca4a7880..bd0d9c370d 100644
--- a/src/qmlls/qtextblock.cpp
+++ b/src/qmlls/qtextblock.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qtextblock_p.h"
#include "qtextdocument_p.h"
diff --git a/src/qmlls/qtextblock_p.h b/src/qmlls/qtextblock_p.h
index f7bb039460..247ae2a664 100644
--- a/src/qmlls/qtextblock_p.h
+++ b/src/qmlls/qtextblock_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QTEXTBLOCK_P_H
#define QTEXTBLOCK_P_H
diff --git a/src/qmlls/qtextcursor.cpp b/src/qmlls/qtextcursor.cpp
index 295ba3144b..d6b0920f0d 100644
--- a/src/qmlls/qtextcursor.cpp
+++ b/src/qmlls/qtextcursor.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qtextcursor_p.h"
#include "qtextdocument_p.h"
diff --git a/src/qmlls/qtextcursor_p.h b/src/qmlls/qtextcursor_p.h
index 9c9b781d3c..f34645acb8 100644
--- a/src/qmlls/qtextcursor_p.h
+++ b/src/qmlls/qtextcursor_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef TEXTCURSOR_H
#define TEXTCURSOR_H
diff --git a/src/qmlls/qtextdocument.cpp b/src/qmlls/qtextdocument.cpp
index f69f1b385c..bfe397cb91 100644
--- a/src/qmlls/qtextdocument.cpp
+++ b/src/qmlls/qtextdocument.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qtextdocument_p.h"
#include "qtextblock_p.h"
diff --git a/src/qmlls/qtextdocument_p.h b/src/qmlls/qtextdocument_p.h
index 5d70f0f651..1d94bb1198 100644
--- a/src/qmlls/qtextdocument_p.h
+++ b/src/qmlls/qtextdocument_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QTEXTDOCUMENT_P_H
#define QTEXTDOCUMENT_P_H
diff --git a/src/qmlls/qtextsynchronization.cpp b/src/qmlls/qtextsynchronization.cpp
index 0955804d16..c7e4d96032 100644
--- a/src/qmlls/qtextsynchronization.cpp
+++ b/src/qmlls/qtextsynchronization.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qqmlcodemodelmanager_p.h"
#include "qtextsynchronization_p.h"
diff --git a/src/qmlls/qtextsynchronization_p.h b/src/qmlls/qtextsynchronization_p.h
index 13e9fb2ad6..b92cdde7ec 100644
--- a/src/qmlls/qtextsynchronization_p.h
+++ b/src/qmlls/qtextsynchronization_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QTEXTSYNCHRONIZATION_P_H
#define QTEXTSYNCHRONIZATION_P_H
diff --git a/src/qmlls/qworkspace.cpp b/src/qmlls/qworkspace.cpp
index 801d7211a7..02a88319ca 100644
--- a/src/qmlls/qworkspace.cpp
+++ b/src/qmlls/qworkspace.cpp
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#include "qworkspace_p.h"
#include "qqmllanguageserver_p.h"
diff --git a/src/qmlls/qworkspace_p.h b/src/qmlls/qworkspace_p.h
index bff98cb49f..3cf57e9750 100644
--- a/src/qmlls/qworkspace_p.h
+++ b/src/qmlls/qworkspace_p.h
@@ -1,5 +1,6 @@
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+// Qt-Security score:significant reason:default
#ifndef QWORKSPACE_P_H
#define QWORKSPACE_P_H