Skip to content

qompassai/network

Repository files navigation

Qompass AI Network Tooling

Repository Views GitHub all releases

NIST
NIST Cybersecurity Framework NIST SP 800-53 Security Controls Technical Guide to Information Security Testing
NIST NICE Cybersecurity Workforce Framework NIST Risk Management Framework NIST Privacy Framework License: AGPL v3 License: Q-CDA

How do get this going with one copy/paste

** Recommend to read the script in scripts/nix.sh FIRST and THEN copy and paste the below**

git clone https://github.com/qompassai/network.git
cd network
chmod +x scripts/nix.sh
./scripts/nix.sh

2. That's It!

The script automatically:

  • βœ… Installs Nix (if not already installed)
  • βœ… Enables flakes and experimental features
  • βœ… Configures optimal settings (caching, substituters, etc.)
  • βœ… Tests all tools to verify everything works
  • βœ… Drops you into the development environment

πŸ› οΈ What This Gives You

πŸ” Encryption Tools

  • rage - Modern file encryption
  • age - Original age encryption
  • openssl - Cryptography toolkit

πŸ”¨ Hash Tools

  • hash-utils blake3 <file> - BLAKE3 hashing
  • hash-utils sha3-256 <file> - SHA3-256 hashing
  • hash-utils sha512 <file> - SHA-512 hashing

🌐 Network Tools

  • networkmanager - Network management
  • unbound - Secure DNS
  • nmap - Network scanning
  • tcpdump - Network analysis

Build just the hash utilities

nix build .#hash-utils
./result/bin/hash-utils blake3 somefile.txt

Build network setup script

nix build .#networkmanager-setup
./result/bin/networkmanager-setup

Run Tools Without Installing

Run tools directly from GitHub

nix run github:qompassai/network#hash-utils blake3 myfile.txt

Use Again Later

cd /path/to/qompassai/network
nix develop

πŸ’‘ Examples

Encrypt a file:

Generate a key and encrypt

rage-keygen -o mykey.txt
rage -e -i mykey.txt -o secret.age plaintext.txt

** The tools here are presented for educational purposes ONLY. Have Fun and be safe!


Contact Qompass AI

Matthew A. Porter
Qompass AI, Spokane, WA

Publications

ORCID ResearchGate Zenodo

Developer Programs

NVIDIA Developer Meta Developer HackerOne HuggingFace Epic Games Developer

Professional Profiles

Personal LinkedIn Startup LinkedIn

Social Media

X/Twitter Instagram YouTube

Support & Funding

πŸ’° Pre-Seed Funding 2023-2025 πŸ† Amount πŸ“… Date
RJOS/Zimmer Biomet Research Grant $30,000 March 2024
Pathfinders Intern Program
View on LinkedIn
$2,000 October 2024

Your support helps us continue building innovative solutions at the intersection of health and education.

Buy Me A Coffee

Funding helps us continue our research at the intersection of AI, healthcare, and education

Frequently Asked Questions

Q: How do you mitigate against bias?

TLDR - we do math to make AI ethically useful

A: We delineate between mathematical bias (MB) - a fundamental parameter in neural network equations - and algorithmic/social bias (ASB). While MB is optimized during model training through backpropagation, ASB requires careful consideration of data sources, model architecture, and deployment strategies. We implement attention mechanisms for improved input processing and use legal open-source data and secure web-search APIs to help mitigate ASB.

AAMC AI Guidelines | One way to align AI against ASB

AI Math at a glance

Forward Propagation Algorithm

$$ y = w_1x_1 + w_2x_2 + ... + w_nx_n + b $$

Where:

  • $y$ represents the model output
  • $(x_1, x_2, ..., x_n)$ are input features
  • $(w_1, w_2, ..., w_n)$ are feature weights
  • $b$ is the bias term

Neural Network Activation

For neural networks, the bias term is incorporated before activation:

$$ z = \sum_{i=1}^{n} w_ix_i + b $$ $$ a = \sigma(z) $$

