Docs Version v0.2
Docs menu

Reference

Third-party dependencies

Changed 6 min readv0.2

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

ModuleVersionWhat it doesWhy it is trusted
github.com/go-jose/go-jose/v4v4.1.9JOSE: JWS, JWE, JWKthe 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/v5v5.13.0PostgreSQL driverthe de-facto Go Postgres driver; parameterised queries are its default idiom
github.com/go-webauthn/webauthnv0.18.2WebAuthn ceremoniesthe maintained successor to duo-labs/webauthn
github.com/fxamacker/cbor/v2v2.10.0CBOR, for an ISO mdoc presented over OID4VP and its COSE signaturesalready 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/crypto11v1.6.8PKCS#11 keys as crypto.Signer, for signing keys in a hardware modulecompiled 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/etreev1.8.1XML tree, for SAMLused only after scanForUnsafeConstructs has refused DOCTYPE and comments
github.com/russellhaering/goxmldsigv1.6.1XML signaturesthe standard Go XML-DSig implementation
github.com/go-ldap/ldap/v3v3.4.15LDAP client, for directory syncour LDAP server is written here; this is only the outbound side
github.com/go-asn1-ber/asn1-berv1.5.8BER encodingtransitive requirement of the LDAP client, also used by our server
github.com/jcmturner/gokrb5/v8v8.4.4Kerberos / SPNEGOthe only maintained pure-Go Kerberos implementation
github.com/jcmturner/goidentity/v6v6.0.1identity type used by gokrb5comes with the above
github.com/coder/websocketv1.8.15WebSocket, for remote accessthe maintained successor to nhooyr.io/websocket; Signari relies on its authenticateOrigin (see the V4 review)
github.com/jcmturner/goforkv1.7.6ASN.1 for Kerberos messagesrequired by gokrb5; named directly only by a Kerberos test
github.com/google/uuidv1.6.0UUID parsingchecks that an imported subject or an organisation id is a canonical UUID
github.com/openwall/yescrypt-gov1.0.0yescrypt ($y$) verificationthe 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/v2v2.9.1GeoIP database readerreads an administrator-supplied MaxMind DB file, to place a sign-in's address for risk signals
go.opentelemetry.io/otelv1.47.0OpenTelemetry API: attributes, propagation, semantic conventionsthe OpenTelemetry project; imported by internal/tracing alone, which a test holds
go.opentelemetry.io/otel/tracev1.47.0OpenTelemetry tracing APIas above
go.opentelemetry.io/otel/sdkv1.47.0span processing, sampling, batchingas 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/cryptov0.59.0Argon2id, HKDF, bcryptGo project
golang.org/x/syncv0.25.0a weighted semaphoreGo project; bounds the memory Argon2id hashing may hold at once
golang.org/x/termv0.48.0whether stdin and stdout are a terminal, and reading a line without echoGo 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/textv0.44.0Unicode normalisationGo project; NFKC on passwords per NIST
gopkg.in/yaml.v3v3.0.1configuration and flow filesadministrator-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 useAct within
Actively exploited, or a remote pre-auth path in a reachable code pathsame day
High, reachable7 days
High, not reachable (govulncheck reports the module but not a called symbol)30 days
Medium or lownext routine update
No findingreview 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 reason internal/saml/decode.go refuses constructs before either library sees the document, rather than trusting their configuration.
  • gokrb5: parses attacker-supplied tickets from the network.
  • crypto11 + miekg/pkcs11, in the pkcs11 build: 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.