🔒

PRICOMP

Privacy Compliance Project

© 2025 NSF SaTC:EDU Project

Clemson • PVAMU • NC A&T

Hands-on Labs

Six practical labs for hands-on privacy compliance learning

Two-Step Privacy Non-Compliance Detection

Step 1 - Extract Privacy Practices: Extract stated privacy practices from privacy policies using NLP techniques

Step 2 - Detect Violations: Compare extracted practices against actual code behavior using static and dynamic analysis

Lab 1
Lab 1: NLP-based Privacy Policy Analysis

Students use natural language processing tools to parse privacy policies and extract privacy-relevant information such as data types, purposes, and retention periods.

Learning Objectives:

  • •Apply NLP techniques to privacy policy documents
  • •Extract and structure privacy practices from unstructured text
  • •Identify policy obligations and commitments
  • •Analyze policy compliance requirements

Tools & Technologies:

Stanford NLPspaCyPython NLTK
Lab 2
Lab 2: Privacy Policy vs. Actual Practice Analysis

Comparing extracted privacy policy statements with actual data handling practices in code using both static and dynamic analysis.

Learning Objectives:

  • •Compare stated vs. actual privacy practices
  • •Identify inconsistencies and violations
  • •Use multiple analysis techniques
  • •Document findings and recommendations

Tools & Technologies:

FlowDroidspaCyManual code review
Lab 3
Lab 3: Static Code Analysis for Privacy Leaks

Using static analysis tools to identify potential data flows and privacy violations in Android/mobile applications without execution.

Learning Objectives:

  • •Set up and configure static analysis tools
  • •Analyze data flow in source code
  • •Identify information leaks
  • •Create detailed vulnerability reports

Tools & Technologies:

FlowDroidSootIDA Pro
Lab 4
Lab 4: Dynamic Analysis of Privacy Violations

Instrumenting and running applications to monitor actual data practices at runtime, identifying violations not caught by static analysis.

Learning Objectives:

  • •Instrument applications for runtime monitoring
  • •Monitor data access and transmission
  • •Detect runtime privacy violations
  • •Compare results with static analysis findings

Tools & Technologies:

FridaAndroid Debug BridgeCustom monitoring tools
Lab 5
Lab 5: Machine Learning for Privacy Compliance Detection

Training and using machine learning models (SVM, LSTM, BERT) to automatically detect privacy non-compliance patterns in code and policies.

Learning Objectives:

  • •Prepare training datasets for ML models
  • •Train models for privacy compliance detection
  • •Evaluate model accuracy and performance
  • •Apply models to new code samples

Tools & Technologies:

BERTLSTMscikit-learnPyTorchTensorFlow
Lab 6
Lab 6: Integrated Privacy Compliance Platform

Using the PRICOMP platform to conduct comprehensive privacy compliance assessments combining multiple analysis techniques and tools.

Learning Objectives:

  • •Use multiple analysis tools through a unified interface
  • •Interpret results from different analysis methods
  • •Create comprehensive compliance reports
  • •Propose remediation strategies

Tools & Technologies:

PRICOMP PlatformAll previous tools via integration