Skip to content
Agentmart
Submit a tool

access_control

Guide to Access Control, Initializers, and Governance Exploits

Skill by itsdarktoday

IndexedMIT★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/itsdarktoday-access-control

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Guide to Access Control, Initializers, and Governance Exploits

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/access-control

What's inside

Skill name
access_control
Description
Guide to Access Control, Initializers, and Governance Exploits
License
MIT
Instructions
18 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Access Control, Initializers & Governance Security

### 1. Uninitialized Implementation Contracts
- **Vulnerability**: An implementation contract used behind a UUPS/Transparent proxy has an `initialize()` function that was never called on the logic contract itself.
- **Exploit**: Attacker calls `initialize()` on the implementation address, becomes owner, and calls `upgradeToAndCall()` with `selfdestruct` or malicious delegatecall, bricking all user proxies!
- **Remediation**: Add `_disableInitializers()` in the logic contract constructor:
  ```solidity
  constructor() {
      _disableInitializers();
  }
  ```

### 2. Signature Replay & Malleability
- Check `ecrecover` return value `signer != address(0)`.
- Use OpenZeppelin's `ECDSA.recover` to enforce upper `s` bound (`s <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0`).
- Include `block.chainid`, contract `address(this)`, and incremental `nonce` in signature digest.

From itsdarktoday/auditcode, MIT.

More from itsdarktoday/auditcode

Signals

Stars
12
Forks
6
Open issues
0
Last commit (this folder)
Aug 27, 2026 (2 months ago)
Last release
Sep 15, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from itsdarktoday

Cite this page

access_control skill. Agent Mart. https://agentmart.dev/skills/itsdarktoday-access-control (last updated 2026-10-24)