Skip to content

fix(dsgai-2026): align SAMM mapping with the DSGAI 2026 v1.0 taxonomy - #450

Open
muyanli wants to merge 1 commit into
GenAI-Security-Project:mainfrom
muyanli:fix/dsgai-samm-2026-taxonomy
Open

muyanli wants to merge 1 commit into
GenAI-Security-Project:mainfrom
muyanli:fix/dsgai-samm-2026-taxonomy

Conversation

@muyanli

@muyanli muyanli commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

What this PR changes

dsgai-2026/DSGAI_SAMM.md, affecting DSGAI01–DSGAI21 (all entries). Part of #444; same approach as #445.

The file used DSGAI headings from a list that doesn't match the 2026 v1.0 taxonomy, even though its header cites that taxonomy. This PR moves each existing section to the 2026 entry it addresses, based on the entry definitions in the v1.0 PDF, and adds content only where the old file had nothing for a 2026 entry.

  • All 21 headings now match v1.0.
  • Each entry's introduction is rewritten to the 2026 definition, because the old introductions described the old risks.
  • Every SAMM row, mitigation and cross-reference from the old sections is carried over, except old DSGAI05 "Guardrail Circumvention", which has no 2026 counterpart.
  • Following the review on fix(dsgai-2026): align NHI mapping with the DSGAI 2026 v1.0 taxonomy … #445, a practice that reached an entry from more than one old section appears once: activities and "How it applies" are combined, and the highest maturity level is kept. This includes old DSGAI19, which already listed O-IM twice. Two near-identical Tier 3 bullets in DSGAI01 were merged into one.
  • The "Why" paragraph, Quick-reference summary and Implementation priority table now reference the new IDs; a 1.1.0 row has been added to the Changelog.
  • data/ and docs/ changes are regenerated by npm run generate and npm run stats. No other framework's rows change.

Type of change

  • Update to existing mapping (content, controls, CVE refs)
  • Bug fix (broken link, typo, incorrect cross-ref)

Source / evidence

Checklist

Content

  • Follows the file template structure (header comment, H1, Why section, quick-reference table, audience
    tags, detailed per-entry mappings, references, changelog)
  • Severity ratings consistent with AIVSS / OWASP definitions in shared/SEVERITY.md (taken from the canonical values in scripts/generate.js)
  • Cross-references are bidirectional — if this file mentions Agentic_X.md, that file mentions this one back
  • All referenced vulnerability IDs are valid (LLM01–LLM10, ASI01–ASI10, DSGAI01–DSGAI21)
  • License header present: CC BY-SA 4.0

Links & data

  • All internal .md links resolve to real files
  • All external URLs return 200 (checked manually or via lychee)
  • [N/A ] data/schema.json compatible (if adding a new entry type)

Project hygiene

  • Changelog entry added at bottom of every modified file (YYYY-MM-DD format)
  • [N/A] CHANGELOG.md updated if this is a new mapping file (include in correct version section)
  • [N/A] README.md counts updated if file count changed (badge + summary table + section heading + repo tree) mapping counts regenerated by npm run stats
  • Ran node scripts/validate.js --file <path> locally and it passes

For new mapping files only

N/A

Notes for reviewers

Section moves

