mirror of
https://github.com/ljagiello/ctf-skills.git
synced 2026-09-14 14:17:37 +08:00
8d978f1cba
* Add ctf-ai-ml skill, Quick Start Commands, CI fixes, and repo quality improvements - Add new ctf-ai-ml category with 3 technique files (model-attacks, adversarial-ml, llm-attacks) covering weight perturbation, FGSM/PGD/C&W, prompt injection, LLM jailbreaking, model extraction, membership inference, LoRA exploitation, and data poisoning - Move 4 ML techniques from ctf-misc to ctf-ai-ml to eliminate cross-category duplication - Add Quick Start Commands sections to all 6 SKILL.md files that lacked them (ctf-crypto, ctf-malware, ctf-misc, ctf-osint, ctf-pwn, ctf-web) - Add r2ghidra install instruction to ctf-reverse prerequisites - Split oversized files: server-side-exec.md (862→411+464) and stego-advanced.md (808→391+427) - Trim 3 SKILL.md files to comply with 500-line body limit (pwn, reverse, web) - Fix CI: remove paths filters from PR triggers so required checks always report status - Add pip caching to all CI workflows - Add .pre-commit-config.yaml (ruff, shellcheck, markdownlint, trailing-whitespace) - Add pyproject.toml (pytest config, ruff settings) - Update README.md file counts and descriptions * Fix ruff E501 line-too-long errors in skill_security_auditor.py * Fix ruff format check in skill_security_auditor.py
30 lines
713 B
YAML
30 lines
713 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
args: [--markdown-linebreak-ext=md]
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.11.4
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix]
|
|
files: ^scripts/
|
|
- id: ruff-format
|
|
files: ^scripts/
|
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
rev: v0.10.0.1
|
|
hooks:
|
|
- id: shellcheck
|
|
files: ^scripts/.*\.sh$
|
|
|
|
- repo: https://github.com/DavidAnson/markdownlint-cli2
|
|
rev: v0.17.2
|
|
hooks:
|
|
- id: markdownlint-cli2
|