hossamelrifaei/Rick_and_Morty

https://github.com/hossamelrifaei/Rick_and_Morty

Scanned on Mar 27, 2026

1 High
5 Medium
4 Low

AI Assessment

VERDICT

Based on automated scanner findings, this application is not production-ready. A high-severity Android security issue exists that requires immediate remediation before deployment.

TOP RISKS

→ AndroidManifest.xml line 13 was flagged for exporting an activity without proper protection. The scanner detected that any app on the device can launch this exported activity, which may compromise application integrity or data access. This is the only high-severity finding and must be addressed before release.

→ ProGuard configuration files show duplicated code blocks across domain/proguard-rules.pro, data/proguard-rules.pro, and app/proguard-rules.pro. The scanner flagged 21-line duplications in each. While not a security issue, this creates maintenance burden and inconsistency.

→ No test suite was detected in the repository. Absence of automated tests increases risk of regressions and undetected defects reaching production.

→ Missing project documentation files: no LICENSE file, no SECURITY.md, and no CODEOWNERS file. These are governance gaps that prevent users from understanding licensing terms or reporting security issues responsibly.

WHAT TO FIX FIRST

Immediately review app/src/main/AndroidManifest.xml line 13 and add the android:exported="false" attribute to the flagged activity, or restrict access via intent-filters and proper permissions. This single change would eliminate the high-severity security finding and likely improve the overall score significantly.

Note: Verify the AndroidManifest.xml finding against your actual code—confirm whether the activity truly needs to be exported or if this is a configuration error.

fix-prompt.md

Category Breakdown

Security0%Secrets & Credentials0%Dependencies0%Code Quality0%Best Practices0%
240/300
Security1 finding
200/200
Secrets & Credentials
150/150
Dependencies
100/100
Code Quality
87/100
Best Practices5 findings

Findings(10 in 8 groups)

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

A security scanner found a potential vulnerability in your code. This should be investigated and fixed.

AI Fix Prompt

In app/src/main/AndroidManifest.xml at line 13, a security issue was detected: "The application exports an activity. Any application on the device can launch the exported activity which may compromise the integrity of your application or its data. Ensure that any exported activi". Please analyze this code and fix the security vulnerability. The issue is categorized as high severity. Look for unsafe patterns like unvalidated input, insecure configurations, or missing security checks.

app/src/main/AndroidManifest.xmlL13

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 domain/proguard-rules.pro at line 1, 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

domain/proguard-rules.proL1
data/proguard-rules.proL1
app/proguard-rules.proL1

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 app has no automated tests. You won't know if a code change breaks something until real users complain. This is the #1 reason apps break after updates.

AI Fix Prompt

Your project has no test files. Add basic tests: 1. Install a test framework: npm install -D vitest (or jest) 2. Create a __tests__ folder or add .test.ts files next to your source files 3. Start by writing tests for your most important functions — the ones that handle money, auth, or user data 4. Add a "test" script to your package.json: "test": "vitest" 5. Run tests with: npm test

This function is overly complex (complexity score: 10). It likely has hidden bugs that are hard to find, and AI coding tools will struggle to modify it correctly.

AI Fix Prompt

In data/src/main/java/com/example/data/remoteresponse/Results.kt at line 22, there's a function with cyclomatic complexity of 10 (should be under 15). Break it down: 1. Identify the different things this function does (each if/else branch, each loop) 2. Extract each logical step into its own smaller function with a clear name 3. The main function should read like a high-level description of the process 4. Each new function should do ONE thing and be easy to understand on its own 5. Aim for functions with complexity under 10

data/src/main/java/com/example/data/remoteresponse/Results.ktL22

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 dependency lock 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 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: B 654
[![ShipScanner: B 654](https://shipscanner.dev/api/badge/cmn8iwi8a0013l704pie44y16)](https://shipscanner.dev/report/cmn8iwi8a0013l704pie44y16)