Where:

  • $z$ is the weighted sum plus bias
  • $a$ is the activation output
  • $\sigma$ is the activation function

Attention Mechanism- aka what makes the Transformer (The "T" in ChatGPT) powerful

The Attention mechanism equation is:

$$ \text{Attention}(Q, K, V) = \text{softmax}\left( \frac{QK^T}{\sqrt{d_k}} \right) V $$

Where:

  • $Q$ represents the Query matrix
  • $K$ represents the Key matrix
  • $V$ represents the Value matrix
  • $d_k$ is the dimension of the key vectors
  • $\text{softmax}(\cdot)$ normalizes scores to sum to 1

Q: Do I have to buy a Linux computer to use this? I don't have time for that!

A: No. You can run Linux and/or the tools we share alongside your existing operating system:

  • Windows users can use Windows Subsystem for Linux WSL
  • Mac users can use Homebrew
  • The code-base instructions were developed with both beginners and advanced users in mind.

Q: Do you have to get a masters in AI?

A: Not if you don't want to. To get competent enough to get past ChatGPT dependence at least, you just need a computer and a beginning's mindset. Huggingface is a good place to start.

Q: What makes a "small" AI model?

A: AI models ~=10 billion(10B) parameters and below. For comparison, OpenAI's GPT4o contains approximately 200B parameters.

What a Dual-License Means

Protection for Vulnerable Populations

The dual licensing aims to address the cybersecurity gap that disproportionately affects underserved populations. As highlighted by recent attacks[^1], low-income residents, seniors, and foreign language speakers face higher-than-average risks of being victims of cyberattacks. By offering both open-source and commercial licensing options, we encourage the development of cybersecurity solutions that can reach these vulnerable groups while also enabling sustainable development and support.

Preventing Malicious Use

The AGPL-3.0 license ensures that any modifications to the software remain open source, preventing bad actors from creating closed-source variants that could be used for exploitation. This is especially crucial given the rising threats to vulnerable communities, including children in educational settings. The attack on Minneapolis Public Schools, which resulted in the leak of 300,000 files and a $1 million ransom demand, highlights the importance of transparency and security[^8].

Addressing Cybersecurity in Critical Sectors

The commercial license option allows for tailored solutions in critical sectors such as healthcare, which has seen significant impacts from cyberattacks. For example, the recent Change Healthcare attack[^4] affected millions of Americans and caused widespread disruption for hospitals and other providers. In January 2025, CISA[^2] and FDA[^3] jointly warned of critical backdoor vulnerabilities in Contec CMS8000 patient monitors, revealing how medical devices could be compromised for unauthorized remote access and patient data manipulation.

Supporting Cybersecurity Awareness

The dual licensing model supports initiatives like the Cybersecurity and Infrastructure Security Agency (CISA) efforts to improve cybersecurity awareness[^7] in "target rich" sectors, including K-12 education[^5]. By allowing both open-source and commercial use, we aim to facilitate the development of tools that support these critical awareness and protection efforts.

Bridging the Digital Divide

The unfortunate reality is that too many individuals and organizations have gone into a frenzy in every facet of our daily lives[^6]. These unfortunate folks identify themselves with their talk of "10X" returns and building towards Artificial General Intelligence aka "AGI" while offering GPT wrappers. Our dual licensing approach aims to acknowledge this deeply concerning predatory paradigm with clear eyes while still operating to bring the best parts of the open-source community with our services and solutions.

Recent Cybersecurity Attacks

Recent attacks underscore the importance of robust cybersecurity measures:

  • The Change Healthcare cyberattack in February 2024 affected millions of Americans and caused significant disruption to healthcare providers.
  • The White House and Congress jointly designated October 2024 as Cybersecurity Awareness Month. This designation comes with over 100 actions that align the Federal government and public/private sector partners are taking to help every man, woman, and child to safely navigate the age of AI.

By offering both open source and commercial licensing options, we strive to create a balance that promotes innovation and accessibility. We address the complex cybersecurity challenges faced by vulnerable populations and critical infrastructure sectors as the foundation of our solutions, not an afterthought..