padding-oracle-anti-pattern

Community

Prevent padding oracle attacks.

Authorigbuend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps prevent attackers from decrypting sensitive data by exploiting how an application handles decryption padding errors, a vulnerability known as a padding oracle attack.

Core Features & Use Cases

  • Vulnerability Detection: Identifies code that might leak information through distinct error messages or timing differences during decryption.
  • Secure Implementation Guidance: Provides examples of using Authenticated Encryption with Associated Data (AEAD) modes like AES-GCM or the Encrypt-then-MAC approach for CBC mode.
  • Use Case: When reviewing code that handles encrypted user data, this skill helps ensure that decryption failures do not reveal information that an attacker could use to decrypt other messages.

Quick Start

Review the attached Python code for potential padding oracle vulnerabilities in its decryption logic.

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: padding-oracle-anti-pattern
Download link: https://github.com/igbuend/grimbard/archive/main.zip#padding-oracle-anti-pattern

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.