app-security-review
/app-security-review
Przeprowadza tylko do odczytu przegląd bezpieczeństwa kodu aplikacji i tworzy ranking znalezisk: autoryzację, wstrzyknięcia, sekrety i zależności.
- Autor
- HarunRRayhan ↗
- Repozytorium
- RayStack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 06.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 06.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
Przeprowadza tylko do odczytu przegląd bezpieczeństwa kodu aplikacji i tworzy ranking znalezisk: autoryzację, wstrzyknięcia, sekrety i zależności.
Wyzwalacze z opisu
Oryginalny opis (EN)
Read-only application security review of the code with a ranked findings report. Use for "security audit of my app", "is my app secure", "find IDOR bugs", "check authorization", "mass assignment", "SQL injection or XSS", "open redirect or SSRF", "are my secrets committed", "dependency CVEs", or a Laravel, Node/Express/Next.js, Django or Rails security review.
Jak działa
- 1. Read the contract
- 2. Detect the stack
- 3. Ask for consent
- 4. Work the checklist
- 5. Write the report
Podgląd SKILL.md
---
name: app-security-review
description: Read-only application security review of the code with a ranked findings report. Use for "security audit of my app", "is my app secure", "find IDOR bugs", "check authorization", "mass assignment", "SQL injection or XSS", "open redirect or SSRF", "are my secrets committed", "dependency CVEs", or a Laravel, Node/Express/Next.js, Django or Rails security review.
hooks:
PreToolUse:
- matcher: Bash
hooks:
- type: command
command: 'for f in "${CLAUDE_PLUGIN_ROOT}/skills/raystack/hooks/readonly-guard.sh" "${CLAUDE_PLUGIN_ROOT}/../raystack/hooks/readonly-guard.sh" "$HOME/.claude/skills/raystack/hooks/readonly-guard.sh"; do [ -x "$f" ] && exec "$f"; done; echo "RayStack review is read-only: guard missing" >&2; exit 2'
---
# app-security-review
Find real, exploitable security bugs in the application code: authorization, injection,
redirects, auth flows, secrets, sessions, uploads and dependencies. Report only. Never patch
code, and never change anything live.
This review reads code only. It never sends requests to a running app: no `curl`, no browser,
no probing of staging or production. Each finding instead gives the exploit request for the
user to try on their own environment.
## 1. Read the contract
Read `../raystack/references/review-contract.md` first and follow it for inputs, live consent,
the read-only rules, questions, the report and client data. This file only adds what is
specific to application security.
## 2. Detect the stack
Scan the repo and map each hit to a framework note in the checklist. Review every checklist
area, using the notes for the stacks that match.
| Files | Framework note |
| --- | --- |
| `artisan`, `composer.json` with `laravel/framework`, `routes/web.php`, `app/Http/` | Laravel |
| `package.json` with `express`, `fastify`, `koa` or `next`; `app/` or `pages/` routes, `middleware.ts` | Node/Express/Next.js |
| `manage.py`, `settings.py`, `urls.py`, `requirements*.txt` or `pyproject.toml` with `django` | Django |
| `Gemfile` with `rails`, `config/routes.rb`, `app/controllers/` | Rails |
| Other web frameworks (Flask, FastAPI, Spring, Go, .NET) | General areas only, note the framework |
| Lockfile | Audit command |
| --- | --- |
| `package-lock.json`, `npm-shrinkwrap.json` | `npm audit --omit=dev` |
| `composer.lock` | `composer audit --no-plugins --no-scripts` |
| `requirements*.txt` (pinned) | `pip-audit -r requirements.txt --disable-pip --no-deps` (or `--require-hashes` when hashed) |
| `Gemfile.lock` | `bundle-audit check` |
| `yarn.lock`, `pnpm-lock.yaml`, `poetry.lock`, `uv.lock`, `go.sum`, `Cargo.lock` | `osv-scanner scan --no-call-analysis=go -r --format json .` |
`osv-scanner -r .` also reads the npm and composer lockfiles: count a package once when both
report it.
Also read `README`, `docs/`, `SECURITY.md` and any `CLAUDE.md`/`AGENTS.md` for the roles, the
trust model (who is anonymous, who is a user, who is an admin) and known incidents.
## 3. Ask for consent
Dependency audits and osv-scanner send the lockfile's package list to public advisory
registries, and semgrep fetches its rules from the registry, so they are live calls. Ask once, per the contract, with one batched call to the host agent's question
tool:
- whether the dependency audits listed above, osv-scanner and semgrep may run, unless the router passed it
- which roles exist and which data must never cross between users, if the repo does not say
If they decline, list the audit commands under "Commands for you to run". Run the audits only
in the exact forms above, never `audit fix`, `bundle audit` or another verb. If there is
no lockfile for an ecosystem, or the tool is not installed ("command not found"), skip that
audit and say so in "Inputs used / missing". Never fail the review over it. Areas 13 and 14 of the
checklist have the secret and code scan steps; the forms are in `../raystack/references/scanners.md`.
## 4. Work the checklist
Work through `references/checklist.md`, every area, with the framework notes that match.
- Open the route, controller, model and template for each candidate and trace the request to
the response. Do not grep and guess.
- Cite file:line for every finding. Run search commands one per Bash call; grep for monitored
tool names with a bracket class, per the contract.
- **Finding bar.** A finding needs a concrete exploit: the request an attacker sends, as which
user (anonymous, another signed-in user, or the owner), and what they gain. Without one, it
goes under a "Worth hardening" section after the findings, never ranked as a finding.
Framework defaults (CSRF tokens, template escaping, ORM binding) are not findings unless the
code shows them disabled or bypassed.
- Dependency CVEs: `cve-review` goes deeper (end-of-life runtimes, images, cloud versions); when its report exists, add a one-line `see <report>` instead of repeating. Confirm the app's own code reaches the vulnerable function before ranking
it. Otherwise it goes under "Worth hardening" with the upgrade.
- Logging findings (area 12) use a **Blind spot** line (the attack that would go unseen)
instead of **Exploit**, and rank at most Medium.
- Go past the checklist when the code shows a risk it does not list.
- Cloud and deploy exposure belong to the sibling skills. Note it briefly and point to
`aws-security-review` or `infra-review`.
- Severity guide:
- **Critical**: anonymous account takeover, remote code execution, SQL injection, secrets in
tracked files, or any user reading or changing every other user's data.
- **High**: IDOR between users, stored XSS, privilege escalation by mass assignment, SSRF
to internal addresses, auth bypass on one route.
- **Medium**: reflected XSS, open redirect, missing rate limit on login or reset, CSRF on a
state-changing route, a reachable dependency CVE.
- **Low**: weak cookie flags, verbose errors, issues that need an admin account to exploit.
- Est. $/mo: write "n/a" unless the user gives a cost of the incident.
## 5. Write the report
Write the report per the contract with skill name `app-security-review`, at
`reviews/YYYY-MM-DD-app-security-review.md`. Under "Inputs used / missing", list the stacks
detected, the audits run or skipped and why. In each finding, add an **Exploit** line (request,
user, gain) after **Evidence**. After the findings, add "Worth hardening" (unranked) and
"Reviewed, found clean" (the areas checked with no issue). Put the skipped audits and any
exploit for the user to confirm under "Commands for you to run".
In chat, show the top 3 findings and the report path, then offer the PDF unless the router runs it (contract section 5).
Pliki w paczce (2)
- SKILL.md 7 KB
- references/checklist.md 18 KB
Wersje
W bazie nie ma innych skilli o nazwie app-security-review.
Migawka bazy z 13.11.2026 · wersja paczki 5e10ecd42870 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100rails-security
Audytuje aplikację Rails pod kątem SQL injection, XSS, CSRF, mass assignment i podatności w Gemfile.lock albo przegląda nowe regresje bezpieczeństwa w pull requeście. - 100security-review
Szuka wykorzystywalnych podatności w zmianach kodu: uwierzytelnianie, autoryzację, wstrzyknięcia, sekrety, szyfrowanie i wycieki danych. - 100security-audit
Audytuje kod i pisze bezpieczny kod wg OWASP Top 10: kontrolę dostępu, wstrzyknięcia, XSS, SSRF, sesje, sekrety i nagłówki. - 100security
Podpowiada zasady bezpieczeństwa aplikacji i OWASP Top 10: przegląd kodu, logowanie, sekrety, nagłówki i zapobieganie wstrzyknięciom. - 100secure-code-review
Przegląda kod pod kątem klas błędów powodujących najwięcej wycieków (broken authorization, IDOR, injection, SSRF, mass assignment, deserializacja) i zwraca krótką listę ustaleń z poprawkami. - 95django-security
Podpowiada zabezpieczenia aplikacji Django: uwierzytelnianie, autoryzację, CSRF, SQL injection, XSS i bezpieczne ustawienia wdrożenia.