Skip to content

charusui/Seguri_git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Seguri: The Hybrid-AI Security Suite

A Digital Hand to Hold for the Vulnerable


πŸ“– About Seguri

Seguri is a privacy-first mobile security application designed to protect the most vulnerable usersβ€”the elderly, the non-tech-savvy, and the "digitally invisible"β€”from digital fraud.

While the tech industry races to build tools for the savvy and connected, the most vulnerable are often left defenseless. Seguri bridges this gap. It is a Hybrid-AI Security Suite that combines an Offline-First Neural Network for instant detection with Accessibility-First Design.

Why it matters: Security is a human right, not a subscription privilege. By removing the barrier of internet connectivity and technical literacy, Seguri restores agency to the vulnerable in developing regions where data is costly and connectivity is scarce.


πŸš€ The 7 Core Pillars of Protection

Seguri provides a comprehensive defense system that works 24/7, mostly offline.

1. 24/7 Active Guard (Offline AI Core) πŸ‘οΈ

  • What it is: A background service that never sleeps unless deactivated.
  • How it works: Uses TensorFlow Lite to intercept incoming messages and notifications from SMS, Messenger, WhatsApp, Viber, and others.
  • The Edge: Runs entirely offline. It blocks threats in milliseconds without needing Wi-Fi or Data, and preserves battery life by sleeping when inactive.

2. Manual Text Scanner (On-Device) πŸ“

  • What it is: A privacy-centric tool for checking suspicious emails or website text.
  • How it works: Users paste text manually to be analyzed by the local AI.
  • Privacy Guarantee: The analysis happens strictly on the device's RAM (Volatile Memory). The text is analyzed and instantly wiped; it is never uploaded to any server.

3. Scam "First Aid" Kit (Offline Guide) πŸš‘

  • What it is: A "Digital Paramedic" for when a user panics.
  • How it works: An interactive, step-by-step emergency guide available 100% offline.
  • Accessibility: Uses large buttons and reassuring color changes (Orange to Green) to guide the elderly through critical steps like "Turn off Internet" or "Check for Unknown Downloads" immediately after a hack.

4. Cybersecurity News Feed (Online Feature) πŸ“°

  • What it is: A live dashboard for awareness.
  • How it works: When online, it uses Google Gemini to fetch real-time updates on the latest scam tactics prevalent in your specific country (e.g., "Sim Registration Scams" or "Holiday Phishing").
  • Benefit: Keeps the user informed about new threats before they happen.

5. Hybrid AI Security Chatbot πŸ€–

  • What it is: An intelligent assistant that adapts to your connectivity.
  • Offline Mode: Instantly answers common safety questions using Offline Ready Questions (Pre-set logic for fast, hardcoded safety advice).
  • Online Mode: Connects to an LLM (Gemini AI) for specific, complex inquiries (e.g., "Is this specific URL format safe?").

6. Regional Customization 🌍

  • What it is: Context-aware protection engineered for the Global South.
  • How it works: The scanning engine automatically loads TFLite weights tailored to the user's region.
  • The Edge: Detects cultural nuances that western models miss.
    • Example: Detecting "Taglish" (Tagalog-English) slang scams in the Philippines vs. Tax Fraud syntax in the USA.

7. Secure Evidence Log (Local Storage) πŸ“‚

  • What it is: A digital paper trail.
  • How it works: Automatically saves a history of detected threats and blocked messages using secure local key-value storage.
  • Benefit: Provides read-only Local Storage evidence that users can show to banks or police authorities if fraud occurs, without the data ever leaving the phone.

⚑ Technical Architecture

Architecture Summary

Feature Technology Connectivity Privacy Status
Active Guard TFLite + Local Heuristics πŸ“΄ Offline 100% Private (On-Device)
Manual Scanner TFLite + Local Heuristics πŸ“΄ Offline 100% Private (RAM Only)
First Aid Kit Interactive UI πŸ“΄ Offline 100% Private (Embedded)
Evidence Log Shared Preferences πŸ“΄ Offline 100% Private (Local Storage)
Chatbot Hybrid Logic πŸ”„ Hybrid Common Questions + Gemini AI
News Feed Gemini AI πŸ“Ά Online Public Data Fetch

How We Built It: The Logic of Empathy

To solve a human problem, we adopted a Privacy-First, Offline-First architecture.

  1. The Brain (Context-Aware Scanning Engine): We trained multiple model weights using Python and TensorFlow.
    • Global Layer: Trained on standard datasets (UCIML) for universal threats.
    • Local Layer: Trained on localized datasets to detect cultural nuances (e.g., local slang).
  2. The Logic (Hybrid Detection): Built with Flutter, we defined our detection logic as a gated function that prioritizes human heuristics over raw probability to reduce false positives.
  3. The Cloud (Gemini): We engineered Gemini integration as a strictly optional layer. The core protection remains 100% offline.

🚧 Challenges & Solutions

The False Positive Paradox

Early in development, our AI was paranoid. It flagged innocent messages like "Grandma, I'm coming home, please cook dinner" as scams because it detected urgency. We learned that training on "Spam Only" datasets destroyed nuance.

The Solution: We rebuilt our dataset to include "Hard Hams"β€”safe messages that look like system alerts (e.g., OTPs, battery warnings)β€”and wrote complex Dart Heuristics to create a "Safety Net." We ensured that connection is never mistaken for corruption.


πŸ† Accomplishments

  • True Offline Capability: Successfully optimized a Neural Network to run on budget phones with zero internet latency.
  • 100% Privacy: Engineered a "RAM Only" Scanner where text is analyzed in volatile memory and instantly wiped.
  • Inclusive Design: Replaced technical jargon with empathy. Instead of "Malicious Payload Detected," Seguri says, "Don't worry, you are safe."

🌍 Impact on the Underrepresented

Most AI security models are trained on Western datasets and English syntax. They fail to detect the nuanced, localized threats affecting the Global South.

Seguri bridges this gap. We are not just protecting devices; we are protecting dignity. By designing for the marginalizedβ€”those with poor eyesight, low literacy, or limited data plansβ€”we ensure that the digital revolution lifts everyone up, rather than leaving our elders behind.


πŸš€ What's Next

  • Expanded Regional Support: Scaling the customization engine to support languages beyond English and Tagalog.
  • Voice-First Interaction: Prototyping a feature powered by Gemini allowing the blind and illiterate to simply ask, "Is this safe?"

πŸ› οΈ Tech Stack

  • Framework: Flutter (Dart)
  • AI Engine (Local): TensorFlow Lite
  • AI Engine (Cloud): Gemini AI API
  • Local Storage: Shared Preferences

πŸ“Έ App Previews

A visual tour of Seguri's interface and features

1. Getting Started 2. Account Setup 3. Regional Context
4. Home Dashboard 5. Manual Scanner 6. Threat Explanation
7. Scam First Aid 8. Safety Affirmation 9. Utility Tools
10. AI Chatbot 11. Quick Questions 12. Cyber News
13. Evidence Log 14. Settings

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors