security-review
/security-review
Sprawdza bezpieczeństwo przed publikacją repozytorium, po zmianach w logowaniu i uprawnieniach oraz przed udostępnieniem go na zewnątrz.
- Autor
- jeanzilla ↗
- Repozytorium
- Company-hub-for-ai ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 10.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
Sprawdza bezpieczeństwo przed publikacją repozytorium, po zmianach w logowaniu i uprawnieniach oraz przed udostępnieniem go na zewnątrz.
Oryginalny opis (EN)
Security checklist for the hub. Use it before publishing, after touching sign-in, permissions, connectors or the MCP, and before sharing the repository with someone outside the company.
Jak działa
- 1. Nothing secret in the repository
- 2. Every door has its check
- 3. Database
- 4. Connector secrets
- 5. Permissions
- 6. Data about people
- 7. Production
- When you finish
Podgląd SKILL.md
---
name: security-review
description: Security checklist for the hub. Use it before publishing, after touching sign-in, permissions, connectors or the MCP, and before sharing the repository with someone outside the company.
---
# Security review
Go through the whole list and give the result item by item: pass, fail (with the file and the line) or not applicable. Do not fix anything before saying what you found.
## 1. Nothing secret in the repository
1. `node scripts/check-secrets.mjs` with no warnings.
2. `git status` does not show `.env.local`, `.demo/` or files with data exported from a service.
3. `git log -p -S"postgresql://" --all | head` and the same with `Bearer ` and `sk-`: no key in the history. If one appears, that key is changed in its service. Deleting it from the file is not enough.
4. In `docs/`, in the tests and in the examples there are no names, phone numbers or emails of real customers or employees.
## 2. Every door has its check
1. Pages: `grep -L "requireAccess(" $(find "app/(hub)" -name "page.tsx")` returns nothing.
2. Actions: in every `actions.ts` file, every exported function calls `requireAccess()` before reading or writing.
3. API routes: every `route.ts` under `app/api` checks a token (`personFromToken`), a device key (`callingDevice`) or is public on purpose (`health`, `oauth`, `.well-known`). A new route added to `PUBLIC_PATHS` in `proxy.ts` needs its own check inside.
4. MCP tools: each one declares `permission`. None uses `visible: () => true` except `hub_whoami`.
## 3. Database
1. Every query uses parameters. Look for pasted text: ``grep -rn 'query(`' lib tools app | grep '\${'`` and review each result. Only fixed names written in the code may be interpolated, never a value that comes from a person or from an AI.
2. Every table has RLS: the test "every table has RLS enabled" passes.
3. No applied migration has been edited: `git log --oneline -- db/migrations` shows each file created once.
## 4. Connector secrets
1. No screen, tool or log returns `secret_encrypted` or the decrypted secret. `decrypt(` appears only in `lib/connectors.ts`.
2. Calls to services go through `callConnector()`. If a company tool does its own `fetch` to a service, review where it gets the key and check that it masks the secret in the response.
3. There is no `console.log` of full responses from a service.
## 5. Permissions
1. In Team → Roles, one or two people have the admin role.
2. The write permission on each connector belongs only to the roles that must change data there.
3. Tools that write or delete ask for confirmation in their description.
4. A person who has left the company shows "No access".
## 6. Data about people
1. The team has been told that the hub stores what each person does and what their AI does.
2. The log carries no personal data about customers in titles or details. Look at the last 50 lines.
3. Device events that identify a person (clock-ins, cameras) have a deletion period that is decided and written in `docs/DECISIONS.md`.
## 7. Production
1. `HUB_URL` is the real address, with https.
2. The production `HUB_ENCRYPTION_KEY` is different from the test one and there is a copy outside the server.
3. `curl -sI https://hub.company.com | grep -i -E "content-security|strict-transport"` shows both headers.
4. The production database does not accept unencrypted connections.
## When you finish
Write the result in `docs/STATUS.md` with the date. Anything that fails and is not fixed today goes in the log as a `note`, area Hub, with the name of the person who will fix it.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · jeanzilla/Company-hub-for-ai | 100 | MIT |
| microsoft/power-platform-skills | 100 | MIT |
| VasulenkoIllia/claude-code-base | 100 | MIT |
| rjmurillo/ai-agents | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| github/awesome-copilot | 100 | MIT |
| sageox/ox | 100 | MIT |
| mcouthon/agents | 100 | MIT |
| relatedb/relate | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 0e4f53605c5f (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-checklist
Wydaje werdykt bezpieczeństwa przed publikacją lub wydaniem, zwłaszcza przy logowaniu, uprawnieniach i danych innych użytkowników. - 90dev-security-review
Przegląda bezpieczeństwo oprogramowania: uwierzytelnianie, uprawnienia, walidację danych, sekrety, zależności i konfigurację. - 100auditing-skills
Sprawdza skille w repozytorium pod kątem problemów bezpieczeństwa i jakości przed udostępnieniem oraz pomaga naprawić ustalenia. - 90identity-security
Ocenia zmiany w logowaniu, sesjach, odzyskiwaniu konta, 2FA, delegowaniu dostępu i uprawnieniach aplikacji przed wdrożeniem. - 100security-baseline-review
Sprawdza higienę bezpieczeństwa publicznego repozytorium: wycieki sekretów, SECURITY.md, zależności, ustawienia GitHub i gotowość do wydania. - 100security-check
Sprawdza projekt webowy lub aplikację pod kątem typowych błędów początkujących po zmianach w logowaniu, bazie i płatnościach.