@blamejs/exceptd-skills 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/AGENTS.md +232 -0
  2. package/ARCHITECTURE.md +267 -0
  3. package/CHANGELOG.md +616 -0
  4. package/CONTEXT.md +203 -0
  5. package/LICENSE +200 -0
  6. package/NOTICE +82 -0
  7. package/README.md +307 -0
  8. package/SECURITY.md +73 -0
  9. package/agents/README.md +81 -0
  10. package/agents/report-generator.md +156 -0
  11. package/agents/skill-updater.md +102 -0
  12. package/agents/source-validator.md +119 -0
  13. package/agents/threat-researcher.md +149 -0
  14. package/bin/exceptd.js +183 -0
  15. package/data/_indexes/_meta.json +88 -0
  16. package/data/_indexes/activity-feed.json +362 -0
  17. package/data/_indexes/catalog-summaries.json +229 -0
  18. package/data/_indexes/chains.json +7135 -0
  19. package/data/_indexes/currency.json +359 -0
  20. package/data/_indexes/did-ladders.json +451 -0
  21. package/data/_indexes/frequency.json +2072 -0
  22. package/data/_indexes/handoff-dag.json +476 -0
  23. package/data/_indexes/jurisdiction-clocks.json +967 -0
  24. package/data/_indexes/jurisdiction-map.json +536 -0
  25. package/data/_indexes/recipes.json +319 -0
  26. package/data/_indexes/section-offsets.json +3656 -0
  27. package/data/_indexes/stale-content.json +14 -0
  28. package/data/_indexes/summary-cards.json +1736 -0
  29. package/data/_indexes/theater-fingerprints.json +381 -0
  30. package/data/_indexes/token-budget.json +2137 -0
  31. package/data/_indexes/trigger-table.json +1374 -0
  32. package/data/_indexes/xref.json +818 -0
  33. package/data/atlas-ttps.json +282 -0
  34. package/data/cve-catalog.json +496 -0
  35. package/data/cwe-catalog.json +1017 -0
  36. package/data/d3fend-catalog.json +738 -0
  37. package/data/dlp-controls.json +1039 -0
  38. package/data/exploit-availability.json +67 -0
  39. package/data/framework-control-gaps.json +1255 -0
  40. package/data/global-frameworks.json +2913 -0
  41. package/data/rfc-references.json +324 -0
  42. package/data/zeroday-lessons.json +377 -0
  43. package/keys/public.pem +3 -0
  44. package/lib/framework-gap.js +328 -0
  45. package/lib/job-queue.js +195 -0
  46. package/lib/lint-skills.js +536 -0
  47. package/lib/prefetch.js +372 -0
  48. package/lib/refresh-external.js +713 -0
  49. package/lib/schemas/cve-catalog.schema.json +151 -0
  50. package/lib/schemas/manifest.schema.json +106 -0
  51. package/lib/schemas/skill-frontmatter.schema.json +113 -0
  52. package/lib/scoring.js +149 -0
  53. package/lib/sign.js +197 -0
  54. package/lib/ttp-mapper.js +80 -0
  55. package/lib/validate-catalog-meta.js +198 -0
  56. package/lib/validate-cve-catalog.js +213 -0
  57. package/lib/validate-indexes.js +83 -0
  58. package/lib/validate-package.js +162 -0
  59. package/lib/validate-vendor.js +85 -0
  60. package/lib/verify.js +216 -0
  61. package/lib/worker-pool.js +84 -0
  62. package/manifest-snapshot.json +1833 -0
  63. package/manifest.json +2108 -0
  64. package/orchestrator/README.md +124 -0
  65. package/orchestrator/dispatcher.js +140 -0
  66. package/orchestrator/event-bus.js +146 -0
  67. package/orchestrator/index.js +874 -0
  68. package/orchestrator/pipeline.js +201 -0
  69. package/orchestrator/scanner.js +327 -0
  70. package/orchestrator/scheduler.js +137 -0
  71. package/package.json +113 -0
  72. package/sbom.cdx.json +158 -0
  73. package/scripts/audit-cross-skill.js +261 -0
  74. package/scripts/audit-perf.js +160 -0
  75. package/scripts/bootstrap.js +205 -0
  76. package/scripts/build-indexes.js +721 -0
  77. package/scripts/builders/activity-feed.js +79 -0
  78. package/scripts/builders/catalog-summaries.js +67 -0
  79. package/scripts/builders/currency.js +109 -0
  80. package/scripts/builders/cwe-chains.js +105 -0
  81. package/scripts/builders/did-ladders.js +149 -0
  82. package/scripts/builders/frequency.js +89 -0
  83. package/scripts/builders/jurisdiction-clocks.js +126 -0
  84. package/scripts/builders/recipes.js +159 -0
  85. package/scripts/builders/section-offsets.js +162 -0
  86. package/scripts/builders/stale-content.js +171 -0
  87. package/scripts/builders/summary-cards.js +166 -0
  88. package/scripts/builders/theater-fingerprints.js +198 -0
  89. package/scripts/builders/token-budget.js +96 -0
  90. package/scripts/check-manifest-snapshot.js +217 -0
  91. package/scripts/predeploy.js +267 -0
  92. package/scripts/refresh-manifest-snapshot.js +57 -0
  93. package/scripts/refresh-sbom.js +222 -0
  94. package/skills/age-gates-child-safety/skill.md +456 -0
  95. package/skills/ai-attack-surface/skill.md +282 -0
  96. package/skills/ai-c2-detection/skill.md +440 -0
  97. package/skills/ai-risk-management/skill.md +311 -0
  98. package/skills/api-security/skill.md +287 -0
  99. package/skills/attack-surface-pentest/skill.md +381 -0
  100. package/skills/cloud-security/skill.md +384 -0
  101. package/skills/compliance-theater/skill.md +365 -0
  102. package/skills/container-runtime-security/skill.md +379 -0
  103. package/skills/coordinated-vuln-disclosure/skill.md +473 -0
  104. package/skills/defensive-countermeasure-mapping/skill.md +300 -0
  105. package/skills/dlp-gap-analysis/skill.md +337 -0
  106. package/skills/email-security-anti-phishing/skill.md +206 -0
  107. package/skills/exploit-scoring/skill.md +331 -0
  108. package/skills/framework-gap-analysis/skill.md +374 -0
  109. package/skills/fuzz-testing-strategy/skill.md +313 -0
  110. package/skills/global-grc/skill.md +564 -0
  111. package/skills/identity-assurance/skill.md +272 -0
  112. package/skills/incident-response-playbook/skill.md +546 -0
  113. package/skills/kernel-lpe-triage/skill.md +303 -0
  114. package/skills/mcp-agent-trust/skill.md +326 -0
  115. package/skills/mlops-security/skill.md +325 -0
  116. package/skills/ot-ics-security/skill.md +340 -0
  117. package/skills/policy-exception-gen/skill.md +437 -0
  118. package/skills/pqc-first/skill.md +546 -0
  119. package/skills/rag-pipeline-security/skill.md +294 -0
  120. package/skills/researcher/skill.md +310 -0
  121. package/skills/sector-energy/skill.md +409 -0
  122. package/skills/sector-federal-government/skill.md +302 -0
  123. package/skills/sector-financial/skill.md +398 -0
  124. package/skills/sector-healthcare/skill.md +373 -0
  125. package/skills/security-maturity-tiers/skill.md +464 -0
  126. package/skills/skill-update-loop/skill.md +463 -0
  127. package/skills/supply-chain-integrity/skill.md +318 -0
  128. package/skills/threat-model-currency/skill.md +404 -0
  129. package/skills/threat-modeling-methodology/skill.md +312 -0
  130. package/skills/webapp-security/skill.md +281 -0
  131. package/skills/zeroday-gap-learn/skill.md +350 -0
  132. package/vendor/blamejs/LICENSE +201 -0
  133. package/vendor/blamejs/README.md +54 -0
  134. package/vendor/blamejs/_PROVENANCE.json +54 -0
  135. package/vendor/blamejs/retry.js +335 -0
  136. package/vendor/blamejs/worker-pool.js +418 -0
