nuroctane/nur-cli/reviewing-access-control-and-auth

Claude Code and agent skill by nuroctane/nur-cli

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Review Solidity access control: missing modifiers, tx.origin, initialize front-run, role rugging, default-public, and two-step ownership. Use on every admin, mint, upgrade, and withdraw path.

Install

npx vskill@latest install nuroctane/nur-cli/reviewing-access-control-and-auth

SKILL.md

The same SKILL.md was published earlier as nuroctane/nur-cli/reviewing-access-control-and-auth.

Reviewing access control and auth

SWC-105/106/115. In-scope. Every state changer gets a revert test.

Walk

  1. List every external/public that writes storage or moves value.
  2. Who is allowed? Owner, role, callback, anyone.
  3. tx.origin is a finding (phishable).
  4. initialize / constructor: proxy vs impl (reviewing-upgradeable-proxies).
  5. Two-step ownership (OZ Ownable2Step) if the owner can rug TVL.
  6. Renounce/transfer owner while a critical role is the same EOA.
  7. onlyRole with DEFAULT_ADMIN_ROLE held by a hot wallet.

Tests

solidity
function test_RevertWhen_AttackerWithdraws() public {
vm.prank(attacker);
vm.expectRevert();
vault.withdraw(1 ether);
}

One per guard. Name them test_RevertWhen_*.

If a function is intentionally open (deposits), document why it cannot break conservation laws (writing-foundry-invariant-handlers).

Paid bounty analogs

Full $ table: hunting-x-linked-bounties references/paid-payouts.md. Uninitialized proxy is reviewing-upgradeable-proxies, not this file.

$ProtocolPackWhitehat
$400kEnzyme missing privilegeT02rootrescue
$100kAPWine delegationsT02 / T10setuid0
$50kSenseT02alephv.eth
$50kVeChainThor VTHO accrualT01nnez
$40kCronos tx feesC05zb3
$28kAlchemist admin brickT02Dacian
$7.5kAlchemix accessT02Ashiq
$4.5kBitswift unlimited mintT02Immunefi

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nuroctane/nur-cli/reviewing-access-control-and-auth/badge)](https://verified-skill.com/skills/nuroctane/nur-cli/reviewing-access-control-and-auth)

Something wrong with this skill or its page? Tell us.