centralization-risk

centralization-risk is a skill for Claude Code, Codex from PlamenTSV/plamen. It costs 35 tokens per session (1,876 once invoked), scanned A, original, MIT.

A security review method for software protocols with privileged roles such as administrators, operators, governors, or account owners. It examines who controls sensitive actions and whether that control is concentrated or can be escalated.

In plain words
What is it for?
Use it when reviewing access control in Aptos Move protocols, especially functions protected by signers, capabilities, resource accounts, or object ownership.
Why use it?
It helps reveal single points of failure, excessive control, privilege-escalation paths, and dependence on outside governance.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when reviewing access control in Aptos Move protocols, especially functions protected by signers, capabilities, resource accounts, or object ownership.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plamentsv/plamen/centralization-risk
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 PlamenTSV/plamen --skill centralization-risk
Clone the repo
git clone --depth 1 https://github.com/PlamenTSV/plamen

Made for: Claude Code, 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 centralization-risk

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/plamentsv/plamen/centralization-risk"><img src="https://agentmods.dev/badge/skills/plamentsv/plamen/centralization-risk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,876 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00035 $0.01876
Opus 5.5 $0.00014 $0.00750
Sonnet 5.5 $0.00007 $0.00375
Haiku 4.5 $0.00003 $0.00188

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

Security

Grade A, and why

centralization-risk 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 3mo 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.

agents/skills/aptos/centralization-risk/SKILL.md · 158 lines

How it starts

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

Skill: CENTRALIZATION_RISK

Trigger: Protocol has privileged roles (admin, operator, governance, resource account owner) Covers: Single points of failure, privilege escalation, external governance dependencies Required: NO (optional -- recommended when protocol has 3+ distinct privileged roles) Inject Into: Breadth agents

Trigger Patterns

admin|owner|operator|governance|signer_cap|SignerCapability|resource_account|
has_role|is_admin|only_admin|assert_admin|get_signer

Aptos Capability Model Context

Aptos Move uses a capability-based access control model fundamentally different from EVM modifiers:

  • Signer-based: Functions receive &signer and check signer::address_of(account) == @admin
  • Capability pattern: SignerCapability stored in resources grants signing rights to resource accounts
  • No modifiers: Access control is enforced via assert! checks inside function bodies
  • Resource accounts: Accounts controlled by SignerCapability rather than a private key
  • Object ownership: Object<T> has an owner chain; ownership transfers control access

Reasoning Template

Step 1: Privilege Inventory

Enumerate ALL capability-gated functions by searching for signer checks and capability usage:

# Function Module Access Gate What It Controls Impact If Abused
1 {func} {module} assert!(addr == @admin) {parameter/state} {worst case}
2 {func} {module} SignerCapability stored in {resource} {operation} {worst case}
3 {func} {module} Object<T> ownership check {asset control} {worst case}

MANDATORY GREP: Search all .move files for:

  • signer::address_of followed by equality checks
  • SignerCapability usage (creation, storage, account::create_signer_with_capability)
  • object::is_owner and ownership assertions
  • Named address references (@admin, @operator, @governance, @protocol)

Read the full file on GitHub · 158 lines

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. 3mo ago First seen · 158 lines · 35 tokens per session scan A 83448ff86e83

Subscribe to this mod's changes

centralization-risk is a skill published in the GitHub repository PlamenTSV/plamen (320 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 1,876 once invoked, about $0.0001 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-30.

Related

centralization-risk compared with skills from other repositories

centralization-risk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
centralization-riskPlamenTSV/plamenSkill3202mo agoMITA35Claude Code, Codex
prowler-uiprowler-cloud/prowlerSkill15k3d agoApache-2.0A64Claude Code
prowler-commitprowler-cloud/prowlerSkill15k3d agoApache-2.0A44Claude Code, Codex
prowler-mcpprowler-cloud/prowlerSkill15k3d agoApache-2.0A67Claude Code
prowler-test-apiprowler-cloud/prowlerSkill15k3d agoApache-2.0A62Claude Code
tailwind-4prowler-cloud/prowlerSkill15k3d agoApache-2.0A47Claude Code
prowler-docsprowler-cloud/prowlerSkill15k3d agoApache-2.0A53Claude Code