tlamatini-allowed-hosts-tighten

Official

Tighten Django ALLOWED_HOSTS safely

AuthorXAIHT
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The skill addresses the insecure default in Django projects by replacing the permissive ALLOWED_HOSTS = ['*'] with a custom, user-supplied whitelist, reducing exposure to host header attacks.

Core Features & Use Cases

  • Read and locate the ALLOWED_HOSTS setting in Tlamatini/tlamatini/settings.py.
  • Back up the current settings file as settings.py.bak before applying changes.
  • Rewrite ALLOWED_HOSTS to the provided list and return the paths along with a change status.
  • Rollback by restoring the backup if the provided hosts are invalid.

Quick Start

Provide a hosts list to replace ALLOWED_HOSTS and create a backup of settings.py.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: tlamatini-allowed-hosts-tighten
Download link: https://github.com/XAIHT/Tlamatini/archive/main.zip#tlamatini-allowed-hosts-tighten

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 510,000+ vetted skills library on demand.