Repository navigation
Expand file tree
/
Copy pathseed.ts
More file actions
1847 lines (1805 loc) · 63.5 KB
/
Copy pathseed.ts
File metadata and controls
1847 lines (1805 loc) · 63.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/// <reference types="node" />
import 'dotenv/config';
import { createHash } from 'crypto';
import bcrypt from 'bcryptjs';
import { PrismaPg } from '@prisma/adapter-pg';
import { PrismaClient, PolicyStatus, Role } from '@prisma/client';
const adapter = new PrismaPg({
connectionString: process.env.DATABASE_URL || '',
});
const prisma = new PrismaClient({ adapter });
const stableUuid = (key: string): string => {
const hash = createHash('sha256').update(`diffusion-node:${key}`).digest('hex');
const variant = ((parseInt(hash.slice(16, 18), 16) & 0x3f) | 0x80).toString(16).padStart(2, '0');
return [
hash.slice(0, 8),
hash.slice(8, 12),
`5${hash.slice(13, 16)}`,
`${variant}${hash.slice(18, 20)}`,
hash.slice(20, 32),
].join('-');
};
const date = (value: string): Date => new Date(`${value}T00:00:00.000Z`);
const hashApiKey = (apiKey: string): string => createHash('sha256').update(apiKey).digest('hex');
const seedId = (key: string): string => stableUuid(key);
const shouldSeedDemoCredentials =
process.env.SEED_DEMO_CREDENTIALS?.trim().toLowerCase() === 'true';
const policySourceUrl = {
'pol-2022-aug-wassenaar':
'https://www.federalregister.gov/documents/2022/08/15/2022-17125/implementation-of-certain-2021-wassenaar-arrangement-decisions-on-four-section-1758-technologies',
'pol-2022-oct':
'https://www.federalregister.gov/documents/2022/10/13/2022-21658/implementation-of-additional-export-controls-certain-advanced-computing-and-semiconductor',
'pol-2023-jan-macau':
'https://www.federalregister.gov/documents/2023/01/18/2023-00888/implementation-of-additional-export-controls-certain-advanced-computing-and-semiconductor',
'pol-2023-oct-entitylist':
'https://www.federalregister.gov/documents/2023/10/19/2023-23048/entity-list-additions',
'pol-2023-oct-sme':
'https://www.federalregister.gov/documents/2023/10/25/2023-23049/export-controls-on-semiconductor-manufacturing-items',
'pol-2023-oct':
'https://www.federalregister.gov/documents/2023/10/25/2023-23055/implementation-of-additional-export-controls-certain-advanced-computing-items-supercomputer-and',
'pol-2024-feb-entitylist':
'https://www.federalregister.gov/documents/2024/02/27/2024-03969/additions-of-entities-to-the-entity-list',
'pol-2024-sep-advanced-tech':
'https://www.federalregister.gov/documents/2024/09/06/2024-19633/commerce-control-list-additions-and-revisions-implementation-of-controls-on-advanced-technologies',
'pol-2024-dec-fdpr':
'https://www.federalregister.gov/documents/2024/12/05/2024-28270/foreign-produced-direct-product-rule-additions-and-refinements-to-controls-for-advanced-computing',
'pol-2024-dec-entitylist':
'https://www.federalregister.gov/documents/2024/12/05/2024-28267/additions-and-modifications-to-the-entity-list-removals-from-the-validated-end-user-veu-program',
'pol-2025-jan-diffusion':
'https://www.federalregister.gov/documents/2025/01/15/2025-00636/framework-for-artificial-intelligence-diffusion',
'pol-2025-jan-duediligence':
'https://www.federalregister.gov/documents/2025/01/16/2025-00711/implementation-of-additional-due-diligence-measures-for-advanced-computing-integrated-circuits',
'pol-2025-jan-entitylist':
'https://www.federalregister.gov/documents/2025/01/16/2025-00480/additions-to-the-entity-list',
'pol-2025-sep-entitylist':
'https://www.federalregister.gov/documents/2025/09/16/2025-17893/additions-and-revisions-to-the-entity-list',
'pol-2026-jan-licenserevision':
'https://www.federalregister.gov/documents/2026/01/15/2026-00789/revision-to-license-review-policy-for-advanced-computing-commodities',
} as const;
const policies = [
{
key: 'pol-2022-aug-wassenaar',
title:
'Implementation of Certain 2021 Wassenaar Arrangement Decisions on Four Section 1758 Technologies',
summary:
'Implements Wassenaar Arrangement controls for emerging Section 1758 technologies, including GAAFET ECAD software and ultra-wide bandgap semiconductor substrates.',
controlNumber: '87 FR 49979 / RIN 0694-AH91',
effectiveDate: date('2022-08-15'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2022-08-15'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2022-08-15/pdf/2022-17125.pdf',
},
{
key: 'pol-2022-oct',
title:
'Implementation of Additional Export Controls: Certain Advanced Computing and Semiconductor Manufacturing Items; Supercomputer and Semiconductor End Use; Entity List Modification',
summary:
'Foundational BIS controls for advanced computing chips, semiconductor manufacturing equipment, supercomputer end uses, and related China-focused Entity List changes.',
controlNumber: '87 FR 62186 / RIN 0694-AI94',
effectiveDate: date('2022-10-07'),
status: PolicyStatus.SUPERSEDED,
publishedDate: date('2022-10-13'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2022-10-13/pdf/2022-21658.pdf',
},
{
key: 'pol-2023-jan-macau',
title:
'Implementation of Additional Export Controls: Certain Advanced Computing and Semiconductor Manufacturing Items; Macau',
summary:
'Extends the 2022 advanced computing and semiconductor manufacturing controls to Macau and adds Macau to relevant destination restrictions.',
controlNumber: '88 FR 2821 / RIN 0694-AI94',
effectiveDate: date('2023-01-17'),
status: PolicyStatus.SUPERSEDED,
publishedDate: date('2023-01-18'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2023-01-18/pdf/2023-00888.pdf',
},
{
key: 'pol-2023-oct-entitylist',
title: 'Entity List Additions',
summary:
'Adds advanced-computing, AI accelerator, and supercomputing-linked parties to the Entity List alongside the October 2023 controls update.',
controlNumber: '88 FR 71991 / RIN 0694-AJ41',
effectiveDate: date('2023-10-17'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2023-10-19'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2023-10-19/pdf/2023-23048.pdf',
},
{
key: 'pol-2023-oct-sme',
title: 'Export Controls on Semiconductor Manufacturing Items',
summary:
'Adds and revises controls on semiconductor manufacturing equipment, related parts, components, accessories, and U.S. persons activities.',
controlNumber: '88 FR 73424 / RIN 0694-AJ23',
effectiveDate: date('2023-11-17'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2023-10-25'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2023-10-25/pdf/2023-23049.pdf',
},
{
key: 'pol-2023-oct',
title:
'Implementation of Additional Export Controls: Certain Advanced Computing Items; Supercomputer and Semiconductor End Use; Updates and Corrections',
summary:
'Refines the 2022 advanced computing rule by replacing chip interconnect thresholds with Total Processing Performance and tightening Macau and China controls.',
controlNumber: '88 FR 73458 / RIN 0694-AI94',
effectiveDate: date('2023-11-17'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2023-10-25'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2023-10-25/pdf/2023-23055.pdf',
},
{
key: 'pol-2024-feb-entitylist',
title: 'Additions of Entities to the Entity List',
summary:
'Adds parties in China, India, Kyrgyzstan, Russia, South Korea, Turkey, and the United Arab Emirates for activities contrary to U.S. national security or foreign-policy interests.',
controlNumber: '89 FR 14385 / RIN 0694-AJ54',
effectiveDate: date('2024-02-23'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2024-02-27'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2024-02-27/pdf/2024-03969.pdf',
},
{
key: 'pol-2024-sep-advanced-tech',
title:
'Commerce Control List Additions and Revisions; Implementation of Controls on Advanced Technologies Consistent With Controls Implemented by International Partners',
summary:
'Adds and revises Commerce Control List controls for quantum, semiconductor, additive manufacturing, and GAAFET-related advanced technologies.',
controlNumber: '89 FR 72926 / RIN 0694-AJ60',
effectiveDate: date('2024-09-06'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2024-09-06'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2024-09-06/pdf/2024-19633.pdf',
},
{
key: 'pol-2024-dec-fdpr',
title:
'Foreign-Produced Direct Product Rule Additions, and Refinements to Controls for Advanced Computing and Semiconductor Manufacturing Items',
summary:
'Adds and refines foreign direct product rules, high-bandwidth memory controls, and advanced semiconductor manufacturing restrictions.',
controlNumber: '89 FR 96790 / RIN 0694-AJ74',
effectiveDate: date('2024-12-05'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2024-12-05'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2024-12-05/pdf/2024-28270.pdf',
},
{
key: 'pol-2024-dec-entitylist',
title:
'Additions and Modifications to the Entity List; Removals From the Validated End-User (VEU) Program',
summary:
'Adds roughly 140 entities to the Entity List and removes or modifies certain Validated End-User authorizations tied to semiconductor supply chains.',
controlNumber: '89 FR 96830 / RIN 0694-AJ77',
effectiveDate: date('2024-12-05'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2024-12-05'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2024-12-05/pdf/2024-28267.pdf',
},
{
key: 'pol-2025-jan-diffusion',
title: 'Framework for Artificial Intelligence Diffusion',
summary:
'Creates a tiered global licensing framework for advanced AI chips and introduces controls on closed-weight AI model weights above a high compute threshold.',
controlNumber: '90 FR 4544 / RIN 0694-AJ90',
effectiveDate: date('2025-01-13'),
status: PolicyStatus.CONTESTED,
publishedDate: date('2025-01-15'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2025-01-15/pdf/2025-00636.pdf',
},
{
key: 'pol-2025-jan-duediligence',
title:
'Implementation of Additional Due Diligence Measures for Advanced Computing Integrated Circuits; Amendments and Clarifications; and Extension of Comment Period',
summary:
'Adds due diligence measures for advanced computing integrated circuits and clarifies obligations around restricted destinations and parties.',
controlNumber: '90 FR 5298 / RIN 0694-AJ98',
effectiveDate: date('2025-01-16'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2025-01-16'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2025-01-16/pdf/2025-00711.pdf',
},
{
key: 'pol-2025-jan-entitylist',
title: 'Additions to the Entity List',
summary:
'Adds advanced-computing and semiconductor-related parties to the Entity List, including China-linked entities and entities in Singapore.',
controlNumber: '90 FR 4621 / RIN 0694-AK01',
effectiveDate: date('2025-01-16'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2025-01-16'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2025-01-16/pdf/2025-00480.pdf',
},
{
key: 'pol-2025-sep-entitylist',
title: 'Additions and Revisions to the Entity List',
summary:
'Expands and revises Entity List coverage for advanced-computing and semiconductor-linked entities across China and additional jurisdictions.',
controlNumber: '90 FR 44496 / RIN 0694-AK26',
effectiveDate: date('2025-09-12'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2025-09-16'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2025-09-16/pdf/2025-17893.pdf',
},
{
key: 'pol-2026-jan-licenserevision',
title: 'Revision to License Review Policy for Advanced Computing Commodities',
summary:
'Revises license review policy for a defined class of advanced computing commodities destined for China and Macau from denial toward case-by-case review.',
controlNumber: '91 FR 1684 / RIN 0694-AK43',
effectiveDate: date('2026-01-15'),
status: PolicyStatus.ACTIVE,
publishedDate: date('2026-01-15'),
documentUrl: 'https://www.govinfo.gov/content/pkg/FR-2026-01-15/pdf/2026-00789.pdf',
},
] as const;
const users = [
{ key: 'user-admin', email: 'admin@diffusionnode.io', role: Role.ADMIN },
{ key: 'user-developer', email: 'developer@diffusionnode.io', role: Role.DEVELOPER },
] as const;
const technologyCategories = [
{
aliases: ['advanced computing', 'AI', 'machine learning', 'model weights', 'supercomputer'],
isActiveInV1: true,
key: 'cat-ai',
name: 'Artificial Intelligence and Advanced Computing',
},
{
aliases: ['chips', 'integrated circuits', 'microelectronics', 'semiconductor devices'],
isActiveInV1: true,
key: 'cat-semi',
name: 'Semiconductors and Microelectronics',
},
{
aliases: ['cloud services', 'data centers', 'IaaS', 'infrastructure as a service'],
isActiveInV1: true,
key: 'cat-cloud',
name: 'Cloud Computing and Data Infrastructure',
},
{
aliases: ['cryptography', 'post-quantum cryptography', 'quantum computing', 'quantum information'],
isActiveInV1: true,
key: 'cat-quantum',
name: 'Quantum Information and Cryptography',
},
{
aliases: ['ECAD', 'EDA', 'software', 'technical data', 'technology transfer'],
isActiveInV1: true,
key: 'cat-sw',
name: 'Software, EDA, and Technical Data',
},
{
aliases: ['autonomous systems', 'industrial robotics', 'robotics', '3D printing'],
isActiveInV1: true,
key: 'cat-advanced-mfg',
name: 'Robotics and Additive Manufacturing',
},
{
aliases: ['biomedical engineering', 'genetic elements', 'nucleic acid synthesis', 'pathogens'],
isActiveInV1: true,
key: 'cat-biotech',
name: 'Biotechnology and Biomedical Engineering',
},
{
aliases: ['atomic energy', 'enrichment', 'nuclear materials', 'reactor equipment'],
isActiveInV1: true,
key: 'cat-nuclear',
name: 'Nuclear Technology',
},
{
aliases: ['aerospace', 'avionics', 'navigation', 'spacecraft', 'space systems'],
isActiveInV1: true,
key: 'cat-aerospace',
name: 'Aerospace, Space, and Avionics',
},
{
aliases: ['infrared sensors', 'lasers', 'radar', 'remote sensing', 'thermal imaging'],
isActiveInV1: true,
key: 'cat-sensors',
name: 'Sensors, Lasers, and Radar',
},
{
aliases: ['chemical precursors', 'composites', 'energetic materials', 'fluorinated compounds'],
isActiveInV1: true,
key: 'cat-materials',
name: 'Materials and Chemicals',
},
{
aliases: ['cybersecurity', 'information security', 'secure communications', 'telecommunications'],
isActiveInV1: true,
key: 'cat-telecom-cyber',
name: 'Telecommunications and Cybersecurity',
},
{
aliases: ['defense articles', 'military electronics', 'munitions', 'tactical systems', 'USML'],
isActiveInV1: true,
key: 'cat-defense',
name: 'Defense and Munitions',
},
] as const;
const technologies = [
{
aliases: ['advanced logic', 'finfet', 'logic integrated circuits', 'sub-16nm'],
key: 'tech-01',
name: 'Advanced Logic Nodes (<16nm / 3D Tri-Gate)',
description: 'Sub-16/14nm non-planar logic architectures.',
categoryKey: 'cat-semi',
},
{
aliases: ['high bandwidth memory', 'HBM', 'HBM2E', 'HBM3', 'HBM3E', 'stacked DRAM'],
key: 'tech-02',
name: 'High-Bandwidth Memory (HBM2E/HBM3/HBM3E)',
description: 'Stacked DRAM dies linked through silicon interposers for AI processing.',
categoryKey: 'cat-semi',
},
{
aliases: ['EUV', 'EUV lithography', '13.5nm lithography'],
key: 'tech-03',
name: 'Extreme Ultraviolet (EUV) Lithography',
description: '13.5nm wavelength photolithography tools.',
categoryKey: 'cat-semi',
},
{
aliases: ['DUV', 'DUV immersion', '193nm immersion', 'NXT lithography'],
key: 'tech-04',
name: 'Deep Ultraviolet (DUV) Immersion Lithography',
description: '193nm immersion photolithography systems, including ASML NXT-series tools.',
categoryKey: 'cat-semi',
},
{
aliases: ['GAAFET', 'gate all around', 'nanosheet transistor'],
key: 'tech-05',
name: 'Gate-All-Around (GAAFET) Transistors',
description: 'Nanosheet transistor structures used in sub-3nm nodes.',
categoryKey: 'cat-semi',
},
{
aliases: ['3A090', 'AI accelerator', 'advanced computing accelerator', 'GPU', 'TPP'],
key: 'tech-06',
name: 'AI Training Accelerators (ECCN 3A090)',
description:
'High-performance GPUs and accelerators exceeding Total Processing Performance thresholds.',
categoryKey: 'cat-ai',
},
{
aliases: ['exascale interconnect', 'high-speed interconnect', 'optical interconnect'],
key: 'tech-07',
name: 'Supercomputer Interconnects',
description: 'High-speed optical and copper interconnects for exascale clusters.',
categoryKey: 'cat-ai',
},
{
aliases: ['EDA', 'ECAD', 'electronic computer-aided design', 'chip design software'],
key: 'tech-08',
name: 'Electronic Design Automation (EDA) Software',
description: 'ECAD software for GAAFET and advanced chiplet design.',
categoryKey: 'cat-sw',
},
{
aliases: ['4E091', 'AI model weights', 'closed-weight model', 'foundation model weights'],
key: 'tech-09',
name: 'AI Model Weights (Closed-Weight, >10^26 FLOP, ECCN 4E091)',
description:
"Trained parameters of closed-weight AI models above the AI Diffusion Rule's compute threshold.",
categoryKey: 'cat-ai',
},
{
aliases: ['diamond substrate', 'gallium oxide', 'ultra wide bandgap', 'UWBG'],
key: 'tech-10',
name: 'Ultra-Wide Bandgap Semiconductor Substrates',
description: 'Gallium oxide and diamond substrates used for advanced power semiconductors.',
categoryKey: 'cat-semi',
},
{
aliases: ['3D006', 'GAAFET design software', 'GAAFET ECAD'],
key: 'tech-11',
name: 'GAAFET ECAD Software (ECCN 3D006)',
description:
'Electronic computer-aided design software specially designed for gate-all-around transistor development.',
categoryKey: 'cat-sw',
},
{
aliases: ['deposition equipment', 'dry etch', 'etch equipment', 'wafer processing'],
key: 'tech-12',
name: 'Semiconductor Manufacturing Equipment (Dry Etch and Deposition)',
description:
'Deposition, etch, and related wafer-processing equipment for advanced-node fabrication.',
categoryKey: 'cat-semi',
},
{
aliases: ['EUV mask', 'EUV reticle', 'lithography mask', 'reticle'],
key: 'tech-13',
name: 'EUV Masks and Reticles',
description:
'Masks, reticles, and related tooling used in extreme ultraviolet lithography workflows.',
categoryKey: 'cat-semi',
},
{
aliases: ['cryo CMOS', 'cryogenic amplifier', 'quantum amplifier'],
key: 'tech-14',
name: 'Cryogenic CMOS and Quantum-Limited Amplifiers',
description:
'Low-temperature electronics and amplifiers used in quantum computing control stacks.',
categoryKey: 'cat-quantum',
},
{
aliases: ['cryogenic cooling', 'cryogenic test', 'cryogenic wafer probing'],
key: 'tech-15',
name: 'Cryogenic Wafer Probing and Cooling Systems',
description:
'Cryogenic test, probing, and cooling systems used for quantum and advanced semiconductor devices.',
categoryKey: 'cat-quantum',
},
{
aliases: ['qubit', 'qubit assemblies', 'quantum computer', 'quantum processor'],
key: 'tech-16',
name: 'Quantum Computers and Qubit Assemblies',
description: 'Quantum processing systems, qubit devices, and supporting assemblies.',
categoryKey: 'cat-quantum',
},
{
aliases: ['3D printing', 'additive manufacturing', 'metal powder bed fusion'],
key: 'tech-17',
name: 'Metal Additive Manufacturing Equipment',
description:
'Additive manufacturing equipment and process controls used for advanced industrial production.',
categoryKey: 'cat-advanced-mfg',
},
{
aliases: ['IaaS', 'cloud compute', 'cloud infrastructure', 'data center compute'],
key: 'tech-18',
name: 'AI Data Center Cloud Compute Services',
description:
'Cloud infrastructure and compute services capable of supporting advanced AI training or inference workloads.',
categoryKey: 'cat-cloud',
},
{
aliases: ['AI cluster', 'training cluster', 'supercomputing cluster'],
key: 'tech-19',
name: 'Advanced AI Model Training Clusters',
description:
'Networked accelerator clusters used to train large-scale AI models above controlled compute thresholds.',
categoryKey: 'cat-ai',
},
{
aliases: ['encryption software', 'information security software', 'secure communications software'],
key: 'tech-20',
name: 'Encryption and Information Security Software',
description:
'Software implementing advanced cryptographic or information-security functionality.',
categoryKey: 'cat-telecom-cyber',
},
{
aliases: ['post-quantum encryption', 'PQC', 'quantum-resistant cryptography'],
key: 'tech-21',
name: 'Post-Quantum Cryptography',
description:
'Cryptographic methods and software designed to resist attacks by quantum computers.',
categoryKey: 'cat-quantum',
},
{
aliases: ['pathogens', 'toxins', 'genetic elements', 'select agents'],
key: 'tech-22',
name: 'Pathogens, Toxins, and Genetic Elements',
description:
'Biological materials and genetic elements subject to dual-use export-control scrutiny.',
categoryKey: 'cat-biotech',
},
{
aliases: ['DNA synthesis software', 'gene synthesis software', 'nucleic acid assembly software'],
key: 'tech-23',
name: 'Nucleic Acid Synthesis Software',
description:
'Software used to design, screen, or synthesize controlled nucleic acid sequences.',
categoryKey: 'cat-biotech',
},
{
aliases: ['atomic reactor', 'nuclear reactor', 'reactor components'],
key: 'tech-24',
name: 'Nuclear Reactor Equipment and Components',
description:
'Dual-use reactor equipment, components, and technical know-how for nuclear systems.',
categoryKey: 'cat-nuclear',
},
{
aliases: ['enrichment', 'isotope separation', 'uranium enrichment'],
key: 'tech-25',
name: 'Isotope Separation and Enrichment Technology',
description:
'Technology, equipment, and controls used in isotope separation or nuclear enrichment.',
categoryKey: 'cat-nuclear',
},
{
aliases: ['satellite systems', 'spacecraft', 'spacecraft components', 'space systems'],
key: 'tech-26',
name: 'Spacecraft Systems and Components',
description:
'Spacecraft, satellites, and related components used in civil, commercial, or dual-use missions.',
categoryKey: 'cat-aerospace',
},
{
aliases: ['avionics', 'flight control', 'inertial navigation', 'navigation systems'],
key: 'tech-27',
name: 'Inertial Navigation and Avionics Systems',
description:
'Navigation, flight-control, and avionics systems used in aerospace or defense applications.',
categoryKey: 'cat-aerospace',
},
{
aliases: ['autonomous machinery', 'autonomous robot', 'industrial robot', 'robotic systems'],
key: 'tech-28',
name: 'Autonomous Robotic Systems',
description:
'Robotic systems, autonomy software, and production equipment for controlled industrial or defense uses.',
categoryKey: 'cat-advanced-mfg',
},
{
aliases: ['infrared camera', 'thermal camera', 'thermal imaging'],
key: 'tech-29',
name: 'Thermal Imaging and Infrared Sensors',
description:
'Infrared sensors and thermal imaging systems used in surveillance, industrial, or defense applications.',
categoryKey: 'cat-sensors',
},
{
aliases: ['radar', 'remote sensing', 'synthetic aperture radar'],
key: 'tech-30',
name: 'Radar and Remote Sensing Systems',
description:
'Radar, remote sensing, and related detection systems with controlled performance characteristics.',
categoryKey: 'cat-sensors',
},
{
aliases: ['advanced composites', 'carbon fiber', 'high-strength materials'],
key: 'tech-31',
name: 'High-Strength Composite Materials',
description:
'Composite materials and production technologies used in aerospace, defense, and critical infrastructure.',
categoryKey: 'cat-materials',
},
{
aliases: ['chemical precursors', 'energetic materials', 'propellants'],
key: 'tech-32',
name: 'Energetic Materials and Chemical Precursors',
description:
'Chemical precursors, propellants, and energetic materials controlled for dual-use or defense concerns.',
categoryKey: 'cat-materials',
},
{
aliases: ['5G network equipment', 'secure communications', 'telecom infrastructure'],
key: 'tech-33',
name: 'Telecommunications Network Equipment',
description:
'Telecommunications infrastructure and secure communications equipment with controlled capabilities.',
categoryKey: 'cat-telecom-cyber',
},
{
aliases: ['military electronics', 'radiation-hardened electronics', 'tactical electronics'],
key: 'tech-34',
name: 'Military Electronics and Radiation-Hardened Components',
description:
'Specialized electronics and components designed for military or harsh-environment applications.',
categoryKey: 'cat-defense',
},
{
aliases: ['drone systems', 'tactical UAS', 'unmanned aerial systems', 'UAS'],
key: 'tech-35',
name: 'Unmanned Aerial Systems and Tactical Equipment',
description:
'Unmanned aerial systems, tactical equipment, and related controlled defense technologies.',
categoryKey: 'cat-defense',
},
] as const;
const countries = [
{ key: 'country-usa', name: 'United States', isoCode: 'USA', tierClassification: 'Group A:5' },
{ key: 'country-chn', name: 'China', isoCode: 'CHN', tierClassification: 'Group D:5' },
{ key: 'country-nld', name: 'Netherlands', isoCode: 'NLD', tierClassification: 'Group A:5' },
{ key: 'country-jpn', name: 'Japan', isoCode: 'JPN', tierClassification: 'Group A:5' },
{ key: 'country-kor', name: 'South Korea', isoCode: 'KOR', tierClassification: 'Group A:5' },
{ key: 'country-twn', name: 'Taiwan', isoCode: 'TWN', tierClassification: 'Group A:5' },
{ key: 'country-mac', name: 'Macau', isoCode: 'MAC', tierClassification: 'Group D:5' },
{ key: 'country-sgp', name: 'Singapore', isoCode: 'SGP', tierClassification: 'Group A:6' },
{ key: 'country-ind', name: 'India', isoCode: 'IND', tierClassification: 'Group A:6' },
{ key: 'country-irn', name: 'Iran', isoCode: 'IRN', tierClassification: 'Group D:5' },
{ key: 'country-tur', name: 'Turkey', isoCode: 'TUR', tierClassification: 'Group A:6' },
{
key: 'country-are',
name: 'United Arab Emirates',
isoCode: 'ARE',
tierClassification: 'Group A:6',
},
{ key: 'country-rus', name: 'Russia', isoCode: 'RUS', tierClassification: 'Group D:5' },
{ key: 'country-kgz', name: 'Kyrgyzstan', isoCode: 'KGZ', tierClassification: 'Group D:1' },
{ key: 'country-can', name: 'Canada', isoCode: 'CAN', tierClassification: 'Group A:1' },
{ key: 'country-deu', name: 'Germany', isoCode: 'DEU', tierClassification: 'Group A:1' },
{ key: 'country-gbr', name: 'United Kingdom', isoCode: 'GBR', tierClassification: 'Group A:1' },
] as const;
const restrictionTypes = [
{
key: 'rest-01',
name: 'License Required (Presumption of Denial)',
description:
'Exports require a license and are generally reviewed under a presumption of denial.',
},
{
key: 'rest-02',
name: 'Entity List Addition',
description: 'Named parties are added to the BIS Entity List.',
},
{
key: 'rest-03',
name: 'Foreign Direct Product Rule (FDPR)',
description:
'Foreign-produced items become subject to the EAR when specified U.S. technology inputs are used.',
},
{
key: 'rest-04',
name: 'U.S. Persons Activity Prohibition',
description: 'Certain activities by U.S. persons require authorization.',
},
{
key: 'rest-05',
name: 'Unverified List (UVL)',
description:
'Parties are subject to enhanced due diligence because end-use checks could not be completed.',
},
{
key: 'rest-06',
name: 'License Exception Authorization (Notified Advanced Computing)',
description: 'Eligible transactions can proceed under a notified license exception path.',
},
{
key: 'rest-07',
name: 'Case-by-Case Review (Advanced Computing)',
description:
'License applications are reviewed case by case for a defined advanced-computing chip class.',
},
{
key: 'rest-08',
name: 'Worldwide License Requirement (Tiered)',
description:
'A global tiered licensing framework applies by destination and transaction profile.',
},
{
key: 'rest-09',
name: 'Worldwide License Requirement (NS/RS)',
description:
'Controls based on national security or regional stability reasons apply by destination and item classification.',
},
] as const;
const companies = [
{
key: 'comp-nvda',
name: 'NVIDIA Corporation',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['NVIDIA', 'NVDA'],
},
{
key: 'comp-amd',
name: 'Advanced Micro Devices, Inc.',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['AMD'],
},
{
key: 'comp-intel',
name: 'Intel Corporation',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['Intel'],
},
{
key: 'comp-lrcx',
name: 'Lam Research Corporation',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['Lam Research'],
},
{
key: 'comp-amat',
name: 'Applied Materials, Inc.',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['Applied Materials', 'AMAT'],
},
{
key: 'comp-huawei',
name: 'Huawei Technologies Co., Ltd.',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List (Footnote 4/5)',
aliases: ['Huawei', 'HiSilicon'],
},
{
key: 'comp-smic',
name: 'Semiconductor Manufacturing International Corp.',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['SMIC'],
},
{
key: 'comp-inspur',
name: 'Inspur Group',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['Inspur'],
},
{
key: 'comp-ymtc',
name: 'Yangtze Memory Technologies Corp.',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['YMTC'],
},
{
key: 'comp-biren',
name: 'Biren Technology',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['Biren'],
},
{
key: 'comp-mthreads',
name: 'Moore Threads Technology',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['Moore Threads'],
},
{
key: 'comp-asml',
name: 'ASML Holding N.V.',
hqCountryKey: 'country-nld',
entityListStatus: 'Clear',
aliases: ['ASML'],
},
{
key: 'comp-asmi',
name: 'ASM International N.V.',
hqCountryKey: 'country-nld',
entityListStatus: 'Clear',
aliases: ['ASMI'],
},
{
key: 'comp-tel',
name: 'Tokyo Electron Limited',
hqCountryKey: 'country-jpn',
entityListStatus: 'Clear',
aliases: ['TEL', 'Tokyo Electron'],
},
{
key: 'comp-nikon',
name: 'Nikon Corporation',
hqCountryKey: 'country-jpn',
entityListStatus: 'Clear',
aliases: ['Nikon'],
},
{
key: 'comp-advantest',
name: 'Advantest Corporation',
hqCountryKey: 'country-jpn',
entityListStatus: 'Clear',
aliases: ['Advantest'],
},
{
key: 'comp-samsung',
name: 'Samsung Electronics Co., Ltd.',
hqCountryKey: 'country-kor',
entityListStatus: 'Clear (VEU)',
aliases: ['Samsung'],
},
{
key: 'comp-skhynix',
name: 'SK Hynix Inc.',
hqCountryKey: 'country-kor',
entityListStatus: 'Clear (VEU)',
aliases: ['SK Hynix'],
},
{
key: 'comp-tsmc',
name: 'Taiwan Semiconductor Manufacturing Co.',
hqCountryKey: 'country-twn',
entityListStatus: 'Clear',
aliases: ['TSMC'],
},
{
key: 'comp-cadence',
name: 'Cadence Design Systems, Inc.',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['Cadence', 'Cadence Design Systems'],
},
{
key: 'comp-synopsys',
name: 'Synopsys, Inc.',
hqCountryKey: 'country-usa',
entityListStatus: 'Clear',
aliases: ['Synopsys'],
},
{
key: 'comp-siemens-eda',
name: 'Siemens EDA',
hqCountryKey: 'country-deu',
entityListStatus: 'Clear',
aliases: ['Siemens EDA', 'Mentor Graphics'],
},
{
key: 'comp-lightcloud',
name: 'Light Cloud (Hangzhou) Technology Co., Ltd.',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['Light Cloud'],
},
{
key: 'comp-superburning',
name: 'Superburning Semiconductor (Nanjing) Co., Ltd.',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['Superburning Semiconductor'],
},
{
key: 'comp-suzhou-xinyan',
name: 'Suzhou Xinyan Holdings Co., Ltd.',
hqCountryKey: 'country-chn',
entityListStatus: 'Entity List',
aliases: ['Suzhou Xinyan'],
},
{
key: 'comp-daesung',
name: 'Daesung International Trading',
hqCountryKey: 'country-kor',
entityListStatus: 'Entity List',
aliases: ['Daesung'],
},
{
key: 'comp-muller-markt',
name: 'Muller Markt LLC',
hqCountryKey: 'country-kgz',
entityListStatus: 'Entity List',
aliases: ['Muller Markt'],
},
{
key: 'comp-sovtest',
name: 'Sovtest Comp',
hqCountryKey: 'country-rus',
entityListStatus: 'Entity List',
aliases: ['Sovtest'],
},
] as const;
const jurisdictions = [
['pol-2022-aug-wassenaar', 'country-chn', 'rest-01'],
['pol-2022-aug-wassenaar', 'country-rus', 'rest-09'],
['pol-2022-oct', 'country-chn', 'rest-01'],
['pol-2022-oct', 'country-chn', 'rest-04'],
['pol-2023-jan-macau', 'country-mac', 'rest-01'],
['pol-2023-jan-macau', 'country-mac', 'rest-03'],
['pol-2023-oct-entitylist', 'country-chn', 'rest-02'],
['pol-2023-oct-entitylist', 'country-chn', 'rest-03'],
['pol-2023-oct-sme', 'country-chn', 'rest-01'],
['pol-2023-oct-sme', 'country-mac', 'rest-01'],
['pol-2023-oct-sme', 'country-chn', 'rest-04'],
['pol-2023-oct', 'country-mac', 'rest-01'],
['pol-2023-oct', 'country-chn', 'rest-03'],
['pol-2024-feb-entitylist', 'country-chn', 'rest-02'],
['pol-2024-feb-entitylist', 'country-ind', 'rest-02'],
['pol-2024-feb-entitylist', 'country-kgz', 'rest-02'],
['pol-2024-feb-entitylist', 'country-rus', 'rest-02'],
['pol-2024-feb-entitylist', 'country-kor', 'rest-02'],
['pol-2024-feb-entitylist', 'country-tur', 'rest-02'],
['pol-2024-feb-entitylist', 'country-are', 'rest-02'],
['pol-2024-sep-advanced-tech', 'country-chn', 'rest-09'],
['pol-2024-sep-advanced-tech', 'country-rus', 'rest-09'],
['pol-2024-sep-advanced-tech', 'country-irn', 'rest-09'],
['pol-2024-dec-fdpr', 'country-chn', 'rest-03'],
['pol-2024-dec-entitylist', 'country-chn', 'rest-02'],
['pol-2025-jan-diffusion', 'country-chn', 'rest-08'],
['pol-2025-jan-diffusion', 'country-mac', 'rest-08'],
['pol-2025-jan-duediligence', 'country-chn', 'rest-05'],
['pol-2025-jan-entitylist', 'country-chn', 'rest-02'],
['pol-2025-jan-entitylist', 'country-sgp', 'rest-02'],
['pol-2025-sep-entitylist', 'country-chn', 'rest-02'],
['pol-2025-sep-entitylist', 'country-ind', 'rest-02'],
['pol-2025-sep-entitylist', 'country-irn', 'rest-02'],
['pol-2025-sep-entitylist', 'country-tur', 'rest-02'],
['pol-2025-sep-entitylist', 'country-are', 'rest-02'],
['pol-2026-jan-licenserevision', 'country-chn', 'rest-07'],
['pol-2026-jan-licenserevision', 'country-mac', 'rest-07'],
] as const;
const policyRevisions = [
{
key: 'rev-001',
policyKey: 'pol-2022-aug-wassenaar',
revisionDate: date('2022-08-15'),
previousStatus: PolicyStatus.DRAFT,
newStatus: PolicyStatus.ACTIVE,
changeSummary:
'Initial Wassenaar implementation takes effect for four emerging Section 1758 technology areas.',
},
{
key: 'rev-002',
policyKey: 'pol-2022-aug-wassenaar',
revisionDate: date('2022-10-14'),
previousStatus: PolicyStatus.ACTIVE,
newStatus: PolicyStatus.ACTIVE,
changeSummary:
'Delayed ECAD software controls become effective after the short implementation window.',
},
{
key: 'rev-101',
policyKey: 'pol-2022-oct',
revisionDate: date('2022-10-07'),
previousStatus: PolicyStatus.DRAFT,
newStatus: PolicyStatus.ACTIVE,
changeSummary: 'Initial interim final rule text issued for public display.',
},
{
key: 'rev-102',
policyKey: 'pol-2022-oct',
revisionDate: date('2023-01-18'),
previousStatus: PolicyStatus.ACTIVE,
newStatus: PolicyStatus.ACTIVE,
changeSummary: 'Macau amendment adds Macau (Country Group D:5) to destination controls.',
},
{
key: 'rev-111',
policyKey: 'pol-2023-jan-macau',
revisionDate: date('2023-01-17'),
previousStatus: PolicyStatus.DRAFT,
newStatus: PolicyStatus.ACTIVE,
changeSummary:
'Macau is added to the 2022 advanced computing and semiconductor manufacturing destination controls.',
},
{
key: 'rev-112',
policyKey: 'pol-2023-jan-macau',
revisionDate: date('2023-10-17'),
previousStatus: PolicyStatus.ACTIVE,
newStatus: PolicyStatus.SUPERSEDED,
changeSummary:
'Macau provisions are carried forward into the October 2023 advanced-computing controls update.',
},
{
key: 'rev-103',
policyKey: 'pol-2022-oct',
revisionDate: date('2023-10-17'),
previousStatus: PolicyStatus.ACTIVE,
newStatus: PolicyStatus.SUPERSEDED,
changeSummary:
'Superseded by the 2023 advanced computing and semiconductor manufacturing updates.',
},
{
key: 'rev-211',
policyKey: 'pol-2023-oct-entitylist',
revisionDate: date('2023-10-17'),
previousStatus: PolicyStatus.DRAFT,
newStatus: PolicyStatus.ACTIVE,
changeSummary:
'Entity List additions tied to advanced computing and supercomputing controls take effect.',
},
{
key: 'rev-221',
policyKey: 'pol-2023-oct-sme',
revisionDate: date('2023-10-17'),
previousStatus: PolicyStatus.DRAFT,
newStatus: PolicyStatus.ACTIVE,
changeSummary: