Skip to content

SecureAI PolicyGuard is an AI-driven enterprise data protection platform combining automated classification, policy-based encryption, and audit-grade compliance logging.

License

Notifications You must be signed in to change notification settings

bylickilabs/SecureAI-PolicyGuard

Repository files navigation

🧠 SecureAI PolicyGuard – CI/CD Pipeline

πŸ›‘οΈ SecureAI PolicyGuard

BYLICKILABS – Intelligence Systems & Communications

Version Python License: MIT Platform API Status Audit Security

πŸ“Œ Overview

SecureAI PolicyGuard is an AI-driven enterprise data protection platform combining

  • automated classification,
  • policy-based encryption,
  • audit-grade compliance logging.
    • It bridges security operations, compliance, and IT automation with a dual-layer Desktop + REST API architecture.

line

πŸŽ“ Certifications & Expertise
certificate_of_completion_backend_developer_with_python (1)
certificate_of_completion_fullstack_developer_with_python (1)
certificate_of_completion_front_end_development
certificate_of_completion_modern_web_development
certificate_of_completion_html
certificate_of_completion_css
certificate_of_completion_javascript
certificate_of_completion_bootstrap_5
certificate_of_completion_python
certificate_of_completion_numpy
certificate_of_completion_scipy
certificate_of_completion_data_science
certificate_of_completion_statistics
certificate_of_completion_git
certificate_of_completion_pandas
certificate_of_completion_sql
certificate_of_completion_general_problem_solving_and_logical_reasoning
certificate_of_completion_dsa
certificate_of_completion_accessibility
certificate_of_completion_cyber_security

line

πŸš€ Core Capabilities

Capability Description
AI Classification Engine Detects sensitive content and calculates contextual risk scores
Policy Mapping Engine Maps classification levels to automatic actions (Encrypt / Log / Ignore)
Encryption Layer (AES-256) Local, per-directory key management using Fernet for authenticated encryption
Audit Logging SQLite-based, immutable record of classification and encryption events
REST API (FastAPI + OAS 3.1) Standardized interface for automation and remote analysis
Multi-Language GUI (DE/EN) Dual-language interface for global operations
Batch Automation Script One-click startup linking API server and GUI seamlessly

πŸ—οΈ Architecture Overview

+---------------------------------------------------+
| SecureAI PolicyGuard – Desktop GUI                |
|  - Configuration UI                               |
|  - File scanning and visualization                |
+---------------------------------------------------+
                      |
                      v
+---------------------------------------------------+
| Classifier Engine                                 |
|  - Heuristic + ML entity detection                |
|  - Risk calculation                               |
+---------------------------------------------------+
                      |
                      v
+---------------------------------------------------+
| Policy Engine                                     |
|  - Confidentiality mapping                        |
|  - Action rules                                   |
+---------------------------------------------------+
                      |
                      v
+---------------------------------------------------+
| Crypto Engine (Fernet / AES-256)                  |
|  - Local encryption per workspace key             |
|  - Secure key rotation and storage                |
+---------------------------------------------------+
                      |
                      v
+---------------------------------------------------+
| Audit Database (SQLite)                           |
|  - Risk score, classification, entities, actions  |
+---------------------------------------------------+
                      |
                      +--> REST API (FastAPI / OAS 3.1)

βš™οΈ Installation Guide

Prerequisites

  • Windows 10/11 (64-bit)
  • Python 3.10+ (Recommended: 3.12)
  • Internet access for dependency installation

Steps

pip install -r requirements.txt

▢️ Launch Methods

Method A – Manual

python main.py

Method B – Automated (API + GUI)

start.bat

API Endpoints:


πŸ”Œ REST API Example

Request

POST /analyze-text
Content-Type: application/json

{
  "text": "Customer IBAN: DE11 2222 3333 4444 00"
}

Response

{
  "classification": "Highly_Confidential",
  "risk_score": 88,
  "entities": [["iban", "DE44...31"]]
}

🧱 Default Policy Matrix

Classification Risk Range Action
PUBLIC 0–29 Ignore
INTERNAL 30–59 Log Only
CONFIDENTIAL 60–79 Encrypt
HIGHLY_CONFIDENTIAL 80–100 Encrypt + Flag

πŸ—„οΈ Audit Logging Schema

Field Description
file_path Path of analyzed file
classification Detected sensitivity level
risk_score Calculated risk score
entity_count Number of detected entities
timestamp Timestamp of operation

Stored in local SQLite database per workspace.


🧩 Integration Targets

  • Security Operation Centers (SOC)
  • Compliance & Audit Departments
  • Regulated industries (Finance, Energy, Government)
  • Data Protection & Forensics Teams

πŸ§ͺ API Certification & Testing

SecureAI PolicyGuard includes automated Schemathesis-based API certification tests verifying OpenAPI 3.1 contract integrity.

  • All test results are stored under /tests/logs/ for compliance evidence.

🧠 Credits

Developed by Thorsten Bylicki

  • BYLICKILABS – Intelligence Systems & Communications

πŸ“œ License

Β© 2025 Thorsten Bylicki | BYLICKILABS

Releases

No releases published

Sponsor this project

 

Packages

No packages published