authorization-txorigin

Community

Secure authorization against tx.origin flaws.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and helps remediate a critical security vulnerability in smart contracts where the use of tx.origin for authorization can lead to phishing attacks and unauthorized access.

Core Features & Use Cases

  • Vulnerability Detection: Pinpoints the use of tx.origin in authorization logic.
  • Severity Classification: Flags tx.origin usage as a High severity risk.
  • Remediation Guidance: Provides clear instructions to replace tx.origin with msg.sender.
  • Use Case: Automatically scan your Solidity codebase to ensure that no critical functions are protected solely by tx.origin, preventing potential exploits where a user might be tricked into calling a malicious contract that then calls your contract.

Quick Start

Analyze the current Solidity file for tx.origin authorization vulnerabilities.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: authorization-txorigin
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#authorization-txorigin

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.