Skip to content

Akshat-145609/ValidationSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValidationSystem

ValidationSystem is a lightweight JavaScript-based multi-tier validation framework for the Akshat Network Hub ecosystem. It generates Scripto identity scripts for webpages, maintains Alpha-1.1 Vault metadata, and runs a routing-based verification engine that confirms trusted ANH pages through Tier-1, Tier-2, and decision loop validation logic.


ANH Logo     ANH Validation System Generator Logo     ANH Validation Security Shield Logo

ANH ValidationSystem

Alpha Runtime Validator + Trust Badge Engine + Vault-Based Identity Protocol
A lightweight, client-side trust verification architecture for static websites.


🚀 Overview

The ANH ValidationSystem is a multi-layer verification framework designed to ensure:

  • 🔐 Page identity authenticity
  • 📊 Metadata integrity
  • 🧠 Vault-based trust validation
  • 🏷 Runtime badge injection
  • 🧩 Cross-site verification control

It works entirely on the client-side, making it ideal for static hosting platforms like GitHub Pages.


🧠 Architecture

ANH Protocol Architecture Diagram

Core Layers

Layer Description
🧭 Routing Layer Extracts metadata & initializes validation
🗄 Vault Layer Central JSON registry of trusted entries
🧾 Scripto Engine Inline identity signature validation
⚖ Trust Engine Tier-based scoring & badge rendering

🧩 System Components

🔧 Generator

Create Scripto script + Vault entry


Open Generator

🔍 Inspector

Validate any ANH-enabled site


Open Inspector

📊 Analytics

Session-based scoring dashboard


Open Dashboard

⚙️ How It Works

// Example Scripto Block
<script class="Scripto">

window.ANH_ID="ANH-XXXXXXX"

window.ANH_META={
url:"https://example.com",
title:"Example Page",
description:"Description",
icon:"/icon.png"
}

</script>

Validation Flow

  1. Extract Scripto metadata
  2. Fetch Alpha Vault JSON
  3. Match urlId
  4. Validate metadata (strict match)
  5. Apply rendering policy (iframe/domain check)
  6. Inject trust badge

🛡 Security Model

  • ✔ Strict metadata comparison
  • ✔ Vault identity mapping
  • ✔ Iframe/domain enforcement
  • ✔ CSP-compatible architecture
  • ✔ Runtime tamper detection

📊 Trust Badge Preview


Dynamic badge injected at runtime based on validation result


📘 User Manual

🔹 Step 1 — Generate Identity

➡️ Visit Generator Create:

  • Scripto Script
  • Vault JSON Entry

🔹 Step 2 — Embed Script

Paste inside <head>:

<script class="Scripto">
...
</script>

🔹 Step 3 — Add Validator

<script src="https://akshat-145609.github.io/ValidationSystem/scripts/anh-validator.js"></script>

🔹 Step 4 — Deploy

Add Vault JSON block to https://akshat-145609.github.io/ValidationSystem/vault/alpha-vault.json


🔹 Step 5 - Deploy

Upload new changes to server or Commit new chages by git add . --> git commit -m "Add Scripto Layer" --> git push origin main

🔹 Step 6 — Verify

Open page → Trust badge appears automatically ✅


📸 Documentation Slides


🎨 Visual UI (Optional CSS Cards)

<style>
.card{
background:#0f172a;
padding:20px;
border-radius:12px;
transition:.3s;
}
.card:hover{
transform:translateY(-6px);
box-shadow:0 10px 30px rgba(0,0,0,.3);
}
</style>

🔗 Important Links


⚠️ Limitations

  • Client-side only (no server verification)
  • CSP headers recommended for full protection
  • Cannot fully block iframe without server headers

🚀 Future Enhancements

  • 🔐 Cryptographic signatures
  • 🌍 Domain whitelist from vault
  • 📦 ZIP fingerprint validation
  • ⚡ Real-time analytics engine

📜 License

This project is part of Akshat Network Hub ecosystem.


Made with ❤️ for Secure Web Identity


About

ValidationSystem is a lightweight JavaScript-based multi-tier validation framework for the Akshat Network Hub ecosystem. It generates Scripto identity scripts for webpages, maintains Alpha-1.1 Vault metadata, and runs a routing-based verification engine that confirms trusted ANH pages through Tier-1, Tier-2, and decision loop validation logic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors