muster-frappe-security

muster-frappe-security is a skill for Codex from musterhq/muster. It costs 64 tokens per session (694 once invoked), scanned A, original, MIT.

A security-review guide for Muster integrations with Frappe. Frappe is a business application framework; the guide covers login, organizations and sites, roles, permissions, delegated agents, channels, secrets, approvals, and audit records.

In plain words
What is it for?
Use it to threat-model identity linking, OAuth setup, multi-tenant site registration, Telegram onboarding, permission changes, delegated actions, and security release checks.
Why use it?
It helps prevent an authenticated user or delegated agent from accessing the wrong organization, exceeding its permissions, or exposing credentials.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to threat-model identity linking, OAuth setup, multi-tenant site registration, Telegram onboarding, permission changes, delegated actions, and security release checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/musterhq/muster/muster-frappe-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 musterhq/muster --skill muster-frappe-security
Clone the repo
git clone --depth 1 https://github.com/musterhq/muster

Made for: Codex.

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 muster-frappe-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/musterhq/muster/muster-frappe-security/github.svg)](https://agentmods.dev/skills/musterhq/muster/muster-frappe-security)
Your own site
<a href="https://agentmods.dev/skills/musterhq/muster/muster-frappe-security"><img src="https://agentmods.dev/badge/skills/musterhq/muster/muster-frappe-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 muster-frappe-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/musterhq/muster/muster-frappe-security"><img src="https://agentmods.dev/badge/skills/musterhq/muster/muster-frappe-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 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.00064 $0.00694
Opus 5 $0.00032 $0.00347
Sonnet 5 $0.00013 $0.00139
Haiku 4.5 $0.00006 $0.00069

Measured 11d ago against content hash 0e17b443da75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

muster-frappe-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 11d 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/muster-frappe-security/SKILL.md · 38 lines

How it starts

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

Muster Frappe Security

Make identity and authorization continuous: authenticate the actor, bind the tenant/site, resolve the effective Frappe user, authorize the exact operation, constrain delegated agents, and audit the outcome.

Trust Model

  • A tenant, Frappe site, Muster gateway, channel identity, and Frappe user are separate principals with explicit bindings.
  • OAuth proves an identity and scopes a token; it does not replace Frappe role and document permission checks.
  • Child agents receive attenuated capabilities, never an ambient copy of the parent session.
  • Background and Telegram actions run as a recorded user or service principal with bounded roles, expiry, and revocation.
  • Credentials are encrypted at rest, redacted everywhere, rotated, and never placed in workflow JSON, browser state, events, or artifacts.

Review Workflow

  1. Draw trust boundaries and data flows for browser, Frappe, Muster gateway, workers, model providers, channels, and storage.
  2. Enumerate assets, actors, entry points, escalation paths, and cross-tenant identifiers.
  3. Define deny-by-default policy and the exact Frappe permission API used at plan, approval, execution, and readback time.
  4. Bind approvals to immutable action hashes, identity, tenant, scope, and expiry. Revalidate after any change.
  5. Keep high-risk operations behind fresh approval and server-side enforcement.
  6. Produce automated positive and negative matrices plus auditable evidence.

Required Attacks

Test horizontal and vertical privilege escalation, tenant/site confusion, forged OAuth state, token replay, revoked roles, field-level leakage, child-agent overreach, approval substitution, prompt/tool injection, webhook forgery, Telegram identity collision, ID enumeration, SSRF, stored XSS, unsafe print/template code, queue replay, log leakage, and denial-of-service limits.

Do not use generic pairing as proof of a Frappe identity. A streamlined channel onboarding flow may start from an authenticated Frappe session and a short-lived one-time link, but it must retain explicit consent, expiry, single use, device/channel confirmation, and revocation.

Read the full file on GitHub · 38 lines

Files

What ships with it

2 files 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. 11d ago First seen · 38 lines · 64 tokens per session scan A 0e17b443da75

Subscribe to this mod's changes

muster-frappe-security is a skill published in the GitHub repository musterhq/muster (11 stars, last pushed 6d ago), licensed MIT. It adds 64 tokens to every session and 694 once invoked, about $0.0003 per session on Opus 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-30.