# file-upload-and-webshell

file-upload-and-webshell is a Claude Code skill for examining code execution risks in file uploads. It activates when an application stores uploads that the web server can reach.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/red-team/web-and-application/file-upload-and-webshell/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/file-upload-and-webshell

## What it does

The skill examines whether an uploaded file could be treated as executable code by a web server. It covers checks on file type and name, storage location, directory execution settings, and archive or multi-format file handling.

The assessment connects an accepted upload to two conditions: the file is reachable by URL, and an interpreter handles it. If the server returns stored bytes as static content, that does not establish code execution. Related skills cover MIME and extension checks, directory configuration, archives and polyglots, and filename or path handling.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill file-upload-and-webshell -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/file-upload-and-webshell/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/file-upload-and-webshell/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill file-upload-and-webshell -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/file-upload-and-webshell/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill file-upload-and-webshell -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/file-upload-and-webshell/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster red-team/web-and-application/file-upload-and-webshell
```

2. **Manually: put the files in place**
- File: `.github/skills/file-upload-and-webshell/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill file-upload-and-webshell -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path red-team/web-and-application/file-upload-and-webshell
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/file-upload-and-webshell/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/red-team/web-and-application/file-upload-and-webshell/SKILL.md

## When to use it
- check whether uploaded files can execute on the server
- review file type and name validation
- assess storage paths and directory execution settings
- distinguish code execution from static file delivery

## Example prompts
- Check whether this application's file upload could lead to server-side code execution.
- Review how this upload feature validates file types and names and stores files.
- Determine whether the web server interprets uploaded files or returns them as data.

## Similar
- [hunt-file-upload](https://affpapa.org/en/nevibecode/skills/hunt-file-upload.md) — skill · ★ 16193 repo stars
- [experience-ui-bundle-file-upload-generate](https://affpapa.org/en/nevibecode/skills/experience-ui-bundle-file-upload-generate.md) — skill · 5200 installs
- [oz-upload-file](https://affpapa.org/en/nevibecode/skills/oz-upload-file.md) — skill · ★ 720 repo stars
- [Notion Large File Upload](https://affpapa.org/en/nevibecode/mcp/notion-large-file-upload.md) — MCP server · ★ 13 repo stars
- [upload-insecure-files](https://affpapa.org/en/nevibecode/skills/upload-insecure-files.md) — skill · 3800 installs
- [gws-drive-upload](https://affpapa.org/en/nevibecode/skills/gws-drive-upload.md) — skill · 51400 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
