Read 2026-11-07
spatie/laravel-permission: technical due diligence, read from its repository
What Borehole read in spatie/laravel-permission's code and history at a893087: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | strong |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | strong |
| Observability & Operations | not assessable |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongCommit messages are templated rather than written
adequate39% of commit subjects are exact repeats of another subject, and subject length varies by only 19.7 characters. A log written by someone explaining their reasoning to a future reader does not look like this. The log is therefore weak evidence of intent, whatever the code is like.
| 96× 'Update CHANGELOG.md' |
| 74× 'Update CHANGELOG' |
| 64× 'Fix styling' |
Engineering Process & SDLC Maturity
strongAlmost no process scaffolding exists in the repository
adequateOf five ordinary markers — CI workflows, CODEOWNERS, a pull-request template, pre-commit hooks, contribution guidance — 1 is present: CI workflows. Branch protection itself is a GitHub setting rather than a file, so this is a reading of proxies and not of the rules themselves. What it does establish is that the process is not written down anywhere a new engineer would find it.
| 1 of 5 markers present across 191 tracked files |
Product & Engineering Maturity
strongChange keeps returning to the same few files
adequateFive files out of 336 absorb 25% of all file-level change. Concentration like this is where debt is usually being serviced rather than repaid: the same code is reopened because it is load-bearing, fragile, or both. A repository cannot tell you which — that is a conversation with the team.
README.md — 213 commits touched it |
src/Traits/HasRoles.php — 162 commits touched it |
src/Traits/HasPermissions.php — 142 commits touched it |
src/PermissionRegistrar.php — 127 commits touched it |
src/Models/Role.php — 108 commits touched it |
Security & Reliability Posture
strongThe build runs third-party code it does not pin
adequate6 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.
.github/workflows/dependabot-auto-merge.yml:16 — action pinned by tag |
.github/workflows/fix-php-code-style-issues.yml:19 — action pinned by tag |
Observability & Operations
not assessableNot rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on spatie/laravel-permission: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.