Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine3.17
FROM node:20.18.1-alpine3.20
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check latest Node 20.x and Alpine versions

echo "=== Checking Node.js versions ==="
curl -s https://nodejs.org/dist/index.json | jq -r '[.[] | select(.version | startswith("v20."))] | .[0:3] | .[] | {version, lts}'

echo -e "\n=== Checking Alpine Linux latest stable version ==="
curl -s https://alpinelinux.org/downloads/ 2>/dev/null | grep -i "3.20\|3.21\|3.19" | head -5 || echo "Direct fetch failed, checking alternative source"

echo -e "\n=== Checking Node 20.18.1 release date ==="
curl -s https://nodejs.org/dist/index.json | jq -r '.[] | select(.version == "v20.18.1") | {version, date, lts}'

Repository: mosip/mosip-onboarding

Length of output: 400


🌐 Web query:

Node.js 20.18.1 security vulnerabilities CVE advisories

💡 Result:

Here are known CVE advisories that list or affect Node.js 20.18.1 (concise summary + recommendation):

  • CVE-2025-23090 — diagnostics_channel exposes internal worker instances allowing constructor access when using the experimental permission model; affects Node.js 20.18.1. Upgrade to a patched Node.js release. [1]

  • CVE-2024-22018 — permission-model flaw allowing fs.lstat to return stats for files without explicit read permission (affects Node.js 20 permission-model users). [3]

  • CVE-2024-21891 / CVE-2024-21896 (permission-model path traversal issues) — multiple permission-model bypasses via path traversal/normalization flaws that affect Node.js 20.x (including 20.18.1 in distro builds). [2][4]

  • CVE-2024-22019, CVE-2024-21892, CVE-2023-46809 — other high/medium security fixes called out in the Feb 14, 2024 Node.js security releases that apply to active 20.x line (DoS, capability/privilege issues, crypto timing side-channels). See Node.js security release notes for details. [2]

Recommended action: upgrade any Node.js 20.18.1 installations to the latest 20.x security-patched release (or a newer LTS) and follow Node.js security release notes for mitigation steps. Official Node.js advisory and release notes list the fixes and affected CVEs. [2][1][3]

Sources:

  1. CVE-2025-23090 advisory summary. [1]
  2. Node.js security releases (Feb 14, 2024) — list of CVEs/fixes affecting 20.x. [2]
  3. NVD entry for CVE-2024-22018. [3]
  4. Distribution/security trackers discussing permission-model path-traversal CVEs (CVE-2024-21891 / CVE-2024-21896). [4]

If you want, I can: (a) fetch the latest patched Node.js 20.x release number available now, or (b) produce exact upgrade commands for your OS/container — which would you prefer?


🌐 Web query:

Alpine Linux 3.20 security advisories vulnerabilities

💡 Result:

Here are notable security advisories / CVEs that affected Alpine Linux 3.20 (selected, not exhaustive):

  • CVE-2024-12797 — OpenSSL RPK/TLS server-authentication issue (patched in 3.20.x). [1][4]
  • CVE-2024-13176 — OpenSSL issue included in later 3.20 updates. [4]
  • CVE-2024-4741 — OpenSSL (listed in 3.20.1 release notes). [0]
  • CVE-2024-5535 — OpenSSL (low severity; fixed in 3.20.2). [1]
  • CVE-2024-39689 — certifi (Python cert bundle) affecting some 3.20 images/packages. [5]
  • CVE-2024-45492 — libexpat integer-overflow (reported against 3.20.2; fixed in later libexpat). [9]
  • CVE-2024-6119 — OpenSSL-related fix included in 3.20.3 updates. [7]
  • CVE-2024-9143 — OpenSSL fix (included in 3.20.4). [8]
  • CVE-2025-26519 — musl libc issue listed in a 3.20 maintenance release (Feb 13, 2025). [4]

Sources: Alpine release/security posts and issue trackers — Alpine Linux release announcements and security pages. [0][1][4][5][7][8][9]

If you want a complete, up-to-date list filtered by severity or package (or links to each Alpine security page/CVE entry), I can fetch and produce that.


🌐 Web query:

SNYK-UPSTREAM-NODE-6255385 SNYK-UPSTREAM-NODE-8379641 vulnerability fix

💡 Result:

