docs: add SECURITY.md with the vulnerability reporting policy
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github, go
- Ambito
- documentation, security
Direzione di ricerca
Start by reviewing the security policy in backblaze-labs/b2-mcp, the repository's Go module and request logging behavior, and the related RELEASE.md, zizmor, and branch rename issues. Draft root SECURITY.md with the requested Go specific reporting, scope, credential, supply chain, and incident response policies, then verify its links and claims with maintainers. Done means the document is merged, GitHub detects it as the repository security policy, and the private reporting and contact paths are verified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Add a SECURITY.md at the repo root with the vulnerability reporting policy for blazer as a Go module. It should be adapted from the security policy in backblaze-labs/b2-mcp, keeping the structure (supported versions, private reporting, response expectations, scope, secret handling, credential trust boundary, supply-chain incident response) and replacing the MCP and npm specifics with Go library equivalents. GitHub shows SECURITY.md in the Security tab and links it from new issues, and there is currently none.
Sections to include:
- Ownership: Backblaze Security as the response owner, plus the repository security reviewers (names to be filled in by maintainers).
- Supported versions: only the latest minor release line is supported (blazer is v0, so for example
0.9.xonce released); earlier releases are not patched in place, and consumers such as restic should upgrade. Link to the support policy inRELEASE.md(see theRELEASE.mdissue). - Reporting: do not file a public issue. Use GitHub Security Advisories on
Backblaze/blazer(Security tab, Report a vulnerability), or email[email protected]if that is not possible. Ask for a description, reproduction steps (ideally a minimal Go program), affected versions and impact. - What to expect: acknowledgement within 3 business days, initial assessment within 7 business days, coordinated disclosure once a fix is released. For confirmed issues, publish a GitHub Security Advisory with a CVE, ship the fix in a new tagged version, add a
retractdirective for the affected versions where appropriate, and submit the report to the Go vulnerability database (golang.org/x/vulndb) sogovulncheckflags it for downstream users. - Scope, in: credential handling flaws (application keys, auth tokens, upload and download tokens, SSE-C customer keys), token leakage through logs, errors or URLs, TLS or certificate validation weaknesses, request smuggling or header injection through file names and file info, path or URL escaping bugs that address the wrong object (for example in
Object.URLandObject.AuthURL), integrity bypasses such as skipped or wrong SHA-1 verification, and denial of service or unbounded resource use reachable through the public API (retry loops, goroutine leaks, unbounded buffering). - Scope, out: vulnerabilities in the Backblaze B2 service itself (report to Backblaze directly), misconfiguration in the consuming application (for example logging at the highest
B2_LOG_LEVELin production, committing keys, overly broad application key capabilities), issues requiring local access to the machine running the program, and vulnerabilities in the Go toolchain or standard library (report to the Go security team). - Secret handling policy for a library: blazer receives the plaintext application key, so document that the key and tokens must never appear in logs, errors or panics; the existing request logging redacts authorization tokens and this should be stated as a guarantee with tests; presigned or authorized URLs (
AuthURLputs the token in the query string) are bearer credentials and must be treated as secrets until they expire; SSE-C keys must be redacted from everyString,GoString, JSON and log path once file-level encryption is added. - Credential trust boundary: describe what blazer talks to (
api.backblazeb2.com, the returned API, upload and download hosts), that TLS is delegated to the suppliedhttp.RoundTripper(defaulthttp.DefaultTransport), and that callers who inject a transport own its security. - Dependency and supply-chain policy: blazer currently has no third-party dependencies (empty
go.sum), which is a property to preserve; any new dependency is a reviewed change. Documentgovulncheck ./...in CI,go mod verify,GOFLAGS=-mod=readonly, pinned GitHub Actions (see the zizmor issue), and signed tags (see theRELEASE.mdissue). - Incident response: if a leaked key or compromised release is suspected, rotate the affected B2 application keys, retract the affected version, publish a fixed version and an advisory, and notify known downstream consumers.
Acceptance: SECURITY.md is merged and detected by GitHub (Security policy appears in the repo Security tab), private vulnerability reporting is enabled in repository settings, and the contact path in the document has been verified to reach the right team.
Related: the RELEASE.md issue (#94), #93 (zizmor), and #92 (rename master to main; use the new branch name in links).
- Lingua principale
- Go
- Stelle
- 66
- Fork
- 18
- Merge medio
- 1g 10h
- PR unite (30g)
- 132
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Backblaze/blazer
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Bucket.Attrs never returns ReplicationConfig: replication configuration is write-onlyForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
test: skip the fuzz non-vacuity guard when replaying a single seedForse già presa @ffumero2003 l’ha presa 5 giorni fa. Apertatesting
Backblaze/blazer#330 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Backblaze/blazer
Issue simili
-
needs-triage typo
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
llm-d-incubation/llm-d-scaling-manager#122 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue severity: low tech-debt
Difficoltà 2/5 Mezza giornata Idoneità per principianti 75/100
TMHSDigital/subenum#329 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Backend summarize min() / max() panics when a field has no numeric valuesForse già presa @weng5e l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
grafana/grafana-infinity-datasource#1832 ·
I maintainer di solito rispondono entro 1 giorno
-
tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
GillMacedo/godebugdiff#13 ·