razorpay-code-audit

razorpay-code-audit is an agent for Claude Code from Venkateshwar-Reddy-Jambula/razorpay-integration-plugin. It costs 39 tokens per session (1,886 once invoked), scanned A, original, MIT.

A security and reliability review for code that connects an application to Razorpay, an online payments service. It checks billing code for vulnerabilities, error-handling gaps, race conditions, and launch readiness.

In plain words
What is it for?
Review Razorpay billing integrations, including payments, subscriptions, webhooks, checkout code, and related configuration before launch.
Why use it?
It helps find payment failures and security risks before they affect customers or production. It also turns the review into a structured list of actions.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the razorpay plugin — 15 skills, 9 agents, 1 hook shipped together

Good fit Review Razorpay billing integrations, including payments, subscriptions, webhooks, checkout code, and related configuration before launch.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit
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/Venkateshwar-Reddy-Jambula/razorpay-integration-plugin

Made for: Claude Code.

Or install razorpay, the plugin that ships this one along with the rest of its 15 skills, 9 agents, 1 hook.

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 razorpay-code-audit

README.md
[![agentmods](https://agentmods.dev/badge/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit/github.svg)](https://agentmods.dev/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit)
Your own site
<a href="https://agentmods.dev/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit"><img src="https://agentmods.dev/badge/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit/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 razorpay-code-audit

Your own site · 80×15
<a href="https://agentmods.dev/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit"><img src="https://agentmods.dev/badge/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-code-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,886 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.00039 $0.01886
Opus 5 $0.00019 $0.00943
Sonnet 5 $0.00008 $0.00377
Haiku 4.5 $0.00004 $0.00189

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

Security

Grade A, and why

razorpay-code-audit 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 9d 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/razorpay-code-audit.md · 160 lines

How it starts

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

You are a FULLY AUTONOMOUS senior payment systems auditor specializing in Razorpay integrations. Your job is to thoroughly audit the codebase for security issues, reliability problems, correctness bugs, and production readiness gaps. You produce a structured, actionable report.

Do NOT ask any questions. Scan everything, read every relevant file, and produce the complete audit report. The user invoked you because they want a full audit — give them one without interruption.

Follow these steps in order. Be thorough at each stage before moving to the next.


Use Glob and Grep to build a complete map of billing code.

  • Search for files importing razorpay (e.g., require('razorpay'), import Razorpay, from razorpay).
  • Search for references to Razorpay API endpoints: strings containing api.razorpay.com, route paths like /subscriptions, /payments, /orders, /invoices.
  • Find webhook handler files by searching for webhook, razorpay_signature, x-razorpay-signature, payment_link, subscription.
  • Find payment route definitions, subscription logic, plan configuration, and checkout integration code.
  • Look for environment variable references: RAZORPAY_KEY_ID, RAZORPAY_KEY_SECRET, RAZORPAY_WEBHOOK_SECRET, or similar names.
  • Look for billing-related database models or schemas (subscription, payment, invoice, plan tables/collections).

Read every file you discover. You need the full source to audit properly. Do not skip files.


Step 2: Security audit

Check every discovered file for the following. For each issue found, record the file path, line number, and a concrete description.

Webhook signature verification:

  • Is x-razorpay-signature header read and verified before processing any webhook body?
  • Is crypto.timingSafeEqual (or language equivalent) used for comparison, NOT === or ==?
  • Is the raw request body (Buffer/string) used for HMAC computation, NOT JSON.stringify(parsedBody)? Using parsed-then-re-stringified JSON will produce a different hash if key order changes.
  • Is the webhook secret read from an environment variable, never hardcoded?

Read the full file on GitHub · 160 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. 9d ago First seen · 160 lines · 39 tokens per session scan A 61fdb4bbd195

Subscribe to this mod's changes

razorpay-code-audit is an agent published in the GitHub repository Venkateshwar-Reddy-Jambula/razorpay-integration-plugin (6 stars, last pushed 5mo ago), licensed MIT. It adds 39 tokens to every session and 1,886 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

financial-integrity-auditor

Audits ONE completed CodeOps phase diff for monetary-correctness defects — idempotency of money-moving operations, duplicate-submission and double-spend windows, rounding and precision, atomicity and rollback on partial failure, reconciliation, audit-trail completeness, negative and overflow amounts, currency and unit…

blendsdk/claude-codeops · 142 tokens

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

soleur-finance-budget-analyst

Use this agent when you need to create budget plans, analyze spending allocation, model burn rate scenarios, or review budget-to-actual variance. Use ops-advisor for expense tracking and vendor cost research; use this agent for budget planning and allocation analysis. Use cfo for cross-cutting financial strategy.

jikig-ai/soleur · 69 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens

ic-challenger

The toughest person on the investment committee with 30 years of CRE experience spanning three full cycles. Challenges every assumption with data and forces analysts to defend their work to the highest standard. Produces structured challenge memos that systematically stress-test investment theses. Deploy this agent…

mariourquia/cre-skills-plugin · 85 tokens

deal-qc-reviewer

Performs final quality control on a music catalog deal package before it is shared with an IC, buyer, lender, seller, or counsel. Checks evidence, assumptions, findings, and unsupported claims.

recoupable/skills · 45 tokens