@bymax-one/nest-auth 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.2] - 2026-05-25
|
|
11
|
+
|
|
12
|
+
### Security
|
|
13
|
+
|
|
14
|
+
- **Forced patched versions of four transitive dependencies via `pnpm.overrides`** to close GitHub Security Advisories surfaced by OpenSSF Scorecard's `Vulnerabilities` check. None of these affect runtime behavior of the published package — they live exclusively in the build/test dependency graph — but pinning them tightens our supply-chain posture and removes the warnings from any consumer running `npm audit` against a clone of the repo:
|
|
15
|
+
- `brace-expansion@>=5.0.6` ([GHSA-jxxr-4gwj-5jf2](https://github.com/advisories/GHSA-jxxr-4gwj-5jf2) — DoS via large numeric range bypassing `max` protection)
|
|
16
|
+
- `postcss@>=8.5.10` ([GHSA-qx2v-qp2m-jg93](https://github.com/advisories/GHSA-qx2v-qp2m-jg93) — XSS via unescaped `</style>` in CSS stringify output)
|
|
17
|
+
- `qs@>=6.15.2` ([GHSA-q8mj-m7cp-5q26](https://github.com/advisories/GHSA-q8mj-m7cp-5q26) — DoS via `TypeError` on null/undefined entries in comma-format arrays)
|
|
18
|
+
- `ws@>=8.20.1` ([GHSA-58qx-3vcg-4xpx](https://github.com/advisories/GHSA-58qx-3vcg-4xpx) — uninitialized memory disclosure)
|
|
19
|
+
|
|
20
|
+
### Internal / CI
|
|
21
|
+
|
|
22
|
+
- **OpenSSF Scorecard pipeline** — added `.github/workflows/scorecard.yml` running on push to `main`, weekly schedule (Mondays 06:00 UTC), and manual dispatch. Results upload SARIF to the GitHub Security tab and publish publicly to [scorecard.dev](https://scorecard.dev/viewer/?uri=github.com/bymaxone/nest-auth). The OpenSSF Scorecard badge is now visible in the README alongside CI, coverage, mutation, and license badges.
|
|
23
|
+
- **Vulnerability disclosure policy** — added `SECURITY.md` covering supported versions, the GitHub Private Vulnerability Reporting flow, response timeline (acknowledgement < 72 h, coordinated fix for High/Critical < 90 days), and in/out-of-scope categories tuned for an authentication library. Issue templates now point to `support@bymax.one` for security questions.
|
|
24
|
+
- **Contact address consolidation** — every `contact@` / `security@bymax.one` reference across `package.json` author, README security note, `SECURITY.md`, and `.github/ISSUE_TEMPLATE/{config.yml,bug_report.md}` unified to **`support@bymax.one`**. Eliminates ambiguity for vulnerability reporters and aligns with the single-inbox routing on `bymax.one`.
|
|
25
|
+
- **Top-level workflow permissions** — `codeql.yml` and `release.yml` now declare `permissions: contents: read` at the workflow root, with the analyze/publish jobs widening only where necessary. Closes the OpenSSF Scorecard `Token-Permissions` gap (9/10 → 10/10) by ensuring every workflow has an explicit least-privilege default.
|
|
26
|
+
|
|
27
|
+
## [1.0.1] - 2026-05-25
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- **README license badge** — replaced the npm-registry-backed `shields.io/npm/l/...` badge with the GitHub-backed `shields.io/github/license/...` equivalent. The npm-based badge fails on first-publish for several hours while npm's full-document CDN propagates; the GitHub-based badge reads the `LICENSE` file directly from the repo and resolves immediately and consistently.
|
|
32
|
+
|
|
33
|
+
### Internal / CI
|
|
34
|
+
|
|
35
|
+
- **First end-to-end exercise of the OIDC trusted publishing pipeline** — tag `v1.0.1` exercises `release.yml`: tag-version verification → `prepublishOnly` (typecheck + lint + 100% coverage + build) → `npm-publish` environment approval gate → `pnpm publish --provenance` via OIDC trusted publisher → automatic GitHub Release. No production-code or public-API changes in this version.
|
|
36
|
+
|
|
10
37
|
## [1.0.0] - 2026-05-25
|
|
11
38
|
|
|
12
39
|
### Added
|
package/README.md
CHANGED
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
<a href="https://github.com/bymaxone/nest-auth/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/bymaxone/nest-auth/ci.yml?branch=main&style=flat-square&colorA=000000&label=CI" alt="CI status" /></a>
|
|
16
16
|
<a href="https://github.com/bymaxone/nest-auth/actions/workflows/ci.yml"><img src="https://img.shields.io/badge/coverage-100%25-brightgreen?style=flat-square&colorA=000000" alt="coverage" /></a>
|
|
17
17
|
<a href="https://github.com/bymaxone/nest-auth/blob/main/docs/mutation_testing_results.md"><img src="https://img.shields.io/badge/mutation-99.10%25-brightgreen?style=flat-square&colorA=000000" alt="mutation score" /></a>
|
|
18
|
-
<a href="https://github.com/bymaxone/nest-auth
|
|
18
|
+
<a href="https://scorecard.dev/viewer/?uri=github.com/bymaxone/nest-auth"><img src="https://api.scorecard.dev/projects/github.com/bymaxone/nest-auth/badge?style=flat-square" alt="OpenSSF Scorecard" /></a>
|
|
19
|
+
<a href="https://github.com/bymaxone/nest-auth/blob/main/LICENSE"><img src="https://img.shields.io/github/license/bymaxone/nest-auth?style=flat-square&colorA=000000&colorB=000000" alt="license" /></a>
|
|
19
20
|
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-strict-3178C6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript" /></a>
|
|
20
21
|
<a href="https://nodejs.org/"><img src="https://img.shields.io/badge/Node.js-24%2B-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js" /></a>
|
|
21
22
|
</p>
|
|
@@ -871,7 +872,7 @@ pnpm typecheck
|
|
|
871
872
|
|
|
872
873
|
## 🔒 Security Policy
|
|
873
874
|
|
|
874
|
-
If you discover a security vulnerability, please **do not** open a public issue. Instead, email us at **
|
|
875
|
+
If you discover a security vulnerability, please **do not** open a public issue. Instead, email us at **support@bymax.one** with details. We take security seriously and will respond promptly.
|
|
875
876
|
|
|
876
877
|
---
|
|
877
878
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bymax-one/nest-auth",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Full-stack authentication and authorization package for NestJS, React and Next.js — JWT, MFA, OAuth, sessions, multi-tenant SaaS ready",
|
|
5
|
-
"author": "Bymax One <
|
|
5
|
+
"author": "Bymax One <support@bymax.one>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/bymaxone/nest-auth#readme",
|
|
8
8
|
"repository": {
|