Skip to content

EiroaCigarMan/nfca-open-source-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Secure and Affordable In-House AI

initial-image

A Practical Guide to Local LLM Deployment for Law Enforcement Agencies, Fusion Centers, Real-Time Crime Centers, and Government Agencies

Companion resource for the "Secure and Affordable In-House AI: The Strategic Imperative for Local LLMs" presentation delivered to the National Fusion Center Association (NFCA) and law enforcement intelligence professionals.

This repository is written for law enforcement agencies, fusion centers, real-time crime centers, and other government agencies evaluating open-source AI or looking for practical guidance on using AI responsibly. It provides the depth that a time-limited presentation cannot β€” particularly CJIS Security Policy compliance mapping, AI governance law (federal and Texas), honest limitations, and practical next steps for agencies evaluating local AI deployment. Reading level is aimed at high school graduate.


Contact Information

Sergeant Johann Ortega Dallas Fusion Center / Real-Time Crime Center

πŸ“§ johann.ortega@dallaspolice.gov

πŸ“ž 214-671-3482 (main) πŸ“± 214-406-8248 (cell)


Updates

Date Change
May 12, 2026 Security advisory β€” CVE-2026-7482 ("Bleeding Llama") added to Ollama Quickstart and Security Considerations. Heap out-of-bounds read in Ollama's GGUF model loader (/api/create) allows an unauthenticated remote attacker to leak server process memory β€” environment variables, API keys, system prompts, and concurrent users' conversation data β€” exfiltrable via /api/push. CVSS 9.1. Affects Ollama before 0.17.1; fixed in 0.17.1. Action: upgrade immediately, keep OLLAMA_HOST bound to 127.0.0.1 (default), and do not expose port 11434 to untrusted networks. (advisory Β· Cyera writeup)
April 2026 AI Governance Laws chapter added β€” new Chapter 13 mapping the federal and Texas AI governance landscape as of April 2026. Covers EO 14179 (replacing rescinded EO 14110), EO 14319, the December 11, 2025 federal preemption EO, OMB M-25-21, M-25-22, and M-26-04, NIST AI RMF 1.0 and the Generative AI Profile, Texas TRAIGA (Business & Commerce Code Ch. 552), Texas companion statutes (SB 1964, HB 2818, HB 3512), DIR 1 TAC Chapter 219, and how TRAIGA layers on existing Texas LE statutes (TCOLE, CCP Art. 2.132-2.134 and 39.14, Public Information Act, CUBI, TLETS). Includes a consult-counsel checklist.
April 2026 Stale Executive Order 14110 references replaced across docs 01, 11, 12, and OUTLINE.md. EO 14110 was rescinded by EO 14179 on January 23, 2025.
April 2026 Model Selection updated β€” Quick Reference Table and Model Profiles now reflect the models actively deployed in production.

Start Here

Choose your path based on your role or the question you are trying to answer:

Your Role Start With Then Read
Analyst Prompting Guide Use Cases, Prompt Templates
Fusion Center / RTCC Use Cases Knowledge Management, AI Governance Laws
IT / Security CJIS Compliance Hardware Guide, Security Considerations
Leadership / Command Staff Why Local LLMs Limitations & Tradeoffs, Next Steps
Legal / Policy / Counsel AI Governance Laws CJIS Compliance, Security Considerations
Ready to try it Ollama Quickstart Hardware Guide, Model Selection

Table of Contents

Core Documentation

# Document Description
01 Why Local LLMs The case for local AI in law enforcement and government β€” capability gap, value drivers, and honest caveats
02 Understanding LLMs How LLMs actually work β€” correcting common misconceptions about hallucination and determinism
03 Ollama Quickstart Getting started with Ollama in your first 30 minutes
04 Hardware Guide Hardware requirements, model-capability mapping, and honest cost analysis
05 Model Selection Which models for which tasks β€” with exact versions and pull commands
06 Prompting Guide Prompt engineering for law enforcement and analytical workflows
07 Use Cases Real-world use cases with example prompts and honest assessments
08 Knowledge Management Personal knowledge management, RAG architecture, and connecting your data to LLMs
09 CJIS Compliance Security rules for CJI. FBI CJIS Security Policy v6.0 compliance framework β€” 13-area mapping and 8 application-layer gaps
10 Limitations & Tradeoffs Honest limitations and when NOT to use local LLMs
11 Security Considerations Legal, policy, and evidentiary considerations for AI-generated output β€” review standards, Brady/Giglio, Daubert, FOIA
12 Next Steps Implementation roadmap, budget guidance, and additional resources
13 AI Governance Laws What you can lawfully do with AI. Federal and Texas AI governance landscape β€” EO 14179, OMB memoranda, NIST AI RMF, TRAIGA (Business & Commerce Code Ch. 552), TX companion statutes and DIR rules, and a consult-counsel checklist

