Reference
Third-party dependencies
On this page
Introduction
This page lists every module the engine requires directly, at the version
engine/go.mod pins, with what it does and why it is trusted. It also says how a
module's origin is verified, how quickly a finding against one is fixed, and which
components carry the most risk.
OWASP ASVS 5.0.0 V15.1.2 asks for "an inventory catalog, such as a software bill of materials (SBOM)... including verifying that components come from pre-defined, trusted, and continually maintained repositories", and V15.1.1 for "risk based remediation time frames".
It is for an auditor who asks for that inventory, and for a contributor who is
about to add a dependency. docs/security-scanning.md covers the scanners. This
page covers what is being scanned, and why each module is here.
How many there are
24 direct dependencies. 75 modules in the whole graph, as go list -m all
counted them on 2026-11-03.
Every dependency can change what this binary does, so Signari writes several components itself. The QR encoder, the ASN.1/LDAP server, the Guacamole protocol codec and the JSON Web Token (JWT) code for Selective Disclosure JWT (SD-JWT) are all written here, not pulled in. So are the Remote Authentication Dial-In User Service (RADIUS) server, the flow language and the OpenTelemetry Protocol (OTLP) exporter.
The table below is every direct requirement in engine/go.mod, at the version
pinned there. TestEveryDirectDependencyIsListed holds it to that, both ways, and
holds the count above to the table.
Direct dependencies
The table uses three more abbreviations: Security Assertion Markup Language (SAML), Lightweight Directory Access Protocol (LDAP), and Simple and Protected GSS-API Negotiation Mechanism (SPNEGO).
| Module | Version | What it does | Why it is trusted |
|---|---|---|---|
github.com/go-jose/go-jose/v4 | v4.1.9 | JOSE: JWS, JWE, JWK | the reference Go JOSE library, maintained by the go-jose org after the Square handover; every token Signari signs, encrypts or verifies goes through it |
github.com/jackc/pgx/v5 | v5.13.0 | PostgreSQL driver | the de-facto Go Postgres driver; parameterised queries are its default idiom |
github.com/go-webauthn/webauthn | v0.18.2 | WebAuthn ceremonies | the maintained successor to duo-labs/webauthn |
github.com/fxamacker/cbor/v2 | v2.10.0 | CBOR, for an ISO mdoc presented over OID4VP and its COSE signatures | already in the graph through the WebAuthn module, whose attestations are CBOR; named directly by internal/oid4vp since the mdoc verifier, where it decodes with duplicate map keys refused and nesting, arrays and maps bounded (mdoc.go) |
github.com/eclipse-keypont/crypto11 | v1.6.8 | PKCS#11 keys as crypto.Signer, for signing keys in a hardware module | compiled only into the pkcs11 build (-tags pkcs11, cgo), so the default binary carries none of it. Thales wrote it, and it moved to this path from github.com/ThalesGroup/crypto11, whose go.mod at v1.6.7 says so; it brings github.com/miekg/pkcs11, the binding to the C interface, github.com/thales-e-security/pool and github.com/pkg/errors, all three in that build alone |
github.com/beevik/etree | v1.8.1 | XML tree, for SAML | used only after scanForUnsafeConstructs has refused DOCTYPE and comments |
github.com/russellhaering/goxmldsig | v1.6.1 | XML signatures | the standard Go XML-DSig implementation |
github.com/go-ldap/ldap/v3 | v3.4.15 | LDAP client, for directory sync | our LDAP server is written here; this is only the outbound side |
github.com/go-asn1-ber/asn1-ber | v1.5.8 | BER encoding | transitive requirement of the LDAP client, also used by our server |
github.com/jcmturner/gokrb5/v8 | v8.4.4 | Kerberos / SPNEGO | the only maintained pure-Go Kerberos implementation |
github.com/jcmturner/goidentity/v6 | v6.0.1 | identity type used by gokrb5 | comes with the above |
github.com/coder/websocket | v1.8.15 | WebSocket, for remote access | the maintained successor to nhooyr.io/websocket; Signari relies on its authenticateOrigin (see the V4 review) |
github.com/jcmturner/gofork | v1.7.6 | ASN.1 for Kerberos messages | required by gokrb5; named directly only by a Kerberos test |
github.com/google/uuid | v1.6.0 | UUID parsing | checks that an imported subject or an organisation id is a canonical UUID |
github.com/openwall/yescrypt-go | v1.0.0 | yescrypt ($y$) verification | the scheme author's own Go module, held to libxcrypt's output by yescrypt_test.go; verifies hashes imported from /etc/shadow, which are rehashed on a successful sign-in |
github.com/oschwald/maxminddb-golang/v2 | v2.9.1 | GeoIP database reader | reads an administrator-supplied MaxMind DB file, to place a sign-in's address for risk signals |
go.opentelemetry.io/otel | v1.47.0 | OpenTelemetry API: attributes, propagation, semantic conventions | the OpenTelemetry project; imported by internal/tracing alone, which a test holds |
go.opentelemetry.io/otel/trace | v1.47.0 | OpenTelemetry tracing API | as above |
go.opentelemetry.io/otel/sdk | v1.47.0 | span processing, sampling, batching | as above. Its OTLP exporter module is not used: it brings grpc, grpc-gateway and genproto to send one message over HTTP, so internal/tracing/otlp.go writes the message here |
golang.org/x/crypto | v0.59.0 | Argon2id, HKDF, bcrypt | Go project |
golang.org/x/sync | v0.25.0 | a weighted semaphore | Go project; bounds the memory Argon2id hashing may hold at once |
golang.org/x/term | v0.48.0 | whether stdin and stdout are a terminal, and reading a line without echo | Go project, already in the graph at an older version and needing nothing beyond golang.org/x/sys, which it was; signari setup asks only at a terminal, which a check of the file mode cannot tell from /dev/null, and reads a superuser's password without echoing it |
golang.org/x/text | v0.44.0 | Unicode normalisation | Go project; NFKC on passwords per NIST |
gopkg.in/yaml.v3 | v3.0.1 | configuration and flow files | administrator-supplied input only, never a request |
How provenance is verified (V15.2.4, dependency confusion)
Every module resolves through the public Go module proxy, and is checked against
the public checksum database. go.sum pins a cryptographic hash for every
module in the graph, direct and transitive. A mismatch fails the build, instead of
warning.
There is no GOPRIVATE and no replace directive, so nothing resolves from a
private or substitutable source, which is the condition a dependency-confusion
attack needs. Go's toolchain does this checking by default, and Signari does not
turn it off.
Remediation time frames (V15.1.1)
ASVS asks for remediation time frames. These are Signari's:
| Severity of a finding against a dependency we use | Act within |
|---|---|
| Actively exploited, or a remote pre-auth path in a reachable code path | same day |
| High, reachable | 7 days |
High, not reachable (govulncheck reports the module but not a called symbol) | 30 days |
| Medium or low | next routine update |
| No finding | review the graph quarterly regardless |
Reachability decides between the rows, and govulncheck reports it. It reports
whether a vulnerable symbol is called, not only whether a vulnerable module is
present.
Risky components (V15.1.4) and dangerous functionality (V15.1.5)
These are the places where a dependency failure, or Signari's own code, has the widest blast radius:
go-jose: every token Signari issues and verifies. A flaw here is a full authentication bypass. It is also the dependency most likely to have one, because JOSE is the part of this stack with the longest record of flaws.etree+goxmldsig: SAML. The attack classes (wrapping, XXE, key confusion) are the reasoninternal/saml/decode.gorefuses constructs before either library sees the document, rather than trusting their configuration.gokrb5: parses attacker-supplied tickets from the network.crypto11+miekg/pkcs11, in thepkcs11build: they load the hardware security module (HSM) vendor's module into this process. It is C, it runs with the engine's privileges, and nothing here can check it, so choosing a module means trusting its vendor with those privileges.internal/radius: parses UDP packets from the network, written here.internal/ldapd: parses BER from the network, written here.
The last two are Signari's own code. They are listed because the risk comes from parsing hostile input, whoever wrote the parser.
Regenerating an SBOM
This page is the inventory. A machine-readable SBOM is generated rather than checked in, because a checked-in copy goes out of date. To generate one with CycloneDX:
Shellgo install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latestcyclonedx-gomod mod -json -output sbom.json ./engine
go list -m all is the same information without the tool.