@bymax-one/nest-core ships an error-envelope exception filter, a request-timing
interceptor, pagination helpers, health endpoints, and an optional Prometheus
metrics endpoint that downstream applications rely on to avoid leaking
sensitive data through error responses, health checks, or metrics output. We
take vulnerability reports seriously and triage them ahead of feature work.
Security patches are issued for the most recent minor on the active 0.x line.
Once v1.0 ships, the support table will be updated.
| Version | Status |
|---|---|
0.1.x, including 0.1.0 pre-releases |
Active, receives security fixes |
Older 0.x pre-releases |
End-of-life |
If you are stuck on an older version and need a backport, open a private advisory (see below) and we will discuss feasibility on a case-by-case basis.
Do not report security issues through public GitHub Issues, Discussions, or pull requests. Public reports give attackers a window between disclosure and patch deployment.
Use GitHub Private Vulnerability Reporting, which is enabled on this repository:
Open a private security advisory
If you cannot use the GitHub form (e.g., you do not have an account), email
support@bymax.one with [security] @bymax-one/nest-core in the subject
line.
A useful report contains:
- A clear description of the vulnerability and its impact (CIA triad, confidentiality, integrity, availability)
- Step-by-step reproduction against the latest
0.xrelease - The affected subpath (
.,./pagination, or./health) - A suggested fix or mitigation, if you have one
- Whether you would like to be credited in the published advisory (and how, name, handle, affiliation)
| Phase | Target |
|---|---|
| Acknowledgement of receipt | within 72 hours |
| Initial assessment and severity rating | within 7 days |
| Coordinated fix for Critical / High | within 90 days of acknowledgement |
| Coordinated fix for Medium / Low | best effort, tracked in advisory |
We follow coordinated vulnerability disclosure and publish the advisory only after a fixed version is on npm, unless active exploitation forces an earlier publication.
Reporters are credited in the GitHub Security Advisory and CHANGELOG entry unless they request anonymity.
The following classes are explicitly in scope:
- Error-detail leakage - any path where the error envelope exposes an internal message, stack trace, or other sensitive detail outside of an explicit, documented
exposeInternalsopt-in - Health or metrics data exposure - a health indicator or metrics label that leaks credentials, tenant identifiers, or other sensitive data through the health or metrics endpoints
- Correlation-id spoofing - injection of crafted correlation identifiers through user-controlled headers that bypasses the correlation provider's validation
- Cursor tampering - a pagination cursor that can be crafted to bypass ordering guarantees or read data outside the intended page
- Bundle supply-chain integrity - compromised dependency, malicious typosquat, tampered release artifact
- CodeQL
security-extendedalerts - anything the automated scan surfaces in the Security tab
These are not vulnerabilities in @bymax-one/nest-core itself:
- Issues only reproducible in versions older than
0.1.0 - Misconfigurations in the consuming application (e.g., explicitly enabling
exposeInternalsin production) unless they reproduce with the documented default configuration - Issues in optional peer dependencies (
prom-client) when the upstream maintainer has already accepted them or when the dependency is not exercised by the library - Self-XSS, social engineering, denial of service via legitimate authenticated load
- Theoretical attacks without a practical demonstration
Pin the package to an exact version in production, verify the publish
provenance (npm audit signatures), keep exposeInternals disabled outside
local development, and subscribe to the repository's security advisories so
you receive notifications when a CVE is published.
We are grateful to the security community and to every reporter who takes the time to investigate and disclose responsibly.