cwe-552-files-accessible-externally

Official

Secure files from external access.

AuthorDevelopersCoffee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses vulnerabilities where files can be accessed by external parties without proper authorization, preventing unauthorized data exposure and system compromise.

Core Features & Use Cases

  • Vulnerability Remediation: Fixes CWE-552 (Files Accessible to External Parties) in Java applications.
  • Access Control Implementation: Ensures proper authorization checks and filename sanitization before serving files.
  • Use Case: Secure a web application endpoint that serves user-uploaded files, preventing attackers from accessing sensitive files through path traversal or direct URL manipulation.

Quick Start

Use the cwe-552-files-accessible-externally skill to secure the file serving endpoint in the provided Java controller code.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cwe-552-files-accessible-externally
Download link: https://github.com/DevelopersCoffee/java-cwe-security-skills/archive/main.zip#cwe-552-files-accessible-externally

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.