yahia-SA/fixiez

https://github.com/yahia-SA/fixiez

Scanned on Mar 25, 2026

10 Medium
4 Low

AI Assessment

VERDICT

This repository is likely production-ready from a security standpoint but has moderate code maintenance concerns. The codebase shows no security vulnerabilities, credential leaks, or dependency issues, but contains repeated code patterns and missing governance documentation that should be addressed before release.

TOP RISKS

→ The scanner detected a 36-line duplicated code block across multiple widget files: add_felix_widget.dart:135, edit_widget.dart:241, and felix_table.dart:205. This duplication creates maintenance overhead and increases the risk of inconsistent bug fixes or behavior divergence.

→ No LICENSE file was detected. This absence creates legal ambiguity around code usage and distribution rights.

→ No CI/CD configuration was found. This means automated testing and deployment safeguards are not in place.

→ No SECURITY.md file exists. This omission prevents users and security researchers from knowing how to responsibly report vulnerabilities.

→ No CODEOWNERS file was detected. Code ownership and review responsibilities are undefined.

WHAT TO FIX FIRST

Extract the 36-line duplicated widget code block from lib/presentation/pages/admin/widgets/ into a shared component or utility class. This single refactor would reduce maintenance burden and eliminate the risk of inconsistent implementations across admin widgets.

NOTE: All findings are medium or low severity. The scanner flagged no critical security issues, secrets, or dependency vulnerabilities. Verify the duplicated code detection against your actual source files to confirm scope and confirm these are true positives rather than false positives in pattern matching.

fix-prompt.md

Category Breakdown

Security0%Secrets & Credentials0%Dependencies0%Code Quality0%Best Practices0%
300/300
Security
200/200
Secrets & Credentials
150/150
Dependencies
100/100
Code Quality
93/100
Best Practices4 findings

Findings(14 in 5 groups)

Tip: 4 low-severity findings are style suggestions, not security risks.

The same code is copied in multiple places. If there's a bug in one copy, all the other copies still have it. This makes fixing bugs much harder.

AI Fix Prompt

In lib/presentation/pages/admin/widgets/add_felix_widget.dart at line 135, duplicated code was detected. Refactor it: 1. Identify the repeated code block 2. Extract it into a shared function with a descriptive name 3. Replace all multiple copies with calls to the new function 4. If the copies differ slightly, add parameters to the function to handle the differences 5. Make sure all existing behavior is preserved after the refactor

lib/presentation/pages/admin/widgets/add_felix_widget.dartL135
lib/presentation/pages/admin/widgets/edit_widget.dartL241
lib/presentation/pages/admin/widgets/felix_table.dartL205
lib/presentation/pages/admin/widgets/repair_requests_table.dartL40
lib/presentation/pages/admin/widgets/felix_table.dartL45

Your project has no license file. Without one, nobody can legally use, modify, or contribute to your code — even if it's public on GitHub.

AI Fix Prompt

Add a LICENSE file to your project root: 1. For open source: create a file called LICENSE and paste the MIT License text (most popular for open source) 2. For private/commercial: add a LICENSE file stating "All rights reserved" and your copyright 3. Choose a license at https://choosealicense.com if you're unsure 4. Add the license type to your package.json: "license": "MIT"

Your project has no automated checks (CI/CD). Code goes straight to production without any safety net — no tests run, no linting, no security checks.

AI Fix Prompt

Add a CI/CD pipeline to your project: 1. Create .github/workflows/ci.yml in your project 2. Add a basic workflow that runs on push and pull requests 3. Include steps for: install dependencies, run linter, run tests, build 4. Start simple — even just running 'npm test' on every push catches a lot of bugs 5. You can use ShipScanner's GitHub Action for automated code quality checks

Your project is missing a recommended best practice. Following best practices makes your project more professional, maintainable, and easier for others to contribute to.

AI Fix Prompt

Your project is missing: "No SECURITY.md file". Please add this to follow software development best practices. This improves project maintainability, collaboration, and professionalism.

Your project is missing a recommended best practice. Following best practices makes your project more professional, maintainable, and easier for others to contribute to.

AI Fix Prompt

Your project is missing: "No CODEOWNERS file". Please add this to follow software development best practices. This improves project maintainability, collaboration, and professionalism.

Share your ShipScanner

Show the world your code quality. Your report has a beautiful preview image built in.

Embed Trust Badge

Show your code quality score in your README. The badge updates automatically every time you re-scan.

README.md
ShipScanner: A 759
[![ShipScanner: A 759](https://shipscanner.dev/api/badge/cmn5o0rto0014jl046mj5tw6t)](https://shipscanner.dev/report/cmn5o0rto0014jl046mj5tw6t)