fabric-security

fabric-security is a skill for Claude Code from wardawgmalvicious/agent-config. It costs 191 tokens per session (2,527 once invoked), scanned A, original, MIT.

A guide to Microsoft Fabric’s security and permission model, covering workspace roles, item access, OneLake data roles, and SQL permissions. It explains how these layers control access to data, rows, and columns.

In plain words
What is it for?
Use it when designing or reviewing Fabric permissions, setting least-privilege access, or checking how SQL, Spark, and OneLake access interact.
Why use it?
It helps prevent giving users more access than they need and clarifies when Fabric roles can bypass row- or column-level protections.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when designing or reviewing Fabric permissions, setting least-privilege access, or checking how SQL, Spark, and OneLake access interact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wardawgmalvicious/agent-config/fabric-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wardawgmalvicious/agent-config --skill fabric-security
Clone the repo
git clone --depth 1 https://github.com/wardawgmalvicious/agent-config

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fabric-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/fabric-security/github.svg)](https://agentmods.dev/skills/wardawgmalvicious/agent-config/fabric-security)
Your own site
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/fabric-security"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/fabric-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fabric-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/fabric-security"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/fabric-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00191 $0.02527
Opus 5.5 $0.00076 $0.01011
Sonnet 5.5 $0.00038 $0.00505
Haiku 4.5 $0.00019 $0.00253

Measured 1mo ago against content hash 7c64c816056e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fabric-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fabric-core/fabric-security/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security model

Permission Layers (broadest to finest)

  1. Workspace roles: Admin, Member, Contributor, Viewer
  2. Item-level permissions: Read, ReadData, ReadAll
  3. OneLake security data access roles (GA May 2026): lake-level RBAC — folder + row + column scopes enforced across all Fabric engines (see below)
  4. SQL granular permissions: GRANT/DENY/REVOKE

Key Principles

  • Admin/Member/Contributor roles grant full data read and bypass RLS/CLS/DDM
  • A Viewer already reads every table: the role carries CONNECT + ReadData on every Warehouse and SQL analytics endpoint in the workspace, so a GRANT adds nothing for one. For least-privilege consumer access, share the one item with no extra permissions and GRANT (next line), or keep Viewer and DENY; on an endpoint in user's-identity mode, OneLake roles decide instead. Learn's warehouse security page still says to "assign them to the Viewer role and grant read access on specific objects through T-SQL"; its workspace-roles page gives Viewer ReadData (both read 2026-10-13).
  • Sharing an item with no extra permissions → CONNECT only (can't read tables until GRANT SELECT)
  • "Read all data using SQL" (ReadData) → equivalent to db_datareader
  • "Read all data using Apache Spark" (ReadAll) → OneLake file access, does NOT affect SQL permissions
  • RLS/CLS enforcement is mode-dependent (changed by OneLake security GA, May 2026):
    • SQL-defined RLS/CLS (the CREATE SECURITY POLICY / column-GRANT surface below) is still enforced on the SQL endpoint only — users with Spark/OneLake access (ReadAll) bypass it. This hole is unchanged.
    • OneLake-security-defined RLS/CLS (lake-level data access roles) is enforced across all Fabric engines — Lakehouse, Spark notebooks, Direct Lake on OneLake, and SQL analytics endpoints switched to User's identity access mode are all GA. "Any security set applies to access from all engines in Fabric." SQL analytics endpoints left in delegated-identity mode do not honor OneLake security roles (they keep the old behavior). The mode is a one-time per-endpoint switch an Admin or Member makes under the endpoint Security tab, and a new SQL analytics endpoint starts in delegated-identity mode, so OneLake security reaches SQL only after that switch (Learn, 2026-10-13).
  • Users auto-created on first GRANT/DENY — CREATE USER is not supported
  • Limit warehouses + SQLEPs to ≤ 40 per workspace to avoid system token size limits

Read the full file on GitHub · 111 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +3 lines · +8 tokens per session 7c64c816056e
  2. 1mo ago Changed 215b55aaea3e
  3. 1mo ago Changed 8bd5209d43df
  4. 1mo ago Changed ddfa0dd567d6
  5. 2mo ago Changed 18f97ffbcd44
  6. 2mo ago Changed cdd8a4cf8ab8
  7. 2mo ago Changed · +3 lines dadd9bd4cd3b
  8. 3mo ago First seen · 105 lines · 183 tokens per session scan A 9a272d953d19

Subscribe to this mod's changes

fabric-security is a skill published in the GitHub repository wardawgmalvicious/agent-config (1 stars, last pushed 1mo ago), licensed MIT. It adds 191 tokens to every session and 2,527 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

fabric-security compared with skills from other repositories

fabric-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fabric-securitywardawgmalvicious/agent-configSkill11mo agoMITA191Claude Code
fabric-clidata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A133Claude Code
connect-pbiddata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A221Claude Code
pbir-clidata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A112Claude Code
audit-tenant-settingsdata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A40Claude Code
tmdldata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A108Claude Code
pbi-report-designdata-goblin/power-bi-agentic-developmentSkill1.1k5d agoGPL-3.0A116Claude Code