StandardsUpstream
What proving the standards found in the libraries under them.
While proving each requirement of the specifications Aegis implements, we reported what we found in the open-source libraries underneath to their maintainers. We are Protoworks, a one-person startup in Cape Town building secure digital identity for South Africans, and we file as Executioner1939 on GitHub. This page lists those reports and what the maintainers did about each one.
58 reports filed upstream
- Led to a fix or release
- 5
- Closed otherwise
- 4
- Still in review
- 49
Pull requests2 pull requests merged · 3 projects set up a way to report vulnerabilities
What the maintainers did, credited to them.
A fix a maintainer made is the maintainer’s, and each row names them. Where a project merged a change we wrote, the row says so. A report closed because the defect left the code some other way is listed as closed, with no fix attributed to it.
States as GitHub showed them on .
Cryptography
2Key handling, signatures, curves and proofs.
- Finding: X25519 private keys are not clamped when serialized or deserialized, as RFC 9180 §7.1.2 requires.rozbb/rust-hpkeWhat came of it: Fixed by Michael Rosenberg in #122, released in hpke 0.15.0.Resolution and links: Fixed by the maintainerFixed by Michael Rosenberg rozbbIssue #121Fix #122Release 0.15.0
- Finding: The v8 circuit table registered identifiers that no circuit the Rust runtime compiles has.longfellow-zk/longfellow-zkWhat came of it: Closed: #217, a wider change, took v8 out of the v1 table, so the defect no longer holds on main.Where it was found: Longfellow ZK
Identity and credentials
5Selective disclosure, OpenID, federation, mobile documents, AnonCreds and DIDs.
- Finding: The SD-JWT verifier accepted tokens RFC 9901 §7.1 says to reject, and rejected the recursive disclosures of the RFC’s own Appendix A.2.affinidi/affinidi-tdk-rsWhat came of it: Fixed by Glenn Gore in #964, released in affinidi-sd-jwt 0.1.8.Resolution and links: Fixed by the maintainerFixed by Glenn Gore stormer78Issue #962Fix #964Release 0.1.8Where it was found: Selective Disclosure for JWTs (RFC 9901)
- Finding: The TRQP endpoint labelled its errors as plain JSON rather than RFC 9457 problem details, validated no identifier, accepted any context and never read context.time.affinidi/affinidi-trust-registry-rsWhat came of it: Fixed by Glenn Gore in #167, released in v0.29.0.Resolution and links: Fixed by the maintainerFixed by Glenn Gore stormer78Issue #161Fix #167Release v0.29.0Where it was found: Trust Registry Query Protocol 2.0
- Finding: Applying a metadata policy to an entity type the library has no Go struct for panicked, where OpenID Federation 1.1 §6.1.4.2 says the policy must be applied.go-oidfed/libWhat came of it: Fixed by Gabriel Zachmann the same day in cef5ffd, released in v0.13.1.Resolution and links: Fixed by the maintainerFixed by Gabriel Zachmann zachmannIssue #204Fix cef5ffdRelease v0.13.1Where it was found: OpenID Federation 1.1
- Finding: The repository had no licence file: the manifests say MIT or Apache-2.0, and the README linked a LICENSE that did not exist.spruceid/openid4vpWhat came of it: Our pull request adding the licence files, #85, was merged by Simon Bihel.Resolution and links: Our change, mergedOur change, merged by Simon Bihel sbihelIssue #80Pull request #85Where it was found: No register row
- Finding: The mobile security object had no status member, so a decoded MSO lost its Token Status List reference.spruceid/isomdlWhat came of it: Closed: #144, opened before this report, added the status member, and #146 added the status list checks.
Parsers and data formats
2XML, JSON-LD, RDF canonicalisation, URLs, PEM and certificate structures.
- Finding: Deeply nested elements overflowed the stack and aborted the process; the fix was on master but unreleased.RazrFalcon/roxmltreeWhat came of it: The fix, #155, was on master; Adam Reichold released it in roxmltree 0.21.2 on request.Resolution and links: Released by the maintainerReleased by Adam Reichold adamreicholdIssue #159Fix #155Release 0.21.2Where it was found: No register row
- Finding: Expanded output printed @included as @include, failing the W3C tests tin01 to tin06, and a keyword-form @id was given a blank node.timothee-haudebourg/json-ldWhat came of it: Closed: version 0.22.0 prints expanded documents through serde with the keyword spelled right; the blank-node case is one the JSON-LD working group deferred.Where it was found: JSON-LD 1.1, its processing algorithms and framing
Security policies
3Projects asked to publish how a vulnerability is reported to them.
- Finding: The repository had no security policy; we proposed one.go-oidfed/libWhat came of it: Our security policy, #207, was merged by Gabriel Zachmann.Resolution and links: Our change, mergedOur change, merged by Gabriel Zachmann zachmannPull request #207Where it was found: No register row
- Finding: The repository had no security policy; we proposed one.rozbb/rust-hpkeWhat came of it: Michael Rosenberg added a security policy of his own in 4874db5 and closed the pull request.Resolution and links: Policy adoptedA policy of their own, adopted by Michael Rosenberg rozbbPull request #125Policy 4874db5Where it was found: No register row
- Finding: The repository had no security policy; we proposed one.spruceid/ssiWhat came of it: Simon Bihel turned on private vulnerability reporting and closed the pull request.Resolution and links: Private reporting onPrivate reporting turned on by Simon Bihel sbihelPull request #720Private vulnerability reportingWhere it was found: No register row
Still open, with the maintainers.
57 findings are filed and not yet settled. Each links to what was filed and to the register row it was found proving; the threads hold the detail.
Cryptography
4- RustCrypto/elliptic-curves#1970Ed448 point decoding ignores the unused bits and does not check that y is below p, as RFC 8032 §5.2.3 requires, so malformed Wycheproof signatures verify.EdDSA (RFC 8032) and X25519 and X448 (RFC 7748)
- LF-Decentralized-Trust-labs/aries-bbssignatures-rs#12Commitments are hashed to the curve under the message generators’ tag, and one G2 tag serves two uses, against the domain separation RFC 9380 §3.1 requires.BLS signatures and hashing to elliptic curves (RFC 9380)BBS+ signatures 2020
- longfellow-zk/longfellow-zk#201The Rust mdoc proof runtime panics on prover and verifier input and builds test-only features into its normal build.Longfellow ZK
- coset#131#132An empty protected header sent as h'A0' is signed over as received, not as the zero-length bstr RFC 9052 §4.4 requires, so a COSE WG pass vector fails to verify.CBOR and COSE (RFC 8949, RFC 9052, RFC 9053, RFC 9338, RFC 9360, RFC 9596, RFC 8230, RFC 8812)
Identity and credentials
21- SUNET/oidfed_metadata_policy#19#21Six departures from the metadata-policy operators of OpenID Federation 1.1, among them a panic on add over a scope string.OpenID Federation 1.1
- ramosbugs/openidconnect-rs#249#254A client can send max_age, but the default ID Token verifier never checks auth_time against it, as OpenID Connect Core §3.1.3.7 step 13 requires.OpenID Connect Core 1.0 and Discovery 1.0
- spruceid/oid4vci-rs#45#46mso_mdoc credentials are encoded with padded base64url, which OpenID4VCI 1.0 defines without padding, so conformant credentials are refused.OpenID for Verifiable Credential Issuance 1.0
- spruceid/openid4vp#79#84The x5c client constructors panic on an empty certificate chain instead of returning an error.OpenID for Verifiable Presentations 1.0, with DCQL
- spruceid/ssi#712The published ssi crates force serde_json’s arbitrary_precision feature on every dependent, which breaks untagged and flattened f64 fields.
- spruceid/ssi#713An SD-JWT without _sd_alg is refused, where RFC 9901 §4.1.1 says to default to sha-256.Selective Disclosure for JWTs (RFC 9901)
- spruceid/ssi#714#719Repeated decoy digests and disclosures named _sd or ... are not refused, as RFC 9901 §7.1 requires.Selective Disclosure for JWTs (RFC 9901)
- spruceid/isomdl#143The ssi-jwk dependency’s default features pull rsa 0.6.1 into every build.
- anoncreds/anoncreds-rs#373#378A verifier compares a marker restriction on a revealed attribute with the value "1" and refuses the presentation.AnonCreds 1.0
- anoncreds/anoncreds-rs#374#379Attribute names inside restrictions are matched case-sensitively, unlike requested attribute names, which AnonCreds 1.0 matches case-insensitively.AnonCreds 1.0
- anoncreds/anoncreds-rs#375#380A legacy prover_did of 20 base58 characters is refused, though it decodes to a valid 16-byte identifier.AnonCreds 1.0
- anoncreds/anoncreds-rs#376#381The W3C form writes a legacy issuer as a bare Indy DID, where the credential data model requires a URI, and the docs still name retired cryptosuites.AnonCreds 1.0Verifiable Credentials Data Model 2.0 and Data Integrity 1.0Verifiable Credentials Data Model 1.1 and Data Integrity 1.1
- anoncreds/anoncreds-spec#205The attribute encoding rule the specification links and the reference implementation disagree on inputs such as " 5" and "1_000".AnonCreds 1.0
- anoncreds/anoncreds-spec#206#209Section 7.2.2 gives two prime sizes that cannot both hold; the reference implementation uses 1024-bit primes.AnonCreds 1.0
- anoncreds/anoncreds-spec#207Section 12 describes one W3C representation, its examples another, and the reference implementation writes a third.AnonCreds 1.0
- anoncreds/anoncreds-spec#208#210The tails file prose names one dummy value, and the reference implementation writes another.AnonCreds 1.0
- decentralized-identity/didwebvh-py#50#52The resolver returns the DID document of a deactivated DID, which did:webvh 1.0 says it must not.did:webvh 1.0
- decentralized-identity/didwebvh-py#51#53A portable DID that has moved is refused when resolved by its prior identifier.did:webvh 1.0
- openwallet-foundation/acapy#4247The resolver admin route cannot resolve the versionId, versionTime or versionNumber of a did:webvh DID, which did:webvh 1.0 requires.did:webvh 1.0
- openwallet-foundation/acapy#4261The bbs extra cannot be installed on arm64, and its one dependency is archived with known advisories.
Parsers and data formats
15- kushaldas/uppsala#57A reference to a declared external entity is refused as undeclared, against XML 1.0 §4.4.3.
- kushaldas/uppsala#61Entity declarations after a parameter-entity reference the parser does not read are still processed, against XML 1.0 §5.1.
- digitalbazaar/jsonld.js#588An inline context’s @context entry is unwrapped instead of raising a keyword redefinition error, as JSON-LD 1.1 API §4.1.2 requires.JSON-LD 1.1, its processing algorithms and framing
- zkp-ld/rdf-canon#25#28U+FFFE and U+FFFF are written as they are in the canonical form, where RDFC-1.0 requires them escaped.RDF Dataset Canonicalization (RDFC-1.0), RDF 1.1 concepts and N-Quads
- zkp-ld/rdf-canon#26#29A quad is referenced once for each blank node position in it, where RDFC-1.0 §4.4.3 references it once per blank node.RDF Dataset Canonicalization (RDFC-1.0), RDF 1.1 concepts and N-Quads
- servo/rust-url#1164A relative reference that begins /// is refused against a special base, and against a non-special base an error is reported where the URL Standard reports none.
- RustCrypto/formats#2486A lone CR before -----BEGIN is refused, so a CR-terminated certificate chain loses every certificate after the first, against RFC 7468 §2.Base encodings and textual key encodings (RFC 4648, RFC 7468)
- RustCrypto/formats#2485An object identifier of 100 characters, which RFC 5280 Appendix B says implementations must support, does not fit, so a certificate carrying one does not decode.X.509 certificates and path validation (RFC 5280, with RFC 6818, RFC 9549 and RFC 9618)
- RustCrypto/formats#2487TrustAnchorInfo’s v1 is declared as 0, so it is written as INTEGER 0 and a written 0 is read as v1, where RFC 5914 gives v1 the value 1.Certificate algorithms, key encodings and trust anchors (RFC 3279, RFC 4055, RFC 5480, RFC 5639, RFC 8410, RFC 5914, RFC 5937)
Interoperability testing
10- openwallet-foundation/owl-agent-test-harness#929#939The ACA-Py backchannel has no abandoned state for present-proof, so a rejected presentation is answered with a server error.Aries agent protocols
- openwallet-foundation/owl-agent-test-harness#930The RFC 0160 single-use invitation scenarios assert a known ACA-Py bug rather than the problem report the RFC defines.Aries agent protocols
- openwallet-foundation/owl-agent-test-harness#932The ACA-Py image is built without acapy-plugins, so the scenarios that need them cannot pass.
- openwallet-foundation/owl-agent-test-harness#934The RFC 0044 scenarios pass a --mime-type option ACA-Py does not have, so the agent does not start.Aries agent protocols
- openwallet-foundation/owl-agent-test-harness#935The revocation scenarios require the prover to present a credential it knows is revoked, which AnonCreds lets it decline.AnonCreds 1.0
- openwallet-foundation/owl-agent-test-harness#936#942The BBS+ test credential carries an id, which Aries RFC 0646 says should not be present.W3C credential exchange with BBS+ signatures (Aries RFC 0646)
- openwallet-foundation/owl-agent-test-harness#938#944The BBS+ limit-disclosure requests name only BbsBlsSignature2020, where Aries RFC 0646 §3.2.3.1 requires BbsBlsSignatureProof2020.W3C credential exchange with BBS+ signatures (Aries RFC 0646)
Build tooling
1Security policies
6- kushaldas/uppsala#68The repository had no security policy; we proposed one.
- ramosbugs/openidconnect-rs#253The repository had no security policy; we proposed one.
- RazrFalcon/roxmltree#164The repository had no security policy; we proposed one.
- SUNET/oidfed_metadata_policy#20The repository had no security policy; we proposed one.
- timothee-haudebourg/json-ld#95The repository had no security policy; we proposed one.
- zkp-ld/rdf-canon#27The repository had no security policy; we proposed one.
Every specification these findings were made against is on the register, with its state and how it is held to the text. Back to the register →
Build on identity that is proven, not assumed.
Aegis is built by Protoworks and offered to partners on request. Tell us what you need to verify, issue or accept, and we will show you the platform running.