insecure-temp-files-anti-pattern

Community

Secure temporary file handling.

Authorigbuend
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the critical security risks associated with creating and managing temporary files, preventing vulnerabilities like symlink attacks, unauthorized data access, and data leakage.

Core Features & Use Cases

  • Secure Temporary File Creation: Guides users on using library functions that generate unpredictable filenames and set secure permissions.
  • Guaranteed Cleanup: Emphasizes the importance of reliably deleting temporary files after use, even in the event of errors.
  • Use Case: When developing a web application that handles user uploads or generates temporary reports, this Skill ensures that the temporary storage mechanisms are secure against common exploitation techniques.

Quick Start

Review the provided Python code snippet for insecure temporary file creation and apply the secure alternative.

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: insecure-temp-files-anti-pattern
Download link: https://github.com/igbuend/grimbard/archive/main.zip#insecure-temp-files-anti-pattern

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.