AEGIS by ProtoworksDevelopers
Menu

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

Settled

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

2

Key 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-hpke
    What 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 Issue #121Fix #122Release 0.15.0
    Where it was found: Hybrid Public Key Encryption (RFC 9180)RFC9180#7.1.2#002RFC9180#7.1.2#003
  • Finding: The v8 circuit table registered identifiers that no circuit the Rust runtime compiles has.longfellow-zk/longfellow-zk
    What came of it: Closed: #217, a wider change, took v8 out of the v1 table, so the defect no longer holds on main.
    Resolution and links: Closed, overtakenClosed. No fix is attributed to this report.Issue #202
    Where it was found: Longfellow ZK

Identity and credentials

5

Selective 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-rs
    What 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 Issue #962Fix #964Release 0.1.8
  • 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-rs
    What came of it: Fixed by Glenn Gore in #167, released in v0.29.0.
    Resolution and links: Fixed by the maintainerFixed by Glenn Gore Issue #161Fix #167Release v0.29.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/lib
    What 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 Issue #204Fix cef5ffdRelease v0.13.1
    Where 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/openid4vp
    What 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 Issue #80Pull request #85
    Where 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/isomdl
    What came of it: Closed: #144, opened before this report, added the status member, and #146 added the status list checks.
    Resolution and links: Closed, overtakenClosed. No fix is attributed to this report.Issue #145

Parsers and data formats

2

XML, 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/roxmltree
    What 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 Issue #159Fix #155Release 0.21.2
    Where 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-ld
    What 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.
    Resolution and links: Closed, overtakenClosed. No fix is attributed to this report.Issue #94

Security policies

3

Projects asked to publish how a vulnerability is reported to them.

  • Finding: The repository had no security policy; we proposed one.go-oidfed/lib
    What came of it: Our security policy, #207, was merged by Gabriel Zachmann.
    Resolution and links: Our change, mergedOur change, merged by Gabriel Zachmann Pull request #207
    Where it was found: No register row
  • Finding: The repository had no security policy; we proposed one.rozbb/rust-hpke
    What 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 Pull request #125Policy 4874db5
    Where it was found: No register row
  • Finding: The repository had no security policy; we proposed one.spruceid/ssi
    What 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 Pull request #720Private vulnerability reporting
    Where it was found: No register row
In review

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

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
  • hyperledger-indy/indy-shared-rs#70The only indy-data-types 0.7 release pins a CL signatures version inside a published advisory, GHSA-2q6j-gqc4-4gw3; main has the fix, unreleased.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

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#931#940The JSON-LD did:sov rows pass only when an earlier scenario has given the issuer and the holder a public DID.
  • 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#933#941The backchannel parses an error body as JSON before checking the status, so ACA-Py’s own error is reported as a parse failure.
  • 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#937#943Fixed timeouts, a fixed resolver port and an amd64-only image make the results depend on the host.
  • 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

1
  • Boshen/cargo-shear#589#594A dependency used only by a #[path] module outside the target’s directory is reported as unused.

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