Short answer — upgrade Node.js to a patched release.

  • SNYK-UPSTREAM-NODE-6255385 (Path traversal, CVE-2024-21891): fix by upgrading node to 20.11.1, 21.6.2 or higher. [1]
  • SNYK-UPSTREAM-NODE-8379641 (SSRF, CVE-2024-24806): fix by upgrading node to 18.19.1, 20.11.1, 21.6.2 or higher. [2]

References:
[1] Snyk — SNYK-UPSTREAM-NODE-6255385 (Path Traversal / CVE-2024-21891).
[2] Snyk — SNYK-UPSTREAM-NODE-8379641 (SSRF / CVE-2024-24806).


🌐 Web query:

SNYK-UPSTREAM-NODE-6252334 SNYK-UPSTREAM-NODE-6252328 SNYK-UPSTREAM-NODE-6615824 vulnerability

💡 Result:

Brief summary — these are three Node.js upstream vulnerabilities reported by Snyk:

  1. SNYK-UPSTREAM-NODE-6252334 — Path Traversal (CVE-2024-21896). Affects Node 20.0.0–20.11.1 and 21.0.0–21.6.2 via monkeypatching Buffer.prototype.utf8Write → path.resolve; can lead to arbitrary file access. Remediation: upgrade Node to 20.11.1, 21.6.2 or later. [1]

  2. SNYK-UPSTREAM-NODE-6252328 — Allocation of Resources Without Limits or Throttling (CVE-2024-22019). Affects certain 18.x/19.x/20.x/21.x ranges; allows DoS by reading an unbounded number of bytes from a connection. Remediation: upgrade Node to 18.19.1, 20.11.1, 21.6.2 or later. [2]

  3. SNYK-UPSTREAM-NODE-6615824 — Code injection (CVE-2024-27980). Windows-only issue in child_process.spawn/spawnSync batch-file handling allowing command injection even when shell=false. Remediation: upgrade Node to 18.20.2, 20.12.2, 21.7.3 or later. [3]

If you want, I can:

  • Check if your project uses vulnerable Node versions (tell me your package/docker base image), or
  • Show the exact Snyk / Node.js GitHub references and CVE pages.

🌐 Web query:

Node.js 20.18.1 latest available patch release January 2025

💡 Result:

The Node.js security release on January 21, 2025 updated the 20.x line to v20.18.2 (published to address vulnerabilities). v20.18.1 was the prior patch. [1][2]

Sources:
[1] Node.js: "Tuesday, January 21, 2025 Security Releases" (lists v20.18.2).
[2] npm package listing for node v20.18.1 (shows v20.18.1 as the earlier patch).


Update Node.js to 20.19.6 or at minimum 20.18.2 to address unfixed security vulnerabilities.

The listed Snyk vulnerabilities (SNYK-UPSTREAM-NODE-6255385, SNYK-UPSTREAM-NODE-8379641, SNYK-UPSTREAM-NODE-6252334, SNYK-UPSTREAM-NODE-6252328, SNYK-UPSTREAM-NODE-6615824) are resolved by Node 20.18.1. However, Node 20.18.1 is not the current patch for the 20.x line:

  • Latest stable Node 20.x is 20.19.6
  • A newer patch (20.18.2) was released on January 21, 2025
  • Node 20.18.1 itself has unfixed CVE-2025-23090 (diagnostics_channel vulnerability)

Upgrade to Node 20.19.6 for the latest security patches, or at minimum to 20.18.2.

🤖 Prompt for AI Agents
In Dockerfile at lines 1 to 1, the base image is pinned to node:20.18.1 which
contains unfixed security vulnerabilities; update the FROM line to use a patched
Node 20.x release such as node:20.19.6 (preferred) or at minimum node:20.18.2 to
resolve the listed CVEs and Snyk findings, then rebuild and test the image to
ensure compatibility with the updated Node patch level.


ARG SOURCE
ARG COMMIT_HASH
Expand Down
73 changes: 73 additions & 0 deletions licenses/Apache-2.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.

Copyright 2001-2014 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
9 changes: 9 additions & 0 deletions licenses/BSD-2-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Copyright © 1997-2025 PostgreSQL Global Development Group

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
196 changes: 196 additions & 0 deletions licenses/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
================================================================================
COPYRIGHT NOTICES
================================================================================

This software incorporates components from the projects listed below. The
original copyright notices have been preserved in accordance with the terms
of their respective licenses.

ALL licenses below REQUIRE copyright attribution notices to be preserved.

--------------------------------------------------------------------------------
APACHE LICENSE 2.0 COMPONENTS
--------------------------------------------------------------------------------

Spring Framework & Spring Boot
Copyright © 2002-2025 the original author or authors
Copyright © 2002-2025 Pivotal Software, Inc.
Copyright © 2002-2025 VMware, Inc. and its affiliates
Licensed under the Apache License, Version 2.0

Spring Batch
Copyright © 2006-2025 Pivotal Software, Inc.
Copyright © 2006-2025 VMware, Inc. and its affiliates
Licensed under the Apache License, Version 2.0

Spring Security
Copyright © 2004-2025 Pivotal Software, Inc.
Copyright © 2004-2025 VMware, Inc. and its affiliates
Licensed under the Apache License, Version 2.0

Spring Kafka
Copyright © 2016-2025 Pivotal Software, Inc.
Copyright © 2016-2025 VMware, Inc. and its affiliates
Licensed under the Apache License, Version 2.0

Micrometer (Core & Prometheus Registry)
Copyright © 2017-2025 VMware, Inc.
Licensed under the Apache License, Version 2.0

Jackson (FasterXML)
Copyright © 2007-2025 Tatu Saloranta
Copyright © 2007-2025 FasterXML, LLC
Licensed under the Apache License, Version 2.0

Apache Commons (Lang3, Codec)
Copyright © 2001-2025 The Apache Software Foundation
Licensed under the Apache License, Version 2.0

Apache HttpComponents (HttpClient, HttpMime)
Copyright © 1999-2025 The Apache Software Foundation
Licensed under the Apache License, Version 2.0

Hibernate Validator
Copyright © Red Hat, Inc. and individual contributors
Licensed under the Apache License, Version 2.0

SpringDoc OpenAPI
Copyright © 2019-2025 springdoc.org
Licensed under the Apache License, Version 2.0

TensorFlow Java
Copyright © The TensorFlow Authors
Licensed under the Apache License, Version 2.0

OpenCV Java (org.openpnp:opencv) version 4.5.3-4
Copyright © 2000-2025 Intel Corporation, all rights reserved
Copyright © 2009-2016 NVIDIA Corporation, all rights reserved
Copyright © 2009-2011 Willow Garage Inc., all rights reserved
Licensed under the Apache License, Version 2.0
Note: OpenCV 4.5.0 and higher versions use Apache 2.0 License

SourceAFIS for Java
Copyright © Robert Vazan
Licensed under the Apache License, Version 2.0

Apache Maven Plugins (Compiler, Source, Jar, War, Surefire, GPG, Javadoc,
Shade, Antrun)
Copyright © 2001-2025 The Apache Software Foundation
Licensed under the Apache License, Version 2.0

Sonatype Central Publishing Maven Plugin
Copyright © 2022-2025 Sonatype, Inc.
Licensed under the Apache License, Version 2.0

Spring Boot Maven Plugin
Copyright © 2012-2025 Pivotal Software, Inc.
Copyright © 2012-2025 VMware, Inc. and its affiliates
Licensed under the Apache License, Version 2.0

JSON Simple
Copyright © 2006 Yidong Fang
Licensed under the Apache License, Version 2.0

JSON Path
Copyright © 2011 JSONPath authors
Licensed under the Apache License, Version 2.0

PowerMock
Copyright © 2007-2025 PowerMock contributors
Licensed under the Apache License, Version 2.0

ByteBuddy
Copyright © 2014-2025 Rafael Winterhalter
Licensed under the Apache License, Version 2.0

Objenesis
Copyright © 2006-2025 Joe Walnes, Henri Tremblay, Leonardo Mesquita
Licensed under the Apache License, Version 2.0

SpringDoc OpenAPI Maven Plugin
Copyright © 2019-2025 springdoc.org
Licensed under the Apache License, Version 2.0

Linked Data Signatures Java (info.weboftrust:ld-signatures-java)
Copyright © Web of Trust Info
Licensed under the Apache License, Version 2.0

--------------------------------------------------------------------------------
MIT LICENSE COMPONENTS
--------------------------------------------------------------------------------

Project Lombok
Copyright © 2009-2025 The Project Lombok Authors
Licensed under the MIT License

Mockito
Copyright © 2007-2025 Mockito contributors
Licensed under the MIT License

--------------------------------------------------------------------------------
ECLIPSE PUBLIC LICENSE COMPONENTS
--------------------------------------------------------------------------------

