security-check
/security-check
Wykonuje cotygodniowy przegląd bota handlowego: uprawnienia kluczy API, sekrety w logach, nietypowe zlecenia i podatne zależności.
- Autor
- cecewu3 ↗
- Repozytorium
- agent-trading-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 01.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 01.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wykonuje cotygodniowy przegląd bota handlowego: uprawnienia kluczy API, sekrety w logach, nietypowe zlecenia i podatne zależności.
Wyzwalacze z opisu
Oryginalny opis (EN)
Run a weekly (or on-demand) security self-check: API key permissions, secret leakage in logs/repo, anomalous orders, and dependency advisories. Use when the user asks for a security audit of the trading bot, weekly hygiene, or before enabling live trading. Trigger phrases: "security check", "audit keys", "scan for secrets", "weekly safety review", "anomalous orders".
Jak działa
- Overview
- When to use
- Instructions
- Failure handling
- Guidelines
Podgląd SKILL.md
--- name: security-check description: >- Run a weekly (or on-demand) security self-check: API key permissions, secret leakage in logs/repo, anomalous orders, and dependency advisories. Use when the user asks for a security audit of the trading bot, weekly hygiene, or before enabling live trading. Trigger phrases: "security check", "audit keys", "scan for secrets", "weekly safety review", "anomalous orders". --- # Security check ## Overview Operator hygiene checklist implemented as a script and/or agent walkthrough. Schedule hint: `schedule.security_check_weekday`. Alerts use `notifications.on_security_alert`. ## When to use - Weekly cadence - Before flipping `dry_run: false` or `testnet: false` - After any credential rotation or dependency upgrade ## Instructions Run each section; record PASS / FAIL / WARN in a report under `data/reports/`. ### 1. Key permissions - Load key the same way `trade.py` does (keychain/env)—do not print it - Query venue API key permissions / account flags - **FAIL** if withdraw, transfer, futures, margin, or universal transfer is allowed - **PASS** only for spot trade + read as needed ### 2. Secret scan (logs + repo) - Scan `data/`, `*.log`, and tracked source for patterns: API key shapes, `secret`, PEM blocks, webhook URLs with tokens - Ensure `config.yaml`, `.env`, and state files are gitignored - `git grep` / `rg` for accidental credential strings; **FAIL** on hits - Confirm skills and docs contain no live secrets ### 3. Anomalous orders - Read `data/trades.log` / positions for the lookback window - Flag: orders larger than `risk.max_buy_quote`, symbols outside universe, trades when `dry_run` should have been on, duplicate client-order bursts, sells exceeding position - Compare to exchange trade history if a signed read is available (still spot-only endpoints) ### 4. Dependency check - If Python: `pip audit` or `uv pip audit` when available; else note manual review - Pin or lockfile present? WARN if not - No post-install scripts from untrusted paths ### 5. Config / stage sanity - Live mode requires explicit `testnet: false` and `dry_run: false` - Required risk fields must not be `null` - Notification secrets only via env keys named in config ### Suggested CLI ```bash python security_check.py python security_check.py --json ``` ## Failure handling - Any FAIL on permissions or secret leak → notify immediately; refuse further live trades until fixed - Audit tool missing → WARN with install hint; do not skip permission check ## Guidelines - Read-only by default; never "fix" by widening key permissions - Keep reports free of raw secrets (redact mid-string)
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · cecewu3/agent-trading-skills | 100 | MIT |
| applelog/nondev-kit | 100 | MIT |
| Kuan-AI-com/agent-skills | 100 | MIT |
| lightsmite/fixlane-plugin | 88 | MIT |
| simonasrazm/skills | 81 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 73a35e0c272c (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100security-audit
Prowadzi audyt bezpieczeństwa projektu: wykrywa podatności, wyciekłe poświadczenia i podatne zależności oraz stosuje listy kontrolne OWASP i utwardzanie. - 100security-scan
Uruchamia szybki przegląd bezpieczeństwa zmian w kodzie: skan podatności, sekretów i zależności przed zatwierdzeniem. - 90dev-security-review
Przegląda bezpieczeństwo oprogramowania: uwierzytelnianie, uprawnienia, walidację danych, sekrety, zależności i konfigurację. - 90security-secrets-scan
Skanuje repozytorium i artefakty pod kątem wyciekłych kluczy i tokenów, a potem proponuje hooki pre-commit, kontrole CI oraz plan rotacji. - 100security-audit
Przeprowadza szybki przegląd bezpieczeństwa przed pull requestem lub pełny audyt repozytorium: sekrety, zależności i logowanie. - 95skill-security-check
Skanuje cudzy skill pod kątem ryzyk bezpieczeństwa przed jego włączeniem w Claude Code.