Skip to content

About

Offline Android prototype for explainable social-engineering risk scoring on consented transcripts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

CallShield

An offline Android prototype for reviewing social-engineering risks in call transcripts.

What it does

  • Checks simulated or consented English transcripts for urgency, secrecy, claimed authority and requests for money or verification codes.
  • Compares the simulated caller’s number with a built-in trusted contact.
  • Shows the evidence and points for each matched rule, a 0–100 risk score, a risk level and a suggested next action.

The rules engine processes the supplied text on the device. The prototype uses simulated calls and transcript input. Use its score as a prompt to verify a caller independently.

Tech stack

  • Kotlin 2.0.21 for the Android app and scoring rules.
  • Jetpack Compose and Material 3 for the interface.
  • Android Gradle Plugin 8.7.3 for the build and JUnit 4 for the rules-engine tests.

Run locally

Install Android Studio, JDK 17, Android SDK Platform 35, and SDK Build-Tools 34.0.0. This repository uses a separate Gradle 8.9 installation. The app runs on Android 8.0 (API 26) or later. See the Android Gradle Plugin compatibility table.

git clone https://github.com/LordGibrat/callshield.git
cd callshield
  1. Open the project folder in Android Studio. In the Gradle settings, select your local Gradle 8.9 installation and JDK 17, then sync.
  2. Start an emulator or connect an Android device with USB debugging enabled. Select the app run configuration and click Run.
  3. Select Start simulated call, paste a bundled example or enter a synthetic or consented transcript, then select Analyze locally.

For a command-line install, set JAVA_HOME to JDK 17 and ANDROID_HOME to the Android SDK. Put Gradle 8.9 on your PATH. With an emulator or device connected, run gradle :app:installDebug and open CallShield on the device.

Tests and research

Run the JVM tests and build a debug APK from the repository root:

gradle :app:testDebugUnitTest :app:assembleDebug

The tests cover combined warning signs, a benign transcript and keyword matching. The APK is written to app/build/outputs/apk/debug/app-debug.apk.

With Python 3, run python research/evaluate.py to score the bundled scenarios with a separate, smaller set of rules. See the research brief for the evaluation plan and planned on-device speech recognition.

About

Offline Android prototype for explainable social-engineering risk scoring on consented transcripts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages