Skip to main content
Glama

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

M8ven Score

The M8ven score is an external automated assessment, not a security guarantee or certification.

Start with your security question

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 demo

Use 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 tools
build_audit_planB
Read-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_systemA
Read-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_findingB
Read-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_controlB
Read-onlyIdempotent

Read one DASF control, platform documentation, source mappings and project-authored verification criteria.

Inputs: control_id (required).

get_referenceB
Read-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_riskA
Read-onlyIdempotent

Read one complete DASF risk, impacts, deployment applicability, mappings and official source row.

Inputs: risk_id (required).

investigate_riskA
Read-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_remediationA
Read-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_risksA
Read-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_knowledgeA
Read-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

    A3.7/5.0

    Scored across 10 tools

    Disambiguation4/5

    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.

    Naming Consistency5/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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to assess AI-readiness and improve AI leverage through analysis tools, resources, and prompts for project scanning and remediation.
      51 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to perform governed risk assessments through AIR: discover projects, upload evidence, run assessments, and retrieve structured reports.
      45
      65 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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