diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 236ff51e..9fbb19a9 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: CC-BY-SA-4.0 # CLAUDE.md — Gitbot Fleet diff --git a/.machine_readable/bot_directives/README.adoc b/.machine_readable/bot_directives/README.adoc index 4e989c74..a077b116 100644 --- a/.machine_readable/bot_directives/README.adoc +++ b/.machine_readable/bot_directives/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = Agent Instructions :toc: preamble diff --git a/CHANGELOG.md b/CHANGELOG.md index dd463d53..00f4987c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ diff --git a/EXPLAINME.adoc b/EXPLAINME.adoc index aa22fb3a..21b4bf4b 100644 --- a/EXPLAINME.adoc +++ b/EXPLAINME.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Gitbot Fleet — Show Me The Receipts :toc: diff --git a/GOVERNANCE.adoc b/GOVERNANCE.adoc index 8bbf167d..e41020d3 100644 --- a/GOVERNANCE.adoc +++ b/GOVERNANCE.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell = Governance Model :toc: preamble diff --git a/LICENSE b/LICENSE index 2a8b9601..14e2f777 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,3 @@ -SPDX-License-Identifier: MPL-2.0 - Mozilla Public License Version 2.0 ================================== diff --git a/LICENSES/CC-BY-SA-4.0.txt b/LICENSES/CC-BY-SA-4.0.txt new file mode 100644 index 00000000..835a6836 --- /dev/null +++ b/LICENSES/CC-BY-SA-4.0.txt @@ -0,0 +1,170 @@ +Creative Commons Attribution-ShareAlike 4.0 International + + Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + +Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. + +Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. + +Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. + +Creative Commons Attribution-ShareAlike 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + + c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. + + d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + + e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + + f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + + g. License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + + i. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + + j. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + + k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + + l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + + m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + A. reproduce and Share the Licensed Material, in whole or in part; and + + B. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + B. Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. + + C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + A. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + + b. ShareAlike.In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. + + 1. The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. + + 2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. + + 3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + + b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and + + c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + + b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + + d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + + e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + + c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + + d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/LICENSES/PMPL-1.0-or-later.txt b/LICENSES/PMPL-1.0-or-later.txt deleted file mode 100644 index 711e372c..00000000 --- a/LICENSES/PMPL-1.0-or-later.txt +++ /dev/null @@ -1,162 +0,0 @@ -SPDX-License-Identifier: MPL-2.0 -SPDX-FileCopyrightText: 2025 Palimpsest Stewardship Council - -================================================================================ -PALIMPSEST-MPL LICENSE VERSION 1.0 -================================================================================ - -File-level copyleft with ethical use and quantum-safe provenance - -Based on Mozilla Public License 2.0 - --------------------------------------------------------------------------------- -PREAMBLE --------------------------------------------------------------------------------- - -This License extends the Mozilla Public License 2.0 (MPL-2.0) with provisions -for ethical use, post-quantum cryptographic provenance, and emotional lineage -protection. The base MPL-2.0 terms apply except where explicitly modified by -the Exhibits below. - -Like a palimpsest manuscript where each layer builds upon what came before, -this license recognizes that creative works carry history, context, and meaning -that transcend mere code or text. - --------------------------------------------------------------------------------- -SECTION 1: BASE LICENSE --------------------------------------------------------------------------------- - -This License incorporates the full text of Mozilla Public License 2.0 by -reference. The complete MPL-2.0 text is available at: -https://www.mozilla.org/en-US/MPL/2.0/ - -All terms, conditions, and definitions from MPL-2.0 apply except where -explicitly modified by the Exhibits in this License. - --------------------------------------------------------------------------------- -SECTION 2: ADDITIONAL DEFINITIONS --------------------------------------------------------------------------------- - -2.1. "Emotional Lineage" - means the narrative, cultural, symbolic, and contextual meaning embedded - in Covered Software, including but not limited to: protest traditions, - cultural heritage, trauma narratives, and community stories. - -2.2. "Provenance Metadata" - means cryptographically signed attribution information attached to or - associated with Covered Software, including author identities, timestamps, - modification history, and lineage references. - -2.3. "Non-Interpretive System" - means any automated system that processes Covered Software without - preserving or considering its Emotional Lineage, including but not - limited to: AI training pipelines, content aggregators, and automated - summarization tools. - -2.4. "Quantum-Safe Signature" - means a cryptographic signature using algorithms resistant to attacks - by quantum computers, as specified in Exhibit B. - --------------------------------------------------------------------------------- -SECTION 3: ETHICAL USE REQUIREMENTS --------------------------------------------------------------------------------- - -In addition to the rights and obligations under MPL-2.0: - -3.1. Emotional Lineage Preservation - You must make reasonable efforts to preserve and communicate the - Emotional Lineage of Covered Software when distributing or creating - derivative works. This includes maintaining narrative context, cultural - attributions, and symbolic meaning where documented. - -3.2. Non-Interpretive System Notice - If You use Covered Software as input to a Non-Interpretive System, You - must: - (a) document such use in a publicly accessible manner; and - (b) not claim that outputs of such systems carry the Emotional Lineage - of the original work without explicit permission from Contributors. - -3.3. Ethical Use Declaration - Commercial use of Covered Software requires acknowledgment that You have - read and understood Exhibit A (Ethical Use Guidelines) and agree to act - in good faith accordance with its principles. - -See Exhibit A for complete Ethical Use Guidelines. - --------------------------------------------------------------------------------- -SECTION 4: PROVENANCE REQUIREMENTS --------------------------------------------------------------------------------- - -4.1. Metadata Preservation - You must not strip, alter, or obscure Provenance Metadata from Covered - Software except where technically necessary and with clear documentation - of any changes. - -4.2. Quantum-Safe Provenance (Optional) - Contributors may sign their Contributions using Quantum-Safe Signatures. - If Quantum-Safe Signatures are present, You must preserve them in all - distributions. - -4.3. Lineage Chain - When creating derivative works, You should extend the provenance chain - to include Your own contributions, maintaining cryptographic linkage to - prior Contributors where feasible. - -See Exhibit B for Quantum-Safe Provenance specifications. - --------------------------------------------------------------------------------- -SECTION 5: GOVERNANCE --------------------------------------------------------------------------------- - -5.1. Stewardship Council - This License is maintained by the Palimpsest Stewardship Council, which - may issue clarifications, interpretive guidance, and future versions. - -5.2. Version Selection - You may use Covered Software under this version of the License or any - later version published by the Palimpsest Stewardship Council. - -5.3. Dispute Resolution - Disputes regarding interpretation of Ethical Use Requirements (Section 3) - should first be submitted to the Palimpsest Stewardship Council for - non-binding guidance before pursuing legal remedies. - --------------------------------------------------------------------------------- -SECTION 6: COMPATIBILITY --------------------------------------------------------------------------------- - -6.1. MPL-2.0 Compatibility - Covered Software under this License may be combined with software under - MPL-2.0. The combined work must comply with both licenses. - -6.2. Secondary Licenses - The Secondary License provisions of MPL-2.0 Section 3.3 apply to this - License. - --------------------------------------------------------------------------------- -EXHIBITS --------------------------------------------------------------------------------- - -Exhibit A - Ethical Use Guidelines -Exhibit B - Quantum-Safe Provenance Specification - -See separate files: -- EXHIBIT-A-ETHICAL-USE.txt -- EXHIBIT-B-QUANTUM-SAFE.txt - --------------------------------------------------------------------------------- -END OF PALIMPSEST-MPL-1.0 LICENSE TEXT --------------------------------------------------------------------------------- - -For exhibits, specifications, provenance rules, and governance: -https://github.com/hyperpolymath/palimpsest-license - -For legal frameworks and jurisdictional analysis: -See /legal/frameworks/ - -For provenance and audit tooling: -See /tools/ and /spec/PROVENANCE-SPEC.adoc - -For questions about this License: -- Repository: https://github.com/hyperpolymath/palimpsest-license -- Council: contact via repository Issues diff --git a/MAINTAINERS.adoc b/MAINTAINERS.adoc index a1c65443..48d97817 100644 --- a/MAINTAINERS.adoc +++ b/MAINTAINERS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Maintainers :toc: preamble diff --git a/READINESS.md b/READINESS.md index e43b3276..28222d74 100644 --- a/READINESS.md +++ b/READINESS.md @@ -1,4 +1,4 @@ - + # gitbot-fleet Component Readiness Assessment diff --git a/README.adoc b/README.adoc index 83610187..76924e64 100644 --- a/README.adoc +++ b/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell // Owner: Jonathan D.A. Jewell diff --git a/ROADMAP.adoc b/ROADMAP.adoc index 3e6b2c80..e320f4f0 100644 --- a/ROADMAP.adoc +++ b/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell :toc: macro :toclevels: 2 diff --git a/SECURITY.md b/SECURITY.md index c9ae6e2c..8d077497 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,4 +1,4 @@ - + # Security Policy diff --git a/TOPOLOGY.md b/TOPOLOGY.md index 633149c0..41ac7ccd 100644 --- a/TOPOLOGY.md +++ b/TOPOLOGY.md @@ -1,4 +1,4 @@ - + diff --git a/bots/README.adoc b/bots/README.adoc index 3c059f43..e3c9f27f 100644 --- a/bots/README.adoc +++ b/bots/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell = bots/ — fleet bot adapters :icons: font diff --git a/bots/accessibilitybot/README.adoc b/bots/accessibilitybot/README.adoc index a270db26..d1003e6b 100644 --- a/bots/accessibilitybot/README.adoc +++ b/bots/accessibilitybot/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Accessibilitybot :author: Jonathan D.A. Jewell diff --git a/bots/accessibilitybot/ROADMAP.adoc b/bots/accessibilitybot/ROADMAP.adoc index 62cd5cc3..b9e80478 100644 --- a/bots/accessibilitybot/ROADMAP.adoc +++ b/bots/accessibilitybot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Accessibilitybot Roadmap :author: Jonathan D.A. Jewell diff --git a/bots/cipherbot/README.adoc b/bots/cipherbot/README.adoc index df7a47c3..d24c103e 100644 --- a/bots/cipherbot/README.adoc +++ b/bots/cipherbot/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Cipherbot :author: Jonathan D.A. Jewell diff --git a/bots/cipherbot/ROADMAP.adoc b/bots/cipherbot/ROADMAP.adoc index f615e3c8..afcc145a 100644 --- a/bots/cipherbot/ROADMAP.adoc +++ b/bots/cipherbot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Cipherbot Roadmap :author: Jonathan D.A. Jewell diff --git a/bots/echidnabot/BRANDING.md b/bots/echidnabot/BRANDING.md index cc9c4ec7..1e2517a1 100644 --- a/bots/echidnabot/BRANDING.md +++ b/bots/echidnabot/BRANDING.md @@ -369,4 +369,4 @@ Keep it VERY simple - almost iconic. --- *This branding guide is part of the echidnabot project.* -*SPDX-License-Identifier: MPL-2.0 +*SPDX-License-Identifier: CC-BY-SA-4.0 diff --git a/bots/echidnabot/CANONICAL_SOURCE.md b/bots/echidnabot/CANONICAL_SOURCE.md index 70d17218..2603482f 100644 --- a/bots/echidnabot/CANONICAL_SOURCE.md +++ b/bots/echidnabot/CANONICAL_SOURCE.md @@ -1,4 +1,4 @@ - + # Canonical Source Map — echidnabot (fleet copy) diff --git a/bots/echidnabot/CHANGELOG.adoc b/bots/echidnabot/CHANGELOG.adoc index d27f32cb..4e508bd3 100644 --- a/bots/echidnabot/CHANGELOG.adoc +++ b/bots/echidnabot/CHANGELOG.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = Echidnabot Changelog diff --git a/bots/echidnabot/PALIMPSEST.adoc b/bots/echidnabot/PALIMPSEST.adoc index 088be2e2..89c3ebcb 100644 --- a/bots/echidnabot/PALIMPSEST.adoc +++ b/bots/echidnabot/PALIMPSEST.adoc @@ -2,7 +2,7 @@ :toc: :toc-placement!: -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] image:https://img.shields.io/badge/Philosophy-Palimpsest-indigo.svg[Palimpsest,link="https://github.com/hyperpolymath/palimpsest-license"] toc::[] @@ -26,7 +26,7 @@ ethical-use, provenance, and lineage requirements. 1. Include the MPL-2.0 license text in `LICENSE`. 2. Add SPDX headers to source files: - `SPDX-License-Identifier: MPL-2.0` + `SPDX-License-Identifier: CC-BY-SA-4.0` 3. Add a Palimpsest badge to your README (see `assets/badges/` and `embed/license-blocks/`). == Versioning diff --git a/bots/echidnabot/README.adoc b/bots/echidnabot/README.adoc index d4caa05f..8d62564d 100644 --- a/bots/echidnabot/README.adoc +++ b/bots/echidnabot/README.adoc @@ -1,7 +1,7 @@ -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] image:https://img.shields.io/github/v/release/hyperpolymath/echidnabot?include_prereleases[GitHub Release] -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2025-2026 Jonathan D.A. Jewell = echidnabot: Proof-Aware CI Bot diff --git a/bots/echidnabot/ROADMAP.adoc b/bots/echidnabot/ROADMAP.adoc index 9333e080..b157ae42 100644 --- a/bots/echidnabot/ROADMAP.adoc +++ b/bots/echidnabot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2025-2026 Jonathan D.A. Jewell = Echidnabot Roadmap diff --git a/bots/echidnabot/SONNET-TASKS.md b/bots/echidnabot/SONNET-TASKS.md index ea001b3d..10f9493e 100644 --- a/bots/echidnabot/SONNET-TASKS.md +++ b/bots/echidnabot/SONNET-TASKS.md @@ -154,7 +154,7 @@ The repo has ZERO tests despite importing test libraries. ### 5.2 SPDX headers - Every `.rs` file needs: ```rust - // SPDX-License-Identifier: MPL-2.0 + // SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell ``` diff --git a/bots/echidnabot/TESTING-REPORT.adoc b/bots/echidnabot/TESTING-REPORT.adoc index 4d0aa12b..0b9a3206 100644 --- a/bots/echidnabot/TESTING-REPORT.adoc +++ b/bots/echidnabot/TESTING-REPORT.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = echidnabot Testing Report :author: Claude Code :revdate: 2025-12-29 diff --git a/bots/finishingbot/README.adoc b/bots/finishingbot/README.adoc index cef811f0..b8d6f908 100644 --- a/bots/finishingbot/README.adoc +++ b/bots/finishingbot/README.adoc @@ -1,6 +1,6 @@ -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2025 Jonathan D.A. Jewell = finishing-bot: Release Readiness Validator diff --git a/bots/finishingbot/ROADMAP.adoc b/bots/finishingbot/ROADMAP.adoc index edfee314..dc33b83f 100644 --- a/bots/finishingbot/ROADMAP.adoc +++ b/bots/finishingbot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2025 Jonathan D.A. Jewell = finishing-bot Roadmap diff --git a/bots/finishingbot/SONNET-TASKS.md b/bots/finishingbot/SONNET-TASKS.md index d799d162..9167112a 100644 --- a/bots/finishingbot/SONNET-TASKS.md +++ b/bots/finishingbot/SONNET-TASKS.md @@ -22,7 +22,7 @@ Finishingbot is a Tier 2 (Finisher) bot in the gitbot-fleet ecosystem. It analyz - Audit ALL `.rs` files in `src/` for SPDX headers - Every file must have: ```rust - // SPDX-License-Identifier: MPL-2.0 + // SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell ``` - If any file has `MPL-2.0`, change to `MPL-2.0` diff --git a/bots/glambot/README.adoc b/bots/glambot/README.adoc index 44f2bd86..553f8af1 100644 --- a/bots/glambot/README.adoc +++ b/bots/glambot/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell = glambot: Repository Presentation Quality Enforcer Jonathan D.A. Jewell diff --git a/bots/glambot/ROADMAP.adoc b/bots/glambot/ROADMAP.adoc index 1f6824fa..5a45f415 100644 --- a/bots/glambot/ROADMAP.adoc +++ b/bots/glambot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell = glambot Roadmap :toc: diff --git a/bots/glambot/SONNET-TASKS.md b/bots/glambot/SONNET-TASKS.md index e950d6fd..af790e24 100644 --- a/bots/glambot/SONNET-TASKS.md +++ b/bots/glambot/SONNET-TASKS.md @@ -37,7 +37,7 @@ Glambot is a Tier 2 (Finisher) bot in the gitbot-fleet ecosystem. It analyzes re ### 2.3 Fix SPDX headers - Every `.rs` file must have: ```rust - // SPDX-License-Identifier: MPL-2.0 + // SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell ``` diff --git a/bots/gsbot/CHANGELOG.adoc b/bots/gsbot/CHANGELOG.adoc index d470f424..937a28a9 100644 --- a/bots/gsbot/CHANGELOG.adoc +++ b/bots/gsbot/CHANGELOG.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Changelog All notable changes to this project will be documented in this file. diff --git a/bots/gsbot/CLAUDE.md b/bots/gsbot/CLAUDE.md index 3a301b37..89b3f622 100644 --- a/bots/gsbot/CLAUDE.md +++ b/bots/gsbot/CLAUDE.md @@ -146,7 +146,7 @@ invoking guild member has the Administrator permission. - Keep `domain.rs` pure/total; it is the SPARK substitution boundary. - Preserve observable behaviour when porting/refactoring (point awards, embed fields, command names and aliases mirror the original cogs). -- Every source file carries the `SPDX-License-Identifier: MPL-2.0` +- Every source file carries the `SPDX-License-Identifier: CC-BY-SA-4.0` header. - Conventional, atomic commits; feature branches off `main`. - Run `just lint` and `just test` before opening a PR. diff --git a/bots/gsbot/PALIMPSEST.adoc b/bots/gsbot/PALIMPSEST.adoc index 088be2e2..89c3ebcb 100644 --- a/bots/gsbot/PALIMPSEST.adoc +++ b/bots/gsbot/PALIMPSEST.adoc @@ -2,7 +2,7 @@ :toc: :toc-placement!: -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] image:https://img.shields.io/badge/Philosophy-Palimpsest-indigo.svg[Palimpsest,link="https://github.com/hyperpolymath/palimpsest-license"] toc::[] @@ -26,7 +26,7 @@ ethical-use, provenance, and lineage requirements. 1. Include the MPL-2.0 license text in `LICENSE`. 2. Add SPDX headers to source files: - `SPDX-License-Identifier: MPL-2.0` + `SPDX-License-Identifier: CC-BY-SA-4.0` 3. Add a Palimpsest badge to your README (see `assets/badges/` and `embed/license-blocks/`). == Versioning diff --git a/bots/gsbot/README.adoc b/bots/gsbot/README.adoc index b805ec8f..edd96167 100644 --- a/bots/gsbot/README.adoc +++ b/bots/gsbot/README.adoc @@ -1,6 +1,6 @@ = GSBot - Garment Sustainability Bot -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] image:https://img.shields.io/badge/Philosophy-Palimpsest-indigo.svg[Palimpsest,link="https://github.com/hyperpolymath/palimpsest-license"] diff --git a/bots/rhodibot/README.adoc b/bots/rhodibot/README.adoc index b923496b..0f72e1a6 100644 --- a/bots/rhodibot/README.adoc +++ b/bots/rhodibot/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Rhodibot diff --git a/bots/rhodibot/ROADMAP.adoc b/bots/rhodibot/ROADMAP.adoc index a00edc95..4807011e 100644 --- a/bots/rhodibot/ROADMAP.adoc +++ b/bots/rhodibot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Rhodibot Roadmap diff --git a/bots/seambot/PALIMPSEST.adoc b/bots/seambot/PALIMPSEST.adoc index 088be2e2..89c3ebcb 100644 --- a/bots/seambot/PALIMPSEST.adoc +++ b/bots/seambot/PALIMPSEST.adoc @@ -2,7 +2,7 @@ :toc: :toc-placement!: -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] image:https://img.shields.io/badge/Philosophy-Palimpsest-indigo.svg[Palimpsest,link="https://github.com/hyperpolymath/palimpsest-license"] toc::[] @@ -26,7 +26,7 @@ ethical-use, provenance, and lineage requirements. 1. Include the MPL-2.0 license text in `LICENSE`. 2. Add SPDX headers to source files: - `SPDX-License-Identifier: MPL-2.0` + `SPDX-License-Identifier: CC-BY-SA-4.0` 3. Add a Palimpsest badge to your README (see `assets/badges/` and `embed/license-blocks/`). == Versioning diff --git a/bots/seambot/README.adoc b/bots/seambot/README.adoc index 4cf7a13a..810533c6 100644 --- a/bots/seambot/README.adoc +++ b/bots/seambot/README.adoc @@ -1,8 +1,8 @@ -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] image:https://img.shields.io/github/license/hyperpolymath/seambot[License] image:https://img.shields.io/crates/v/seambot[Crates.io] -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Seambot: Architectural Seam Hygiene Auditor @@ -441,7 +441,7 @@ seambot github verify-webhook \ [source,yaml] ---- # .github/workflows/seam-check.yml -# SPDX-License-Identifier: MPL-2.0 +# SPDX-License-Identifier: CC-BY-SA-4.0 name: Seam Hygiene on: [push, pull_request] permissions: read-all diff --git a/bots/seambot/ROADMAP.adoc b/bots/seambot/ROADMAP.adoc index eda009e9..f8de830a 100644 --- a/bots/seambot/ROADMAP.adoc +++ b/bots/seambot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell = Seambot Roadmap diff --git a/bots/seambot/tests/fixtures/valid-register/spec/seams/checklists/api-to-db.adoc b/bots/seambot/tests/fixtures/valid-register/spec/seams/checklists/api-to-db.adoc index 4b434709..5f16ea8d 100644 --- a/bots/seambot/tests/fixtures/valid-register/spec/seams/checklists/api-to-db.adoc +++ b/bots/seambot/tests/fixtures/valid-register/spec/seams/checklists/api-to-db.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Seam Checklist: API to Database :checklist: diff --git a/bots/seambot/tests/fixtures/valid-register/spec/seams/conformance/api-to-db-conformance.adoc b/bots/seambot/tests/fixtures/valid-register/spec/seams/conformance/api-to-db-conformance.adoc index af1553ad..eb630506 100644 --- a/bots/seambot/tests/fixtures/valid-register/spec/seams/conformance/api-to-db-conformance.adoc +++ b/bots/seambot/tests/fixtures/valid-register/spec/seams/conformance/api-to-db-conformance.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Conformance Example: API to Database == Purpose diff --git a/bots/sustainabot/README.adoc b/bots/sustainabot/README.adoc index 418c30e7..9531056a 100644 --- a/bots/sustainabot/README.adoc +++ b/bots/sustainabot/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell = sustainabot — reserved fleet slot (currently empty) :icons: font diff --git a/bots/the-hotchocolabot/CHANGELOG.adoc b/bots/the-hotchocolabot/CHANGELOG.adoc index a66b5adf..7dcfc10d 100644 --- a/bots/the-hotchocolabot/CHANGELOG.adoc +++ b/bots/the-hotchocolabot/CHANGELOG.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Changelog All notable changes to this project will be documented in this file. diff --git a/bots/the-hotchocolabot/Containerfile b/bots/the-hotchocolabot/Containerfile index 78e9a0cd..bf03b6de 100644 --- a/bots/the-hotchocolabot/Containerfile +++ b/bots/the-hotchocolabot/Containerfile @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT OR Apache-2.0 +# SPDX-License-Identifier: MPL-2.0 OR Apache-2.0 # SPDX-FileCopyrightText: 2025 hyperpolymath FROM rust:1.85-slim-bookworm AS builder diff --git a/bots/the-hotchocolabot/README.adoc b/bots/the-hotchocolabot/README.adoc index 976144b0..402e93cd 100644 --- a/bots/the-hotchocolabot/README.adoc +++ b/bots/the-hotchocolabot/README.adoc @@ -71,43 +71,43 @@ The deliberate complexity serves pedagogical purposes: ```bash = Clone repository -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] git clone https://github.com/Hyperpolymath/hotchocolabot.git cd hotchocolabot = Copy configuration template -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cp config.toml.example config.toml = Edit configuration for your hardware -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] nano config.toml = Build (development mode with mock hardware) -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo build = Build for Raspberry Pi (cross-compile or on-device) -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo build --release = Run tests -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo test = Run with mock hardware (for development) -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo run = Run on Raspberry Pi -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] sudo cargo run --release ``` @@ -116,22 +116,22 @@ sudo cargo run --release ```bash = Install cross-compilation toolchain -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] rustup target add armv7-unknown-linux-gnueabihf = Install cross-compilation dependencies -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo install cross = Build for Raspberry Pi -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cross build --target armv7-unknown-linux-gnueabihf --release = Copy to Raspberry Pi -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] scp target/armv7-unknown-linux-gnueabihf/release/hotchocolabot pi@raspberrypi.local:~/ ``` @@ -304,27 +304,27 @@ See `CONTRIBUTING.md` for development guidelines. ```bash = Run tests -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo test = Run with logging -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] RUST_LOG=debug cargo run = Format code -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo fmt = Lint -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo clippy = Benchmark -image:https://img.shields.io/badge/License-PMPL--1.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] +image:https://img.shields.io/badge/License-MPL--2.0-blue.svg[License: MPL-2.0,link="https://github.com/hyperpolymath/palimpsest-license"] cargo bench ``` diff --git a/bots/the-hotchocolabot/ROADMAP.adoc b/bots/the-hotchocolabot/ROADMAP.adoc index e1631810..9e2a7e88 100644 --- a/bots/the-hotchocolabot/ROADMAP.adoc +++ b/bots/the-hotchocolabot/ROADMAP.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = The Hotchocolabot Roadmap == Current Status diff --git a/campaigns/FLOOR-RAISE-CAMPAIGN.adoc b/campaigns/FLOOR-RAISE-CAMPAIGN.adoc index fb0b0fdb..60806d7b 100644 --- a/campaigns/FLOOR-RAISE-CAMPAIGN.adoc +++ b/campaigns/FLOOR-RAISE-CAMPAIGN.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) = Floor Raise Campaign — 2026-03-20 diff --git a/dashboard/README.md b/dashboard/README.md index 11e1da3e..173a9ddf 100644 --- a/dashboard/README.md +++ b/dashboard/README.md @@ -122,4 +122,4 @@ The dashboard integrates with: ## License -SPDX-License-Identifier: MPL-2.0 +SPDX-License-Identifier: CC-BY-SA-4.0 diff --git a/deploy/README.md b/deploy/README.md index fdd217cb..6be99ff4 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -405,4 +405,4 @@ For large repositories with many findings, consider: ## License -SPDX-License-Identifier: MPL-2.0 +SPDX-License-Identifier: CC-BY-SA-4.0 diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 8649d555..c7d4efd5 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -1,4 +1,4 @@ - + # Gitbot Fleet — Architecture diff --git a/docs/BOT-OPERATIONS.md b/docs/BOT-OPERATIONS.md index bc08140c..e685a955 100644 --- a/docs/BOT-OPERATIONS.md +++ b/docs/BOT-OPERATIONS.md @@ -1,4 +1,4 @@ -;; SPDX-License-Identifier: MPL-2.0 +;; SPDX-License-Identifier: CC-BY-SA-4.0 # Gitbot Fleet: Bot Operations Guide diff --git a/docs/BRANCH-PROTECTION-SETUP.md b/docs/BRANCH-PROTECTION-SETUP.md index fce7619c..f23e422a 100644 --- a/docs/BRANCH-PROTECTION-SETUP.md +++ b/docs/BRANCH-PROTECTION-SETUP.md @@ -1,6 +1,6 @@ # Branch Protection Setup: Static Analysis Gate -> SPDX-License-Identifier: MPL-2.0 +> SPDX-License-Identifier: CC-BY-SA-4.0 This document explains how to wire the `static-analysis-gate.yml` workflow into GitHub branch protection so that every PR must pass panic-attack and hypatia diff --git a/docs/INBOX-STEWARD-AUTOMATION.md b/docs/INBOX-STEWARD-AUTOMATION.md index 51c5eef9..9ace28a9 100644 --- a/docs/INBOX-STEWARD-AUTOMATION.md +++ b/docs/INBOX-STEWARD-AUTOMATION.md @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) // Owner: Jonathan D.A. Jewell diff --git a/docs/PERFORMANCE.md b/docs/PERFORMANCE.md index e2718189..7049e49d 100644 --- a/docs/PERFORMANCE.md +++ b/docs/PERFORMANCE.md @@ -474,4 +474,4 @@ cargo watch -x 'bench --bench fleet_benchmarks' ## License -SPDX-License-Identifier: MPL-2.0 +SPDX-License-Identifier: CC-BY-SA-4.0 diff --git a/docs/README.md b/docs/README.md index 396ab530..5558acd8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ - + # Gitbot Fleet Documentation diff --git a/docs/TOKEN-ARCHITECTURE.adoc b/docs/TOKEN-ARCHITECTURE.adoc index d4ff1ee3..56fe262c 100644 --- a/docs/TOKEN-ARCHITECTURE.adoc +++ b/docs/TOKEN-ARCHITECTURE.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // Copyright (c) 2026 Jonathan D.A. Jewell // // gitbot-fleet Token Architecture diff --git a/docs/archive/OUTSTANDING-WORK.md b/docs/archive/OUTSTANDING-WORK.md index 91c5ba33..40cc9249 100644 --- a/docs/archive/OUTSTANDING-WORK.md +++ b/docs/archive/OUTSTANDING-WORK.md @@ -91,4 +91,4 @@ vim /var$REPOS_DIR/OUTSTANDING-WORK.md ``` ## License -SPDX-License-Identifier: MPL-2.0 +SPDX-License-Identifier: CC-BY-SA-4.0 diff --git a/docs/archive/README.md b/docs/archive/README.md index 0f39ced8..a57116c6 100644 --- a/docs/archive/README.md +++ b/docs/archive/README.md @@ -1,4 +1,4 @@ - + # Document archive diff --git a/docs/archive/SESSION-2026-05-26-cicd-foundational-fixes.md b/docs/archive/SESSION-2026-05-26-cicd-foundational-fixes.md index b0cbcdd6..ba929a49 100644 --- a/docs/archive/SESSION-2026-05-26-cicd-foundational-fixes.md +++ b/docs/archive/SESSION-2026-05-26-cicd-foundational-fixes.md @@ -1,4 +1,4 @@ - + # CI/CD foundational fixes + estate-wide SafeDOMExample sweep + Hypatia lessons diff --git a/docs/archive/SESSION-2026-05-26-sustainabot-148-validation.md b/docs/archive/SESSION-2026-05-26-sustainabot-148-validation.md index 622cbb7e..f84a7071 100644 --- a/docs/archive/SESSION-2026-05-26-sustainabot-148-validation.md +++ b/docs/archive/SESSION-2026-05-26-sustainabot-148-validation.md @@ -1,4 +1,4 @@ - + # sustainabot ReScript→AffineScript hand-port validation diff --git a/docs/findings-submissions-branch.md b/docs/findings-submissions-branch.md index 57eda95a..c13e7e7c 100644 --- a/docs/findings-submissions-branch.md +++ b/docs/findings-submissions-branch.md @@ -1,4 +1,4 @@ - + # The `findings-submissions` branch diff --git a/docs/tech-debt-2026-05-26.md b/docs/tech-debt-2026-05-26.md index b5557dad..8381b448 100644 --- a/docs/tech-debt-2026-05-26.md +++ b/docs/tech-debt-2026-05-26.md @@ -1,5 +1,5 @@ diff --git a/docs/upstream-proposals/standards--hypatia-baseline-consumer/README.md b/docs/upstream-proposals/standards--hypatia-baseline-consumer/README.md index 642cf0c1..7f7c266c 100644 --- a/docs/upstream-proposals/standards--hypatia-baseline-consumer/README.md +++ b/docs/upstream-proposals/standards--hypatia-baseline-consumer/README.md @@ -1,4 +1,4 @@ - + # Proposal: `hyperpolymath/standards` — `.hypatia-baseline.json` consumer **Target repo:** `hyperpolymath/standards` diff --git a/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/EXEMPTION-MECHANISMS.adoc b/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/EXEMPTION-MECHANISMS.adoc index ac2a524b..81d306f2 100644 --- a/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/EXEMPTION-MECHANISMS.adoc +++ b/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/EXEMPTION-MECHANISMS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Exemption mechanisms in the hyperpolymath estate :toc: diff --git a/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/HYPATIA-BASELINE-FORMAT.adoc b/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/HYPATIA-BASELINE-FORMAT.adoc index af69c9e0..5029f209 100644 --- a/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/HYPATIA-BASELINE-FORMAT.adoc +++ b/docs/upstream-proposals/standards--hypatia-baseline-consumer/docs/HYPATIA-BASELINE-FORMAT.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = `.hypatia-baseline.json` — per-repo Hypatia finding baseline :toc: :toclevels: 2 diff --git a/docs/wiki-source/Architecture.md b/docs/wiki-source/Architecture.md index d129e2fa..cf2af9ff 100644 --- a/docs/wiki-source/Architecture.md +++ b/docs/wiki-source/Architecture.md @@ -1,4 +1,4 @@ - + # Architecture diff --git a/docs/wiki-source/Bot-Operations.md b/docs/wiki-source/Bot-Operations.md index 5680ccc5..a64e6a04 100644 --- a/docs/wiki-source/Bot-Operations.md +++ b/docs/wiki-source/Bot-Operations.md @@ -1,4 +1,4 @@ - + # Bot Operations diff --git a/docs/wiki-source/Build-and-Run.md b/docs/wiki-source/Build-and-Run.md index f8dcbedc..88af2200 100644 --- a/docs/wiki-source/Build-and-Run.md +++ b/docs/wiki-source/Build-and-Run.md @@ -1,4 +1,4 @@ - + # Build & Run diff --git a/docs/wiki-source/Home.md b/docs/wiki-source/Home.md index 901bdd17..3f0e3ffa 100644 --- a/docs/wiki-source/Home.md +++ b/docs/wiki-source/Home.md @@ -1,4 +1,4 @@ - + # Gitbot Fleet — Wiki diff --git a/docs/wiki-source/Safety-Triangle.md b/docs/wiki-source/Safety-Triangle.md index 43284224..21b4df18 100644 --- a/docs/wiki-source/Safety-Triangle.md +++ b/docs/wiki-source/Safety-Triangle.md @@ -1,4 +1,4 @@ - + # Safety Triangle diff --git a/docs/wiki-source/_Footer.md b/docs/wiki-source/_Footer.md index 96b5de93..45fc6163 100644 --- a/docs/wiki-source/_Footer.md +++ b/docs/wiki-source/_Footer.md @@ -1,4 +1,4 @@ - + This wiki is published from `docs/wiki-source/` in the main repo. Direct edits will be overwritten on the next sync. diff --git a/docs/wiki-source/_Sidebar.md b/docs/wiki-source/_Sidebar.md index b3b65aa6..de1a2b66 100644 --- a/docs/wiki-source/_Sidebar.md +++ b/docs/wiki-source/_Sidebar.md @@ -1,4 +1,4 @@ - + **Gitbot Fleet** - [Home](Home) diff --git a/robot-repo-automaton/CODE_OF_CONDUCT.md b/robot-repo-automaton/CODE_OF_CONDUCT.md index 1f1548ca..caeda1c6 100644 --- a/robot-repo-automaton/CODE_OF_CONDUCT.md +++ b/robot-repo-automaton/CODE_OF_CONDUCT.md @@ -1,4 +1,4 @@ - + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/robot-repo-automaton/CONTRIBUTING.adoc b/robot-repo-automaton/CONTRIBUTING.adoc index bd05b313..d4ec56ff 100644 --- a/robot-repo-automaton/CONTRIBUTING.adoc +++ b/robot-repo-automaton/CONTRIBUTING.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Clone the repository git clone https://github.com/hyperpolymath/robot-repo-automaton.git cd robot-repo-automaton diff --git a/robot-repo-automaton/MAINTAINERS.adoc b/robot-repo-automaton/MAINTAINERS.adoc index a1c65443..48d97817 100644 --- a/robot-repo-automaton/MAINTAINERS.adoc +++ b/robot-repo-automaton/MAINTAINERS.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = Maintainers :toc: preamble diff --git a/robot-repo-automaton/README.adoc b/robot-repo-automaton/README.adoc index 5c63e621..878cb95f 100644 --- a/robot-repo-automaton/README.adoc +++ b/robot-repo-automaton/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 // SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell = Robot Repo Automaton diff --git a/robot-repo-automaton/contractiles/self-validating/README.adoc b/robot-repo-automaton/contractiles/self-validating/README.adoc index b108bbce..97c9c632 100644 --- a/robot-repo-automaton/contractiles/self-validating/README.adoc +++ b/robot-repo-automaton/contractiles/self-validating/README.adoc @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: MPL-2.0 +// SPDX-License-Identifier: CC-BY-SA-4.0 = K9 Contractiles :toc: left :icons: font diff --git a/scripts/fix-pmpl-drift.sh b/scripts/fix-pmpl-drift.sh index 2bbea18c..d8858baa 100755 --- a/scripts/fix-pmpl-drift.sh +++ b/scripts/fix-pmpl-drift.sh @@ -98,7 +98,7 @@ cd "$REPO_PATH" if [ -n "$SPECIFIC_FILE" ]; then FILES="$SPECIFIC_FILE" else - FILES=$(grep -rl "SPDX-License-Identifier: PMPL-1.0-or-later" . 2>/dev/null | grep -vE "$GREP_EXCLUDE" || true) + FILES=$(grep -rl "SPDX-License-Identifier: MPL-2.0" . 2>/dev/null | grep -vE "$GREP_EXCLUDE" || true) fi COUNT=$(echo "$FILES" | grep -c . 2>/dev/null || echo 0) @@ -117,7 +117,7 @@ if [ -n "$DRY_RUN" ]; then fi # ─── Flip ─── -echo "$FILES" | xargs sed -i "s|SPDX-License-Identifier: PMPL-1.0-or-later|SPDX-License-Identifier: $TARGET|g" +echo "$FILES" | xargs sed -i "s|SPDX-License-Identifier: MPL-2.0|SPDX-License-Identifier: $TARGET|g" -REMAINING=$(grep -rl "SPDX-License-Identifier: PMPL-1.0-or-later" . 2>/dev/null | grep -vE "$GREP_EXCLUDE" | wc -l) +REMAINING=$(grep -rl "SPDX-License-Identifier: MPL-2.0" . 2>/dev/null | grep -vE "$GREP_EXCLUDE" | wc -l) echo "Flipped $COUNT files. Remaining PMPL in scope: $REMAINING." diff --git a/scripts/fix-spdx-double-suffix.sh b/scripts/fix-spdx-double-suffix.sh index 25aa8825..66a952ac 100755 --- a/scripts/fix-spdx-double-suffix.sh +++ b/scripts/fix-spdx-double-suffix.sh @@ -40,7 +40,7 @@ else # grep -I. mapfile -t FILES < <( git ls-files -z | - xargs -0 grep -lI -E "SPDX-License-Identifier:.*(-or-later-or-later|-or-later\+|\+-or-later)" 2>/dev/null || true + xargs -0 grep -lI -E "SPDX-License-Identifier:MPL-2.0*(-or-later-or-later|-or-later\+|\+-or-later)" 2>/dev/null || true ) fi @@ -56,7 +56,7 @@ for f in "${FILES[@]}"; do # Three repairs, applied only on lines that match # SPDX-License-Identifier: — never globally, to avoid breaking # unrelated text or test fixtures. - if grep -qE "SPDX-License-Identifier:.*(-or-later-or-later|-or-later\+|\+-or-later)" "$f"; then + if grep -qE "SPDX-License-Identifier:MPL-2.0*(-or-later-or-later|-or-later\+|\+-or-later)" "$f"; then # Use a temp file (sed -i portability across BSD/GNU) tmp=$(mktemp) sed -E \ diff --git a/shared-context/findings/IDApixiTIK/latest.json b/shared-context/findings/IDApixiTIK/latest.json deleted file mode 120000 index 0c25986e..00000000 --- a/shared-context/findings/IDApixiTIK/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260217-000142.json \ No newline at end of file diff --git a/shared-context/findings/IDApixiTIK/latest.json b/shared-context/findings/IDApixiTIK/latest.json new file mode 100644 index 00000000..e66ba751 --- /dev/null +++ b/shared-context/findings/IDApixiTIK/latest.json @@ -0,0 +1,9 @@ +{ + "submission_metadata": { + "repo": "IDApixiTIK", + "timestamp": "2026-02-17T00:01:44+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [] +} diff --git a/shared-context/findings/absolute-zero/latest.json b/shared-context/findings/absolute-zero/latest.json deleted file mode 120000 index 48a6bb69..00000000 --- a/shared-context/findings/absolute-zero/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215524.json \ No newline at end of file diff --git a/shared-context/findings/absolute-zero/latest.json b/shared-context/findings/absolute-zero/latest.json new file mode 100644 index 00000000..f38295a0 --- /dev/null +++ b/shared-context/findings/absolute-zero/latest.json @@ -0,0 +1,109 @@ +{ + "submission_metadata": { + "repo": "absolute-zero", + "timestamp": "2026-02-06T21:55:24+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/absolute-zero/examples/rust/balanced_ops.rs", + "line": 19, + "code": " * Debug: Integer overflow checks enabled (but we avoid overflow)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 167, + "code": " let b = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 168, + "code": " let a = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 175, + "code": " let b = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 176, + "code": " let a = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 183, + "code": " let b = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 184, + "code": " let a = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 193, + "code": " let value = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/absolute-zero/src/whitespace/src/lib.rs", + "line": 194, + "code": " let address = self.state.stack.pop().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/affinescript/latest.json b/shared-context/findings/affinescript/latest.json deleted file mode 120000 index 565057a7..00000000 --- a/shared-context/findings/affinescript/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215525.json \ No newline at end of file diff --git a/shared-context/findings/affinescript/latest.json b/shared-context/findings/affinescript/latest.json new file mode 100644 index 00000000..4f99bf2f --- /dev/null +++ b/shared-context/findings/affinescript/latest.json @@ -0,0 +1,1825 @@ +{ + "submission_metadata": { + "repo": "affinescript", + "timestamp": "2026-02-06T21:55:29+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/bin/main.ml", + "line": 116, + "code": " (* Borrow check - TODO: re-enable when borrow checker is restored *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/bin/main.ml", + "line": 138, + "code": " (* TODO: Re-enable when REPL module is restored *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/bin/main.ml", + "line": 185, + "code": " (* Borrow check the program - TODO: re-enable when borrow checker is restored *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/trait.ml", + "line": 123, + "code": " (* TODO: Need context to properly convert ty_expr to ty *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/trait.ml", + "line": 185, + "code": " (* TODO: Check signature matches *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/trait.ml", + "line": 214, + "code": " (* For now, simple name matching - TODO: proper unification *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/trait.ml", + "line": 233, + "code": " (* Simple type matching - TODO: proper unification *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/trait.ml", + "line": 271, + "code": " (* TODO: Check for overlapping impls *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/trait.ml", + "line": 277, + "code": " (* TODO: Proper unification check *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/linter.ml", + "line": 140, + "code": " | SKFunction -> (* TODO: check function signature for effects *) false", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/linter.ml", + "line": 233, + "code": " | _ -> Span.dummy (* TODO: add spans to all expressions *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/linter.ml", + "line": 243, + "code": " | _ -> Span.dummy (* TODO: add spans to all patterns *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/linter.ml", + "line": 328, + "code": " | ExprUnsafe _ -> () (* TODO: lint unsafe operations *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/codegen.ml", + "line": 78, + "code": " (* TODO: Proper type mapping based on type_expr *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/lib/formatter.ml", + "line": 4, + "code": " TODO: Implement code formatting.", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/test/test_main.ml", + "line": 10, + "code": " (* (\"Parser\", Test_parser.tests); *) (* TODO: Re-enable when test_parser is implemented *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/alloc.rs", + "line": 152, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/alloc.rs", + "line": 74, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/alloc.rs", + "line": 93, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/alloc.rs", + "line": 115, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/alloc.rs", + "line": 141, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/alloc.rs", + "line": 157, + "code": "// TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 133, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 151, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 166, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 184, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 204, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 220, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/effects.rs", + "line": 227, + "code": "// TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 109, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 132, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 190, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 91, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 207, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 214, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 222, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 230, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 246, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 254, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 261, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 268, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/ffi.rs", + "line": 272, + "code": "// TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 139, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 176, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 187, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 227, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 249, + "code": " unsafe { header.add(1) as *mut u8 }", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 255, + "code": " unsafe { GC_STATE.stats }", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 261, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 271, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 70, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 130, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 155, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 163, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/gc.rs", + "line": 276, + "code": "// TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/lib.rs", + "line": 69, + "code": "// TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/panic.rs", + "line": 93, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/affinescript/runtime/src/panic.rs", + "line": 124, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/panic.rs", + "line": 80, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/panic.rs", + "line": 141, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/panic.rs", + "line": 216, + "code": " // TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/runtime/src/panic.rs", + "line": 237, + "code": "// TODO: Phase 6 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/extract.rs", + "line": 149, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/extract.rs", + "line": 167, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/extract.rs", + "line": 261, + "code": " // TODO: Parse parameter docs", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/extract.rs", + "line": 289, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/html.rs", + "line": 254, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/html.rs", + "line": 263, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/index.rs", + "line": 166, + "code": " results.sort_by(|a, b| b.score.partial_cmp(&a.score).unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/index.rs", + "line": 215, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/main.rs", + "line": 97, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/main.rs", + "line": 110, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/main.rs", + "line": 119, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/main.rs", + "line": 131, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/render.rs", + "line": 23, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/render.rs", + "line": 47, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-doc/src/render.rs", + "line": 117, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/build.rs", + "line": 104, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/build.rs", + "line": 124, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/build.rs", + "line": 144, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/build.rs", + "line": 164, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/build.rs", + "line": 229, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/config.rs", + "line": 230, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/lockfile.rs", + "line": 144, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 178, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 186, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 194, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 203, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 210, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 218, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 227, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 237, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 244, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 252, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 260, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 269, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 276, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 283, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 289, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 296, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 303, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/main.rs", + "line": 314, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/manifest.rs", + "line": 219, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 156, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 167, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 179, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 187, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 195, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 209, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 222, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 235, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 243, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/registry.rs", + "line": 255, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/resolve.rs", + "line": 121, + "code": " // TODO: Phase 8 implementation using PubGrub algorithm", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/resolve.rs", + "line": 148, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/resolve.rs", + "line": 158, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/resolve.rs", + "line": 186, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/storage.rs", + "line": 88, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/storage.rs", + "line": 102, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/storage.rs", + "line": 111, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/storage.rs", + "line": 124, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/storage.rs", + "line": 192, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affine-pkg/src/workspace.rs", + "line": 160, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/diagnostics.rs", + "line": 127, + "code": " uri: Url::parse(&format!(\"file://{}\", span.file)).unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/diagnostics.rs", + "line": 156, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/diagnostics.rs", + "line": 173, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/diagnostics.rs", + "line": 181, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 30, + "code": " self.documents.write().unwrap().insert(uri, doc);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 35, + "code": " self.documents.write().unwrap().remove(uri);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 40, + "code": " let mut docs = self.documents.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 48, + "code": " self.documents.read().unwrap().get(uri).map(|d| d.text.clone())", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 53, + "code": " self.documents.read().unwrap().get(uri).map(|d| d.version)", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 72, + "code": " // TODO: Add parsed AST cache", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 73, + "code": " // TODO: Add type-checked state cache", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/document.rs", + "line": 178, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 16, + "code": " // TODO: Integrate with type checker for accurate type information", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 51, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 67, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 153, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 167, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 228, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 303, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 313, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/handlers.rs", + "line": 359, + "code": "// TODO: Phase 8 enhancements", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/main.rs", + "line": 227, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/main.rs", + "line": 236, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/main.rs", + "line": 262, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/main.rs", + "line": 287, + "code": " // TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/tools/affinescript-lsp/src/main.rs", + "line": 314, + "code": "// TODO: Phase 8 implementation", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/test/test_main.ml", + "line": 10, + "code": " (* (\"Parser\", Test_parser.tests); *) (* TODO: Re-enable when test_parser is implemented *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/codegen.ml", + "line": 78, + "code": " (* TODO: Proper type mapping based on type_expr *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/formatter.ml", + "line": 4, + "code": " TODO: Implement code formatting.", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/linter.ml", + "line": 140, + "code": " | SKFunction -> (* TODO: check function signature for effects *) false", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/linter.ml", + "line": 233, + "code": " | _ -> Span.dummy (* TODO: add spans to all expressions *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/linter.ml", + "line": 243, + "code": " | _ -> Span.dummy (* TODO: add spans to all patterns *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/linter.ml", + "line": 328, + "code": " | ExprUnsafe _ -> () (* TODO: lint unsafe operations *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/trait.ml", + "line": 123, + "code": " (* TODO: Need context to properly convert ty_expr to ty *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/trait.ml", + "line": 185, + "code": " (* TODO: Check signature matches *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/trait.ml", + "line": 214, + "code": " (* For now, simple name matching - TODO: proper unification *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/trait.ml", + "line": 233, + "code": " (* Simple type matching - TODO: proper unification *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/trait.ml", + "line": 271, + "code": " (* TODO: Check for overlapping impls *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/lib/trait.ml", + "line": 277, + "code": " (* TODO: Proper unification check *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/bin/main.ml", + "line": 116, + "code": " (* Borrow check - TODO: re-enable when borrow checker is restored *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/bin/main.ml", + "line": 138, + "code": " (* TODO: Re-enable when REPL module is restored *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/affinescript/_build/default/bin/main.ml", + "line": 185, + "code": " (* Borrow check the program - TODO: re-enable when borrow checker is restored *)", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/cerro-torre/latest.json b/shared-context/findings/cerro-torre/latest.json deleted file mode 120000 index 63a764ce..00000000 --- a/shared-context/findings/cerro-torre/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215529.json \ No newline at end of file diff --git a/shared-context/findings/cerro-torre/latest.json b/shared-context/findings/cerro-torre/latest.json new file mode 100644 index 00000000..121673b6 --- /dev/null +++ b/shared-context/findings/cerro-torre/latest.json @@ -0,0 +1,9 @@ +{ + "submission_metadata": { + "repo": "cerro-torre", + "timestamp": "2026-02-06T21:55:29+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [] +} diff --git a/shared-context/findings/echidnabot/latest.json b/shared-context/findings/echidnabot/latest.json deleted file mode 120000 index 938ebf86..00000000 --- a/shared-context/findings/echidnabot/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215519.json \ No newline at end of file diff --git a/shared-context/findings/echidnabot/latest.json b/shared-context/findings/echidnabot/latest.json new file mode 100644 index 00000000..f3ed5e93 --- /dev/null +++ b/shared-context/findings/echidnabot/latest.json @@ -0,0 +1,428 @@ +{ + "submission_metadata": { + "repo": "echidnabot", + "timestamp": "2026-02-06T21:55:20+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/bitbucket.rs", + "line": 53, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/bitbucket.rs", + "line": 66, + "code": " clone_path.to_str().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/bitbucket.rs", + "line": 75, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/gitlab.rs", + "line": 53, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/gitlab.rs", + "line": 66, + "code": " clone_path.to_str().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/gitlab.rs", + "line": 75, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/github.rs", + "line": 48, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/github.rs", + "line": 61, + "code": " clone_path.to_str().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/adapters/github.rs", + "line": 71, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/api/webhooks.rs", + "line": 439, + "code": " let mut mac = Hmac::::new_from_slice(secret.as_bytes()).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/api/webhooks.rs", + "line": 446, + "code": " format!(\"sha256={}\", expected).parse().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 207, + "code": " let mut job = queue.remove(pos).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 272, + "code": " assert!(scheduler.enqueue(job1).await.unwrap().is_some());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 273, + "code": " assert!(scheduler.enqueue(job2).await.unwrap().is_some());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 278, + "code": " assert_eq!(started.unwrap().status, JobStatus::Running);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 306, + "code": " assert!(scheduler.enqueue(job1).await.unwrap().is_some());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 309, + "code": " assert!(scheduler.enqueue(job2).await.unwrap().is_none());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 334, + "code": " scheduler.enqueue(low_priority).await.unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 337, + "code": " scheduler.enqueue(high_priority).await.unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/job_queue.rs", + "line": 340, + "code": " let started = scheduler.try_start_next().await.unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/retry.rs", + "line": 254, + "code": " assert_eq!(result.unwrap(), 42);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/retry.rs", + "line": 280, + "code": " assert_eq!(result.unwrap(), 42);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/limiter.rs", + "line": 208, + "code": " let current = handle.await.unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/limiter.rs", + "line": 226, + "code": " let permit1 = limiter.try_acquire().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/scheduler/limiter.rs", + "line": 229, + "code": " let permit2 = limiter.try_acquire().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/main.rs", + "line": 647, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/main.rs", + "line": 659, + "code": " clone_path.to_str().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/main.rs", + "line": 667, + "code": " .args([\"clone\", \"--depth\", \"1\", &url, clone_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 169, + "code": " coordinator.connect(\"test-repo\", \"/tmp/test-repo\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 174, + "code": " coordinator.disconnect(5, 2, 10).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 181, + "code": " coordinator.connect(\"test-repo\", \"/tmp/test-repo\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 206, + "code": " coordinator.publish_finding(&job, &result).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 209, + "code": " let ctx = coordinator.context().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 217, + "code": " coordinator.connect(\"test-repo\", \"/tmp/test-repo\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 242, + "code": " coordinator.publish_finding(&job, &result).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 245, + "code": " let ctx = coordinator.context().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 278, + "code": " coordinator.publish_finding(&job, &result).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/echidnabot/src/fleet/mod.rs", + "line": 56, + "code": " // TODO: Persist context to ~/.gitbot-fleet/sessions/", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/git-hud/latest.json b/shared-context/findings/git-hud/latest.json deleted file mode 120000 index 132fbee0..00000000 --- a/shared-context/findings/git-hud/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-213803.json \ No newline at end of file diff --git a/shared-context/findings/git-hud/latest.json b/shared-context/findings/git-hud/latest.json new file mode 100644 index 00000000..370371c1 --- /dev/null +++ b/shared-context/findings/git-hud/latest.json @@ -0,0 +1,76 @@ +{ + "submission_metadata": { + "repo": "git-hud", + "timestamp": "2026-02-06T21:38:03+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/git-hud/frontend/src/Tea.affine", + "line": 121, + "code": " Webapi.Dom.Window.addEventListener(Webapi.Dom.window, \"keydown\", listener->Obj.magic)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/git-hud/frontend/src/Tea.affine", + "line": 123, + "code": " Webapi.Dom.Window.removeEventListener(Webapi.Dom.window, \"keydown\", listener->Obj.magic)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/git-hud/frontend/src/Tea.affine", + "line": 134, + "code": " Webapi.Dom.Window.addEventListener(Webapi.Dom.window, \"keyup\", listener->Obj.magic)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/git-hud/frontend/src/Tea.affine", + "line": 136, + "code": " Webapi.Dom.Window.removeEventListener(Webapi.Dom.window, \"keyup\", listener->Obj.magic)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/git-hud/frontend/src/Tea.affine", + "line": 145, + "code": " Webapi.Dom.Window.addEventListener(Webapi.Dom.window, \"resize\", listener->Obj.magic)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/git-hud/frontend/src/Tea.affine", + "line": 147, + "code": " Webapi.Dom.Window.removeEventListener(Webapi.Dom.window, \"resize\", listener->Obj.magic)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/glambot/latest.json b/shared-context/findings/glambot/latest.json deleted file mode 120000 index 0ef41e98..00000000 --- a/shared-context/findings/glambot/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-213728.json \ No newline at end of file diff --git a/shared-context/findings/glambot/latest.json b/shared-context/findings/glambot/latest.json new file mode 100644 index 00000000..65bcd0a3 --- /dev/null +++ b/shared-context/findings/glambot/latest.json @@ -0,0 +1,65 @@ +{ + "submission_metadata": { + "repo": "glambot", + "timestamp": "2026-02-06T21:37:28+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/glambot/target/debug/build/markup5ever-acddbbe0f565565f/out/named_entities.rs", + "line": 10, + "code": "/// assert_eq!(NAMED_ENTITIES.get(\"gt;\").unwrap(), &(62, 0));", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/glambot/target/release/build/markup5ever-d79fd0f77e893b53/out/named_entities.rs", + "line": 10, + "code": "/// assert_eq!(NAMED_ENTITIES.get(\"gt;\").unwrap(), &(62, 0));", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/glambot/src/analyzers/accessibility.rs", + "line": 57, + "code": " let md_image_re = Regex::new(r\"!\\[(.*?)\\]\\((.*?)\\)\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/glambot/src/analyzers/accessibility.rs", + "line": 58, + "code": " let adoc_image_re = Regex::new(r\"image::(.*?)\\[(.*?)\\]\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/glambot/src/analyzers/accessibility.rs", + "line": 173, + "code": " let md_link_re = Regex::new(r\"\\[(.*?)\\]\\((.*?)\\)\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/hyperpolymath-hypatia/latest.json b/shared-context/findings/hyperpolymath-hypatia/latest.json deleted file mode 120000 index d02c4ddc..00000000 --- a/shared-context/findings/hyperpolymath-hypatia/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260621-231906.json \ No newline at end of file diff --git a/shared-context/findings/hyperpolymath-hypatia/latest.json b/shared-context/findings/hyperpolymath-hypatia/latest.json new file mode 100644 index 00000000..5e3b49ed --- /dev/null +++ b/shared-context/findings/hyperpolymath-hypatia/latest.json @@ -0,0 +1,346 @@ +{ + "findings": [ + { + "reason": "Repository has 4 non-main remote branch(es). Policy: single main branch only.", + "type": "GS007", + "file": ".", + "action": "delete_remote_branches", + "rule_module": "git_state", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "src/ui/gossamer/README.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "scripts/ci-tools/Cargo.toml", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "scripts/bench-tools/Cargo.toml", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "ffi/zig/README.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/reports/audit/audit-2026-04-15-post.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/integration/github-registry.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/integration/github-registry.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/integration/a2ml-k9.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/architecture/system-integration.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/architecture/boundary-design-options.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/architecture/boundary-design-options.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/EXPLAINME.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/EXPLAINME.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "docs/EXPLAINME.adoc", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": "0-AI-MANIFEST.a2ml", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": ".audittraining/security-errors/polyglot-i18n.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": ".audittraining/security-errors/polyglot-i18n.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": ".audittraining/security-errors/echidnabot.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": ".audittraining/security-errors/SUMMARY.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "Code scanning (Hypatia): hypatia/structural_drift/SD022 -- Hypatia structural_drift: SD022 -- 19 day(s) old", + "type": "CSA001", + "file": ".audittraining/package-candidates/REPORT.md", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "20 total open code-scanning alert(s) -- security hygiene review", + "type": "CSA002", + "file": "hyperpolymath/hypatia", + "action": "review", + "rule_module": "code_scanning_alerts", + "severity": "medium" + }, + { + "reason": "doc references `src/lib/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": ".audittraining/package-candidates/REPORT.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/api/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": ".audittraining/security-errors/SUMMARY.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/api/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": ".audittraining/security-errors/echidnabot.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/i18n/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": ".audittraining/security-errors/polyglot-i18n.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/greetings/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": ".audittraining/security-errors/polyglot-i18n.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/rust/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "0-AI-MANIFEST.a2ml", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/interface/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/EXPLAINME.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/Burble/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/EXPLAINME.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/rust/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/EXPLAINME.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/bridges/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/architecture/boundary-design-options.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/core/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/architecture/boundary-design-options.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/auth/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/architecture/system-integration.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/rust/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/integration/a2ml-k9.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/commands/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/integration/github-registry.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/registry/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/integration/github-registry.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/ci_simulation/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "docs/reports/audit/audit-2026-04-15-post.md", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/connectors/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "ffi/zig/README.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/bin/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "scripts/bench-tools/Cargo.toml", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/bin/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "scripts/ci-tools/Cargo.toml", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + }, + { + "reason": "doc references `src/core/` but no such directory exists in the tree (likely surviving a directory rename)", + "type": "SD022", + "file": "src/ui/gossamer/README.adoc", + "action": "rename_sweep", + "rule_module": "structural_drift", + "severity": "medium" + } + ], + "submission_metadata": { + "repo": "hyperpolymath/hypatia", + "commit": "c2c552b845f7f2832ecf2c4b5de6bec8c764970a", + "submitted_at": "2026-06-21T23:19:07Z", + "scanner_version": "hypatia-v2" + } +} diff --git a/shared-context/findings/lithoglyph/latest.json b/shared-context/findings/lithoglyph/latest.json deleted file mode 120000 index efe5f663..00000000 --- a/shared-context/findings/lithoglyph/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215640.json \ No newline at end of file diff --git a/shared-context/findings/lithoglyph/latest.json b/shared-context/findings/lithoglyph/latest.json new file mode 100644 index 00000000..d80f40c4 --- /dev/null +++ b/shared-context/findings/lithoglyph/latest.json @@ -0,0 +1,538 @@ +{ + "submission_metadata": { + "repo": "lithoglyph", + "timestamp": "2026-02-06T21:56:42+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/tools/sdk-gen/src/Main.affine", + "line": 42, + "code": " let file = files[i]->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 133, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 175, + "code": " let obj = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 202, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 243, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 295, + "code": " let obj = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 344, + "code": " let obj = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 377, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 432, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/FormDB.affine", + "line": 471, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 151, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 215, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 302, + "code": " ->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 358, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 363, + "code": " ->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 372, + "code": " let s = step->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 428, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 434, + "code": " let col = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 462, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 504, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 553, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 560, + "code": " let entry = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 632, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 643, + "code": " let fd = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 689, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 709, + "code": " let v = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 735, + "code": " let r = item->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 777, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 854, + "code": " let obj = json->JSON.Decode.object->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/clients/rescript/src/Lithoglyph.affine", + "line": 914, + "code": " ->Option.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/lithoglyph/integrations/strapi/src/FormDB_Strapi_Types.affine", + "line": 31, + "code": " debug: string => unit,", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/lithoglyph/tests/property/src/FormDB_Property_Generators.affine", + "line": 50, + "code": " Some(arr[intInRange(rng, ~min=0, ~max=len)]->Option.getExn)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/lithoglyph/analytics/src/FormDB_Analytics_Window.affine", + "line": 334, + "code": " let value = applyWindowFunction(func, sorted, i, spec)", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 49, + "code": " let mut tree = self.tree.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 52, + "code": " let mut stats = self.stats.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 66, + "code": " let mut tree = self.tree.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 69, + "code": " let mut stats = self.stats.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 78, + "code": " let mut tree = self.tree.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 81, + "code": " let mut stats = self.stats.write().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 87, + "code": " let tree = self.tree.read().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 104, + "code": " let tree = self.tree.read().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 139, + "code": " let tree = self.tree.read().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 159, + "code": " self.stats.read().unwrap().clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 164, + "code": " self.tree.read().unwrap().size()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/index/rtree.rs", + "line": 211, + "code": " assert!(results[0].distance_km.unwrap() < 1.0); // Should be very close", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/formbd/mod.rs", + "line": 187, + "code": " let loc = Client::extract_location(&doc, \"location\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/formbd/mod.rs", + "line": 202, + "code": " let loc = Client::extract_location(&doc, \"location\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/lithoglyph/geo/src/formbd/mod.rs", + "line": 220, + "code": " let loc = Client::extract_location(&doc, \"location\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/rhodibot/latest.json b/shared-context/findings/rhodibot/latest.json deleted file mode 120000 index 0ef41e98..00000000 --- a/shared-context/findings/rhodibot/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-213728.json \ No newline at end of file diff --git a/shared-context/findings/rhodibot/latest.json b/shared-context/findings/rhodibot/latest.json new file mode 100644 index 00000000..40e778cf --- /dev/null +++ b/shared-context/findings/rhodibot/latest.json @@ -0,0 +1,9 @@ +{ + "submission_metadata": { + "repo": "rhodibot", + "timestamp": "2026-02-06T21:37:28+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [] +} diff --git a/shared-context/findings/robot-repo-automaton/latest.json b/shared-context/findings/robot-repo-automaton/latest.json deleted file mode 120000 index 9b19e567..00000000 --- a/shared-context/findings/robot-repo-automaton/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215523.json \ No newline at end of file diff --git a/shared-context/findings/robot-repo-automaton/latest.json b/shared-context/findings/robot-repo-automaton/latest.json new file mode 100644 index 00000000..e65886b5 --- /dev/null +++ b/shared-context/findings/robot-repo-automaton/latest.json @@ -0,0 +1,428 @@ +{ + "submission_metadata": { + "repo": "robot-repo-automaton", + "timestamp": "2026-02-06T21:55:24+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/cicd_hyper_a.rs", + "line": 379, + "code": " let json = serde_json::to_string(&pattern).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 258, + "code": " let temp = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 259, + "code": " std::fs::write(temp.path().join(\"main.rs\"), \"fn main() {}\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 260, + "code": " std::fs::write(temp.path().join(\"lib.js\"), \"export default {}\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 262, + "code": " let detector = Detector::new(temp.path().to_path_buf()).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 269, + "code": " let temp = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 270, + "code": " std::fs::create_dir_all(temp.path().join(\".github/workflows\")).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 275, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/src/detector.rs", + "line": 277, + "code": " let detector = Detector::new(temp.path().to_path_buf()).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/catalog_tests.rs", + "line": 108, + "code": " assert_eq!(err.unwrap().name, \"Test Error\");", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/catalog_tests.rs", + "line": 161, + "code": " let catalog = ErrorCatalog::parse(catalog_critical).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/catalog_tests.rs", + "line": 171, + "code": " let catalog = ErrorCatalog::parse(catalog_high).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 14, + "code": " fs::write(path.join(\"README.md\"), \"# Test Repo\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 15, + "code": " fs::write(path.join(\"LICENSE\"), \"MIT License\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 16, + "code": " fs::create_dir_all(path.join(\"src\")).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 17, + "code": " fs::write(path.join(\"src/main.rs\"), \"fn main() {}\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 75, + "code": " let detector = Detector::new(path).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 77, + "code": " let catalog = ErrorCatalog::parse(CATALOG_WITH_README).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 90, + "code": " let temp = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 94, + "code": " fs::write(path.join(\"main.rs\"), \"fn main() {}\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 96, + "code": " let detector = Detector::new(path).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 97, + "code": " let catalog = ErrorCatalog::parse(CATALOG_WITH_README).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 110, + "code": " let temp = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 114, + "code": " fs::write(path.join(\".env\"), \"API_KEY=secret123\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 116, + "code": " let detector = Detector::new(path).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 117, + "code": " let catalog = ErrorCatalog::parse(CATALOG_WITH_SECRET).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 131, + "code": " let detector = Detector::new(path).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 136, + "code": " assert_eq!(lang.unwrap(), \"rust\");", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 141, + "code": " let temp = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 144, + "code": " fs::create_dir_all(path.join(\"src\")).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 145, + "code": " fs::write(path.join(\"src/main.rs\"), \"fn main() {}\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 146, + "code": " fs::write(path.join(\"src/app.js\"), \"console.log('hi');\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 147, + "code": " fs::write(path.join(\"src/lib.py\"), \"print('hello')\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 149, + "code": " let detector = Detector::new(path).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 159, + "code": " let temp = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 163, + "code": " fs::write(path.join(\"main.rs\"), \"fn main() {}\\n\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 165, + "code": " let detector = Detector::new(path.clone()).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/robot-repo-automaton/tests/detector_tests.rs", + "line": 166, + "code": " let catalog = ErrorCatalog::parse(CATALOG_WITH_README).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/scaffoldia/latest.json b/shared-context/findings/scaffoldia/latest.json deleted file mode 120000 index 0fd97cda..00000000 --- a/shared-context/findings/scaffoldia/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215643.json \ No newline at end of file diff --git a/shared-context/findings/scaffoldia/latest.json b/shared-context/findings/scaffoldia/latest.json new file mode 100644 index 00000000..b1f3ab96 --- /dev/null +++ b/shared-context/findings/scaffoldia/latest.json @@ -0,0 +1,9 @@ +{ + "submission_metadata": { + "repo": "scaffoldia", + "timestamp": "2026-02-06T21:56:43+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [] +} diff --git a/shared-context/findings/seambot/latest.json b/shared-context/findings/seambot/latest.json deleted file mode 120000 index 0ef41e98..00000000 --- a/shared-context/findings/seambot/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-213728.json \ No newline at end of file diff --git a/shared-context/findings/seambot/latest.json b/shared-context/findings/seambot/latest.json new file mode 100644 index 00000000..6b33ecd9 --- /dev/null +++ b/shared-context/findings/seambot/latest.json @@ -0,0 +1,142 @@ +{ + "submission_metadata": { + "repo": "seambot", + "timestamp": "2026-02-06T21:37:28+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/src/register.rs", + "line": 253, + "code": "GLOBAL_STATE.write().unwrap().set_value(input);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/check_register.rs", + "line": 46, + "code": " assert!(!seam[\"frozen\"].as_bool().unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 53, + "code": " let serialized = serde_json::to_string(&output).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 65, + "code": " let parsed: serde_json::Value = serde_json::from_str(&json).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 77, + "code": " let parsed: serde_json::Value = serde_json::from_str(&json).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 97, + "code": " let parsed: serde_json::Value = serde_json::from_str(&json).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 147, + "code": " assert!(claims[\"iat\"].as_i64().unwrap() < claims[\"exp\"].as_i64().unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 158, + "code": " let parsed: serde_json::Value = serde_json::from_str(response).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 159, + "code": " assert!(parsed[\"token\"].as_str().unwrap().starts_with(\"ghs_\"));", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 160, + "code": " assert!(parsed[\"expires_at\"].as_str().unwrap().contains(\"T\"));", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 183, + "code": " let parsed: serde_json::Value = serde_json::from_str(check_suite_event).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/seambot/tests/github_integration.rs", + "line": 210, + "code": " let parsed: serde_json::Value = serde_json::from_str(pr_event).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/sustainabot/latest.json b/shared-context/findings/sustainabot/latest.json deleted file mode 120000 index 5cd42ea4..00000000 --- a/shared-context/findings/sustainabot/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-213729.json \ No newline at end of file diff --git a/shared-context/findings/sustainabot/latest.json b/shared-context/findings/sustainabot/latest.json new file mode 100644 index 00000000..e8ec47cf --- /dev/null +++ b/shared-context/findings/sustainabot/latest.json @@ -0,0 +1,32 @@ +{ + "submission_metadata": { + "repo": "sustainabot", + "timestamp": "2026-02-06T21:37:29+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/sustainabot/bot-integration/src/Analysis.affine", + "line": 27, + "code": " Ok(Obj.magic(json))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/sustainabot/bot-integration/src/Analysis.affine", + "line": 63, + "code": " Ok(Obj.magic(json))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + } + ] +} diff --git a/shared-context/findings/vordr/latest.json b/shared-context/findings/vordr/latest.json deleted file mode 120000 index 88485739..00000000 --- a/shared-context/findings/vordr/latest.json +++ /dev/null @@ -1 +0,0 @@ -20260206-215627.json \ No newline at end of file diff --git a/shared-context/findings/vordr/latest.json b/shared-context/findings/vordr/latest.json new file mode 100644 index 00000000..1d3c5e6b --- /dev/null +++ b/shared-context/findings/vordr/latest.json @@ -0,0 +1,3750 @@ +{ + "submission_metadata": { + "repo": "vordr", + "timestamp": "2026-02-06T21:56:40+00:00", + "scanner": "hypatia", + "version": "1.0.0" + }, + "findings": [ + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/mod.rs", + "line": 299, + "code": " // TODO: Implement registry client", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/profile.rs", + "line": 588, + "code": " let config_dir = get_config_path()?.parent().unwrap().join(\"profiles\");", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/run.rs", + "line": 280, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/run.rs", + "line": 144, + "code": " // TODO: Pull image if not present", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/volume.rs", + "line": 121, + "code": " Some(serde_json::to_string(&map).unwrap())", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/volume.rs", + "line": 138, + "code": " Some(serde_json::to_string(&map).unwrap())", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/cli/volume.rs", + "line": 145, + "code": " mountpoint.to_str().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 295, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 309, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 322, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 515, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 527, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 540, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 553, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 564, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 576, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 587, + "code": " let spec = OciConfigBuilder::new().build().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 596, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 598, + "code": " let process = spec.process().as_ref().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 599, + "code": " assert_eq!(process.args().as_ref().unwrap()[0], \"echo\");", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 604, + "code": " let spec = OciConfigBuilder::new().readonly_rootfs(true).build().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/config.rs", + "line": 606, + "code": " let root = spec.root().as_ref().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 158, + "code": " bundle_path.to_str().unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 388, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 390, + "code": " std::fs::create_dir_all(&root_dir).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 393, + "code": " let state = StateManager::open_in_memory().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 402, + "code": " ).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 434, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 213, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 232, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 258, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 284, + "code": " unsafe {", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_without_doc", + "pattern": "undocumented_unsafe", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 366, + "code": " unsafe { libc::kill(pid, 0) == 0 }", + "cwe": "CWE-1188", + "fix": "Add comment explaining why unsafe is needed and safety invariants", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 316, + "code": " // TODO: Implement cgroup freezer", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/lifecycle.rs", + "line": 339, + "code": " // TODO: Implement cgroup freezer", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 771, + "code": " let state = StateManager::open_in_memory().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 782, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 787, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 790, + "code": " let container = state.get_container(\"my-container\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 798, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 800, + "code": " let container = state.get_container(\"ctr-456\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 805, + "code": " state.set_container_exit_code(\"ctr-456\", 0).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 807, + "code": " let container = state.get_container(\"ctr-456\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 812, + "code": " state.delete_container(\"ctr-456\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 818, + "code": " let state = StateManager::open_in_memory().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 830, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 833, + "code": " let network = state.get_network(\"my-network\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 838, + "code": " let networks = state.list_networks().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 842, + "code": " state.delete_network(\"net-123\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 848, + "code": " let state = StateManager::open_in_memory().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 860, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 863, + "code": " let image = state.get_image(\"img-123\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 868, + "code": " let image = state.get_image(\"sha256:abc123def456\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/engine/state.rs", + "line": 872, + "code": " let images = state.list_images().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/ffi/gatekeeper.rs", + "line": 102, + "code": "/// gatekeeper::init().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/rust/mcp/server.rs", + "line": 677, + "code": " // TODO: Implement actual image verification via Idris2 core", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/network/netavark.rs", + "line": 333, + "code": " let json = serde_json::to_string(&config).unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/registry/mod.rs", + "line": 403, + "code": " let ref1 = ImageReference::parse(\"alpine\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/registry/mod.rs", + "line": 411, + "code": " let ref1 = ImageReference::parse(\"alpine:3.19\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/registry/mod.rs", + "line": 419, + "code": " let ref1 = ImageReference::parse(\"nginx/nginx:latest\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/registry/mod.rs", + "line": 427, + "code": " let ref1 = ImageReference::parse(\"ghcr.io/owner/repo:v1.0\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/registry/mod.rs", + "line": 438, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/rust/runtime/ttrpc.rs", + "line": 62, + "code": " // TODO: Implement TTRPC create call", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/build.rs", + "line": 17, + "code": " let manifest_dir = env::var(\"CARGO_MANIFEST_DIR\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/build.rs", + "line": 125, + "code": " let out_dir = PathBuf::from(env::var(\"OUT_DIR\").unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/ebpf/anomaly.rs", + "line": 169, + "code": "// assert_eq!(report.unwrap().level, AnomalyLevel::Critical);", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/ebpf/probes.rs", + "line": 160, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/ebpf/probes.rs", + "line": 168, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-e7efb524a08d3301/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-face46efdc9ecf23/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-077d8c3b2c913b55/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-a9818f1332602423/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-cf9d1659ec3d5895/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/debug/build/ttrpc-436c64188e27d1ad/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 326, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Request\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 518, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"KeyValue\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 710, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Any\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 935, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Status\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 1132, + "code": " descriptor.get(|| file_descriptor().message_by_package_relative_name(\"Response\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 1262, + "code": " descriptor.get(|| file_descriptor().enum_by_package_relative_name(\"Code\").unwrap()).clone()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/target/release/build/ttrpc-501d6f44803e7f7d/out/ttrpc.rs", + "line": 1329, + "code": " ::protobuf::Message::parse_from_bytes(file_descriptor_proto_data).unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 25, + "code": " .args([\"--db-path\", db_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 26, + "code": " .args([\"--root\", root_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 47, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 56, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 68, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 128, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 161, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 171, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 193, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 202, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 218, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_integration.rs", + "line": 231, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 29, + "code": " .args([\"--db-path\", db_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 30, + "code": " .args([\"--root\", root_path.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 68, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 80, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 94, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 102, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 112, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 130, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 152, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 166, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 175, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 184, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 197, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 206, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 215, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 229, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 237, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 246, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 259, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 269, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 288, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 301, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 310, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 329, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 342, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 353, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 366, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 384, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 397, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 412, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 420, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 432, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 447, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 459, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 472, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 481, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 496, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 517, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 527, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 544, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 558, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 572, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 581, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 590, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 594, + "code": " .args([\"--db-path\", custom_db.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 605, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 609, + "code": " .args([\"--db-path\", temp_dir.path().join(\"test.db\").to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 625, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 673, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 682, + "code": " .args([\"--db-path\", db.to_str().unwrap()])", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/cli_expanded.rs", + "line": 692, + "code": " let output = handle.join().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/ebpf_unit_tests.rs", + "line": 323, + "code": " assert!(!result.unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/tests/ebpf_unit_tests.rs", + "line": 462, + "code": " .unwrap()", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 12, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 16, + "code": " let lifecycle = ContainerLifecycle::new(&db_path, &root_dir, \"youki\").unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 28, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 36, + "code": " let temp_dir = TempDir::new().unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 38, + "code": " black_box(StateManager::open(&db_path).unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 65, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 95, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 100, + "code": " black_box(lifecycle.state.list_containers(None).unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 120, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 124, + "code": " black_box(lifecycle.state.get_container(\"bench-get\").unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 130, + "code": " black_box(lifecycle.state.get_container(\"bench-get-container\").unwrap());", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 155, + "code": " .unwrap();", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "high", + "type": "unsafe_panic", + "pattern": "unwrap_without_check", + "file": "/var$REPOS_DIR/vordr/src/rust/benches/container_lifecycle.rs", + "line": 161, + "code": " .unwrap(),", + "cwe": "CWE-754", + "fix": "Replace unwrap() with ? operator or match", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/src/HttpServer.affine", + "line": 245, + "code": " Js.Console.log(request.params->Belt.Option.getExn)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_Array.affine", + "line": 35, + "code": "let getExn = (arr, i) => {", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_Array.affine", + "line": 78, + "code": " /* TODO: improve */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalAVLset.affine", + "line": 605, + "code": "let rec getExn = (n: t<_>, x, ~cmp) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalAVLset.affine", + "line": 614, + "code": " getExn(", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalAVLset.affine", + "line": 91, + "code": "/* TODO: inline all `create` operation, save duplicated `heightGet` calcuation */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalAVLtree.affine", + "line": 736, + "code": "let rec getExn = (n, x, ~cmp) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalAVLtree.affine", + "line": 745, + "code": " getExn(", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalAVLtree.affine", + "line": 204, + "code": "/* TODO: use kv ref */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalBuckets.affine", + "line": 23, + "code": "/* TODO", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalMapInt.affine", + "line": 66, + "code": "let rec getExn = (n, x: key) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalMapInt.affine", + "line": 74, + "code": " getExn(", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalMapString.affine", + "line": 66, + "code": "let rec getExn = (n, x: key) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalMapString.affine", + "line": 74, + "code": " getExn(", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalSetBuckets.affine", + "line": 28, + "code": "/* TODO", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalSetInt.affine", + "line": 107, + "code": "let rec getExn = (n: t, x: value) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalSetInt.affine", + "line": 115, + "code": " getExn(", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalSetString.affine", + "line": 107, + "code": "let rec getExn = (n: t, x: value) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_internalSetString.affine", + "line": 115, + "code": " getExn(", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_List.affine", + "line": 139, + "code": "let getExn = (x, n) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_List.affine", + "line": 499, + "code": "/* TODO: best practice about raising excpetion", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_Map.affine", + "line": 138, + "code": "let getExn = (map, x) => Dict.getExn(~cmp=map.cmp, map.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MapDict.affine", + "line": 67, + "code": "let getExn = N.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MapInt.affine", + "line": 188, + "code": "let getExn = I.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MapString.affine", + "line": 188, + "code": "let getExn = I.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableMap.affine", + "line": 202, + "code": "let getExn = (m, x) => N.getExn(~cmp=m.cmp, m.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableMapInt.affine", + "line": 176, + "code": "let getExn = (d, x) => I.getExn(d.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableMapString.affine", + "line": 176, + "code": "let getExn = (d, x) => I.getExn(d.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableQueue.affine", + "line": 49, + "code": " /* TODO: better names for intermediate var */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableQueue.affine", + "line": 154, + "code": " /* TODO: optimize to remove such check */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableQueue.affine", + "line": 223, + "code": "/* TODO: optimize */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableSet.affine", + "line": 242, + "code": "let getExn = (d, x) => N.getExn(~cmp=d.cmp, d.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableSetInt.affine", + "line": 232, + "code": "let getExn = (d, x) => I.getExn(d.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_MutableSetString.affine", + "line": 232, + "code": "let getExn = (d, x) => I.getExn(d.data, x)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_Option.affine", + "line": 41, + "code": "let getExn = x =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_Result.affine", + "line": 29, + "code": "let getExn = x =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_Set.affine", + "line": 139, + "code": "let getExn = (m, e) => Dict.getExn(~cmp=m.cmp, m.data, e)", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_SetDict.affine", + "line": 254, + "code": "let getExn = N.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_SetInt.affine", + "line": 118, + "code": "let getExn = I.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/belt_SetString.affine", + "line": 118, + "code": "let getExn = I.getExn", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/dom.affine", + "line": 5, + "code": "/* TODO: Should we bother with this indirection?", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/dom.affine", + "line": 273, + "code": "/* selection (TODO: move out of dom?) */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/int32.affine", + "line": 58, + "code": " /* TODO: expose a non-raising primitive directly. */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/int64.affine", + "line": 59, + "code": " /* TODO: expose a non-raising primitive directly. */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_date.affine", + "line": 1300, + "code": "/* TODO: has overloads with somewhat poor browser support */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_date.affine", + "line": 1318, + "code": "/* TODO: has overloads with somewhat poor browser support */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_date.affine", + "line": 1335, + "code": "/* TODO: has overloads with somewhat poor browser support */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 43, + "code": "let raiseError = str => raise((Obj.magic((makeError(str): error)): exn))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 48, + "code": "let raiseEvalError = str => raise((Obj.magic((makeEvalError(str): eval_error)): exn))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 53, + "code": "let raiseRangeError = str => raise((Obj.magic((makeRangeError(str): range_error)): exn))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 59, + "code": "let raiseReferenceError = str => raise(Obj.magic(makeReferenceError(str)))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 64, + "code": "let raiseSyntaxError = str => raise(Obj.magic(makeSyntaxError(str)))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 69, + "code": "let raiseTypeError = str => raise(Obj.magic(makeTypeError(str)))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_exn.affine", + "line": 74, + "code": "let raiseUriError = str => raise(Obj.magic(makeURIError(str)))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 59, + "code": " JSONString(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 61, + "code": " JSONNumber(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 63, + "code": " if Obj.magic(x) == true {", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 68, + "code": " } else if Obj.magic(x) === Js.null {", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 71, + "code": " JSONArray(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 73, + "code": " JSONObject(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 82, + "code": " | Kind.Null => Obj.magic(x) === Js.null", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 84, + "code": " | Kind.Object => Obj.magic(x) !== Js.null && (Js.typeof(x) == \"object\" && !Js_array2.isArray(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 89, + "code": " Some((Obj.magic((json: t)): string))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 96, + "code": " Some((Obj.magic((json: t)): float))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 105, + "code": " !((Obj.magic(json): Js.null<'a>) === Js.null))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 107, + "code": " Some((Obj.magic((json: t)): Js_dict.t))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 114, + "code": " Some((Obj.magic((json: t)): array))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 121, + "code": " Some((Obj.magic((json: t)): bool))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 127, + "code": " if (Obj.magic(json): Js.null<'a>) === Js.null {", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_json.affine", + "line": 139, + "code": "/* TODO: more docs when parse error happens or stringify non-stringfy value */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_null_undefined.affine", + "line": 42, + "code": " | None => (Obj.magic((x: t<'a>)): t<'b>)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_null.affine", + "line": 39, + "code": "let getExn = f =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_null.affine", + "line": 41, + "code": " | None => Js_exn.raiseError(\"Js.Null.getExn\")", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_obj.affine", + "line": 68, + "code": "/* TODO", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_option.affine", + "line": 84, + "code": "If the argument to `getExn()` is of the form `Some(value)`, returns `value`.", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_option.affine", + "line": 85, + "code": "If given `None`, it throws a `getExn` exception.", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_option.affine", + "line": 87, + "code": "let getExn = x =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_option.affine", + "line": 89, + "code": " | None => Js_exn.raiseError(\"getExn\")", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_promise.affine", + "line": 102, + "code": " if Caml_exceptions.isCamlExceptionOrOpenVariant (Obj.magic x ) then", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_promise.affine", + "line": 103, + "code": " e (Obj.magic x)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_string2.affine", + "line": 985, + "code": "/* FIXME: we should not encourage people to use [%identity], better", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 67, + "code": " } else if x === Obj.magic(Js_null.empty) {", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 70, + "code": " JSNumber(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 72, + "code": " JSBigInt(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 74, + "code": " JSString(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 76, + "code": " if Obj.magic(x) == true {", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 82, + "code": " JSSymbol(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 84, + "code": " JSFunction(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 86, + "code": " JSObject(Obj.magic(x))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 95, + "code": " | Null => x === Obj.magic(Js_null.empty)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 58, + "code": " | JSFunction(function_val)", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_types.affine", + "line": 84, + "code": " JSFunction(Obj.magic(x))", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_undefined.affine", + "line": 37, + "code": "let getExn = f =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_undefined.affine", + "line": 39, + "code": " | None => Js_exn.raiseError(\"Js.Undefined.getExn\")", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_undefined.affine", + "line": 34, + "code": "let testAny: 'a => bool = x => Obj.magic(x) == empty", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/js_vector.affine", + "line": 149, + "code": "/* TODO: add `append` */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/parsing.affine", + "line": 186, + "code": " | YYexit(v) => Obj.magic(v)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/parsing.affine", + "line": 194, + "code": " tables.transl_const[Obj.magic(tok)] == curr_char", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/parsing.affine", + "line": 202, + "code": "let peek_val = (env, n) => Obj.magic(env.v_stack[env.asp - n])", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/pervasives.affine", + "line": 244, + "code": " /* TODO: provide this directly as a non-raising primitive. */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/pervasives.affine", + "line": 271, + "code": " /* TODO: provide this directly as a non-raising primitive. */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/pervasivesU.affine", + "line": 245, + "code": " /* TODO: provide this directly as a non-raising primitive. */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/rescript/lib/ocaml/pervasivesU.affine", + "line": 272, + "code": " /* TODO: provide this directly as a non-raising primitive. */", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Console.affine", + "line": 14, + "code": "@val external debug: 'a => unit = \"console.debug\"", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 84, + "code": " Core__Type.typeof(json) === #boolean ? Some((Obj.magic(json): bool)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 85, + "code": " let null = (json: t) => Obj.magic(json) === Core__Null.null ? Some(Core__Null.null) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 87, + "code": " Core__Type.typeof(json) === #string ? Some((Obj.magic(json): string)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 89, + "code": " Core__Type.typeof(json) === #number ? Some((Obj.magic(json): float)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 94, + "code": " !(Obj.magic(json) === Core__Null.null)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 96, + "code": " Some((Obj.magic(json): Core__Dict.t))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__JSON.affine", + "line": 100, + "code": " let array = (json: t) => Core__Array.isArray(json) ? Some((Obj.magic(json): array)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__List.affine", + "line": 159, + "code": "let getExn = (x, n) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__List.affine", + "line": 511, + "code": "/* TODO: best practice about raising excpetion", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Null.affine", + "line": 32, + "code": "let getExn: t<'a> => 'a = value =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Null.affine", + "line": 35, + "code": " | None => raise(Invalid_argument(\"Null.getExn: value is null\"))", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Nullable.affine", + "line": 35, + "code": "let getExn: t<'a> => 'a = value =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Nullable.affine", + "line": 38, + "code": " | None => raise(Invalid_argument(\"Nullable.getExn: value is null or undefined\"))", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Nullable.affine", + "line": 52, + "code": " | None => Obj.magic(value)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Nullable.affine", + "line": 66, + "code": " | None => Obj.magic(value)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Option.affine", + "line": 37, + "code": "let getExn = (x, ~message=?) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Option.affine", + "line": 43, + "code": " | None => \"Option.getExn called for None value\"", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Result.affine", + "line": 25, + "code": "let getExn = x =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Type.affine", + "line": 16, + "code": " | Function(function)", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/src/Core__Type.affine", + "line": 39, + "code": " Function(_asFunction(value))", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Nullable.affine", + "line": 35, + "code": "let getExn: t<'a> => 'a = value =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Nullable.affine", + "line": 38, + "code": " | None => raise(Invalid_argument(\"Nullable.getExn: value is null or undefined\"))", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Nullable.affine", + "line": 52, + "code": " | None => Obj.magic(value)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Nullable.affine", + "line": 66, + "code": " | None => Obj.magic(value)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Console.affine", + "line": 14, + "code": "@val external debug: 'a => unit = \"console.debug\"", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Result.affine", + "line": 25, + "code": "let getExn = x =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Option.affine", + "line": 37, + "code": "let getExn = (x, ~message=?) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Option.affine", + "line": 43, + "code": " | None => \"Option.getExn called for None value\"", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__List.affine", + "line": 159, + "code": "let getExn = (x, n) =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "info", + "type": "technical_debt", + "pattern": "debt_marker", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__List.affine", + "line": 511, + "code": "/* TODO: best practice about raising excpetion", + "cwe": "CWE-1057", + "fix": "Create issue for technical debt item and prioritize by age", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Null.affine", + "line": 32, + "code": "let getExn: t<'a> => 'a = value =>", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "unsafe_crash", + "pattern": "getexn_on_external_data", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Null.affine", + "line": 35, + "code": " | None => raise(Invalid_argument(\"Null.getExn: value is null\"))", + "cwe": "CWE-754", + "fix": "Replace getExn with switch/match or getWithDefault", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Type.affine", + "line": 16, + "code": " | Function(function)", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "critical", + "type": "eval_usage", + "pattern": "dynamic_code_execution", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__Type.affine", + "line": 39, + "code": " Function(_asFunction(value))", + "cwe": "CWE-95", + "fix": "Replace with safe alternatives (JSON.parse, switch statements)", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 84, + "code": " Core__Type.typeof(json) === #boolean ? Some((Obj.magic(json): bool)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 85, + "code": " let null = (json: t) => Obj.magic(json) === Core__Null.null ? Some(Core__Null.null) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 87, + "code": " Core__Type.typeof(json) === #string ? Some((Obj.magic(json): string)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 89, + "code": " Core__Type.typeof(json) === #number ? Some((Obj.magic(json): float)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 94, + "code": " !(Obj.magic(json) === Core__Null.null)", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 96, + "code": " Some((Obj.magic(json): Core__Dict.t))", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + }, + { + "severity": "high", + "type": "type_safety_bypass", + "pattern": "obj_magic_bypass", + "file": "/var$REPOS_DIR/vordr/src/mcp-adapter/node_modules/@rescript/core/lib/ocaml/Core__JSON.affine", + "line": 100, + "code": " let array = (json: t) => Core__Array.isArray(json) ? Some((Obj.magic(json): array)) : None", + "cwe": "CWE-704", + "fix": "Remove Obj.magic and use proper type conversions", + "auto_fixable": false + } + ] +}