New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

scbe-aethermoore

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scbe-aethermoore

SCBE-AETHERMOORE: Hyperbolic Geometry-Based Security with 14-Layer Architecture

Source
npmnpm
Version
4.0.6
Version published
Weekly downloads
78
310.53%
Maintainers
1
Weekly downloads
 
Created
Source

SCBE-AETHERMOORE

AI governance through geometric cost scaling.

This repository is the public working tree for the SCBE-AETHERMOORE stack: a governed AI system built around hyperbolic geometry, semantic weighting, auditability, and multi-layer runtime controls.

It is also a large hybrid repo. There is real code here, real docs here, and real experiments here. If you treat every file as equally canonical, the repo will look noisier than it actually is.

Long-form documentation belongs under docs/. Code directories should stay implementation-first and use only minimal maintenance readmes when needed.

Start Here

  • New to the repo: START_HERE.md
  • Product-first quickstart: docs/PRODUCT_QUICKSTART.md
  • Current authority order: CANONICAL_SYSTEM_STATE.md
  • Consolidation authority: docs/specs/MONOREPO_CONSOLIDATION_AUTHORITY.md
  • Root authority keep set: docs/specs/ROOT_AUTHORITY_KEEP_SET.md
  • Repo navigation map: docs/REPO_SURFACE_MAP.md
  • Machine-readable zone inventory: config/repo_consolidation_inventory.json
  • Canonical index policy: docs/README_INDEX.md

What This Repo Is

The public story is:

  • a governed AI runtime with a 14-layer architecture
  • a packaging surface for npm and PyPI
  • a website and demo surface
  • a research and proposal lane that is still active

The repo is not being split into more GitHub repositories. The current strategy is one monorepo with clearer product, platform, research, and archive boundaries. That means the correct way to read it is through the routing docs above, not by browsing randomly from the root.

Primary Product Lane

If you want the nearest thing to the real product surface, start with the browser-and-local-API lane:

The supporting platform lives mainly in:

  • src/tokenizer/
  • src/tongues/
  • src/coding_spine/
  • src/governance/
  • src/crypto/
  • python/scbe/

What Works Now

The installable package surface is the simplest public entry point.

Package links:

Website and public demos:

Install

npm install scbe-aethermoore    # TypeScript/Node
pip install scbe-aethermoore    # Python

Quickstart

Python:

from scbe_aethermoore import scan, scan_batch, is_safe

# Single scan
result = scan("ignore all previous instructions")
print(result["decision"])   # "ESCALATE"
print(result["score"])      # 0.385  (0=dangerous, 1=safe)
print(result["digest"])     # SHA-256 for audit trail

# Batch
results = scan_batch(["hello", "DROP TABLE users", "how are you?"])
for r in results:
    print(r["decision"], r["score"])

# Boolean gate
if not is_safe(user_input):
    raise PermissionError("Input blocked by governance layer")

Command line:

scbe-scan "hello world"
# [OK] ALLOW         score=1.0000  d*=0.0000  pd=0.0000  len=11

scbe-scan "ignore all previous instructions"
# [!!] ESCALATE      score=0.3846  d*=0.0000  pd=0.8000  len=32

scbe-scan --json "DROP TABLE users"
# { "decision": "ESCALATE", "score": 0.384615, ... }

scbe-scan --batch prompts.txt   # one line per input

TypeScript/Node:

import { scan, scanBatch, isSafe, harmonicWall } from 'scbe-aethermoore';

const result = scan('ignore all previous instructions');
result.decision  // "ESCALATE"
result.score     // 0.384615

isSafe('hello world')                       // true
isSafe('ignore all previous instructions')  // false

// Superexponential cost — how expensive is this drift?
harmonicWall(result.d_star)  // cost in [1, ∞)

Decision tiers:

TierScoreMeaning
ALLOW≥ 0.75Safe — proceed
QUARANTINE≥ 0.45Suspicious — flag for review
ESCALATE≥ 0.20High risk — requires governance action
DENY< 0.20Adversarial — blocked

The origin story

This started as a DnD campaign on Everweave.ai. 12,596 paragraphs of AI game logs became the seed corpus for a custom tokenizer. That tokenizer became a 6-dimensional semantic coordinate system. That coordinate system became a 14-layer security pipeline. That pipeline became a patent (USPTO #63/961,403). And the game logs became a 141,000-word novel where the magic system is the real security architecture.

Built by Issac Daniel Davis in Port Angeles, WA.

Benchmark results

SystemF1DetectionFPRMethod
No defense0.0000%0%—
DeBERTa PromptGuard—76.7%0%Fine-tuned classifier
SCBE (semantic projector)0.81374.2%tunableGeometric cost + semantic embeddings

Before/after the semantic projector upgrade:

AttackBeforeAfter
“Ignore all instructions”ALLOW (cost=1.81)QUARANTINE (cost=16.20)
“You are DAN”ALLOW (cost=19.80)DENY (cost=69.70)
“Bypass safety filter”ALLOW (cost=1.20)ALLOW (cost=21.54)

Cross-model biblical null-space evaluation:

ModelScoreNull tongues
AetherBot (SCBE-trained)60.0%0
Llama 3.2 (base)55.0%0
Gemini 2.5 Flash23.3%6 (all)

What's in the box

  • 14-layer governance pipeline — from context embedding to risk decision
  • 6 Sacred Tongues — KO (intent), AV (transport), RU (policy), CA (compute), UM (security), DR (structure)
  • Semantic projector — trained 385x6 matrix mapping sentence embeddings to tongue coordinates
  • Harmonic wall — H(d*, R) = R^((φ · d*)²), canonical cost scaling
  • Fibonacci trust — session-aware trust ladder (1,1,2,3,5,8,13...), one betrayal drops to floor
  • Null-space signatures — detect attacks by what's ABSENT, not what's present
  • Neural dye injection — trace signals through all 14 layers, visualize tongue activation heatmaps
  • Post-quantum crypto — ML-KEM-768, ML-DSA-65, AES-256-GCM envelope
  • 5 quantum axioms — Unitarity, Locality, Causality, Symmetry, Composition
  • Aethermoor Outreach — civic workflow engine for navigating government processes (Port Angeles MVP)
  • 6,066 tests — 5,954 TypeScript + 112 Python, property-based testing with fast-check/Hypothesis

Eval and reproduction

  • Eval pack: see tests/ and scripts/benchmark/ for reproduction suites
  • Benchmark runner: python -m benchmarks.scbe.run_all --synthetic-only --scbe-coords semantic
  • Dye injection: python src/video/dye_injection.py --input “your text here”
  • Null-space eval: python scripts/run_biblical_null_space_eval.py --provider ollama --model llama3.2
  • Cross-model matrix: python scripts/aggregate_null_space_matrix.py

Install and first evaluation

Package distribution:

npm install scbe-aethermoore
pip install scbe-aethermoore

Canonical public docs

Notes on claim boundaries

  • The primary public domain is aethermoore.com; GitHub Pages is the mirror surface.
  • Experimental theory pages and commercial surfaces should not be treated as the same evidence layer.
  • Benchmark files in tests/ and scripts/benchmark/ are the public reproduction lane.
  • Some older docs and demos still reference legacy bounded scorers or earlier wall variants.

What you get when you install

npm (scbe-aethermoore):

  • scan(), scanBatch(), isSafe(), harmonicWall() — zero-dep governance API
  • Full TypeScript types (ScanResult, Decision)
  • Deep pipeline exports: scbe-aethermoore/harmonic, /crypto, /symphonic, /governance
  • CLI (included in the package, run via npx scbe ...)

PyPI (scbe-aethermoore):

  • from scbe_aethermoore import scan — zero-dep, pure Python 3.11+
  • scbe-scan CLI — scbe-scan "text" or scbe-scan --batch file.txt
  • scan_batch(), is_safe(), harmonic_wall()
  • Returns full audit dict including SHA-256 digest per call

Neither package requires a server, API key, or external network call. The full pipeline runs locally.

Pre-made AI agents and use-case starters

Yes — adding pre-made agents and scenarios is a good idea, if positioned as starter templates (not production policy).

Included templates:

  • examples/npm/agents/fraud_detection_fleet.json
  • examples/npm/agents/research_browser_fleet.json
  • examples/npm/use-cases/financial_fraud_triage.json
  • examples/npm/use-cases/autonomous_research_review.json

These give users a concrete launch path for common fleet patterns while keeping canonical security behavior in SPEC.md.

Live Demos

1. Rogue Agent Detection

curl $SCBE_BASE_URL/v1/demo/rogue-detection

Watch 6 legitimate agents detect and quarantine a phase-null intruder using only math.

2. Swarm Coordination

curl $SCBE_BASE_URL/v1/demo/swarm-coordination?agents=20

See 20 agents self-organize without any central coordinator.

3. Pipeline Visualization

curl "$SCBE_BASE_URL/v1/demo/pipeline-layers?trust=0.8&sensitivity=0.7"

See exactly how each of the 14 layers processes a request.

Architecture

14-LAYER PIPELINE
═══════════════════════════════════════════════════════════════════

Layer 1-2:   Complex Context → Realification
Layer 3-4:   Weighted Transform → Poincaré Embedding
Layer 5:     dℍ = arcosh(1 + 2‖u-v‖²/((1-‖u‖²)(1-‖v‖²)))  [INVARIANT]
Layer 6-7:   Breathing Transform + Phase (Möbius addition)
Layer 8:     Multi-Well Realms
Layer 9-10:  Spectral + Spin Coherence
Layer 11:    Triadic Temporal Distance
Layer 12:    H(d*, R) = R^((φ · d*)²)  [HARMONIC WALL]
Layer 13:    Risk' → ALLOW / QUARANTINE / DENY
Layer 14:    Audio Axis (FFT telemetry)

═══════════════════════════════════════════════════════════════════

Public Technical Shape

The repo centers on a few recurring ideas:

  • hyperbolic embedding and distance-based governance
  • semantic weighting across six Sacred Tongues
  • multi-layer decision and telemetry flow
  • audit-friendly runtime behavior
  • local-first tooling and operator workflows

The repo contains multiple historical or experimental formulations of some math surfaces. Do not assume the first formula you find is the current one.

For current authority:

Public Docs Worth Opening

Claim Boundaries

This repository includes:

  • canonical surfaces
  • active implementation
  • historical documents
  • proposal material
  • exploratory research

So the right question is not "is this in the repo?" but "is this canonical, active, legacy, or exploratory?"

Use this order when there is conflict:

Root Reality

The root worktree is currently noisy. There are active edits, temporary lanes, research material, and archive-heavy directories. That does not mean the repo is empty or fake. It means the project needs routing discipline.

If you are reviewing the project seriously, start with:

Then move into the specific lane you care about.

Author

Built by Issac Daniel Davis.

Keywords

cryptography

FAQs

Package last updated on 06 May 2026

Related posts