Skip to content

Enrol cose-lib - #1258

Closed
Spomky wants to merge 1 commit into
anthropics:mainfrom
Spomky:enrol-cose-lib
Closed

Spomky wants to merge 1 commit into
anthropics:mainfrom
Spomky:enrol-cose-lib

Conversation

@Spomky

@Spomky Spomky commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Enrol projects/cose-lib

I have verified each of the following before submitting this project (tick each box by changing [ ] to [x]):

  • I am a core maintainer of this project.
  • I accept the OSS Scanner terms.
  • I confirm that I believe my project meets the inclusion criteria and is an established project that users depend on.
  • project.yaml follows the README (one project per PR; tools/validate.py passes locally).
  • tools/check cose-lib builds the project, and its tests run in the shell that follows.
  • primary_contact must be the email address of the primary security contact.
  • There is a Dockerfile that builds the project (required) in one of two places: in the project's repository at the path dockerfile: names, or next to project.yaml in this repo.
  • threat_model.md is written for this project (recommended but optional), placed in the same way: in the repository at the path threat_model: names, or next to project.yaml in this repo.

To sign the CLA, post a comment on this pull request that contains only this line: I have read the CLA Document and I hereby sign the CLA

To change an enrolment, edit project.yaml; to pause reports, set disabled: true; to withdraw the project, remove projects/<name>/.

Context (optional): if you believe it is not obvious why your project qualifies for our inclusion criteria, you may write a brief note here to explain why you feel it does.

cose-lib is a PHP implementation of COSE (RFC 9052 and 9053): keys and the signature, MAC, key agreement, key wrap and content encryption algorithms (since 2019, about 32 million installs on Packagist, 32 dependent packages). It is a dependency of webauthn-lib, where every credential public key is a COSE key sent by the browser and every assertion signature is verified with these algorithms. Findings located in dependencies are dropped when webauthn-framework is scanned, hence its own enrolment.

I am the author and lead maintainer, and I already enrolled webauthn-framework (#1255) and otphp (#1256) with the same contact and key. The Dockerfile and threat_model.md live in the repository under .oss-scanner/ on 4.9.x, the default branch (added in web-auth/cose-lib#229). primary_contact is the address SECURITY.md gives for reports (written there as security [at] spomky-labs.com). Email reports are encrypted to its key (fingerprint 8B8D 93A9 7A2B 90D8 E107 C0B7 3CDF 5772 4C47 D90E, also on keys.openpgp.org), and GitHub private vulnerability reporting, enabled on the repository, receives high and critical findings.

The image built from .oss-scanner/Dockerfile runs the suite with --network none: PHPUnit 3564 tests, 32404 assertions, 83 skipped, the same counts as the PHP 8.4 CI job. The skipped tests are cose-wg fixtures the library rejects on purpose.

@github-actions

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Enrolment triage: projects/cose-lib

Repository: web-auth/cose-lib · opened by Spomky

Check Result
✅ Repository created 7 years ago, last push today
ℹ️ Stars / forks 19 stars · 10 forks · 1 watching
ℹ️ Outside participants 6 people from outside the project opened 8 of the last 89 issues and pull requests
ℹ️ Criticality score 0.49 on the OpenSSF scale of 0 to 1
signalscreated_since 94, updated_since 0, contributor_count 10, org_count 4, commit_frequency 1.9, recent_releases_count 12, closed_issues_count 51, updated_issues_count 51, comment_frequency 0.7, dependents_count 170
ℹ️ Package rank no Python, JavaScript or Rust in the repository, so not looked for on PyPI, npm or crates.io
✅ License MIT
✅ Opened by an active maintainer merged 97 of the last 100 pull requests; 64 commits in the last 12 months; #1 contributor
ℹ️ Contact in SECURITY.md SECURITY.md gives no email address to check security@spomky-labs.com against
ℹ️ OSS-Fuzz not found in OSS-Fuzz
✅ .oss-scanner/ in the repository present (Dockerfile, threat_model.md); Dockerfile at .oss-scanner/Dockerfile
✅ Pull request scope only this project's directory
✅ tools/validate.py passes
✅ Checklist all 8 ticked

Automated, from public data, to help reviewers. Enrolment is decided case by case against the criteria. If you think we got something wrong, please tell us in a reply.

@Spomky

Spomky commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@Spomky
Spomky marked this pull request as ready for review October 31, 2026 15:22
@Spomky Spomky mentioned this pull request Oct 31, 2026
8 tasks done
@sb- sb- closed this Nov 3, 2026
@Spomky
Spomky deleted the enrol-cose-lib branch November 5, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants