sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
# Security policy

## Supported versions

Security fixes are applied to the latest `0.1.x` release.

## Reporting

Please report vulnerabilities privately through GitHub Security Advisories
("Report a vulnerability"). Do not open a public issue for a suspected
vulnerability.

Include the affected version, platform, a minimal reproducer and the impact.
We will acknowledge the report and coordinate a fix and disclosure.

## Scope

`sinf` is a local system-information library. It reads kernel/OS interfaces
(`procfs`, `sysfs`, `sysctl`, Win32/WMI, IOKit) and returns typed values.

In scope:

- Memory safety issues in parser or FFI code.
- Panics or unbounded resource use caused by malformed OS data.
- Incorrect validation of identifiers, addresses and prefixes.
- Privilege, path or command-execution issues caused by the library.
- Supply-chain issues in dependencies or release automation.

Out of scope:

- Incorrect or missing data reported by the kernel or drivers.
- Consumers running the library with elevated privileges on untrusted data.
- Attacks that require physical access or an already compromised kernel.

## Security measures

- No network access and no remote code execution.
- Default build has no runtime dependencies besides `libc`.
- Unsafe code is limited to OS/FFI boundaries; public domain modules forbid unsafe.
- Input parsers validate lengths and ranges; truncated data must not panic.
- DMI, EDID, `/proc/<pid>/stat` and `/proc/diskstats` parsers have `cargo-fuzz` targets.
- Linux `/proc` reads use `O_NOFOLLOW`.
- Windows process termination uses `TerminateProcess`, not `taskkill.exe`.
- GitHub Actions use least-privilege `contents: read` permissions and are pinned by commit SHA.
- `cargo audit` and `cargo deny` run monthly; Dependabot tracks Cargo and Action updates.