perseus-file

Detect file security vulnerabilities and provide remediation patterns for web backends.

66|14|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/kaivyy/perseus --skill perseus-file
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perseus-file
Source: https://github.com/kaivyy/perseus/tree/main/skills/perseus/specialists/file-security
Command: npx skills add https://github.com/kaivyy/perseus --skill perseus-file

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps identify and remediate file-handling security flaws in a codebase, preventing data exposure and remote code execution through insecure file operations.

Core Features & Use Cases

  • Detects path traversal, unsafe file uploads, XXE, and archive extraction vulnerabilities to defend web services.
  • Provides practical, language-agnostic remediation patterns and example code snippets for common stacks.
  • Use Case: A security engineer runs the skill against a web application backend to uncover and remediate file-related attack vectors before deployment.

Quick Start

Scan your repository for file handling weaknesses and generate a prioritized remediation report.

Frequently Asked Questions about perseus-file

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect path traversal vulnerabilities in my web application backend?

Path traversal vulnerabilities are detected by scanning codebases for unsafe file path resolution operations, identifying where user input reaches file APIs without proper validation, and generating concrete remediation patterns to enforce safe path construction.

What is XXE and how do I prevent external entity processing attacks?

XXE attacks exploit XML parsers that process external entity references, and this skill identifies vulnerable parser configurations in your codebase, recommending fixes that disable external entity processing to prevent data exposure and remote code execution.

How do I prevent zip slip vulnerabilities during archive extraction?

Prevent zip slip vulnerabilities during archive extraction by validating that all extracted file paths resolve within the intended target directory, and this skill detects unsafe archive extraction logic while providing secure path resolution patterns to block directory traversal.

Can this skill scan file upload vulnerabilities across different programming languages?

Yes, this skill applies to web backends and services across multiple programming languages, detecting unsafe file upload implementations and providing language-agnostic remediation patterns with example code snippets for common stacks to prevent code execution.

What is the best way to remediate insecure file handling operations before deployment?

The best way to remediate insecure file handling is to run a comprehensive scan for path traversal, unsafe uploads, XXE, and archive extraction vulnerabilities, then apply the generated prioritized remediation report enforcing safe coding practices like input validation and proper path resolution.