Skip to content

RAT-558: Add security threat model (THREAT_MODEL.md + SECURITY.md + AGENTS.md)#677

Open
potiuk wants to merge 1 commit into
apache:masterfrom
potiuk:asf-security/threat-model-2026-06-10
Open

RAT-558: Add security threat model (THREAT_MODEL.md + SECURITY.md + AGENTS.md)#677
potiuk wants to merge 1 commit into
apache:masterfrom
potiuk:asf-security/threat-model-2026-06-10

Conversation

@potiuk

@potiuk potiuk commented Jun 10, 2026

Copy link
Copy Markdown
Member

What

Adds a threat model for Apache Creadur (RAT) at the Creadur PMC's request (GLASSWING / Mythos scan pre-flight):

  • THREAT_MODEL.md — the model (rubric).
  • SECURITY.md + AGENTS.md — disclosure pointer + the AGENTS.md -> SECURITY.md -> THREAT_MODEL.md chain.

The model in brief

RAT is modelled as an in-process build/CLI license-audit tool — not a network service, and explicitly not a security/vulnerability scanner. Its security-relevant case is auditing untrusted input: the XML configuration (XXE surface) and archive descent (decompression-bomb surface). Findings that require RAT to process input the operator already trusts (the normal case — your own source tree) are out of model.

DRAFT — you own it; two quick technical confirmations

Because RAT is small, the §8-vs-§9 split hinges on two facts I've left as section 14 questions:

  • Q3 — does XMLConfigurationReader disable DOCTYPE/external entities (XXE-safe)?
  • Q4 — does ArchiveWalker bound decompression (size/depth/entry-count)?

Your answers turn those from "open question" into either a provided property (§8) or a documented gap + downstream note (§9). Also Q6: want me to add the same chain to creadur-whisker and creadur-tentacles so all three are discoverable?

Generated by the ASF Security team's threat-model tooling (Claude Opus); reviewed before opening.

@ottlinger ottlinger changed the title Add security threat model (THREAT_MODEL.md + SECURITY.md + AGENTS.md) RAT-558: Add security threat model (THREAT_MODEL.md + SECURITY.md + AGENTS.md) Jun 11, 2026
Rebased onto current master, which already added AGENTS.md and SECURITY.md. Keeps both maintainer files and adds the detailed THREAT_MODEL.md plus the AGENTS.md -> SECURITY.md -> THREAT_MODEL.md pointers.

Generated-by: Claude Opus 4.8 (1M context)
@potiuk potiuk force-pushed the asf-security/threat-model-2026-06-10 branch from 35879b0 to d4f0fdd Compare June 14, 2026 01:19
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