Read 2026-11-08
grokability/snipe-it: technical due diligence, read from its repository
What Borehole read in grokability/snipe-it's code and history at d5bf95c: 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 | adequate |
| Product & Engineering Maturity | strong |
| Security & Reliability Posture | adequate |
| Observability & Operations | strong |
| Fit with the Acquirer | not assessable |
What the repository says
CONTRIBUTING.md:5: states a policy on AI-generated contributions
Architecture & Codebase — including AI provenance
strongresources/views/partials/bootstrap-table.blade.php is 4,521 lines, 137× this codebase's median file
adequateThe median source file here is 33 lines. 28 files exceed 1,000 lines, the largest being 4,521. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
resources/views/partials/bootstrap-table.blade.php:1 — 4,521 lines (137× median) |
app/Models/Asset.php:1 — 2,393 lines (72× median) |
app/Helpers/Helper.php:1 — 2,327 lines (70× median) |
app/Http/Controllers/SettingsController.php:1 — 2,246 lines (68× median) |
app/Models/User.php:1 — 2,206 lines (66× median) |
5% of code blocks appear verbatim in more than one file
adequate16,434 distinct 8-line blocks appear in two or more files. Copy-paste is the cheapest thing a generator does and among the more expensive things to inherit: a fix has to be applied everywhere the block landed, and nothing in the repository records where that is. Tests, fixtures and documentation examples are excluded — those repeat by design — so this is duplication in code that ships. Blocks are matched after normalising whitespace and only across different files.
| identical 8-line block in 152 files: resources/lang/aa-ER/auth.php, resources/lang/aa-ER/datepicker.php, resources/lang/af-ZA/auth.php |
| identical 8-line block in 152 files: resources/lang/aa-ER/auth.php, resources/lang/aa-ER/datepicker.php, resources/lang/af-ZA/auth.php |
| identical 8-line block in 152 files: resources/lang/aa-ER/auth.php, resources/lang/aa-ER/datepicker.php, resources/lang/af-ZA/auth.php |
| identical 8-line block in 152 files: resources/lang/aa-ER/help.php, resources/lang/aa-ER/reminders.php, resources/lang/af-ZA/help.php |
| identical 8-line block in 152 files: resources/lang/aa-ER/help.php, resources/lang/aa-ER/reminders.php, resources/lang/af-ZA/help.php |
Engineering Process & SDLC Maturity
adequateTests cover a thin slice of the codebase
adequate707 test files against 8,714 source files (8.1%). This does not measure whether the tests are good, only whether enough of them exist for the codebase to be changed safely by someone who did not write it — which is exactly the situation after an acquisition.
| 707 test files / 8,714 source files |
Product & Engineering Maturity
strongNode.js 18 is past end of life
adequateThe code is pinned to Node.js 18 (end of life 2025-04-30). None of these receives security fixes any more; the first stopped on 2025-04-30. Moving off an unsupported runtime is rarely a one-line change, so a buyer should ask whether the upgrade is planned and what it touches.
.nvmrc — Node.js 18, end of life 2025-04-30 |
Security & Reliability Posture
adequate1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings
adequateStrings shaped like credentials appear only where fakes are usual: test fixtures, examples, documentation, placeholders and local stacks. They are almost always fakes. Ask someone to confirm that none of them works anywhere, because a real key in a development file is still a real key.
| Google API key, where fakes are usual |
1 credential-shaped string exists in the history
adequateMatches for Google API key were committed at some point across 18,608 commits examined. The files that held them are no longer in the working tree — but removal from a file is not removal from the history, and the history is what transfers with the asset. What matters is whether each was rotated after it was committed. The code cannot tell whether any of them is live, and that decides whether this matters: none sits in production configuration, and none is in a format its provider keeps for live keys. Is any of these live? Show that each was rotated after it was committed, and when. Only Google API keys matched. Those are often public by design, in a browser app's Firebase or Maps configuration; the question is whether each is restricted to the app's domains and APIs.
| Google API key pattern added here |
3 environment files are committed
adequate.env.docker, .env.tests, .env.unit-tests are tracked in git. Environment files are where credentials usually live, and committing one usually means nobody decided how secrets reach the running application. Whatever is in it is in the history for good. Check 05.1 says whether it holds anything credential-shaped.
.env.docker — committed environment file |
.env.tests — committed environment file |
.env.unit-tests — committed environment file |
The build runs third-party code it does not pin
adequate5 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/crowdin-upload.yml:17 — action pinned by tag |
.github/workflows/docker-alpine.yml:67 — action pinned by tag |
2 deserialisers that can run code
adequate2 places read data with a deserialiser that executes what it reads (PHP `unserialize`). That is safe on data the system wrote itself and remote code execution on anything else. Ask where each one's input comes from.
app/Http/Transformers/ActionlogsTransformer.php:145 — code-executing deserialiser |
app/Http/Transformers/ActionlogsTransformer.php:146 — code-executing deserialiser |
1 vendored component with no licence
adequateThird-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.
public/vendor/livewire — 12 tracked files, no licence file |
93 advisories against this project in the last 24 months, 25 high or critical
adequateThe newest was published on 2026-10-08. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 1 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 8.7.2. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 3 records name snipe-it with nothing tying them to this repository (CVE-2022-1380, CVE-2022-23064, CVE-2024-51094).
| 2026-10-08: GHSA-jh4g-98fm-jcqc (low), fixed in 8.7.0: Api\AssetsController::store writes plaintext into encrypted-flagged custom-field columns when caller lacks assets.view.encrypted_custom_fields |
| 2026-10-08: GHSA-xf36-wx48-5rqp (moderate), fixed in 8.6.3: Google SSO accepts deactivated users (activated flag not enforced on Google auth path) |
| 2026-10-08: GHSA-5hmv-jc73-vf84 (low), fixed in 8.6.3: created_by mass-assignment on Category, Company, License API endpoints (audit-trail spoofing) |
| 2026-10-08: GHSA-wx48-r3qh-jvh5 (moderate), fixed in 8.6.3: LDAP StartTLS return value discarded, silent plaintext bind on downgrade |
| 2026-10-08: GHSA-w49g-f2jc-qxhg (moderate), fixed in 8.5.0: SAML assertion replay via non-atomic nonce check and missing UNIQUE constraint |
Observability & Operations
strongNo error reporter is wired in
adequateNothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on grokability/snipe-it: 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.