Chalk Labs
Need help deploying upload-insecure-files?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/langbyyi-upload-insecure-files
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/upload-insecure-files
What's inside
- Skill name
upload-insecure-files- Description
- Insecure file upload playbook. Use when testing upload validation, storage paths, processing pipelines, preview behavior, overwrite risks, and upload-to-RCE chains.
- License
- Apache-2.0
- Instructions
- 300 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
--- name: upload-insecure-files description: >- Insecure file upload playbook. Use when testing upload validation, storage paths, processing pipelines, preview behavior, overwrite risks, and upload-to-RCE chains. --- # SKILL: Upload Insecure Files — Validation Bypass, Storage Abuse, and Processing Chains > **AI LOAD INSTRUCTION**: Expert file upload attack playbook. Use when the target accepts files, imports, avatars, media, documents, or archives and you need the full workflow: validation bypass, storage path abuse, post-upload access, parser exploitation, multi-tenant overwrite, and chaining into XSS, XXE, CMDi, traversal, or business logic impact. For web server parsing vulnerabilities, PUT method exploitation, and specific CVEs (WebLogic, Flink, Tomcat). ## 0. RELATED ROUTING ### Extended Scenarios Also check the extended sections below when you need: - IIS parsing vulnerabilities — `x.asp/` directory parsing, `;` semicolon truncation (`shell.asp;.jpg`) - Nginx parsing misconfiguration — `avatar.jpg/.php` with `cgi.fix_pathinfo=1` - Apache parsing — multiple extensions, `AddHandler`, CVE-2017-15715 `\n` (0x0A) bypass - PUT method exploitation — IIS WebDAV PUT+COPY, Tomcat CVE-2017-12615 `readonly` + `.jsp/` bypass - WebLogic CVE-2018-2894 arbitrary file upload via Web Service Test Page - Apache Flink CVE-2020-17518 file upload with path traversal - Upload + parsing vulnerability chain — EXIF PHP code + Nginx `/.php` path info - Full extension bypass reference table (PHP/ASP/JSP alternatives, case variations, null bytes) Use this file as the deep upload workflow reference. Also load: - [path traversal lfi](../path-traversal-lfi/SKILL.md) when filename, extraction path, or include path becomes file-system control - [xss cross site scripting](../xss-cross-site-scripting/SKILL.md) when uploads are rendered in browser contexts - [xxe xml external entity](../xxe-xml-external-entity/SKILL.md) when SVG, OOXML, or XML imports are accepted - [cmdi command injection](../cmdi-command-injection/SKILL.md) when a processor, converter, or media pipeline executes system tools - [business logic vulnerabilities](../business-logic-vulnerabilities/SKILL.md) when quotas, overwrite rules, approvals, or storage paths create logic bugs --- ## 1. CORE MODEL Every upload feature should be tested as four separate trust boundaries: 1. **Accept**: what validation happens before the file is stored? 2. **Store**: where is the file written and under what name and permissions? 3. **Process**: what background tools, converters, scanners, parsers, or extractors touch it? 4. **Serve**: how is it later downloaded, rendered, transformed, or shared? Many targets validate only one stage. The bug usually appears in a different stage than the one where the file was uploaded. ### 1.1 验证顺序铁律(避免原地打转) > 上传类漏洞最高频的失败模式是反复猜测路径参数而从未确认文件是否落地。 **严格按顺序执行:** 1. **先确认落地(Store)**:上传一个**已知无害的 .txt/.jpg**,用响应里的 URL、目录列表、或 `filepath`/`savepath` 参数回显定位文件物理位置。**确认能访问到上传的文件后**,再尝试恶意内容。 2. **再测绕过(Accept)**:确认落地路径后,逐个尝试扩展名/内容/MIME 绕过,**每次只改一个变量**,并立即验证文件是否以可执行形式落地。 3. **最后测执行(Serve/Process)**:文件落地后,访问它确认是否被服务器解析执行(而非当成静态资源下载)。 **铁律:** - **filepath/savepath/path 参数**:先传一个确定值(如 `attached`),上传成功后再访问 `/<该值>/test.txt` 确认落地。**不要在未确认落地前反复猜测路径**。 - **MapPath/路径错误(ASP)**:`Server.MapPath()` 错误说明路径参数为空或非法,需补 `filepath` 参数而非继续盲测。 - **每个绕过姿势单独验证**:改扩展名就只改扩展名,改内容就只改内容,避免多变量同时变导致无法归因。 --- ## 2. RECON QUESTIONS FIRST Before payload selection, answer these: - Which extensions are allowed, denied, or normalized? - Does the backend trust extension, MIME type, magic bytes, or all three? - Is the file renamed, transcoded, unzipped, scanned, or re-hosted? - Is retrieval direct, proxied, signed, or served from a CDN? - Can one user predict or overwrite another user's file path? - Do filenames, metadata, or previews reflect back into HTML, logs, admin consoles, or PDFs? --- ## 3. VALIDATION BYPASS MATRIX | Validation Style | What to Test | |---|---| | extension blacklist | double extension, case toggles, trailing dot, alternate separators | | content-type only | mismatched multipart `Content-Type`, browser vs proxy rewrite | | magic-byte only | polyglot files or valid header plus dangerous tail content | | server-side rename | whether dangerous content survives rename and later rendering | | image-only policy | SVG, malformed image plus metadata, parser differential | | archive or import only | zip contents, nested path names, XML members, decompression behavior | Representative bypass families: ```text shell.php.jpg avatar.jpg.php file.asp;.jpg file.php%00.jpg file.svg archive.zip ``` 这组小样本已经覆盖了原本单独 upload payload helper 的主要用途,不再需要额外入口来做第一轮选型。 Do not stop at upload success. Successful upload without dangerous retrieval or processing is not enough. --- ## 4. STORAGE AND RETRIEVAL ABUSE ### Predictable or controllable paths Look for patterns like: ```text /uploads/USER_ID/avatar.png /files/org-slug/report.pdf /cdn/tmp/<uuid>/<filename> ``` Test for: - cross-tenant read by guessing IDs, slugs, or UUID patterns - overwrite by reusing another user's filename - path normalization bugs in filename or archive members
From langbyyi/CyberStrikeAI-SRC, Apache-2.0.
More from langbyyi/CyberStrikeAI-SRC
- 0.735score
burp-mcp-vuln-check
langbyyi
Automate low-impact web vulnerability verification through Burp MCP.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
csrf-cross-site-request-forgery
langbyyi
CSRF testing playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
browser-assisted-hunting
langbyyi
浏览器交互式挖洞:登录态操作、双账号越权对比、SPA渲染取证、DOM XSS确认、验证码登录、前端隐藏功能绕过。 Use when CLI/HTTP evidence is insufficient and the target needs real browser interaction to confirm.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
clickjacking
langbyyi
Clickjacking playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
crlf-injection
langbyyi
CRLF injection playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
cors-cross-origin-misconfiguration
langbyyi
CORS misconfiguration testing playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
business-logic-vulnerabilities
langbyyi
Business logic vulnerability playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
cmdi-command-injection
langbyyi
Command injection playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
api-sec
langbyyi
Entry P1 category router for API security.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
authbypass-authentication-flaws
langbyyi
Authentication bypass testing playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
ssti-server-side-template-injection
langbyyi
SSTI playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
dependency-confusion
langbyyi
Supply-chain testing via package-manager dependency confusion.
SkillAFreshness: A★ 131Claude Code +9
Signals
- Stars
- 131
- Forks
- 11
- Open issues
- 0
- Last commit (this folder)
- Aug 6, 2026 (3 months ago)
- Last release
- Oct 16, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/langbyyi/CyberStrikeAI-SRC
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from langbyyi
- 0.735score
burp-mcp-vuln-check
langbyyi
Automate low-impact web vulnerability verification through Burp MCP.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
browser-assisted-hunting
langbyyi
浏览器交互式挖洞:登录态操作、双账号越权对比、SPA渲染取证、DOM XSS确认、验证码登录、前端隐藏功能绕过。 Use when CLI/HTTP evidence is insufficient and the target needs real browser interaction to confirm.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
api-sec
langbyyi
Entry P1 category router for API security.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
authbypass-authentication-flaws
langbyyi
Authentication bypass testing playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
ssti-server-side-template-injection
langbyyi
SSTI playbook.
SkillAFreshness: A★ 131Claude Code +9 - 0.730score
business-logic-vulnerabilities
langbyyi
Business logic vulnerability playbook.
SkillAFreshness: A★ 131Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get upload-insecure-files running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
upload-insecure-files skill. Agent Mart. https://agentmart.dev/skills/langbyyi-upload-insecure-files (last updated 2026-10-24)