Skip to content

docs: update secuirty threat model#10715

Merged
jasonsaayman merged 3 commits intov1.xfrom
docs/update-secuirty-threat-model
Apr 14, 2026
Merged

docs: update secuirty threat model#10715
jasonsaayman merged 3 commits intov1.xfrom
docs/update-secuirty-threat-model

Conversation

@jasonsaayman
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman commented Apr 14, 2026

Summary by cubic

Adds a comprehensive THREATMODEL.md and links it from SECURITY.md to clarify axios’ runtime and supply‑chain risks, mitigations, and non‑goals for researchers and maintainers.

Description

  • Summary of changes

    • Added THREATMODEL.md detailing runtime and project/SDLC models, assets, threats, mitigations, and explicit non‑goals.
    • Updated SECURITY.md with a “Threat Model” section linking to the doc and scoping guidance for researchers.
  • Reasoning

    • Set clear expectations for what’s in scope, common misuse patterns, and known gaps.
    • Highlights top project risks (T‑S2: dev‑dep lifecycle scripts; T‑S3: phishing) and practical maintainer mitigations (--ignore-scripts, no publish tokens on laptops, WebAuthn).
  • Additional context

    • Docs‑only; no runtime or build changes.
    • Calls out important defaults callers should consider setting (e.g., maxContentLength, maxBodyLength, allowAbsoluteUrls).

Docs

  • New THREATMODEL.md and cross‑link from SECURITY.md.
  • Follow‑ups suggested in the doc: add CODEOWNERS for sensitive paths, consider reproducible‑build verification, and confirm tag protection on v*.

Testing

  • No tests added; not needed for docs‑only changes.
  • Verified SECURITY.md link to THREATMODEL.md.

Written for commit a55df98. Summary will update on new commits.

@jasonsaayman jasonsaayman self-assigned this Apr 14, 2026
@jasonsaayman jasonsaayman added priority::medium A medium priority commit::docs The PR is related to docs labels Apr 14, 2026
@jasonsaayman jasonsaayman merged commit cb7b9ad into v1.x Apr 14, 2026
26 checks passed
@jasonsaayman jasonsaayman deleted the docs/update-secuirty-threat-model branch April 14, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::docs The PR is related to docs priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant