Skip to content

datasets(incidents): allow publicly disclosed incidents to name organizations - #123

Merged
emmanuelgjr merged 1 commit into
mainfrom
datasets/incidents-public-disclosure
Nov 25, 2026
Merged

emmanuelgjr merged 1 commit into
mainfrom
datasets/incidents-public-disclosure

Conversation

@emmanuelgjr

Copy link
Copy Markdown
Contributor

Summary

Changes the incident dataset's contribution policy so it can hold real, publicly disclosed incidents, and adds a browsable index. Policy change: co-lead review welcome before merge.

Every entry now sets a required disclosure:

public anonymized
Organization names Allowed, as the cited sources name them, in affected_organizations Not allowed (schema rejects affected_organizations)
Sources source_urls required Optional
People's names Not allowed Not allowed
CI name scan Person names Person + organization names

The rules for public entries are in datasets/incident_dataset/README.md:

  • Stay within what the sources say.
  • Use primary sources first.
  • The organization is the incident's subject, never a sponsor.
  • No contributor-owned links, and the contributor's own write-up can't be the only source (consistent with the no-self-promotion policy).
  • Write in your own words; no text pasted from sources or other incident databases.

Precedent: vulnerability_dataset already names affected vendors for public CVEs.

Changes

  • datasets/incident_dataset/schema.json is now the authoritative schema (same policy as the other datasets).
    • New fields: title, disclosure, source_urls, affected_organizations, precision, crosswalk_id, and contributor (name + ORCID only).
    • Unknown fields are rejected.
  • data_validation/schemas/incident.schema.json is now a $ref stub.
  • build_index.py generates INDEX.md, a table of every incident. CI fails if it's out of date.
  • ner_pii_scan.py skips organization names only in public entries.
  • test_standards.py: the Croissant coverage test no longer counts a dataset's schema.json as a record.
  • CONTRIBUTING, the PR template, datasets/README.md, and the main README now describe the rule and link to the index.

Tests

  • New test_incident_schema.py covers the disclosure rule, the rejected fields, and the index renderer.
  • Locally: pytest (209 passed), ruff, mypy, and run_all_checks.py are clean. The only 2 warnings are existing exploit-dataset ATLAS-retirement notes.

The first batch of public incidents will follow in a separate PR.

🤖 Generated with Claude Code

…izations

Split the incident dataset into two kinds of entry, set by a required
"disclosure" field:

- public: a publicly disclosed incident. It may name the affected or
  responsible organization in affected_organizations, as the cited
  sources do, and source_urls is required.
- anonymized: self-reports and anything not public. No organization
  names (affected_organizations is rejected), as before.

People's names stay forbidden in both. The README sets the guardrails:
stay within the sources, primary sources first, the organization is the
incident's subject and never a sponsor, no contributor-owned links or
sole sources, own wording.

Also:
- datasets/incident_dataset/schema.json becomes the authoritative schema
  (adds title, disclosure, source_urls, affected_organizations,
  precision, crosswalk_id, contributor; rejects unknown fields);
  data_validation/schemas/incident.schema.json becomes a $ref stub.
- build_index.py generates INDEX.md, the browsable incident list; CI
  fails when it is out of date.
- The NER scan skips organization names in public entries only.
- The Croissant coverage test no longer counts a dataset's schema.json
  as a record.
- CONTRIBUTING, the PR template, and the READMEs describe the rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@emmanuelgjr
emmanuelgjr merged commit 119919e into main Nov 25, 2026
12 checks passed
@emmanuelgjr
emmanuelgjr deleted the datasets/incidents-public-disclosure branch November 25, 2026 03:39
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.

1 participant