package/CONTEXT.md ADDED
@@ -0,0 +1,203 @@
1
+ # exceptd Security — AI Context
2
+
3
+ This file gives any AI assistant the context it needs to use this skill repository effectively. It is AI-system-agnostic and does not assume any particular assistant runtime.
4
+
5
+ ---
6
+
7
+ ## What This Repository Is
8
+
9
+ exceptd Security is a library of AI security skills grounded in mid-2026 threat reality. Each skill is a structured instruction file that tells an AI assistant how to perform a specific security analysis — what questions to ask, what data to query, how to score risk, and what output to produce.
10
+
11
+ **The core insight:** Every major compliance framework (NIST 800-53, ISO 27001, SOC 2, PCI-DSS) was written for environments that no longer describe how attacks happen. These skills explicitly map where framework coverage ends and real attacker capability begins.
12
+
13
+ ---
14
+
15
+ ## How Skills Work
16
+
17
+ Each skill is a Markdown file at `skills/<name>/skill.md` with a YAML frontmatter header and a structured body.
18
+
19
+ ### Frontmatter Fields
20
+
21
+ ```yaml
22
+ name: skill-name # Unique identifier
23
+ version: "1.0.0" # Semantic version
24
+ description: "..." # One-line description for skill matching
25
+ triggers: # Phrases that invoke this skill
26
+ - kernel lpe
27
+ - privilege escalation
28
+ data_deps: # Data files this skill reads
29
+ - cve-catalog.json
30
+ atlas_refs: # MITRE ATLAS TTP IDs referenced
31
+ - AML.T0051
32
+ attack_refs: # MITRE ATT&CK TTP IDs referenced
33
+ - T1068
34
+ framework_gaps: # Framework controls this skill exposes as insufficient
35
+ - NIST-800-53-SI-2
36
+ forward_watch: # Upcoming changes to watch for skill updates
37
+ - FIPS 206 finalization
38
+ last_threat_review: # Date of last threat currency review
39
+ "2026-05-01"
40
+ ```
41
+
42
+ ### Skill Body Structure
43
+
44
+ Every skill has these sections:
45
+
46
+ 1. **Threat Context** — Current exploitation reality, not theoretical risk
47
+ 2. **Framework Lag Declaration** — Per-framework gap statements with specific control IDs
48
+ 3. **TTP Mapping** — ATLAS/ATT&CK IDs with framework coverage gap flags
49
+ 4. **Exploit Availability Matrix** — PoC status, KEV listing, AI-acceleration factor
50
+ 5. **Analysis Procedure** — Step-by-step instructions for performing the analysis
51
+ 6. **Output Format** — Exact structure the analysis should produce
52
+ 7. **Compliance Theater Check** — Specific test distinguishing paper compliance from real posture
53
+
54
+ ---
55
+
56
+ ## Data Files
57
+
58
+ Skills read from `data/`. These are the authoritative data sources:
59
+
60
+ | File | Purpose |
61
+ |------|---------|
62
+ | `cve-catalog.json` | 5 CVEs with CVSS, RWEP score, EPSS estimates, CISA KEV flags, PoC and live-patch availability |
63
+ | `atlas-ttps.json` | MITRE ATLAS v5.1.0 (November 2025) techniques and mappings with framework gap flags |
64
+ | `framework-control-gaps.json` | 49 framework control gap entries: designed-for vs. what each control misses |
65
+ | `exploit-availability.json` | Per-CVE PoC locations, weaponization stage, AI-acceleration factor, live-patch status |
66
+ | `global-frameworks.json` | 22+ jurisdictions (expanding to 29+) — framework registry with patch SLAs and notification windows |
67
+ | `zeroday-lessons.json` | Learning-loop entries: zero-day → attack vector → control gap → framework gap → new control requirement |
68
+ | `cwe-catalog.json` | 30 CWE entries pinned to CWE v4.17 (Top 25 2024 plus AI- and supply-chain-relevant weaknesses) for root-cause classification |
69
+ | `d3fend-catalog.json` | 21 MITRE D3FEND defensive techniques pinned to D3FEND v1.0.0; used to map offensive findings to specific defensive countermeasures |
70
+ | `rfc-references.json` | 19 IETF RFC / Internet-Draft references with status, errata count, replaces / replaced-by, and `last_verified` dates |
71
+ | `dlp-controls.json` | 21 DLP control entries indexed by channel, classifier, surface, enforcement mode, and evidence type for DLP-relevant skills |
72
+
73
+ ---
74
+
75
+ ## Invoking Skills
76
+
77
+ To use a skill, match its trigger phrases and follow its Analysis Procedure. Example invocations:
78
+
79
+ ```
80
+ kernel-lpe-triage — Assess Linux kernel LPE exposure
81
+ ai-attack-surface — AI/ML attack surface assessment
82
+ framework-gap-analysis — Feed a control ID + threat → get the gap
83
+ compliance-theater — Detect where audit compliance ≠ real security
84
+ global-grc NIS2 — Map a threat to NIS2 + companion jurisdictions
85
+ exploit-scoring CVE-2026-31431 — RWEP score with full factor breakdown
86
+ security-maturity-tiers — MVP / Practical / Overkill roadmap for any domain
87
+ zeroday-gap-learn CVE-... — Run the zero-day learning loop on a new CVE
88
+ pqc-first — Post-quantum cryptography readiness assessment
89
+ ```
90
+
91
+ ---
92
+
93
+ ## Risk Scoring: RWEP
94
+
95
+ The repository uses Real-World Exploit Priority (RWEP) scoring, not CVSS alone. CVSS is reported alongside RWEP but never as the sole score.
96
+
97
+ RWEP formula (0–100):
98
+ ```
99
+ base = cisa_kev(+25) + poc_public(+20) + ai_factor(+15)
100
+ + active_exploitation(+20) + blast_radius(0-30)
101
+ - patch_available(-15) - live_patch(-10) + reboot_required(+5)
102
+
103
+ ai_factor = ai_discovered OR ai_assisted_weaponization
104
+ blast_radius = 0-30 scale (30 = all-Linux or 150M+ installations)
105
+ reboot_required = +5 always when patch requires reboot
106
+ ```
107
+
108
+ Example: CVE-2026-31431 (Copy Fail) — CVSS 7.8 / **RWEP 90**
109
+ - CVSS 7.8 suggests "high, patch within 30 days"
110
+ - RWEP 90 means: deterministic root in < 1 second, CISA KEV, 732-byte public PoC, AI-discovered, blast radius = all Linux >= 4.14 — 30 days is exploitation acceptance
111
+
112
+ The RWEP scoring engine is at `lib/scoring.js`.
113
+
114
+ ---
115
+
116
+ ## Compliance Theater
117
+
118
+ This repository uses the term "compliance theater" for a specific, measurable condition: an organization that passes an audit of a security control while remaining exposed to the threat that control is supposed to address.
119
+
120
+ Seven documented patterns:
121
+ 1. **Patch Management Theater** — meets framework SLA, still exposed to active exploitation
122
+ 2. **AI Access Control Theater** — service account is compliant; prompt injection bypasses it entirely
123
+ 3. **Vendor Management Theater** — vendor controls pass audit; AI tool plugins (MCP servers) are out of scope
124
+ 4. **Malware Protection Theater** — signatures are current; AI-generated novel code evades all signatures
125
+ 5. **Supply Chain Theater** — software supply chain passes review; developer-installed AI plugins are excluded
126
+ 6. **Encryption Theater** — classical encryption is compliant; HNDL exposure is unaddressed
127
+ 7. **Detection Theater** — monitoring is compliant; AI C2 channels and AI-querying malware are not detected
128
+
129
+ Run `lib/framework-gap.js` → `theaterCheck()` to detect these patterns programmatically.
130
+
131
+ ---
132
+
133
+ ## Orchestration Layer
134
+
135
+ The `orchestrator/` directory provides:
136
+ - **Scanner** — discovers kernel versions, MCP configs, crypto posture, framework claims
137
+ - **Dispatcher** — routes scanner findings to relevant skills via manifest triggers
138
+ - **Pipeline** — coordinates `threat-researcher` → `source-validator` → `skill-updater` → `report-generator`
139
+ - **Event bus** — triggers skill updates on CISA KEV additions, ATLAS releases, framework amendments
140
+ - **Scheduler** — runs weekly currency checks and annual full audits
141
+
142
+ Entry point: `node orchestrator/index.js`
143
+
144
+ ### Agents vs. Skills
145
+
146
+ The four orchestration components above (`threat-researcher`, `source-validator`, `skill-updater`, `report-generator`) are **agent definitions** living under `agents/`. They are pipeline workers that run inside the orchestrator — not user-invokable skills.
147
+
148
+ Skills live under `skills/<name>/skill.md` and are matched by trigger phrases. The `researcher` **skill** (separate from the `threat-researcher` **agent**) is the user-facing entry-point dispatcher: when an operator drops in raw threat intel without knowing which specialized skill to call, the `researcher` skill cross-joins the data catalogs, produces an RWEP-anchored dispatch report, and routes to the right specialized skill(s).
149
+
150
+ Naming convention to keep straight:
151
+ - `agents/threat-researcher/` — orchestrator pipeline worker (autonomous, background)
152
+ - `skills/researcher/skill.md` — user-invoked triage dispatcher (interactive, front door)
153
+
154
+ They share a thematic name but are different artifacts with different runtimes.
155
+
156
+ ---
157
+
158
+ ## AI System Integration Notes
159
+
160
+ ### How to Load Skills
161
+
162
+ 1. Read `manifest.json` to get the full skill registry
163
+ 2. Match user intent against `triggers` arrays
164
+ 3. Load the matched `skill.md` into context
165
+ 4. Follow the skill's **Analysis Procedure** step by step
166
+ 5. Pull data from the referenced `data_deps` files as needed
167
+ 6. Produce output matching the skill's **Output Format**
168
+
169
+ ### Context Budget Guidance
170
+
171
+ - `manifest.json` — load first, always (small, high-value index)
172
+ - `data/cve-catalog.json` — load on demand for any CVE-specific analysis
173
+ - `data/framework-control-gaps.json` — load for gap analysis and theater detection
174
+ - `data/global-frameworks.json` — load for multi-jurisdiction questions
175
+ - `data/atlas-ttps.json` — load for AI attack surface and C2 detection work
176
+ - Individual skill files — 15–40KB each; load on match, not preemptively
177
+
178
+ ### What This Repo Does Not Contain
179
+
180
+ - No code that executes automatically in your environment
181
+ - No network calls — all data is local and static
182
+ - No credentials or keys
183
+ - Skills are instruction text — the AI implements them, not the files themselves
184
+
185
+ ---
186
+
187
+ ## Key Concepts Quick Reference
188
+
189
+ | Term | Definition |
190
+ |------|------------|
191
+ | RWEP | Real-World Exploit Priority — risk score beyond CVSS |
192
+ | KEV | CISA Known Exploited Vulnerabilities catalog |
193
+ | ATLAS | MITRE ATLAS v5.1.0 — AI threat framework |
194
+ | MCP | Model Context Protocol — AI tool integration standard |
195
+ | HNDL | Harvest-Now-Decrypt-Later — quantum threat to current crypto |
196
+ | Framework lag | The gap between what a framework requires and what current TTPs demand |
197
+ | Theater | Audit-passing compliance that doesn't close the real attack path |
198
+ | RWEP 90+ | Priority 1: live-patch or isolate same-day |
199
+ | Copy Fail | CVE-2026-31431 — RWEP 90, CISA KEV, 732-byte deterministic root |
200
+ | Dirty Frag | CVE-2026-43284/43500 — IPsec subsystem LPE chain |
201
+ | SesameOp | AI API as covert C2 channel (ATLAS AML.T0096) |
202
+ | PROMPTFLUX | Malware querying LLMs for real-time AV evasion code |
203
+ | PROMPTSTEAL | Malware querying LLMs for target intelligence |
package/LICENSE ADDED
@@ -0,0 +1,200 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for describing the origin of the Work and
141
+ reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may accept and charge a
167
+ fee for, or grant rights consistent with, this License. However,
168
+ in accepting such obligations, You may act only on Your own behalf
169
+ and on Your sole responsibility, not on behalf of any other
170
+ Contributor, and only if You agree to indemnify, defend, and hold
171
+ each Contributor harmless for any liability incurred by, or claims
172
+ asserted against, such Contributor by reason of your accepting any
173
+ such warranty or additional liability.
174
+
175
+ END OF TERMS AND CONDITIONS
176
+
177
+ APPENDIX: How to apply the Apache License to your work.
178
+
179
+ To apply the Apache License to your work, attach the following
180
+ boilerplate notice, with the fields enclosed by brackets "[]"
181
+ replaced with your own identifying information. (Don't include
182
+ the brackets!) The text should be enclosed in the appropriate
183
+ comment syntax for the file format. We also recommend that a
184
+ file or class name and description of purpose be included on the
185
+ same "printed page" as the copyright notice for easier
186
+ identification within third-party archives.
187
+
188
+ Copyright 2026 Robert Lee
189
+
190
+ Licensed under the Apache License, Version 2.0 (the "License");
191
+ you may not use this file except in compliance with the License.
192
+ You may obtain a copy of the License at
193
+
194
+ http://www.apache.org/licenses/LICENSE-2.0
195
+
196
+ Unless required by applicable law or agreed to in writing, software
197
+ distributed under the License is distributed on an "AS IS" BASIS,
198
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
199
+ See the License for the specific language governing permissions and
200
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,82 @@
1
+ exceptd-skills
2
+ Copyright 2026 blamejs contributors
3
+
4
+ This product includes software developed by the exceptd Security project
5
+ (https://exceptd.com), part of the blamejs organization.
6
+
7
+ Licensed under the Apache License, Version 2.0. See LICENSE for the full text.
8
+
9
+ ================================================================================
10
+ Third-Party Data Sources
11
+ ================================================================================
12
+
13
+ exceptd-skills has zero npm runtime dependencies and depends on Node.js stdlib
14
+ only. The repository does include one vendored code subset, attributed below.
15
+
16
+ --------------------------------------------------------------------------------
17
+ Vendored: blamejs (subset)
18
+ URL: https://github.com/blamejs/blamejs
19
+ Pinned at: commit 1442f17758a4bd511c63877561c0ffa759f66a87 (0.9.0 fix-up)
20
+ License: Apache-2.0 (compatible — exceptd is Apache-2.0). Full text at
21
+ vendor/blamejs/LICENSE.
22
+ Vendored: vendor/blamejs/retry.js, vendor/blamejs/worker-pool.js
23
+ Used for: Battle-tested exponential-backoff retry + circuit breaker
24
+ (used by lib/job-queue.js for upstream-fetch retry semantics)
25
+ and worker_threads pool (used by scripts/build-indexes.js
26
+ --parallel and any future CPU-bound fan-out).
27
+ Notice: Flattened-and-stripped to leaf files with no transitive blamejs
28
+ imports. Strip rules + provenance hashes are recorded in
29
+ vendor/blamejs/_PROVENANCE.json and verified on every predeploy
30
+ via lib/validate-vendor.js. The vendored copy is © blamejs
31
+ contributors under the Apache-2.0 grant; see vendor/blamejs/README.md
32
+ for re-vendor instructions and the list of upstream files NOT
33
+ vendored (and why).
34
+ --------------------------------------------------------------------------------
35
+
36
+ The threat-intelligence data the skills are grounded in is sourced from the
37
+ following public catalogs. Each source retains its own copyright and licensing;
38
+ exceptd-skills references their identifiers (CVE IDs, ATLAS TTP IDs, framework
39
+ control IDs) under fair-use research conventions, but does not redistribute
40
+ their content verbatim.
41
+
42
+ --------------------------------------------------------------------------------
43
+ Source: MITRE ATLAS
44
+ URL: https://atlas.mitre.org
45
+ Version: v5.1.0 (November 2025)
46
+ Used for: Adversarial Threat Landscape for AI Systems — TTP IDs cited in
47
+ skills/*, data/atlas-ttps.json, and manifest.json. Pinned per
48
+ CLAUDE.md hard rule #12.
49
+ Notice: ATLAS is © The MITRE Corporation, released under the terms at
50
+ https://atlas.mitre.org/resources/terms-of-use.
51
+ --------------------------------------------------------------------------------
52
+ Source: MITRE ATT&CK
53
+ URL: https://attack.mitre.org
54
+ Used for: Enterprise technique IDs (T-numbers) cited in skill TTP mappings.
55
+ Notice: ATT&CK is © The MITRE Corporation; redistribution terms at
56
+ https://attack.mitre.org/resources/terms-of-use/.
57
+ --------------------------------------------------------------------------------
58
+ Source: NIST National Vulnerability Database (NVD)
59
+ URL: https://nvd.nist.gov
60
+ Used for: CVE metadata (CVSS scores, vectors, descriptions) cited in
61
+ data/cve-catalog.json and cross-checked by
62
+ sources/validators/cve-validator.js.
63
+ Notice: U.S. Government work; not subject to copyright. Use must comply
64
+ with NVD's terms-of-use including rate-limiting guidance.
65
+ --------------------------------------------------------------------------------
66
+ Source: CISA Known Exploited Vulnerabilities (KEV) Catalog
67
+ URL: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
68
+ Used for: KEV status flags driving the RWEP scoring formula in lib/scoring.js.
69
+ Notice: U.S. Government work; CISA publishes the catalog for free public use.
70
+ --------------------------------------------------------------------------------
71
+ Source: Compliance frameworks (NIST 800-53, ISO/IEC 27001:2022, SOC 2, PCI
72
+ DSS, NIS2, DORA, EU AI Act, EU CRA, ASD Essential 8, MAS TRM,
73
+ CERT-In Directions, and the others enumerated in
74
+ data/global-frameworks.json)
75
+ Used for: Control IDs cited in framework_gaps fields and in skill body
76
+ "Framework Lag Declaration" sections. exceptd-skills does NOT
77
+ redistribute framework text; it only cites identifiers and
78
+ explains where current TTPs bypass the cited controls.
79
+ Notice: Each framework retains the licensing terms of its publisher.
80
+ Refer to the source listed in data/global-frameworks.json for
81
+ redistribution constraints.
82
+ --------------------------------------------------------------------------------