How the three governance-adjacent chapters relate: Chapter 9 answers "how do I protect criminal justice information?" Chapter 11 answers "what are the review, disclosure, and evidentiary standards for AI output?" Chapter 13 answers "what does the law say I can and cannot do with AI?" All three complement each other; a compliant deployment satisfies all three.

Resources

Resource Description
Prompt Templates Ready-to-use prompt templates for common law enforcement and analytical tasks β€” situational awareness briefs, incident summaries, BOLO drafts, evidence review, pattern analysis
Checklists Pre-deployment, CJIS compliance, and hardware procurement checklists
Consult-Counsel Checklist Questions for your agency's legal counsel, CJIS Systems Officer, and records-management professional before deploying AI
Glossary Terms and acronyms used throughout this guide
External Links Curated links to all referenced tools and documentation
FAQ Frequently asked questions with honest answers

Key Takeaways

  1. Local LLMs solve a real problem. AI tools are banned for CJI workloads, but the analytical need persists. Local deployment keeps data within your infrastructure.

  2. Air-gap alone is not compliance. CJIS has 13 policy areas. Default Ollama satisfies approximately 5. The gap is "hardening required," not "fundamentally incompatible." See CJIS Compliance.

  3. Set realistic expectations. Local models at the 7B-13B parameter range are useful tools, not magic. They hallucinate, they have limits, and every output requires human review. See Understanding LLMs.

  4. Start with non-CJI workloads. A non-CJI pilot carries zero compliance risk and lets you prove value before committing to security hardening. See Next Steps.

  5. CJIS and AI governance law are different questions. CJIS tells you how to protect criminal justice information. AI governance law tells you what you can lawfully do with an AI system β€” regardless of what data it touches. Both apply at the same time to deployments touching both. See AI Governance Laws.

  6. Federal AI policy has shifted β€” verify before relying on 2024 guidance. EO 14110 was rescinded by EO 14179 (January 23, 2025). Current in-force OMB memoranda are M-25-21, M-25-22, and M-26-04. NIST AI RMF 1.0 remains canonical and is the single framework most likely to align with every regulatory regime. See AI Governance Laws β€” Federal Layer.

  7. Texas agencies face a six-axis compliance surface. TRAIGA (Business & Commerce Code Ch. 552, effective January 1, 2026) binds Texas law enforcement agencies as governmental entities. SB 1964, HB 2818, HB 3512, DIR's 1 TAC Chapter 219, CUBI, and attorney-general enforcement under multiple statutes all apply in parallel. Agencies in other states face a structurally similar compliance surface. See AI Governance Laws β€” Texas Layers.

  8. Get legal counsel involved early. AI governance law is a moving target. The cheapest compliance error to fix is the one your legal counsel, CJIS Systems Officer, and records-management professional catch before procurement. See the Consult-Counsel Checklist.


Important Disclaimers

  • This repository is an educational resource, not official guidance from any agency or organization.
  • This repository is not legal advice. The AI governance law chapter describes the legal landscape for awareness. Agencies should consult their own legal counsel, CJIS Systems Officer, and records-management professionals for advice specific to their jurisdiction and operational context.
  • Consult your agency's CJIS Systems Officer (CSO) for all CJIS compliance decisions.
  • Verify currency before relying on any cited source. Federal AI executive actions and regulatory guidance shifted multiple times in 2025. State AI laws and administrative rules continue to evolve. Every citation in this repository has a date β€” check whether it is still current before acting on it.
  • No classified or CJI data should ever be committed to or referenced in this repository.
  • The CJIS compliance analysis is based on publicly available policy documents and should be independently validated by your security team.
  • The Texas AI governance analysis is based on publicly available statutes, administrative rules, and practitioner commentary as of April 2026. Attorney General opinions interpreting TRAIGA and DIR's rulemaking status should be verified directly.
  • The author is a law enforcement professional sharing practical experience, not a vendor, consultant, or attorney.