2026 entry Content
DSGAI01 — Sensitive Data Leakage moved from old DSGAI06 "Unintended Data Disclosure", old DSGAI03 "Sensitive Data in Training Sets", old DSGAI01 "Prompt Injection via Data Channels"
DSGAI02 — Agent Identity & Credential Exposure moved from old DSGAI07 "Excessive Data Access", old DSGAI14 "Model Weight Theft"; new I-SD (Secret Management) row
DSGAI03 — Shadow AI & Unsanctioned Data Flows new section
DSGAI04 — Data, Model & Artifact Poisoning moved from old DSGAI02 "Training Data Poisoning", old DSGAI09 "RAG Corpus Manipulation", old DSGAI17 "Model Supply Chain Risks", old DSGAI16 "Third-Party Data Dependencies"
DSGAI05 — Data Integrity & Validation Failures moved from old DSGAI04 "Insecure Data Pipelines"
DSGAI06 — Tool, Plugin & Agent Data Exchange Risks moved from old DSGAI13 "Data Leakage through Tool Integration"
DSGAI07 — Data Governance, Lifecycle & Classification for AI Systems moved from old DSGAI21 "Data Provenance and Lineage Failures", old DSGAI18 "Data Retention and Deletion Failures"
DSGAI08 — Non-Compliance & Regulatory Violations moved from old DSGAI20 "Regulatory Non-Compliance in Data Use"
DSGAI09 — Multimodal Capture & Cross-Channel Data Leakage new section
DSGAI10 — Synthetic Data, Anonymization & Transformation Pitfalls new section
DSGAI11 — Cross-Context & Multi-User Conversation Bleed moved from old DSGAI11 "Session Persistence Attacks"
DSGAI12 — Unsafe Natural-Language Data Gateways (LLM-to-SQL/Graph) new section
DSGAI13 — Vector Store Platform Data Security moved from old DSGAI08 "Data Leakage in Retrieval"
DSGAI14 — Excessive Telemetry & Monitoring Leakage moved from old DSGAI15 "Inference Data Exposure"
DSGAI15 — Over-Broad Context Windows & Prompt Over-Sharing new section
DSGAI16 — Endpoint & Browser Assistant Overreach new section
DSGAI17 — Data Availability & Resilience Failures in AI Pipelines moved from old DSGAI19 "Cascading Data Failures"
DSGAI18 — Inference & Data Reconstruction new section
DSGAI19 — Human-in-the-Loop & Labeler Overexposure new section
DSGAI20 — Model Exfiltration & IP Replication moved from old DSGAI12 "Model Inversion and Extraction"
DSGAI21 — Disinformation & Integrity Attacks via Data Poisoning moved from old DSGAI10 "Context Window Poisoning"

Placement calls worth a second look

Validation: npm run build passes with the same warnings as main, except the mapping-density warning, which drops from 22 to 21 controls. markdownlint and npm run test:scripts pass, and node scripts/generate.js reproduces the committed data.

Not in scope: some stream labels in the moved rows don't use SAMM v2 names (e.g. D-TA "A — Threat Modeling", where Stream A is Application Risk Profile and Stream B is Threat Modeling). New rows use the v2 names; the moved ones are unchanged and can be aligned in a follow-up.

@muyanli
muyanli requested a review from emmanuelgjr as a code owner December 2, 2026 04:57
@muyanli

muyanli commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Hi @emmanuelgjr, gentle bump on this one, thank you!!

@emmanuelgjr emmanuelgjr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @muyanli. #445 is merged, so this branch now conflicts, but only in the regenerated files. Could you rebase onto main, then run npm run generate and npm run stats and push? dsgai-2026/DSGAI_SAMM.md itself needs no change.

I checked the content by applying your SAMM file to current main (258895b) and regenerating.

Checks:

  • All 21 headings match v1.0.
  • validate.js: 0 errors.
  • 170 of 170 tests pass.
  • markdownlint: 0 errors.

Scope:

  • No other framework's rows change, and no reviewed rows are touched.
  • 99 → 92 SAMM rows, with no repeated practice in any entry. That includes the O-IM that old DSGAI19 listed twice.
  • Every activity from the old file survives except the five guardrail activities from old DSGAI05, which you call out.
  • The LLM and ASI cross-references use the repo's 2026 IDs and names.

For the SME pass later, nothing needed from you:

  • Your edits to the cross-reference lines add LLM cross-references to four entries:
    • DSGAI05: LLM09
    • DSGAI06: LLM08
    • DSGAI12: LLM03
    • DSGAI21: LLM01 and LLM09
  • Some merged rows now carry a higher maturity level, because you kept the highest one.

Both are reasonable, and the rows stay unreviewed. I'm noting them so the reviewer knows to look.

The two placement calls read well to me, including putting "Context Window Poisoning" in different entries in the two files, given what each section actually says. The SAMM v2 stream-name cleanup as a follow-up sounds good.

This branch has not been deployed

No deployments
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