ai-security-wiki
A local, read-only MCP reference server for scoping and planning DASF-based AI security audits; it teaches method but does not scan, test, or change systems.
Classify an AI system into DASF deployment patterns from explicit features.
Scope applicable DASF risks and linked controls from deployment patterns.
Search knowledge by words, IDs, or framework mappings; read full risks and controls.
Get investigation guidance: trust boundaries, hypotheses, evidence requests, bounded tests, acceptance criteria.
Build evidence-first audit plans and unverified risk registers.
Propose remediation and retest criteria for selected risks.
Prepare English or pt-BR explanations distinguishing possible risks from verified failures.
Read reference material such as methodology, glossary, source caveats, toolkit, audit skill, personality, methods, and review rubric.
All tools are read-only and local over stdio; no hosted endpoint, attack execution, fixes, installs, or certification.
Provides read-only tools over the Databricks AI Security Framework (DASF) 3.0 snapshot: classify a system into deployment patterns, scope applicable DASF risks and controls, retrieve risk/control details with source mappings, build evidence-first audit plans and risk registers, investigate risks, and propose remediation with retest criteria.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ai-security-wiki Audit my RAG assistant and show applicable risks, missing evidence, and controls."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Security Wiki — DASF reference and MCP for agent security
Understand an AI system. Identify its risks. Investigate evidence. Propose a fix. Verify the result.
An independent, community reference built by Matheus Borges around the Databricks AI Security Framework (DASF). It combines a linked Markdown wiki, a versioned knowledge graph, an MCP server and a portable audit skill.
I started this project to study AI security in depth and make defensive knowledge easier to use at scale. The goal is to help people and agents ask better questions, trace answers to evidence and share useful improvements with the community.
Explore the website · Read the wiki · Português · Audit workflow · MCP setup · Contribute
The M8ven score is an external automated assessment, not a security guarantee or certification.
Start with your security question
AI agent security checklist: classify the architecture and inspect trust boundaries.
MCP security checklist: review clients, servers, credentials and tool authorization.
Prompt injection in RAG and agents: trace untrusted content to a concrete effect.
PentAGI, Cloudflare and Red Blue Field: study investigation architecture, coverage and independent verification.
Evidence-driven audit playbook: move from a synthetic hypothesis to proposed correction and retest.
Use with Claude, Codex, ChatGPT or another agent: choose web reference access or local MCP integration.
The static documentation site is generated from this wiki, with a searchable reference, Markdown alternates and a sitemap. To cite or adapt the work, use CITATION.cff and preserve the original DASF attribution.
Related MCP server: AIR MCP Server
What is included
The 2026-10-22 snapshot of DASF 3.0 indexes 97 risks, 73 controls, 804 risk–control links, 13 components, seven deployment patterns and 46 tool-directory entries. Each risk and control links to its source spreadsheet row, implementation references and source-reported framework mappings. See provenance and limits.
LLM Wiki: small linked pages, an explicit entry point, source records, generated indexes and a change log. Agents retrieve only the pages they need.
MCP: ten read-only tools, reference resources and two prompts for classification, scoping, investigation, remediation proposals and explanations.
Skill: audit-ai-security, with an evidence-oriented working profile, cited methods and two review lenses.
Verification: deterministic source checks and a real MCP client test. Validation report distinguishes software tests from domain and host behavior.
The complementary research library adds six original guides/templates, with pinned revisions and a separate source manifest. Search them through search_knowledge with kind: "reference", then use get_reference with a returned name. The same guides appear in website search, HTML and Markdown. These are reference adaptations, not new official DASF entries or executed upstream integrations.
Try it
Requires Node.js 22 or later and npm. No model key, database, Databricks account or paid service is needed to run the reference server.
git clone https://github.com/MathBorgess/ai-security-wiki.git
cd ai-security-wiki
npm ci --ignore-scripts
npm run check
npm run demoUse the absolute path to src/server.mjs in an MCP client configuration:
{
"mcpServers": {
"ai-security-wiki": {
"command": "node",
"args": ["/absolute/path/to/ai-security-wiki/src/server.mjs"]
}
}
}The server uses stdio and runs locally. A client must support MCP tools over stdio; resource and prompt support adds richer navigation. This repository does not operate a hosted endpoint. Client-specific notes and the protocol contract explain the integration boundary.
Ask your agent:
Audit the design of my retrieval assistant. It uses an external foundation model and an MCP tool that can create support tickets. Start by identifying all deployment patterns, then show applicable risks, missing evidence and proposed checks. Do not execute tests yet.
The first useful result is a scoped audit plan. A catalog match alone is not a finding. The server teaches the audit method; the calling agent uses its separately authorized tools to inspect the actual system.
flowchart LR
A[System and stakeholders] --> B[Deployment patterns]
B --> C[Union of source risks]
C --> D[Architecture review]
D --> E[Evidence and bounded tests]
E --> F[Correction proposal]
F --> G[Retest and explain]Honest boundaries
The source contains inconsistencies. Blank applicability remains unspecified; reverse graph disagreements remain visible; source filtering does not replace architectural judgment. The project adds verification guidance without presenting it as Databricks-authored material.
This is an educational and assessment aid, not a scanner, certification, compliance attestation or guarantee of safety. It does not execute attacks, apply fixes or install tools in the target system. No Databricks affiliation or endorsement is implied. Code is Apache-2.0; DASF-derived knowledge and documentation are CC BY-SA 4.0. See LICENSE and NOTICE.
Study public security methods
Explore Jason Haddix's repositories, tools and report-reading path, then use map-attack-surface to prepare a scoped evidence map. The skill complements DASF; it does not run reconnaissance. Validation limits.
Use ask-cyber-specialist to explain mechanisms, challenge hypotheses and plan studies with a pocket cybersecurity mentor. Explore Jason Haddix’s posts and media, spikee evaluation design and the observed skill evaluation.
Available Tools
10 toolsbuild_audit_planBRead-onlyIdempotent
Create an evidence-first audit plan and unverified risk register after system classification. Includes intake, source-scoped risks and control verification backlog.
Inputs: deployment_patterns (required).
classify_systemARead-onlyIdempotent
Start an AI security audit here. Identify ML, GenAI and agentic deployment patterns from explicit system features. Unknown inputs produce questions; combine all applicable patterns.
Inputs: retrieval, fine_tuning, pretraining, agent_actions, +3 more.
explain_findingBRead-onlyIdempotent
Prepare an English or Brazilian Portuguese explanation of a risk and caller-reported evidence. Distinguishes a possible risk from an independently verified failure; guides the calling agent to explain the source mechanism in the user’s language.
Inputs: risk_id (required), language, observation, evidence_refs.
get_controlBRead-onlyIdempotent
Read one DASF control, platform documentation, source mappings and project-authored verification criteria.
Inputs: control_id (required).
get_referenceBRead-onlyIdempotent
Read the wiki method, glossary, source caveats or the portable audit skill and its required personality/methods/review lenses. Available even in MCP hosts without resource support.
Inputs: name (required).
get_riskARead-onlyIdempotent
Read one complete DASF risk, impacts, deployment applicability, mappings and official source row.
Inputs: risk_id (required).
investigate_riskARead-onlyIdempotent
Learn how to investigate a DASF risk: trust boundary, failure hypothesis, evidence requests, bounded tests and per-control acceptance criteria. Does not scan or execute tests.
Inputs: risk_id (required).
propose_remediationARead-onlyIdempotent
Propose control changes and retest criteria for selected risk IDs. No changes are applied; select proposals against actual evidence and assign owners/rollback.
Inputs: risk_ids (required).
scope_risksARead-onlyIdempotent
After classification, filter DASF risks using the union of deployment-pattern Yes cells, then deduplicate linked controls. Returns source citations and unspecified applicability. This is scoping, not a vulnerability finding.
Inputs: deployment_patterns (required).
search_knowledgeARead-onlyIdempotent
Find DASF risks and controls by literal words, IDs or source framework mapping. Paginated source-backed results; use get_risk/get_control for details. Translate natural-language search terms to source English when needed.
Inputs: query (required), kind, limit, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct step or resource: classify, scope, plan, investigate, remediate, explain, plus three lookup tools. The closest pairs (search_knowledge vs. get_risk/get_control, and investigate_risk vs. explain_finding) are explicitly separated in the descriptions (search vs. read details; investigate vs. explain). Minor residual overlap between investigate_risk and explain_finding keeps it from a 5.
All ten tools use snake_case verb_noun form (classify_system, scope_risks, investigate_risk, get_control). get_reference/get_risk/get_control form a coherent get_* family and the action verbs clearly map to workflow stages. Only build_audit_plan adds a third noun, which is still readable and consistent.
Ten tools for a multi-stage audit workflow (classify → scope → plan → investigate → remediate → explain) with three reference readers is well-scoped. No redundant or filler tools are apparent; each corresponds to a workflow step or lookup need.
The surface covers the full advisory lifecycle from classification through remediation proposals and explanation, and explicitly declares what it does not do (no scanning, no execution, no applied changes). The main gap is that there is no tool to record evidence/verification outcomes or update an existing audit plan, so the loop from retest back into the register is left to the calling agent.
Maintenance
Related MCP Connectors
Governance maturity assessment, compliance gap analysis, and evidence-linked briefs for AI agents.
Compliance frameworks (SOC 2, ISO 27001, CMMC, NIST, more) delivered to AI agents as MCP tools.
Read-only finance and operations controls for AI agents with evidence and safe next actions.
AI-native GRC: compliance scores, security findings, tickets and agent trust tiers.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables AI agents to assess AI-readiness and improve AI leverage through analysis tools, resources, and prompts for project scanning and remediation.51 npmMIT- AlicenseBqualityBmaintenanceEnables AI assistants to perform governed risk assessments through AIR: discover projects, upload evidence, run assessments, and retrieve structured reports.4565 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables EU AI Act compliance for AI agent systems by providing risk classification, audit trails, gap analysis, and evidence package generation.51 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and builders to run local, audit-traceable governance assessments, including an A³ scorecard, ISO/IEC 42001 and NIST evidence templates, compliance checklists, passport lookup, and sensitive-text screening.MIT