Borehole · Project · free tier
projectdiscovery/nuclei
Free reading: not for reliance
bc53323 · 6,736 commits · 1,416 files
Read 2026-10-23

projectdiscovery/nuclei: technical due diligence, read from its repository

What Borehole read in projectdiscovery/nuclei's code and history at bc53323: 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.

DimensionRating
Architecture & Codebase — including AI provenanceadequate
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

adequate
01.6

pkg/templates/templates_doc.go is 2,386 lines, 21× this codebase's median file

adequate

The median source file here is 111 lines. 4 files exceed 1,110 lines, the largest being 2,386. 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.

Evidence
pkg/templates/templates_doc.go:1 — 2,386 lines (21× median)
pkg/protocols/http/request.go:1 — 1,771 lines (15× median)
pkg/installer/template_ownership.go:1 — 1,460 lines (13× median)
internal/runner/runner.go:1 — 1,259 lines (11× median)
01.25

1 base image floats: no version, or `latest`

adequate

1 of 2 `FROM` lines in product Dockerfiles name an image without a version, or with `latest`. Each build pulls whatever the registry serves that day, so the image that ships can change without a commit, and last month's build cannot be reproduced. Pin a version, or a digest.

Evidence
Dockerfile:11 — base image without a version

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

adequate
04.3

133 direct dependencies in a single manifest

adequate

go.mod declares 133 direct dependencies. Each one is a maintenance obligation, a supply-chain surface and a potential licence question that transfers with the asset. The count says nothing about whether any given dependency was a good choice; it says how many such choices a buyer inherits.

Evidence
go.mod — 133 declared
04.38

7 files still carry code deprecated more than two years ago

adequate

7 files were marked deprecated over two years ago and still are, the oldest since Nov 2023. A deprecation is a promise to remove. Ask what still depends on these, and whether removing them is scheduled.

Evidence
pkg/protocols/headless/headless.go — deprecated since Nov 2023
pkg/protocols/http/http.go — deprecated since Nov 2023
cmd/nuclei/main.go — deprecated since Mar 2024
pkg/types/types.go — deprecated since Apr 2024
lib/config.go — deprecated since May 2024

Security & Reliability Posture

adequate
05.1

1 credential-shaped string in the tree sit in tests, examples, documentation or local development settings

adequate

Strings 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. 1 other match set aside: expired tokens, licence tokens a vendor verifies with a public key, or placeholder text where a key would go. None grants access to anything.

Evidence
private key block, where fakes are usual
05.6

1 Dockerfile runs the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

Evidence
Dockerfile — runs as root
05.27

The build runs third-party code it does not pin

adequate

15 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.

Evidence
.github/workflows/auto-merge.yaml:21 — action pinned by tag
.github/workflows/auto-merge.yaml:22 — action pinned by tag
05.13

8 outbound calls can wait forever

adequate

8 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.

Evidence
internal/fuzzplayground/server.go:215 — outbound call without a timeout
internal/fuzzplayground/server.go:230 — outbound call without a timeout
pkg/js/libs/http/http.go:204 — outbound call without a timeout
05.20

1 SQL statement built from strings

adequate

1 places in product code build SQL by formatting or joining strings rather than passing parameters. 1 of them put a value into the string; in the rest, what the code shows going in is a table or column name, a constant, or something the line does not show. Ask whether any value reaches these strings, rather than a parameter.

Evidence
internal/fuzzplayground/db.go:85 — SQL built from a string
05.26

3 locked dependencies have published vulnerabilities, 5 high or critical in what ships

adequate

3 of 462 locked dependencies match 13 published advisories in OSV, 5 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. This lockfile pins development tools alongside what ships and does not say which is which, so some of these may never reach a user.

Evidence
go.mod — github.com/getkin/kin-openapi v0.144.0: GHSA-23vg-4cjm-66q5 (high), fixed in 0.147.0
go.mod — go.opentelemetry.io/otel/sdk v1.44.0: GHSA-8wmf-6v46-5gfg (low), fixed in 1.45.0
go.mod — golang.org/x/net v0.59.0: GO-2026-6603 (unrated), fixed in 0.60.0
05.9

1 vendored component with no licence

adequate

Third-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.

Evidence
pkg/external/customtemplates — 5 tracked files, no licence file
05.65

7 advisories against this project in the last 24 months, 1 high or critical

adequate

The newest was published on 2026-07-16. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. None of them affects the surveyed version.

Evidence
2026-07-16: GHSA-jpf4-98qj-qr67 (moderate), fixed in 3.10.0: Nuclei: Arbitrary Command Execution via DAST Code Signature Bypass
2026-07-16: GHSA-jpvm-9frm-hjcq (moderate), fixed in 3.10.0: Nuclei: Environment Variable Disclosure via Response-Derived Data in DAST/Fuzz Mode
2026-07-16: GHSA-qgw5-7j4f-fg97 (moderate), fixed in 3.10.0: Nuclei: Local File Read via Workflow File-Protocol Gate Bypass
2026-07-16: GHSA-vxg7-f2jj-jmqm (high), fixed in 3.10.0: Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability
2026-07-16: GHSA-xhmx-w2j4-rw3q (moderate), fixed in 3.10.0: Nuclei: Local File Read via MySQL Client Sandbox Bypass

Observability & Operations

adequate
06.7

The service logs with print: 53 calls against 7 logger calls

adequate

53 `print` or `console.log` calls in the service's code, and 7 calls through a logger. Printed lines carry no level and no context, cannot be switched off, and are hard to find again in production.

Evidence
internal/fuzzplayground/server.go:251 — print used for logging
internal/server/server.go:309 — print used for logging
internal/server/server.go:316 — print used for logging
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised
06.14

Readiness and liveness probes are identical in 1 of 1 workloads

adequate

Both probes call the same endpoint. When a dependency slows down, the liveness probe fails with the readiness probe, so the platform restarts pods that only needed taking out of rotation, and a partial outage becomes a full one. Liveness should ask whether the process is alive; readiness whether it can serve.

Evidence
helm/templates/interactsh-deployment.yaml — same probe endpoint twice

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on projectdiscovery/nuclei: 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.