peppa/openspec/changes/archive/2026-11-16-pep-133-security-audit/proposal.md
Асель 1ec5ade03d PEP-133: security audit — git relay refuses encoded dot segments, security headers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 08:29:01 +05:00

8 lines
771 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Why
PEP-133: проверка платформы глазами специалиста по информационной безопасности. Найденное, что можно исправить без смены поведения, исправляем в этой стори.
## What Changes
- Прокси git/Gitea для агентов (`allowedGitPath`) отклоняет закодированные точки и слэши (`%2e%2e`, `%252e`, `%2f`, `\`).
- Все страницы и API получают защитные заголовки: nosniff, запрет встраивания (frame-ancestors, X-Frame-Options), Referrer-Policy, Permissions-Policy, base-uri/object-src, HSTS в проде.
- Отчёт аудита — в `design.md`.