Quick Links

Tooling

Resource URL
Ollama https://ollama.com
Ollama GitHub https://github.com/ollama/ollama
Open WebUI https://github.com/open-webui/open-webui
LiteLLM Proxy https://docs.litellm.ai
Microsoft Presidio (DLP) https://github.com/microsoft/presidio

Federal AI Governance (current as of April 2026)

Resource URL
Executive Order 14179 (Jan 23, 2025) β€” Removing Barriers to American Leadership in AI (rescinded EO 14110) https://www.federalregister.gov/documents/2025/01/31/2025-02172/removing-barriers-to-american-leadership-in-artificial-intelligence
Executive Order of December 11, 2025 β€” Ensuring a National Policy Framework for AI https://www.federalregister.gov/documents/2025/12/16/2025-23092/ensuring-a-national-policy-framework-for-artificial-intelligence
OMB M-25-21 β€” Accelerating Federal Use of AI https://www.whitehouse.gov/wp-content/uploads/2025/02/M-25-21-Accelerating-Federal-Use-of-AI-through-Innovation-Governance-and-Public-Trust.pdf
OMB M-25-22 β€” Driving Efficient Acquisition of AI in Government https://www.whitehouse.gov/wp-content/uploads/2025/02/M-25-22-Driving-Efficient-Acquisition-of-Artificial-Intelligence-in-Government.pdf
OMB M-26-04 β€” Increasing Public Trust in AI Through Unbiased AI Principles https://www.whitehouse.gov/wp-content/uploads/2025/12/M-26-04-Increasing-Public-Trust-in-Artificial-Intelligence-Through-Unbiased-AI-Principles-1.pdf
America's AI Action Plan (July 23, 2025) https://www.whitehouse.gov/wp-content/uploads/2025/07/Americas-AI-Action-Plan.pdf
Current OMB memoranda (verify currency) https://www.whitehouse.gov/omb/
NIST AI Risk Management Framework 1.0 https://www.nist.gov/itl/ai-risk-management-framework
NIST AI 600-1 β€” Generative AI Profile https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf
FBI CJIS Security Policy v6.0 (Dec 27, 2024) https://le.fbi.gov/file-repository/cjis_security_policy_v6-0_20241227.pdf
FBI CJIS Security Policy Resource Center https://www.fbi.gov/services/cjis/cjis-security-policy-resource-center
CISA Roadmap for AI https://www.cisa.gov/resources-tools/resources/roadmap-ai

Texas AI Governance (current as of April 2026)

Resource URL
TRAIGA β€” Texas Business & Commerce Code Chapter 552 https://statutes.capitol.texas.gov/Docs/BC/htm/BC.552.htm
HB 149 (TRAIGA) Bill History https://capitol.texas.gov/BillLookup/History.aspx?LegSess=89R&Bill=HB149
HB 149 Enrolled Text (PDF) https://capitol.texas.gov/tlodocs/89R/billtext/pdf/HB00149F.pdf
Texas Business & Commerce Code Β§ 503.001 (CUBI) https://statutes.capitol.texas.gov/Docs/BC/htm/BC.503.htm
Texas DIR β€” Technology Legislation & AI Rules https://dir.texas.gov/technology-legislation
Texas DIR β€” Statewide AI Awareness Training (HB 3512) https://dir.texas.gov/statewide-artificial-intelligence-ai-awareness-training
Texas Attorney General β€” Biometric Identifier Act https://www.texasattorneygeneral.gov/consumer-protection/file-consumer-complaint/consumer-privacy-rights/biometric-identifier-act
Texas Government Code Chapter 552 β€” Public Information Act https://statutes.capitol.texas.gov/docs/GV/htm/GV.552.htm

License

This work is shared for educational purposes within the law enforcement community. See LICENSE for details.

About

Companion resource for the Secure and Affordable In-House AI presentation - Local LLM deployment guide for law enforcement professionals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors