Skip to content

Add MobSF_AI module integration#2590

Open
ashishsecdev wants to merge 3 commits intoMobSF:masterfrom
ashishsecdev:main
Open

Add MobSF_AI module integration#2590
ashishsecdev wants to merge 3 commits intoMobSF:masterfrom
ashishsecdev:main

Conversation

@ashishsecdev
Copy link

@ashishsecdev ashishsecdev commented Feb 20, 2026

Describe the Pull Request

This Pull Request introduces MobSF_AI, an optional AI. assisted analysis module for MobSF using Chatbot endpoint with OpenAI.

MobSF AI enhances static analysis results by providing:
- AI driven contextual explanation of findings
- Risk prioritization suggestions
- Natural language summary of security issues
- Developer friendly remediation guidance

The goal of this module is NOT to replace MobSF’s existing detection engine but to augment the output layer with AI-assisted intelligence for better usability and faster triage.

Key Characteristics:
- Modular structure (can be enabled/disabled)
- Does not modify core scanning logic
- No impact on existing detection rules
- Designed to work post-analysis on generated reports

Architecture:
- AI processing is triggered after static analysis completion
- Consumes existing MobSF scan results (JSON)
- Generates additional enriched output section
- Keeps separation between core MobSF layer and Chatbot AI layer

This PR focuses on clean integration without affecting existing functionality.

Checklist for PR

  • Run MobSF unit tests and lint tox -e lint,test
  • Tested Working on Linux, Mac, Windows, and Docker
  • Add unit test for any new Web API (Refer: StaticAnalyzer/tests.py)
  • Make sure tests are passing on your PR MobSF tests

Additional Comments (if any)

DESCRIBE HERE

Copy link
Author

Choose a reason for hiding this comment

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

Auto generated test file with Coilot.

@ashishsecdev
Copy link
Author

PR for MobSF AI an optional Chatbot AI that provides AI assisted analysis module for MobSF using Chatbot endpoint with OpenAI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant