kya-guard

kya-guard is a plugin for Cursor from The-Pixel-Boys/shield-kya. Its token cost is not measured, scanned A, original, MIT.

A safety add-on that watches a coding agent's actions and stops it from deleting, exposing or dropping things. It runs without network access and uses one file.

In plain words
What is it for?
Use it when you want a basic guard around agent tool calls, especially actions that could delete files or leak sensitive data.
Why use it?
It helps prevent destructive commands and accidental exposure of secrets while an agent works on your code. Its description says it fails open, so it should not be treated as a complete security barrier.

Plugin for Cursor

Written for Cursor: a Cursor plugin manifest.

Good fit Use it when you want a basic guard around agent tool calls, especially actions that could delete files or leak sensitive data.

Compare 6 plugins from other repositories ↓
Install with agentmods
npx agentmods add plugins/the-pixel-boys/shield-kya/kya-guard-cursor
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.

Clone the repo
git clone --depth 1 https://github.com/The-Pixel-Boys/shield-kya

Made for: Cursor.

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 kya-guard

README.md
[![agentmods](https://agentmods.dev/badge/plugins/the-pixel-boys/shield-kya/kya-guard-cursor/github.svg)](https://agentmods.dev/plugins/the-pixel-boys/shield-kya/kya-guard-cursor)
Your own site
<a href="https://agentmods.dev/plugins/the-pixel-boys/shield-kya/kya-guard-cursor"><img src="https://agentmods.dev/badge/plugins/the-pixel-boys/shield-kya/kya-guard-cursor/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 kya-guard

Your own site · 80×15
<a href="https://agentmods.dev/plugins/the-pixel-boys/shield-kya/kya-guard-cursor"><img src="https://agentmods.dev/badge/plugins/the-pixel-boys/shield-kya/kya-guard-cursor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
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.
Security

Grade A, and why

kya-guard 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 14d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • kya-guard — 88% identical, 16 lines differ
plugins/kya-guard-cursor/.cursor-plugin/plugin.json · 15 lines

What it actually says

{
  "name": "kya-guard",
  "displayName": "KYA Guard",
  "version": "1.0.0",
  "description": "Stops your coding agent from deleting, leaking or dropping things. No network, one file, fails open.",
  "author": {
    "name": "MFR Limited (Shield KYA)",
    "email": "[email protected]"
  },
  "homepage": "https://shield-agent.com/install",
  "repository": "https://github.com/The-Pixel-Boys/shield-kya",
  "license": "MIT",
  "keywords": ["guard", "safety", "hooks", "destructive-commands", "secrets"]
}
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. 14d ago First seen · 15 lines scan A 7cd84552f8a0

Subscribe to this mod's changes

kya-guard is a plugin published in the GitHub repository The-Pixel-Boys/shield-kya (3 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-11-16.

Related

kya-guard compared with plugins from other repositories

kya-guard next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kya-guardThe-Pixel-Boys/shield-kyaPlugin3todayMITA—Cursor
padPerpetualSoftware/padPlugin210todayApache-2.0A—Claude Code
skillreaperthousandflowers/skillreaperPlugin6912d agoMITA—Claude Code
securityanton-abyzov/vskillPlugin473d agoMITA—Claude Code
personalanton-abyzov/vskillPlugin473d agoMITA—Claude Code
happyhackingspace-skillsHappyHackingSpace/skillsPlugin628d agoMITA—Gemini CLI
humanizerblader/humanizerPlugin75k11d agoMITA—Claude Code