File upload

From zakirkun/ice-tea · View interactive version

File upload is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects file upload handlers that lack extension validation, MIME type checking, or store files in web-accessible directories.

How to use this skill

Skill file

Insecure File Upload

Overview

Unrestricted file upload allows attackers to upload web shells (PHP, JSP, ASPX) or other malicious files that can then be executed by the server. This often leads to Remote Code Execution.

Attack scenarios:

  1. Upload shell.php — server executes it if stored in webroot
  2. Upload a file with double extension: shell.php.jpg — some servers still execute
  3. Upload SVG with embedded XSS — client-side attack
  4. Upload oversized file — DoS via disk exhaustion

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.