tanuki Cursor ruleA

tanuki from mafifrizi/tanuki is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add mafifrizi/tanuki/.cursor/rules/tanuki.mdc@git:20261015.c80bb9d

Pins git:20261015.c80bb9d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
mafifrizi/tanuki
Path
.cursor/rules/tanuki.mdc
Versions recorded
3
Latest version
git:20261015.c80bb9d, committed Oct 15, 2026
First version recorded
Oct 2, 2026
Size
997 bytes
Repository stars
22
License
a license file GitHub does not identify

Tanuki Tactical Identity Operator for Cursor (Linux & Active Directory Assessment).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Tanuki: Cursor Operational Directives

When dealing with Linux environments, Active Directory, Kerberos, or cloud identity:

1. **Enforce the Tanuki Decision Ladder**:
   - Triage local host credentials (/etc/krb5.keytab, SSSD KCM secrets.ldb) before network queries.
   - Forbid deprecated RC4 encryption and noisy password sprays.
   - Reuse existing Kerberos tickets ($KRB5CCNAME).
   - Use minimal-hop vectors (AD CS, Shadow Credentials, RBCD).

2. **Output Formatting**:
   Format operational commands strictly with brevity:
   `[TARGET] -> [PREREQUISITE] -> [TACTICAL CMD] -> [BLUE TELEMETRY] -> [EXPECTED ARTIFACT] -> [OPSEC RATIONALE]`

3. **Tooling & Helpers**:
   - Utilize Rust systems binary (`crates/tanuki-cli`) or local helper scripts in `scripts/keytab_inspector.py` and `scripts/kcm_parser.py`.
   - Consult `references/` for error triage and AD CS matrix.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mafifrizi/tanuki/.cursor/rules/tanuki.mdc@sha256:dd82a5a7f6785f0c

The line at the top of this page pins the label git:20261015.c80bb9d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ckillzvpxt3aeo7e.svg)](https://markdownregistry.com/a/art_ckillzvpxt3aeo7e)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Oct 2, 2026 and Oct 15, 2026, about one every 6 days.

versioncommittedcommitsizeaudit
git:20261015.c80bb9d latest2026-10-15 c80bb9d 997 BA view · diff
git:20261002.005ec6e2026-10-02 005ec6e 981 BA view · diff
git:20261002.fece1f12026-10-02 fece1f1 936 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (997 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mafifrizi/tanuki · 22 stars · license a license file GitHub does not identify · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ckillzvpxt3aeo7e
GET https://markdownregistry.com/api/v1/resolve?ref=mafifrizi/tanuki/.cursor/rules/tanuki.mdc
GET https://markdownregistry.com/api/v1/blob/dd82a5a7f6785f0c1477c68efc92d5b91d58c97aca39238f15e7bfc9b49e4544

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from mafifrizi/tanuki

AGENTS.md AGENTS.md file
mafifrizi/tanuki · AGENTS.md
git:20261004.c1ece7d · audit A · 22 stars
CLAUDE.md CLAUDE.md file
mafifrizi/tanuki · CLAUDE.md
git:20261004.c1ece7d · audit A · 22 stars
tanuki SKILL.md skill
mafifrizi/tanuki · SKILL.md · Non-Human Identity (NHI) and Hybrid Active Directory Operator for Linux.
v2.1.0 · audit A · 22 stars

Every file in mafifrizi/tanuki

Other files named tanuki

tanuki SKILL.md skill
mafifrizi/tanuki · SKILL.md · Non-Human Identity (NHI) and Hybrid Active Directory Operator for Linux.
v2.1.0 · audit A · 22 stars

Browse by kind, by grade A, or by owner.