JUnit 4 & JUnit Vintage Engine
Copyright © 2002-2025 JUnit
Copyright © 2015-2025 the original author or authors
Licensed under the Eclipse Public License 1.0

JaCoCo Maven Plugin
Copyright © 2009-2025 Mountainminds GmbH & Co. KG and Contributors
Licensed under the Eclipse Public License 2.0

--------------------------------------------------------------------------------
BSD LICENSE COMPONENTS
--------------------------------------------------------------------------------

PostgreSQL JDBC Driver
Copyright © 1997-2025 PostgreSQL Global Development Group
Licensed under the BSD 2-Clause License

--------------------------------------------------------------------------------
GNU LESSER GENERAL PUBLIC LICENSE COMPONENTS
--------------------------------------------------------------------------------

git-commit-id-plugin
Copyright © 2010 Konrad Malawski <konrad.malawski@project13.pl>
Licensed under the GNU Lesser General Public License v3.0

--------------------------------------------------------------------------------
JSON LICENSE COMPONENTS (⚠️ NON-OSI APPROVED)
--------------------------------------------------------------------------------

JSON.org (org.json:json version 20180130)
Copyright © 2002 JSON.org
Licensed under the JSON License

--------------------------------------------------------------------------------
MOZILLA PUBLIC LICENSE 2.0 COMPONENTS
--------------------------------------------------------------------------------

MOSIP Platform Components
Copyright © 2018-2025 International Institute of Information Technology,
Bangalore (IIIT-B)
Components include: Kernel, ID Repository, Authentication Modules,
Demographics & Biometrics APIs, WebSub Client, Template Manager,
ID Generators, Key Manager, CBEFF Utilities, Data Access, e-Signet Core,
e-Signet Integration API, biosdk-client, demosdk, biometrics-util,
OpenID Bridge, and WebSub Client APIs
Licensed under the Mozilla Public License 2.0

--------------------------------------------------------------------------------

For complete license texts, please refer to:
- Apache License 2.0: https://www.apache.org/licenses/LICENSE-2.0
- MIT License: https://opensource.org/licenses/MIT
- Eclipse Public License 1.0: https://www.eclipse.org/legal/epl-v10.html
- Eclipse Public License 2.0: https://www.eclipse.org/legal/epl-2.0/
- BSD 2-Clause License: https://opensource.org/licenses/BSD-2-Clause
- GNU LGPL 3.0: https://www.gnu.org/licenses/lgpl-3.0.html
- JSON License: https://www.json.org/license.html
- Mozilla Public License 2.0: https://www.mozilla.org/en-US/MPL/2.0/

Additional license information and project homepages are listed in the
THIRD-PARTY-NOTICES.txt file.
Comment on lines +193 to +194
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if THIRD-PARTY-NOTICES.txt exists in the repository
fd -t f "THIRD-PARTY-NOTICES.txt"

Repository: mosip/mosip-onboarding

Length of output: 48


🏁 Script executed:

#!/bin/bash
# Search for files with similar names or variations
fd -t f -i "third.*party\|notice" licenses/

Repository: mosip/mosip-onboarding

Length of output: 48


🏁 Script executed:

#!/bin/bash
# List all files in licenses directory
ls -la licenses/

Repository: mosip/mosip-onboarding

Length of output: 368


🏁 Script executed:

#!/bin/bash
# Show lines 193-194 from licenses/NOTICE
sed -n '193,194p' licenses/NOTICE

Repository: mosip/mosip-onboarding

Length of output: 167


Create THIRD-PARTY-NOTICES.txt or update the reference in NOTICE.

The NOTICE file (lines 193-194) references a THIRD-PARTY-NOTICES.txt file that does not exist in the repository. Either create this file with the appropriate third-party license information, or remove/update the reference in NOTICE.

🤖 Prompt for AI Agents
licenses/NOTICE around lines 193-194: the NOTICE references a
THIRD-PARTY-NOTICES.txt that is missing; either create a new
THIRD-PARTY-NOTICES.txt at the repository root containing the third-party
dependency names, their licenses, and any required attribution statements
(matching SPDX identifiers and project homepages), then commit and ensure the
NOTICE reference path is correct, or update the NOTICE lines to remove or
correct the reference to the actual file name/location; ensure the NOTICE text
and the new/updated file are consistent and include required license
attributions.


================================================================================