vapt-authz

vapt-authz is a skill for Claude Code, Codex from bhuvangupta/vapt-claude. It costs 0 tokens per session (2,098 once invoked), scanned A, original, MIT.

A guide for testing whether an application correctly limits access to pages, API endpoints, and data based on a user’s role. VAPT means vulnerability assessment and penetration testing, a structured check for security weaknesses.

In plain words
What is it for?
Use it to check anonymous, regular-user, administrator, and other role-based access across an application’s endpoints and resources.
Why use it?
Access-control mistakes can let anonymous users or lower-privilege users reach restricted information or actions. The tests map what each type of user can access.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is curl -s "<url>/api/files?path=../../../etc/passwd".

Good fit Use it to check anonymous, regular-user, administrator, and other role-based access across an application’s endpoints and resources.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/bhuvangupta/vapt-claude
agentmods
npx agentmods add skills/bhuvangupta/vapt-claude/vapt-authz

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 vapt-authz

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bhuvangupta/vapt-claude/vapt-authz"><img src="https://agentmods.dev/badge/skills/bhuvangupta/vapt-claude/vapt-authz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,098 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.02098
Opus 5 $0.00000 $0.01049
Sonnet 5 $0.00000 $0.00420
Haiku 4.5 $0.00000 $0.00210

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

Security

Grade A, and why

vapt-authz scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "%{http_code}" <url>/admin
skills/vapt-authz/SKILL.md · 273 lines

How it starts

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

Authorization & Access Control Testing

When Invoked

The user runs /vapt authz <url> or this skill is triggered as part of Wave 3 during /vapt audit.

Prerequisites

This is the most manual testing category. It requires understanding the application's roles and resources. Check for existing context:

  • If VAPT-WAVE2-CONTEXT.md exists -> use discovered endpoints
  • If VAPT-AUTH.md exists -> use authentication details and session tokens
  • If no context -> discover endpoints and attempt to identify role-based differences

Phase 1: Access Control Mapping

1.1 Identify Roles

Determine the application's role hierarchy:

  • Unauthenticated (anonymous)
  • Authenticated (regular user)
  • Privileged (admin, moderator, manager)
  • Super admin / system

1.2 Endpoint Inventory

Build a matrix of endpoints vs roles:

  • Which endpoints require authentication?
  • Which endpoints are role-restricted?
  • Which endpoints handle user-specific data?
# Check endpoint access as unauthenticated
curl -s -o /dev/null -w "%{http_code}" <url>/admin
curl -s -o /dev/null -w "%{http_code}" <url>/api/users
curl -s -o /dev/null -w "%{http_code}" <url>/dashboard

# Check with regular user token
curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer <token>" <url>/admin

Phase 2: Horizontal Privilege Escalation (IDOR)

2.1 Direct Object Reference Testing

For endpoints that reference user-specific data (user IDs, order IDs, file names):

  1. Identify the reference pattern (numeric ID, UUID, slug)
  2. Access the resource as the authenticated user
  3. Modify the reference to another user's resource
  4. Check if access is granted
# If user 123 can access their own profile:
curl -s -H "Authorization: Bearer <user_123_token>" <url>/api/users/123

# Try accessing user 124's profile:
curl -s -H "Authorization: Bearer <user_123_token>" <url>/api/users/124

Test across:

  • User profiles (/api/users/{id})
  • Orders/transactions (/api/orders/{id})
  • Documents/files (/api/documents/{id})
  • Messages (/api/messages/{id})
  • Settings (/api/settings/{user_id})

Read the full file on GitHub · 273 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. 10d ago First seen · 273 lines · 0 tokens per session scan A 6b5d6bc4856c

Subscribe to this mod's changes

vapt-authz is a skill published in the GitHub repository bhuvangupta/vapt-claude (1 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,098 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

competitive-intel

Compare brands and products across social media — share of voice, sentiment, positioning, and audience overlap using Xpoz. Use when asked to "compare brands", "competitive analysis", "share of voice", "brand vs brand", or "competitive intelligence".

Aditya923-c/xpoz-agent-skills · 54 tokens

influencer-discovery

Find and rank influencers by niche, engagement, and authenticity using Xpoz. Searches Twitter, Instagram, and Reddit for active voices in any topic. Use when asked to "find influencers", "discover thought leaders", "who's talking about X", "influencer research", or "find KOLs".

Aditya923-c/xpoz-agent-skills · 68 tokens

reddit-research

Search and analyze Reddit discussions for market research, product feedback, and community insights using Xpoz. Use when asked to "search Reddit", "what does Reddit think about X", "Reddit feedback on X", "subreddit analysis", or "Reddit market research".

Aditya923-c/xpoz-agent-skills · 58 tokens

security-osint

Monitor social platforms for security threats, vulnerability discussions, and breach intelligence using Xpoz. Use when asked to "find CVE discussions", "security threat monitoring", "OSINT social media", "vulnerability intelligence", "breach mentions", or "threat intel from Twitter/Reddit".

Aditya923-c/xpoz-agent-skills · 63 tokens

social-sentiment-analyzer

Analyze brand or topic sentiment across Twitter, Reddit, and Instagram using Xpoz. Classifies posts as positive/neutral/negative, extracts recurring themes, and generates a sentiment report. Use when asked for "sentiment analysis", "what are people saying about X", "brand sentiment", or "social media opinion on X".

Aditya923-c/xpoz-agent-skills · 72 tokens

pipeline

Use when the user wants a feature idea taken end-to-end in one autonomous run — phrases like "run the whole pipeline", "take this feature from idea to finished branch", "brainstorm then build it autonomously", "do everything from idea to merged", "implement all phases without stopping". Triggers when they want…

kardebadas/claude-plugin · 80 tokens