Certificate pinning

From zakirkun/ice-tea · View interactive version

Certificate pinning is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects Android TrustManager implementations that accept all certificates, disabling SSL/TLS security.

How to use this skill

Skill file

Android Insecure Certificate Validation

Overview

Android applications that implement custom X509TrustManager with empty or no-op validation methods accept any certificate, including self-signed and attacker-controlled certificates. This completely negates TLS security and enables trivial man-in-the-middle attacks.

Common vulnerable pattern: checkServerTrusted() method with empty body.

Detection Strategy

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.