# Tlamatini Allowed Hosts Tighten

> Tighten Django ALLOWED_HOSTS from the wide-open '*' default to a specific list, with a backup of settings.py.

- **Type:** Skill
- **Install:** `agentstack add skill-xaiht-tlamatini-tlamatini-allowed-hosts-tighten`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [XAIHT](https://agentstack.voostack.com/s/xaiht)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [XAIHT](https://github.com/XAIHT)
- **Source:** https://github.com/XAIHT/Tlamatini/tree/main/Tlamatini/agent/skills_pkg/tlamatini_allowed_hosts_tighten
- **Website:** https://xaiht.org

## Install

```sh
agentstack add skill-xaiht-tlamatini-tlamatini-allowed-hosts-tighten
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Tighten ALLOWED_HOSTS

The Tlamatini security report flagged the default `ALLOWED_HOSTS=['*']`
in `Tlamatini/tlamatini/settings.py` as one of the Tlamatini-specific
debts. This skill replaces it with a user-supplied whitelist and writes
a `.bak` backup next to the file.

## Procedure

1. Read `Tlamatini/tlamatini/settings.py`.
2. Locate the line `ALLOWED_HOSTS = [...]` (any list literal).
3. Backup the current file as `settings.py.bak`.
4. Rewrite `ALLOWED_HOSTS` with `${input.hosts}` rendered as a Python list.
5. Return `{settings_path, backup_path, changed}`.

## Rollback

If the new list is incorrect, restore `settings.py.bak` over `settings.py`
manually.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [XAIHT](https://github.com/XAIHT)
- **Source:** [XAIHT/Tlamatini](https://github.com/XAIHT/Tlamatini)
- **License:** MIT
- **Homepage:** https://xaiht.org

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-xaiht-tlamatini-tlamatini-allowed-hosts-tighten
- Seller: https://agentstack.voostack.com/s/xaiht
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
