fwsift 0.1.0__tar.gz
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.
- fwsift-0.1.0/.gitignore +1 -0
- fwsift-0.1.0/CHANGELOG.md +47 -0
- fwsift-0.1.0/Cargo.lock +1505 -0
- fwsift-0.1.0/Cargo.toml +41 -0
- fwsift-0.1.0/LICENSE-APACHE +176 -0
- fwsift-0.1.0/LICENSE-MIT +21 -0
- fwsift-0.1.0/PKG-INFO +374 -0
- fwsift-0.1.0/README.md +349 -0
- fwsift-0.1.0/pyproject.toml +37 -0
- fwsift-0.1.0/src/checks/ai_models.rs +154 -0
- fwsift-0.1.0/src/checks/components.rs +470 -0
- fwsift-0.1.0/src/checks/credentials.rs +563 -0
- fwsift-0.1.0/src/checks/elf.rs +536 -0
- fwsift-0.1.0/src/checks/mod.rs +36 -0
- fwsift-0.1.0/src/checks/perms.rs +79 -0
- fwsift-0.1.0/src/checks/secrets.rs +341 -0
- fwsift-0.1.0/src/checks/services.rs +417 -0
- fwsift-0.1.0/src/checks/update.rs +182 -0
- fwsift-0.1.0/src/finding.rs +172 -0
- fwsift-0.1.0/src/image.rs +496 -0
- fwsift-0.1.0/src/lib.rs +18 -0
- fwsift-0.1.0/src/main.rs +221 -0
- fwsift-0.1.0/src/osv.rs +147 -0
- fwsift-0.1.0/src/output.rs +526 -0
- fwsift-0.1.0/src/rules.rs +133 -0
- fwsift-0.1.0/src/scanner.rs +249 -0
- fwsift-0.1.0/src/util.rs +170 -0
- fwsift-0.1.0/tests/cli.rs +256 -0
fwsift-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/target
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file. The format
|
|
4
|
+
follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the
|
|
5
|
+
project uses [Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Prebuilt binaries on PyPI: `pip install fwsift` (or `pipx install fwsift`)
|
|
12
|
+
installs the `fwsift` command without a Rust toolchain. Wheels are built with maturin
|
|
13
|
+
for Linux x86_64/aarch64 (manylinux and musllinux), macOS arm64/x86_64 and Windows
|
|
14
|
+
x86_64 by the new `release` workflow, which publishes them to PyPI with Trusted
|
|
15
|
+
Publishing when a `v*` tag is pushed.
|
|
16
|
+
|
|
17
|
+
## [0.1.0] - 2026-12-03
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Scanner for extracted firmware root filesystems (never follows symlinks,
|
|
22
|
+
parallel file processing, configurable size limit).
|
|
23
|
+
- Credential checks: empty passwords, hashes in `/etc/passwd`, DES/MD5 crypt,
|
|
24
|
+
built-in default-password cracking, UID 0 aliases, hardcoded passwords in
|
|
25
|
+
scripts and configs (`CRED-001`..`CRED-006`).
|
|
26
|
+
- Secret checks: PEM/DER private keys, pre-generated SSH host keys with
|
|
27
|
+
fingerprints, certificates, API token patterns (`KEY-001`..`KEY-004`).
|
|
28
|
+
- Service checks: telnetd, dropbear/sshd, adbd, gdbserver, bind shells,
|
|
29
|
+
unauthenticated serial console shells, `console=` boot arguments
|
|
30
|
+
(`SVC-001`..`SVC-007`).
|
|
31
|
+
- Insecure update checks: cleartext downloads, disabled TLS verification,
|
|
32
|
+
flashing without signature verification (`UPD-001`..`UPD-003`).
|
|
33
|
+
- Component detection for busybox, OpenSSL, dropbear, OpenSSH, glibc, uClibc,
|
|
34
|
+
uClibc-ng, musl, Linux, lighttpd, dnsmasq, curl, libupnp and U-Boot with an
|
|
35
|
+
offline baseline (`COMP-001`) and opt-in OSV lookups (`COMP-002`, `--osv`).
|
|
36
|
+
- ELF hardening checks via goblin: NX, PIE, RELRO, stack canary, stripped,
|
|
37
|
+
RPATH/RUNPATH (`ELF-001`..`ELF-006`).
|
|
38
|
+
- World-writable and setuid/setgid files (`PERM-001`, `PERM-002`).
|
|
39
|
+
- On-device AI model detection with entropy-based encryption heuristic
|
|
40
|
+
(`AI-001`, `AI-002`).
|
|
41
|
+
- Raw image triage: SquashFS, UBI, JFFS2, CramFS, uImage, FIT/DTB, gzip, xz,
|
|
42
|
+
LZMA signatures with offsets.
|
|
43
|
+
- Output formats: human report, JSON, SARIF 2.1.0, CycloneDX 1.5 SBOM;
|
|
44
|
+
`--fail-on` exit codes.
|
|
45
|
+
|
|
46
|
+
[Unreleased]: https://github.com/reflex-hs/fwsift/compare/v0.1.0...HEAD
|
|
47
|
+
[0.1.0]: https://github.com/reflex-hs/fwsift/releases/tag/v0.1.0
|