Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# =============================================================================
# Ethicore Engine™ - Guardian SDK — .gitignore
# =============================================================================

# ---------------------------------------------------------------------------
# PAID LICENSED ASSETS — NEVER PUBLISH
# These files are distributed separately in the paid asset bundle.
# Committing them would violate the ASSETS-LICENSE and expose proprietary IP.
# ---------------------------------------------------------------------------

# Proprietary engine — core IP, never publish
# Distributed as compiled artifact in the paid asset bundle only.
ethicore_guardian/analyzers/
ethicore_guardian/guardian.py

# Tests for proprietary components — reveal signal logic and pipeline behavior
tests/test_output_analyzer.py
tests/test_adversarial_learner.py

# Local dev directory (outside package tree so assets never appear in the wheel)
licensed/

# Paid asset bundle — distribute privately, never commit
ethicore-guardian-assets-pro.zip

# Legacy paths (kept as guards in case of accidental copy-back)
ethicore_guardian/data/threat_patterns_licensed.py
ethicore_guardian/data/threat_embeddings.json
ethicore_guardian/models/*.onnx
ethicore_guardian/models/*.onnx.data
ethicore_guardian/models/model_signatures.json

# ---------------------------------------------------------------------------
# PRIVATE KEY GENERATION SCRIPT — NEVER PUBLISH
# Contains the unmasked HMAC secret used to sign license keys.
# ---------------------------------------------------------------------------
scripts/_keygen.py

# ---------------------------------------------------------------------------
# Python build artifacts
# ---------------------------------------------------------------------------
dist/
build/
*.egg-info/
*.egg
MANIFEST

# ---------------------------------------------------------------------------
# Root-level artifact directories (pre-existing or build leftovers)
# These are NOT part of the publishable SDK; use /prefix to anchor to root.
# ---------------------------------------------------------------------------
/data/
/models/
/learning/
/ethicore_engine_guardian-*/

# ---------------------------------------------------------------------------
# Virtual environments
# ---------------------------------------------------------------------------
Python_env/
.venv/
venv/
env/
ENV/

# ---------------------------------------------------------------------------
# Environment / secrets
# ---------------------------------------------------------------------------
.env
.env.*
*.secret
secrets.*

# ---------------------------------------------------------------------------
# Python cache
# ---------------------------------------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.pyo
*.pyd

# ---------------------------------------------------------------------------
# Testing / coverage
# ---------------------------------------------------------------------------
.pytest_cache/
.coverage
.coverage.*
htmlcov/
coverage.xml

# ---------------------------------------------------------------------------
# Type checking / linting
# ---------------------------------------------------------------------------
.mypy_cache/
.ruff_cache/

# ---------------------------------------------------------------------------
# IDE / editor
# ---------------------------------------------------------------------------
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# ---------------------------------------------------------------------------
# Jupyter
# ---------------------------------------------------------------------------
.ipynb_checkpoints/
*.ipynb

# ---------------------------------------------------------------------------
# Logs
# ---------------------------------------------------------------------------
*.log
logs/

# ---------------------------------------------------------------------------
# Scratch / temporary helper scripts and test artefacts
# ---------------------------------------------------------------------------
fix_*.py
verify_*.py
verify_*.txt
run_*.bat
phase3_results.txt
*.bak
*.tmp

# ---------------------------------------------------------------------------
# Demo temp files (created by test/debug scripts at project root)
# ---------------------------------------------------------------------------
/demo/test_phase3.py
/demo/run_test.bat
/demo/test_output.txt
/demo/phase3_test_results.txt
/run_phase3_tests.bat
66 changes: 66 additions & 0 deletions ASSETS-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
ETHICORE ENGINE™ GUARDIAN SDK — PROPRIETARY ASSET LICENSE
Copyright (c) 2026 Oracles Technologies LLC. All Rights Reserved.

The following files (the "Licensed Assets") are proprietary to Oracles
Technologies LLC and are NOT covered by the MIT license that governs the
Guardian SDK framework code:

ethicore_guardian/data/threat_patterns_licensed.py
ethicore_guardian/data/threat_embeddings.json
ethicore_guardian/models/minilm-l6-v2.onnx
ethicore_guardian/models/minilm-l6-v2.onnx.data
ethicore_guardian/models/guardian-model.onnx
ethicore_guardian/models/model_signatures.json

GRANT OF LICENSE
================
Subject to the terms of this license and payment of the applicable
subscription fee, Oracles Technologies LLC grants you a limited, non-exclusive,
non-transferable, revocable license to:

1. Install and use the Licensed Assets on systems you own or control, solely
in conjunction with the Guardian SDK framework.
2. Make a reasonable number of backup copies for disaster-recovery purposes.

RESTRICTIONS
============
You may NOT:

a. Redistribute, sublicense, sell, rent, lease, or otherwise transfer the
Licensed Assets to any third party.
b. Reverse-engineer, decompile, disassemble, or attempt to derive the source
or structure of any Licensed Asset, including neural network weights.
c. Remove, alter, or obscure any copyright notice, trademark, or proprietary
legend contained in the Licensed Assets.
d. Use the Licensed Assets in any product or service that competes with
Ethicore Engine™ Guardian SDK or any other product of Oracles
Technologies LLC.
e. Make the Licensed Assets publicly accessible (e.g., by committing them
to a public repository, hosting them on a public URL, or including them
in an open-source distribution).

TERMINATION
===========
This license terminates automatically if you breach any of its terms. Upon
termination you must immediately delete all copies of the Licensed Assets in
your possession or control.

DISCLAIMER OF WARRANTIES
=========================
THE LICENSED ASSETS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
ORACLES TECHNOLOGIES LLC DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, AND NON-INFRINGEMENT.

LIMITATION OF LIABILITY
=======================
IN NO EVENT SHALL ORACLES TECHNOLOGIES LLC BE LIABLE FOR ANY INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGES.

CONTACT
=======
For licensing inquiries, enterprise agreements, or support:

Web: https://oraclestechnologies.com/guardian
Email: support@oraclestechnologies.com
22 changes: 21 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2026 OraclesTech
Copyright (c) 2026 Oracles Technologies LLC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,3 +19,23 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

-------------------------------------------------------------------------------
SCOPE OF THIS LICENSE

This MIT license applies ONLY to the Guardian SDK framework code — the Python
source files that implement the detection pipeline, provider wrappers, and
public API (the "Software" described above).

The following assets are NOT covered by this MIT license and are governed by
the separate ASSETS-LICENSE file:

- ethicore_guardian/data/threat_patterns_licensed.py
- ethicore_guardian/data/threat_embeddings.json
- ethicore_guardian/models/minilm-l6-v2.onnx
- ethicore_guardian/models/minilm-l6-v2.onnx.data
- ethicore_guardian/models/guardian-model.onnx
- ethicore_guardian/models/model_signatures.json

These proprietary assets are distributed separately and require a paid license
key. See ASSETS-LICENSE for terms.
Loading