-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscanner.html
More file actions
611 lines (586 loc) · 26.1 KB
/
scanner.html
File metadata and controls
611 lines (586 loc) · 26.1 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Nyx Scanner | Deterministic local-first security scanning</title>
<meta
name="description"
content="Nyx Scanner is open-source local-first SAST for source-to-sink attack paths, browser triage, SARIF, and CI without uploading code."
/>
<meta name="author" content="Eli Peter" />
<meta name="application-name" content="Nyx" />
<meta
name="keywords"
content="Nyx, nyx-scanner, deterministic security scanner, open-source SAST, static application security testing, local-first security scanner, source-to-sink taint analysis, SARIF, Rust security tooling"
/>
<meta name="robots" content="index, follow, max-image-preview:large" />
<link rel="canonical" href="https://nyxsec.dev/scanner" />
<link rel="alternate" type="text/plain" href="https://nyxsec.dev/llms.txt" title="llms.txt" />
<link rel="alternate" type="text/plain" href="https://nyxsec.dev/llms-full.txt" title="llms-full.txt" />
<link rel="sitemap" type="application/xml" href="https://nyxsec.dev/sitemap.xml" />
<link rel="me" href="https://github.com/elicpeter" />
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32.png" />
<link rel="icon" type="image/png" sizes="64x64" href="favicon-64.png" />
<link rel="apple-touch-icon" sizes="180x180" href="favicon-180.png" />
<link rel="manifest" href="/manifest.json" />
<link rel="alternate" type="application/rss+xml" title="Nyx | News & release notes" href="/news/feed.xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&display=swap" rel="stylesheet" />
<link rel="preload" href="assets/screenshots/overview.webp" as="image" type="image/webp" fetchpriority="high" />
<link rel="stylesheet" href="styles.css" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Nyx" />
<meta property="og:title" content="Nyx Scanner | Deterministic local-first security scanning" />
<meta
property="og:description"
content="Open-source deterministic security scanning with source-to-sink analysis, local browser triage, SARIF, and CI support."
/>
<meta property="og:url" content="https://nyxsec.dev/scanner" />
<meta property="og:image" content="https://nyxsec.dev/og-image.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="Nyx local-first security scanner for developers" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Nyx Scanner | Deterministic local-first security scanning" />
<meta
name="twitter:description"
content="Open-source deterministic security scanning with source-to-sink analysis, local browser triage, SARIF, and CI support."
/>
<meta name="twitter:image" content="https://nyxsec.dev/og-image.png" />
<meta name="twitter:image:alt" content="Nyx local-first security scanner for developers" />
<meta name="twitter:domain" content="nyxsec.dev" />
<meta name="twitter:url" content="https://nyxsec.dev/scanner" />
<meta name="theme-color" content="#F9F8F4" />
<meta property="og:locale" content="en_US" />
<meta property="og:image:secure_url" content="https://nyxsec.dev/og-image.png" />
<meta property="og:updated_time" content="2026-05-28T00:00:00-05:00" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": ["SoftwareApplication", "SoftwareSourceCode"],
"@id": "https://nyxsec.dev/scanner#software",
"name": "Nyx",
"alternateName": ["Nyx Scanner", "nyx-scanner"],
"url": "https://nyxsec.dev/scanner",
"mainEntityOfPage": {
"@id": "https://nyxsec.dev/scanner#webpage"
},
"applicationCategory": "SecurityApplication",
"applicationSubCategory": "Static Application Security Testing",
"operatingSystem": "Cross-platform",
"programmingLanguage": "Rust",
"softwareVersion": "0.7.0",
"softwareRequirements": "Rust 1.88+ for Cargo installs",
"codeRepository": "https://github.com/elicpeter/nyx",
"downloadUrl": "https://crates.io/crates/nyx-scanner",
"installUrl": "https://nyxsec.dev/docs/nyx/installation",
"softwareHelp": "https://nyxsec.dev/docs/nyx/",
"releaseNotes": "https://nyxsec.dev/news/nyx-0-7-0",
"license": "https://spdx.org/licenses/GPL-3.0-or-later.html",
"description": "Nyx is an open-source, deterministic local-first security scanner for developers. Find source-to-sink attack paths, inspect evidence in a browser UI, export SARIF, and run scans in CI.",
"keywords": [
"open-source SAST",
"static application security testing",
"local-first security scanner",
"source-to-sink taint analysis",
"cross-file interprocedural taint",
"SARIF",
"Rust security tooling"
],
"featureList": [
"Cross-file interprocedural taint analysis",
"Source-to-sink attack path detection",
"Local browser triage UI",
"SARIF output for GitHub Code Scanning",
"GitHub Actions integration",
"No code upload, no account required",
"Runs fully offline",
"SQL injection detection",
"Command injection detection",
"Path traversal detection",
"SSRF detection",
"XSS detection",
"Unsafe deserialization detection",
"Python, JavaScript, TypeScript, Go, Java, PHP, Ruby, Rust, C, C++ support"
],
"screenshot": "https://nyxsec.dev/og-image.png",
"author": {
"@type": "Person",
"name": "Eli Peter",
"url": "https://github.com/elicpeter"
},
"maintainer": {
"@type": "Person",
"name": "Eli Peter",
"url": "https://github.com/elicpeter"
},
"publisher": {
"@id": "https://nyxsec.dev/#organization"
},
"offers": {
"@type": "Offer",
"url": "https://crates.io/crates/nyx-scanner",
"price": 0,
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
},
"isAccessibleForFree": true,
"sameAs": [
"https://github.com/elicpeter/nyx",
"https://crates.io/crates/nyx-scanner",
"https://docs.rs/nyx-scanner/latest/nyx_scanner/",
"https://nyxsec.dev/docs/nyx/"
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "WebSite",
"@id": "https://nyxsec.dev/#website",
"url": "https://nyxsec.dev/",
"name": "Nyx",
"alternateName": "nyxsec.dev",
"description": "Open-source, local-first security scanning for developers.",
"inLanguage": "en-US",
"publisher": {
"@id": "https://nyxsec.dev/#organization"
},
"creator": {
"@id": "https://nyxsec.dev/#person"
},
"about": {
"@id": "https://nyxsec.dev/scanner#software"
},
"sameAs": [
"https://github.com/elicpeter/nyx",
"https://crates.io/crates/nyx-scanner",
"https://docs.rs/nyx-scanner/latest/nyx_scanner/",
"https://nyxsec.dev/docs/nyx/"
]
},
{
"@type": "WebPage",
"@id": "https://nyxsec.dev/scanner#webpage",
"url": "https://nyxsec.dev/scanner",
"name": "Nyx Scanner | Deterministic local-first security scanning",
"description": "Nyx is an open-source, deterministic local-first security scanner for developers. Find source-to-sink attack paths, inspect evidence in a browser UI, export SARIF, and run scans in CI.",
"isPartOf": {
"@id": "https://nyxsec.dev/#website"
},
"about": {
"@id": "https://nyxsec.dev/scanner#software"
},
"primaryImageOfPage": {
"@type": "ImageObject",
"url": "https://nyxsec.dev/og-image.png",
"width": 1200,
"height": 630
},
"dateModified": "2026-05-28",
"inLanguage": "en-US",
"mainEntity": {
"@id": "https://nyxsec.dev/scanner#software"
}
},
{
"@type": "Person",
"@id": "https://nyxsec.dev/#person",
"name": "Eli Peter",
"url": "https://github.com/elicpeter",
"sameAs": ["https://github.com/elicpeter", "https://github.com/sponsors/elicpeter"]
},
{
"@type": "Organization",
"@id": "https://nyxsec.dev/#organization",
"name": "Nyx",
"alternateName": ["Nyx Scanner", "Nyx Agent", "NyxSec", "nyxsec.dev"],
"url": "https://nyxsec.dev/",
"logo": {
"@type": "ImageObject",
"url": "https://nyxsec.dev/assets/logo.png",
"width": 512,
"height": 512
},
"founder": {
"@id": "https://nyxsec.dev/#person"
},
"sameAs": [
"https://github.com/elicpeter/nyx",
"https://github.com/nyx-sec/nyx-agent",
"https://github.com/sponsors/elicpeter"
],
"knowsAbout": [
"Static Application Security Testing",
"source-to-sink taint analysis",
"local pentesting",
"software supply chain security",
"SARIF"
],
"contactPoint": {
"@type": "ContactPoint",
"contactType": "commercial licensing and support",
"email": "contact@nyxsec.dev",
"availableLanguage": ["en"]
}
}
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Does Nyx upload my source code anywhere?",
"acceptedAnswer": {
"@type": "Answer",
"text": "No. The scanner runs on your machine, the UI binds to 127.0.0.1 only, and there are no outbound connections at any point. No telemetry, no account, nothing leaves the box."
}
},
{
"@type": "Question",
"name": "What languages does Nyx support?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Stable (CI-gateable): Python, JavaScript, TypeScript. Beta: Java, PHP, Ruby, Rust, Go. Preview (not recommended for gates yet): C, C++. All parse via tree-sitter and run through the same cross-file taint pipeline."
}
},
{
"@type": "Question",
"name": "What kinds of bugs does Nyx find?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Nyx runs four detector families: taint analysis (cross-file source-to-sink), CFG structural (auth gaps, unguarded sinks), state model (use-after-close, resource leaks), and AST patterns (banned APIs, weak crypto). Taint analysis finds SQL injection, command injection, path traversal, SSRF, XSS, unsafe deserialization, code execution (eval, SSTI), and open redirect."
}
},
{
"@type": "Question",
"name": "Can I use Nyx in CI without sending code to a third party?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. Run nyx scan --format sarif --fail-on MEDIUM in any pipeline. The GitHub Action at elicpeter/nyx uploads SARIF to GitHub Code Scanning. No code leaves the runner."
}
},
{
"@type": "Question",
"name": "Is Nyx free?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes. GPL-3.0, no paid tier, no usage limits. cargo install nyx-scanner and you have the full thing."
}
}
]
}
</script>
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header" aria-label="Primary navigation">
<div class="container site-header__inner">
<a class="brand" href="." aria-label="Nyx home">
<img src="assets/logo.png" alt="Nyx" class="brand-logo" />
</a>
<span class="header-wordmark">NYX</span>
<nav class="nav" aria-label="Main navigation">
<a href="scanner" aria-current="page">Scanner</a>
<a href="agent">Agent</a>
<a href="news/">News</a>
<a href="docs/">Docs</a>
<a class="nav-github" href="https://github.com/elicpeter/nyx">GitHub</a>
</nav>
</div>
</header>
<main id="main">
<!-- Hero -->
<section class="hero" aria-labelledby="hero-title">
<div class="container hero__inner">
<div class="hero__copy">
<h1 id="hero-title" class="hero__subtitle">Local-first security scanning for developers.</h1>
<p class="hero__body">
Find source-to-sink attack paths, inspect evidence in a browser UI, and keep triage decisions with your
code.
</p>
<div class="button-row" aria-label="Primary links">
<a class="button button--primary" href="#install">Get started</a>
<a class="button button--ghost" href="https://github.com/elicpeter/nyx">View on GitHub</a>
</div>
</div>
<div class="hero__visual">
<div class="app-frame">
<div class="app-frame__bar"><span></span><span></span><span></span></div>
<picture>
<source srcset="assets/screenshots/overview.webp" type="image/webp" />
<img
src="assets/screenshots/overview.png"
width="1600"
height="992"
alt="Nyx Scanner overview dashboard showing health score, findings, scan metrics, and issue categories."
loading="eager"
fetchpriority="high"
/>
</picture>
</div>
</div>
</div>
<div class="hero__stats">
<div class="container">
<ul class="hero-facts" aria-label="Nyx summary">
<li>Runs locally, no account required</li>
<li>Source-to-sink taint analysis</li>
<li>Browser triage UI</li>
<li>SARIF and GitHub Actions</li>
<!-- <li>3 CVEs reported</li>-->
</ul>
</div>
</div>
</section>
<!-- Demo -->
<section class="section section--tinted" aria-labelledby="demo-title">
<div class="container">
<div class="section-intro section-intro--wide">
<h2 id="demo-title">Scan in the CLI. Review in the browser.</h2>
<p>
The same local engine runs in your terminal and in CI. After a scan, <code>nyx serve</code> opens the
browser triage UI for findings, source context, and review state.
</p>
</div>
<figure class="media-frame media-frame--demo">
<video
width="960"
height="596"
autoplay
muted
loop
playsinline
preload="metadata"
poster="assets/screenshots/demo-combo-poster.webp"
aria-label="Nyx demo showing CLI scan output and browser triage for source-to-sink findings"
>
<source src="assets/screenshots/demo-combo.webm" type="video/webm" />
<source src="assets/screenshots/demo-combo.mp4" type="video/mp4" />
</video>
<figcaption>
Scan locally in the CLI or UI, then inspect source-to-sink evidence and triage findings in the Nyx UI.
</figcaption>
</figure>
</div>
</section>
<!-- Install -->
<section class="section" id="install" aria-labelledby="install-title">
<div class="container install-layout">
<div class="install-copy">
<h2 id="install-title">Start with Cargo.</h2>
<p>Install the crate, scan a repository, then open the local review UI.</p>
</div>
<div class="terminal" aria-label="Nyx install commands">
<div class="terminal__bar">
<span aria-hidden="true"></span><span aria-hidden="true"></span><span aria-hidden="true"></span>
<button class="terminal__copy" type="button" data-copy-target="install-commands">Copy</button>
</div>
<input
id="install-commands"
class="terminal__field"
type="text"
value="cargo install nyx-scanner && nyx serve"
readonly
spellcheck="false"
/>
</div>
<div class="inline-links" aria-label="Install resources">
<a href="https://crates.io/crates/nyx-scanner">crates.io package</a>
<a href="docs/nyx/installation">installation docs</a>
<a href="https://github.com/elicpeter/nyx/releases">GitHub releases</a>
</div>
</div>
</section>
<!-- Why + Compare (merged) -->
<section class="section section--tinted" id="compare" aria-labelledby="compare-title">
<div class="container">
<div class="section-intro">
<h2 id="compare-title">Private code should stay private.</h2>
<p>
Most security scanners require a build environment, a cloud account, or both. Nyx runs analysis locally,
shows the full source-to-sink path, and keeps triage state in your repo. No uploads, no signups. It has
already found and reported three vulnerabilities in widely-used open-source projects.
</p>
</div>
<div class="compare-table-wrap">
<table class="compare-table" aria-label="Comparison of Nyx with Semgrep, CodeQL, Snyk, and Bandit">
<thead>
<tr>
<th scope="col">Feature</th>
<th scope="col">Nyx</th>
<th scope="col">Semgrep</th>
<th scope="col">CodeQL</th>
<th scope="col">Snyk</th>
<th scope="col">Bandit / ESLint</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cross-file taint tracking</td>
<td class="cell--yes">Yes</td>
<td class="cell--partial">Pro only</td>
<td class="cell--yes">Yes</td>
<td class="cell--yes">Yes</td>
<td class="cell--no">No</td>
</tr>
<tr>
<td>Runs fully offline</td>
<td class="cell--yes">Yes</td>
<td class="cell--yes">Yes</td>
<td class="cell--partial">Local (needs CodeQL CLI + build)</td>
<td class="cell--no">No</td>
<td class="cell--yes">Yes</td>
</tr>
<tr>
<td>No code upload</td>
<td class="cell--yes">Yes</td>
<td class="cell--yes">Yes</td>
<td class="cell--partial">Needs GitHub or local build step</td>
<td class="cell--no">No (cloud analysis)</td>
<td class="cell--yes">Yes</td>
</tr>
<tr>
<td>No account required</td>
<td class="cell--yes">Yes</td>
<td class="cell--partial">Free tier needs signup</td>
<td class="cell--partial">Needs GitHub account</td>
<td class="cell--no">No</td>
<td class="cell--yes">Yes</td>
</tr>
<tr>
<td>Browser triage UI</td>
<td class="cell--yes">Yes (local)</td>
<td class="cell--no">No</td>
<td class="cell--no">No</td>
<td class="cell--yes">Yes (cloud only)</td>
<td class="cell--no">No</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<!-- FAQ -->
<section class="section" id="faq" aria-labelledby="faq-title">
<div class="container">
<div class="section-intro">
<h2 id="faq-title">Frequently asked questions.</h2>
</div>
<div class="faq-list">
<details class="faq-item">
<summary><h3>Does Nyx upload my source code anywhere?</h3></summary>
<p>
No. The scanner runs on your machine, the UI binds to <code>127.0.0.1</code> only, and there are no
outbound connections at any point. No telemetry, no account, nothing leaves the box.
</p>
</details>
<details class="faq-item">
<summary><h3>What languages does Nyx support?</h3></summary>
<p>
Stable (CI-gateable): Python, JavaScript, TypeScript. Beta: Java, PHP, Ruby, Rust, Go. Preview (not
recommended for gates yet): C, C++. All parse via tree-sitter and run through the same cross-file taint
pipeline.
</p>
</details>
<details class="faq-item">
<summary><h3>What kinds of bugs does it find?</h3></summary>
<p>
Nyx runs four detector families: taint analysis (cross-file source-to-sink), CFG structural (auth gaps,
unguarded sinks), state model (use-after-close, resource leaks), and AST patterns (banned APIs, weak
crypto). Taint analysis finds SQL injection, command injection, path traversal, SSRF, XSS, unsafe
deserialization, code execution (eval, SSTI), and open redirect. The CVE corpus covers 38 published
advisories across all 10 languages.
</p>
</details>
<details class="faq-item">
<summary><h3>Can I use it in CI without sending code to a third party?</h3></summary>
<p>
Yes. Run <code>nyx scan --format sarif --fail-on MEDIUM</code> in any pipeline. The GitHub Action at
<code>elicpeter/nyx</code> uploads SARIF to GitHub Code Scanning. No code leaves the runner.
</p>
</details>
<details class="faq-item">
<summary><h3>Is Nyx free?</h3></summary>
<p>
Yes. GPL-3.0, no paid tier, no usage limits. <code>cargo install nyx-scanner</code> and you have the
full thing.
</p>
</details>
</div>
</div>
</section>
</main>
<footer class="site-footer">
<div class="container site-footer__inner">
<div class="site-footer__summary">
<span class="site-footer__brand">Nyx</span>
<p class="site-footer__copy">Nyx is an independent open-source security project.</p>
</div>
<nav class="site-footer__nav" aria-label="Footer links">
<div class="site-footer__group" role="group" aria-labelledby="footer-project">
<span id="footer-project" class="site-footer__heading">Project</span>
<a href="./">Home</a>
<a href="news/">News</a>
<a href="docs/">All docs</a>
<a href="https://github.com/sponsors/elicpeter">Sponsor</a>
</div>
<div class="site-footer__group" role="group" aria-labelledby="footer-scanner">
<span id="footer-scanner" class="site-footer__heading">Scanner</span>
<a href="scanner">Overview</a>
<a href="docs/nyx/">Docs</a>
<a href="https://github.com/elicpeter/nyx">GitHub</a>
<a href="https://crates.io/crates/nyx-scanner">crates.io</a>
<a href="https://docs.rs/nyx-scanner/latest/nyx_scanner/">Rustdocs</a>
<a href="https://github.com/elicpeter/nyx/releases">Releases</a>
<a href="https://github.com/elicpeter/nyx/blob/master/SECURITY.md">Security</a>
</div>
<div class="site-footer__group" role="group" aria-labelledby="footer-agent">
<span id="footer-agent" class="site-footer__heading">Agent</span>
<a href="agent">Overview</a>
<a href="docs/agent/">Docs</a>
<a href="https://github.com/nyx-sec/nyx-agent">GitHub</a>
<a href="agent#support">Support</a>
</div>
</nav>
</div>
</footer>
<script>
(function () {
document.querySelectorAll("[data-copy-target]").forEach(function (button) {
button.addEventListener("click", function () {
var target = document.getElementById(button.getAttribute("data-copy-target"));
if (!target) return;
var originalLabel = button.textContent;
var markCopied = function () {
button.textContent = "Copied";
window.setTimeout(function () {
button.textContent = originalLabel;
}, 1400);
};
var fallbackCopy = function () {
target.focus();
target.select();
document.execCommand("copy");
markCopied();
};
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(target.value).then(markCopied).catch(fallbackCopy);
} else {
fallbackCopy();
}
});
});
})();
</script>
</body>
</html>