fwsift 0.1.0__py3-none-win_amd64.whl

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.
Binary file
@@ -0,0 +1,374 @@
1
+ Metadata-Version: 2.4
2
+ Name: fwsift
3
+ Version: 0.1.0
4
+ Classifier: Development Status :: 4 - Beta
5
+ Classifier: Environment :: Console
6
+ Classifier: Intended Audience :: Information Technology
7
+ Classifier: Operating System :: MacOS
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Operating System :: POSIX :: Linux
10
+ Classifier: Programming Language :: Rust
11
+ Classifier: Topic :: Security
12
+ License-File: LICENSE-MIT
13
+ License-File: LICENSE-APACHE
14
+ Summary: Offline quick-check scanner for extracted embedded/IoT firmware: credentials, keys, debug services, insecure updates, SBOM, ELF hardening
15
+ Keywords: firmware,security,iot,embedded,sbom
16
+ Author: Reflex Hardware Security
17
+ License-Expression: MIT OR Apache-2.0
18
+ Requires-Python: >=3.8
19
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
20
+ Project-URL: Changelog, https://github.com/reflex-hs/fwsift/blob/main/CHANGELOG.md
21
+ Project-URL: Homepage, https://github.com/reflex-hs/fwsift
22
+ Project-URL: Issues, https://github.com/reflex-hs/fwsift/issues
23
+ Project-URL: Source, https://github.com/reflex-hs/fwsift
24
+
25
+ # fwsift
26
+
27
+ **Offline quick-check scanner for extracted embedded / IoT firmware.**
28
+
29
+ `fwsift` takes a firmware root filesystem that has already been extracted with
30
+ [binwalk](https://github.com/ReFirmLabs/binwalk) or [unblob](https://github.com/onekey-sec/unblob)
31
+ and, in a few seconds, points you at the things a hardware security assessment
32
+ usually starts with: default and empty passwords, baked-in private keys,
33
+ telnet/adb/UART shells left enabled, unsigned update scripts, outdated
34
+ components, weak ELF hardening, risky file permissions and on-device AI models.
35
+
36
+ It is a *triage* tool: fast, dependency-free at runtime, offline by default, and
37
+ honest about being heuristic. It does not replace manual review or emulation.
38
+
39
+ - Single self-contained binary: no Python, no vulnerability database download
40
+ - Never touches the network unless you pass `--osv`
41
+ - Never follows symlinks out of the firmware root
42
+ - Secrets are redacted in every output format
43
+ - Output as a human report, JSON, SARIF 2.1.0 (GitHub code scanning) and CycloneDX 1.5 SBOM
44
+ - `--fail-on <severity>` for CI gates
45
+
46
+ ## Install
47
+
48
+ Prebuilt binaries are published on PyPI for Linux (x86_64 and aarch64, glibc and
49
+ musl), macOS (Apple Silicon and Intel) and Windows (x86_64), so no Rust toolchain is
50
+ needed:
51
+
52
+ ```sh
53
+ pipx install fwsift # or: uv tool install fwsift, or pip install fwsift
54
+ ```
55
+
56
+ [hwntools](https://github.com/reflex-hs/hwntools) installs it together with the other
57
+ Reflex tools with `pip install "hwntools[tools]"`.
58
+
59
+ To build from source with Cargo:
60
+
61
+ ```sh
62
+ # latest version from GitHub (works today)
63
+ cargo install --locked --git https://github.com/reflex-hs/fwsift
64
+
65
+ # from crates.io (once published)
66
+ cargo install --locked fwsift
67
+
68
+ # from a checkout
69
+ cargo install --locked --path .
70
+
71
+ # build without any network code at all (drops the --osv feature)
72
+ cargo install --locked --git https://github.com/reflex-hs/fwsift --no-default-features
73
+ ```
74
+
75
+ Building from source requires Rust 1.88 or newer.
76
+
77
+ ## Usage
78
+
79
+ ```sh
80
+ # 1. extract the image with your usual tool
81
+ unblob -e out/ firmware.bin # or: binwalk -eM firmware.bin
82
+
83
+ # 2. scan the root filesystem
84
+ fwsift out/firmware.bin_extract/.../squashfs-root
85
+
86
+ # also triage the raw image (container offsets, bootargs, U-Boot/kernel versions)
87
+ fwsift squashfs-root --image firmware.bin
88
+
89
+ # raw image only: signature triage without extraction
90
+ fwsift firmware.bin
91
+ ```
92
+
93
+ | Option | Description |
94
+ |---|---|
95
+ | `-f, --format <human\|json\|sarif\|cyclonedx>` | Output format (default `human`) |
96
+ | `--json`, `--sarif` | Shorthands for `--format json` / `--format sarif` |
97
+ | `-o, --output <FILE>` | Write the report to a file instead of stdout |
98
+ | `--sbom <FILE>` | Additionally write a CycloneDX 1.5 SBOM |
99
+ | `--image <FILE>` | Raw image to triage alongside the rootfs |
100
+ | `--osv` | Query api.osv.dev for known vulnerabilities (online, opt-in) |
101
+ | `--fail-on <SEVERITY>` | Exit with status 1 if any finding is at or above the severity |
102
+ | `--min-severity <SEVERITY>` | Hide lower findings (default `low` for human output, `info` otherwise) |
103
+ | `--all` | Show every occurrence in the human report (default: first 10 per rule) |
104
+ | `--max-file-size <MIB>` | Skip content checks for larger files (default 64) |
105
+ | `--list-rules` | Print the rule table |
106
+ | `--no-color` | Disable ANSI colours (`NO_COLOR` is honoured too) |
107
+
108
+ Severities: `info`, `low`, `medium`, `high`, `critical`.
109
+
110
+ Exit codes: `0` success, `1` `--fail-on` threshold reached, `2` error (bad
111
+ path, unreadable image, ...).
112
+
113
+ ### Examples
114
+
115
+ ```sh
116
+ # CI gate: fail the job on high or critical findings, keep a SARIF report
117
+ fwsift rootfs/ --sarif -o fwsift.sarif --fail-on high
118
+
119
+ # SBOM + CVE lookup for the report appendix
120
+ fwsift rootfs/ --sbom sbom.cdx.json --osv
121
+
122
+ # Everything, including info-level findings such as unstripped binaries
123
+ fwsift rootfs/ --min-severity info --all
124
+ ```
125
+
126
+ ## Sample output
127
+
128
+ Run against a small synthetic camera rootfs (see `tests/cli.rs` for how such
129
+ fixtures are generated):
130
+
131
+ ```text
132
+ fwsift 0.1.0 - firmware quick-check
133
+ rootfs: /work/squashfs-root (9 files, 12 dirs, 0 symlinks, 0.3 MiB)
134
+
135
+ Findings: 2 critical, 3 high, 8 medium, 1 low, 0 info
136
+
137
+ CRITICAL CRED-001 Account without password (1)
138
+ /etc/shadow:1 account 'root' has an empty password field
139
+ > root::...
140
+
141
+ CRITICAL CRED-004 Known default password (1)
142
+ /etc/shadow:2 password for 'admin' is a known default (recovered: 'ad***[5 chars]')
143
+ > admin:$1$a***[34 chars]
144
+
145
+ HIGH KEY-002 SSH host key baked into image (1)
146
+ /etc/ssh/ssh_host_ed25519_key SSH host private key is pre-generated in the image; all units share it
147
+ > sha256(file)=a1c782de6bd7849d301a4ce2bcaf5b98
148
+
149
+ HIGH SVC-001 Telnet daemon started at boot (1)
150
+ /etc/init.d/rcS:3 telnet daemon started from boot configuration
151
+ > /usr/sbin/telnetd &
152
+
153
+ HIGH SVC-006 Serial console shell without authentication (1)
154
+ /etc/inittab:2 inittab spawns a shell without authentication on ttyS0 (respawn)
155
+ > ttyS0::respawn:-/bin/sh
156
+
157
+ MEDIUM AI-001 Plaintext AI model file (1)
158
+ /oem/models/face_detect.tflite TensorFlow Lite model stored in plaintext (TFL3 flatbuffer)
159
+ > 292 KiB, entropy 5.93 bits/byte
160
+
161
+ MEDIUM COMP-001 Component older than baseline (2)
162
+ /bin/busybox busybox 1.24.1 is older than the 2026-12 baseline (1.36.0 (2023-01)); run with --osv for CVE data
163
+ > busybox 1.24.1
164
+ /lib/modules/4.4.60 linux 4.4.60 is older than the 2026-12 baseline (oldest maintained LTS series 5.10); run with --osv for CVE data
165
+ > linux 4.4.60
166
+
167
+ MEDIUM CRED-003 Weak password hash algorithm (1)
168
+ /etc/shadow:2 account 'admin' uses weak hash algorithm MD5 crypt ($1$)
169
+ > admin:$1$a***[34 chars]
170
+
171
+ MEDIUM CRED-006 Hardcoded password in script or config (1)
172
+ /etc/app/cloud.json:1 literal value assigned to 'mqtt_password'
173
+ > mqtt_password=Ca***[11 chars]
174
+
175
+ MEDIUM PERM-002 Setuid/setgid binary (1)
176
+ /bin/busybox setuid bit set
177
+ > mode 4755
178
+
179
+ MEDIUM UPD-001 Download over cleartext protocol (1)
180
+ /usr/sbin/fw_upgrade.sh:2 download over cleartext protocol (http://update.example.com/cam/latest.bin)
181
+ > wget -O /tmp/fw.bin http://update.example.com/cam/latest.bin
182
+
183
+ MEDIUM UPD-003 Firmware flashed without apparent signature check (1)
184
+ /usr/sbin/fw_upgrade.sh:4 script writes to flash but contains no recognisable signature verification (checksums such as md5sum do not count)
185
+ > mtd -r write /tmp/fw.bin firmware
186
+
187
+ LOW SVC-002 SSH daemon started at boot (1)
188
+ /etc/init.d/rcS:4 SSH daemon started from boot configuration
189
+ > dropbear -R -p 22
190
+
191
+ Components (SBOM)
192
+ busybox 1.24.1 /bin/busybox [older than baseline]
193
+ linux 4.4.60 /lib/modules/4.4.60 [older than baseline]
194
+ ```
195
+
196
+ ## Rules
197
+
198
+ | ID | Default severity | Title | What it means |
199
+ |---|---|---|---|
200
+ | `CRED-001` | critical | Account without password | An account in /etc/shadow or /etc/passwd has an empty password field, so anyone can log in as that user. |
201
+ | `CRED-002` | high | Password hash stored in /etc/passwd | /etc/passwd is world-readable; a hash stored there instead of /etc/shadow can be cracked offline by any local user. |
202
+ | `CRED-003` | medium | Weak password hash algorithm | The hash uses DES crypt or MD5 crypt, both of which are fast to brute-force. |
203
+ | `CRED-004` | critical | Known default password | The password hash matches an entry from fwsift's built-in list of vendor/IoT default passwords (e.g. Mirai's list). |
204
+ | `CRED-005` | high | Non-root account with UID 0 | An account other than root has UID 0 and therefore full root privileges. |
205
+ | `CRED-006` | medium | Hardcoded password in script or config | A script or configuration file assigns a literal password value (heuristic, may include false positives). |
206
+ | `KEY-001` | high | Private key embedded in firmware | A PEM or DER private key is shipped in the image; every unit running this firmware shares it. |
207
+ | `KEY-002` | high | SSH host key baked into image | SSH host keys are pre-generated in the image instead of on first boot, so all units share one identity (enables MITM). Compare the fingerprint across images/units. |
208
+ | `KEY-003` | high | API token or cloud credential | A string matches a well-known token format (AWS, GitHub, Slack, Google, Stripe, ...). |
209
+ | `KEY-004` | info | Certificate embedded | An X.509 certificate is present. Usually benign (CA bundles), listed for review of pinned or self-signed certificates. |
210
+ | `SVC-001` | high | Telnet daemon started at boot | telnetd/utelnetd is launched from an init script, inittab, inetd or systemd unit; telnet is unauthenticated or cleartext. |
211
+ | `SVC-002` | low | SSH daemon started at boot | dropbear or sshd is launched at boot. Often intentional; verify it is needed and that credentials/keys are per-unit. |
212
+ | `SVC-003` | high | Android debug bridge (adbd) started | adbd is launched at boot, typically giving a root shell over USB or TCP. |
213
+ | `SVC-004` | high | gdbserver started | gdbserver is launched at boot, allowing remote debugging and code execution. |
214
+ | `SVC-005` | critical | Network shell listener (bind shell) | A netcat/socat listener executes a shell, i.e. an unauthenticated backdoor. |
215
+ | `SVC-006` | high | Serial console shell without authentication | A getty/shell on a UART console is configured with autologin or spawns /bin/sh directly, giving a root shell to anyone with physical access. |
216
+ | `SVC-007` | low | Kernel console on serial port | Boot arguments contain console=ttyS*/ttyAMA*/..., so the UART exposes kernel logs and often a login prompt. Raised to high when init=/bin/sh or single-user mode is set. |
217
+ | `UPD-001` | medium | Download over cleartext protocol | A script downloads data with wget/curl/tftp over http://, ftp:// or tftp, allowing tampering on the network path. |
218
+ | `UPD-002` | high | TLS certificate verification disabled | curl -k/--insecure or wget --no-check-certificate disables server authentication. |
219
+ | `UPD-003` | medium | Firmware flashed without apparent signature check | A script writes to flash (mtd, flashcp, nandwrite, sysupgrade, dd to /dev/mtd*) and contains no recognisable signature verification (heuristic). |
220
+ | `COMP-001` | medium | Component older than baseline | A detected component version is older than fwsift's offline baseline of maintained releases (see README for the table and its date). |
221
+ | `COMP-002` | high | Known vulnerabilities (OSV) | api.osv.dev reports published vulnerabilities for this component version (only with --osv). |
222
+ | `ELF-001` | medium | Executable stack (no NX) | The ELF has no PT_GNU_STACK header or marks the stack executable. |
223
+ | `ELF-002` | low | Executable not position independent (no PIE) | The executable is ET_EXEC, so ASLR cannot randomise its base address. |
224
+ | `ELF-003` | low | No RELRO | No PT_GNU_RELRO segment: the GOT stays writable for the whole process lifetime. |
225
+ | `ELF-004` | low | No stack canary | No __stack_chk_fail/__stack_chk_guard import; the binary was likely built without -fstack-protector. Unknown for static binaries. |
226
+ | `ELF-005` | info | Binary not stripped | The ELF still has a .symtab section, which eases reverse engineering. |
227
+ | `ELF-006` | low | RPATH/RUNPATH set | The binary embeds a library search path. Raised to medium if it points at a writable or relative location. |
228
+ | `PERM-001` | medium | World-writable file | A regular file or non-sticky directory is writable by every user. Depends on the extractor preserving modes. |
229
+ | `PERM-002` | medium | Setuid/setgid binary | The file has the setuid (medium) or setgid (low) bit. Review whether elevated privileges are required. |
230
+ | `AI-001` | medium | Plaintext AI model file | An on-device ML model (.tflite, .onnx, .rknn, .kmodel, .engine, .pt, ...) is stored unencrypted and can be extracted and reused. |
231
+ | `AI-002` | info | AI model appears encrypted or compressed | A model file has near-maximal entropy and no known header, suggesting encryption (heuristic). |
232
+
233
+ Run `fwsift --list-rules` for the same table in the terminal.
234
+
235
+ ### What each check actually does
236
+
237
+ - **Credentials** - parses `shadow`/`passwd` (including `-`, `.bak`, `.orig`
238
+ copies). Hashes are classified (empty, locked, DES, MD5, SHA-256/512,
239
+ bcrypt, yescrypt) and DES/MD5/SHA-crypt/cheap bcrypt hashes are tried against
240
+ a built-in list of ~70 vendor/IoT default passwords (Mirai's list and
241
+ friends) plus the user name. Expensive hashes (yescrypt, high round counts)
242
+ are skipped rather than slowing the scan. Hardcoded passwords are found with a
243
+ `key = value` regex over scripts and configs, skipping obvious placeholders
244
+ and variable references.
245
+ - **Keys and secrets** - PEM private keys anywhere (including inside binaries,
246
+ reported with the byte offset), DER private keys by ASN.1 structure, SSH host
247
+ keys for OpenSSH and dropbear (with a SHA-256 fingerprint so you can compare
248
+ two units or two firmware versions), and well-known token formats (AWS,
249
+ GitHub, GitLab, Slack, Google, Stripe, OpenAI, Azure storage, JWT).
250
+ - **Services** - init scripts, `inittab`, `inetd.conf`, `rc.d`/`init.d`, vendor
251
+ `/etc` startup scripts and systemd units are read line by line. Lines that
252
+ only *mention* a daemon (`killall telnetd`, `[ -x /usr/sbin/telnetd ]`,
253
+ `echo`, ...) are ignored. Serial consoles are flagged when inittab spawns a
254
+ shell directly or getty is configured with autologin; kernel `console=ttyS*`
255
+ arguments are found in boot configs, DTBs and raw images.
256
+ - **Updates** - `wget`/`curl`/`tftp` over cleartext, `curl -k` and
257
+ `--no-check-certificate`, and scripts that write to flash (`mtd write`,
258
+ `flashcp`, `nandwrite`, `dd of=/dev/mtd*`, `sysupgrade`, ...) without any
259
+ recognisable signature verification (`openssl dgst -verify`, `usign`,
260
+ `gpgv`, `signify`, ...). Checksums are deliberately not counted as
261
+ verification.
262
+ - **Components** - version strings in ELF files (`BusyBox v1.24.1`,
263
+ `OpenSSL 1.0.2k 26 Jan 2017`, `dropbear_2019.78`, `OpenSSH_7.4p1`, glibc,
264
+ musl, `vermagic=` in kernel modules, lighttpd, dnsmasq, curl, libupnp,
265
+ U-Boot) and file names (`libuClibc-0.9.33.2.so`, `libc-2.27.so`,
266
+ `/lib/modules/<version>`). Each component gets a `pkg:generic` purl and a CPE
267
+ in the SBOM.
268
+ - **ELF hardening** - parsed with [goblin](https://crates.io/crates/goblin)
269
+ for every ELF executable and shared library (32/64-bit, both endiannesses):
270
+ NX (`PT_GNU_STACK`), PIE, RELRO (partial/full), stack canary imports,
271
+ stripped `.symtab`, RPATH/RUNPATH. A summary table is printed at the end of
272
+ the human report.
273
+ - **Filesystem** - world-writable files and non-sticky directories, setuid and
274
+ setgid files.
275
+ - **AI models** - `.tflite`, `.onnx`, `.rknn`, `.kmodel`, `.engine`, `.pt`,
276
+ `.mnn`, `.om`, `.bmodel`, `.cvimodel`, `.hef`, `.xmodel`, `.dlc`, `.gguf` and
277
+ more. A known header (TFL3, RKNN, GGUF, zip, pickle, HDF5, protobuf) means
278
+ plaintext; otherwise Shannon entropy above 7.95 bits/byte is taken as a sign
279
+ of encryption.
280
+ - **Raw image** - SquashFS (v2-4, both endiannesses, with compression and
281
+ size), UBI (erase blocks collapsed into one region), JFFS2 (runs of valid
282
+ nodes), CramFS, uImage (header CRC verified), FIT vs plain DTB, gzip, xz and
283
+ LZMA. Compression signatures inside an already identified filesystem are
284
+ suppressed. Nothing is extracted: use the offsets with unblob, binwalk or `dd`.
285
+
286
+ ## Offline component baseline
287
+
288
+ `COMP-001` compares detected versions with a small table of the oldest release
289
+ considered maintained, last reviewed **2026-12**. It is intentionally
290
+ conservative and is not a substitute for CVE data; use `--osv` for that.
291
+
292
+ | Component | Baseline | Note |
293
+ |---|---|---|
294
+ | busybox | 1.36.0 | 2023-01 |
295
+ | openssl | 3.5.0 | 3.5 LTS; 1.x and 3.0-3.4 are end-of-life |
296
+ | dropbear | 2022.83 | |
297
+ | openssh | 9.0 | 2022-04 |
298
+ | glibc | 2.35 | 2022-02 |
299
+ | uClibc | 1.0.0 | original uClibc unmaintained since 2012 |
300
+ | uClibc-ng | 1.0.45 | 2024-01 |
301
+ | musl | 1.2.0 | time64 |
302
+ | linux | 5.10 | oldest maintained LTS series |
303
+ | lighttpd | 1.4.65 | 2022-06 |
304
+ | dnsmasq | 2.90 | 2024-02 (KeyTrap) |
305
+ | curl | 8.0.0 | 2023-03 |
306
+ | libupnp (pupnp) | 1.14.0 | 2020-08 |
307
+ | U-Boot | 2022.07 | NFS/squashfs CVE fixes |
308
+
309
+ ## OSV lookups (`--osv`)
310
+
311
+ With `--osv`, component names, versions and upstream repository URLs (no file
312
+ contents, no paths) are sent to `https://api.osv.dev/v1/querybatch` using OSV's
313
+ `GIT` ecosystem (repository URL + version). Matching advisories become
314
+ `COMP-002` findings and are added to the SBOM's `vulnerabilities` array.
315
+ Coverage for C projects depends on how OSV maps upstream tags to versions, so
316
+ an empty answer does **not** mean a component is free of vulnerabilities.
317
+ Vendor backports are invisible to any version-based lookup.
318
+
319
+ ## Limitations and honesty notes
320
+
321
+ - Every check is a heuristic over static files. Expect some false positives
322
+ (e.g. a password-looking assignment that is never used) and false negatives
323
+ (obfuscated scripts, custom binary configuration formats, credentials stored
324
+ in NVRAM or a separate config partition).
325
+ - Services are reported when a boot file appears to start them; fwsift does not
326
+ emulate the init system or resolve which scripts are actually enabled.
327
+ - `UPD-003` only sees shell-level logic. Signature checks implemented inside a
328
+ vendor binary will be missed and produce a false positive.
329
+ - Version detection relies on version strings; stripped or patched builds may
330
+ be missed or misreported, and backported fixes are not detected.
331
+ - Permission checks depend on the extractor preserving mode bits (run unblob or
332
+ binwalk as a user that can restore them). Ownership is not checked because
333
+ extractors rarely preserve it.
334
+ - Encryption detection for AI models is entropy-based; compressed formats with
335
+ unknown headers can look encrypted.
336
+ - Raw image triage does not extract or decompress anything. Encrypted or
337
+ vendor-proprietary containers are not recognised.
338
+
339
+ ## Library use
340
+
341
+ The scanner is also a library crate:
342
+
343
+ ```rust
344
+ let res = fwsift::scan_rootfs(std::path::Path::new("squashfs-root"), &fwsift::Options::default())?;
345
+ for f in &res.findings {
346
+ println!("{} {} {}", f.severity, f.rule_id, f.path);
347
+ }
348
+ # Ok::<(), anyhow::Error>(())
349
+ ```
350
+
351
+ ## Development
352
+
353
+ ```sh
354
+ cargo fmt --check
355
+ cargo clippy --all-targets -- -D warnings
356
+ cargo test
357
+ ```
358
+
359
+ All test fixtures are small synthetic files generated inside the tests. Please
360
+ never commit real vendor firmware to this repository.
361
+
362
+ ## License
363
+
364
+ Licensed under either of
365
+
366
+ - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
367
+ - MIT license ([LICENSE-MIT](LICENSE-MIT))
368
+
369
+ at your option. Copyright (c) 2026 Reflex Hardware Security.
370
+
371
+ Unless you explicitly state otherwise, any contribution intentionally submitted
372
+ for inclusion in the work by you, as defined in the Apache-2.0 license, shall
373
+ be dual licensed as above, without any additional terms or conditions.
374
+
@@ -0,0 +1,7 @@
1
+ fwsift-0.1.0.data/scripts/fwsift.exe,sha256=1AtzrBJR_-4PLDcbzu03OfOaBmNwELmGeFIoxll4vEI,4706304
2
+ fwsift-0.1.0.dist-info/METADATA,sha256=x8KofLM7B4sgD-4XbGz56X52B0NjVOabI8EQsc_VA_w,20198
3
+ fwsift-0.1.0.dist-info/WHEEL,sha256=Uvw7WSmy7Kj2FBk8Va4L_dq4MDW8X5Ynby-pOX3ZNS0,94
4
+ fwsift-0.1.0.dist-info/licenses/LICENSE-APACHE,sha256=IP57AOkE7WkOO5_WBzeE0_xCgUHb0QuBwB_RQ9B5f1g,9899
5
+ fwsift-0.1.0.dist-info/licenses/LICENSE-MIT,sha256=Vj1ywj0rwPNjEDkwb9r4lMnKJBN0KPtCFwgZ1ko_yzk,1102
6
+ fwsift-0.1.0.dist-info/sboms/fwsift.cyclonedx.json,sha256=2lhiWptjsZrl1VfzTzTqIGpE-NMOi0a7D_WzuSxsaic,166880
7
+ fwsift-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.16.0)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64
@@ -0,0 +1,176 @@
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 reasonable and customary use in describing the
141
+ origin of the Work and 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 choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Reflex Hardware Security
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.