Skip to content

AnimusLab/Anchor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anchor Audit

Governance-as-Code for AI Systems.

Static compliance scanning, architectural drift detection, and governance enforcement for AI-powered software systems.


Where Anchor Fits

flowchart TD
    Dev[Developer] --> Repo[Code Repository]
    Repo --> Engine[Anchor Audit]
    Engine --> Sec[Security]
    Engine --> Priv[Privacy]
    Engine --> Gov[Governance]
    Sec --> Rep[Compliance Report]
    Priv --> Rep
    Gov --> Rep

    style Dev fill:#1e293b,stroke:#3b82f6,stroke-width:2px,color:#f8fafc
    style Repo fill:#1e293b,stroke:#06b6d4,stroke-width:2px,color:#f8fafc
    style Engine fill:#1e293b,stroke:#10b981,stroke-width:2px,color:#f8fafc
    style Sec fill:#0f172a,stroke:#64748b,stroke-width:1px,color:#e2e8f0
    style Priv fill:#0f172a,stroke:#64748b,stroke-width:1px,color:#e2e8f0
    style Gov fill:#0f172a,stroke:#64748b,stroke-width:1px,color:#e2e8f0
    style Rep fill:#1e293b,stroke:#f59e0b,stroke-width:2px,color:#f8fafc
Loading

Supported Languages

  • ✓ Python (.py)
  • ✓ TypeScript / JavaScript (.ts, .tsx, .js, .jsx)
  • ✓ Go (.go)
  • ✓ Java (.java)
  • ✓ Rust (.rs)

Quick Install

pip install anchor-audit
anchor init --all
anchor check .

Getting Started

1. Installation

Install the core audit package via pip:

pip install anchor-audit

2. Initialize

Fetch the authoritative governance templates (regulators, frameworks, and domains):

anchor init --all

Or initialize specific subsets matching your compliance posture:

anchor init \
    --regulators eu,sec,sebi \
    --frameworks finos,nist \
    --domains security,privacy

3. Run Scanning

Execute the compliance validation scan on your codebase:

anchor check .

Expected CLI Output:

Repository Scan Complete

Files Scanned: 742

Security Violations: 2
Privacy Violations: 1
Governance Violations: 3

Severity:
Blocker: 1
Error: 3
Warning: 2

Report Written:
.anchor/reports/latest.json

Documentation Index

Explore the complete system details, integrations, and compliance capabilities:

  • Getting Started Guide — Step-by-step introduction and setup.
  • Installation Details — Environments, sandboxes, and advanced options.
  • CLI Reference — Complete command-line manual (check, sync, heal, init).
  • Core Architecture — Tree-sitter parsing engine and governance pipeline.
  • Supported Rules & Frameworks — Rule matrix mapping to EU AI Act, SEC, and RBI.
  • Architectural Drift & Intent Tracking — Semantic overload detection via Git histories.
  • GitHub Actions CI/CD Integration — Copy-pasteable workflow setup.
  • GitLab CI Configuration — GitLab pipeline integration.
  • Docker Deployment — Executing scans inside isolated containers.
  • SSRN Research Draft Review — Regulatory mapping verification, citations, and JEL classifications.
  • Research Q&A Manual — Strategic pilot guide, platform details, and version histories.

Real-World Integration Examples:

  • Python OpenAI Application Audit
  • LangChain Agent Tools Audit
  • Fintech API Compliance

Research & Resources

Resource Link / URL
Governance Platform anchorgovernance.tech
Technical Preprint (Zenodo) zenodo.org/records/19734724
SSRN Research Paper ssrn.com/abstract=6933558
Research Institute animuslab.dev
Anchor Research Program animuslab.dev/programs
Research Archive animuslab.dev/research

AnimusLab · Independent Research Institute · 2026

About

The surveillance and enforcement layer for AI. Audits code against a cryptographically sealed rule set and maps every violation to the exact statute it breaches. 43 domain rules · 170 regulatory mappings · RBI · EU AI Act · SEBI · CFPB · FCA · SEC · FINOS · OWASP · NIST

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages