> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# SwordCheck: Read-Only Security Tool for Mac with Privacy Focus
- URL: https://www.stirup.si/swordcheck-read-only-security-tool-for-mac-with-privacy-focus-f1c0129d/
- Published: 2026-11-20T23:06:42.000Z
- Updated: 2026-11-20T23:06:42.000Z
- Description: SwordCheck is a read-only security tool for Mac that performs offline and online scans, prioritizing user privacy by not altering device settings or revealing sensitive information.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Read-Only Security Check Features

SwordCheck is designed as a read-only security check-up tool for Mac users, ensuring it never alters any settings on the device . It provides findings that display at most the provider's public prefix, such as , and truncates long keys to show only the last 2–4 characters. For sensitive information like passwords or short keys, the tool reveals only the length. By default, SwordCheck operates offline, printing only an inventory of detected items unless the `--online` flag is used . This approach prioritizes user privacy and minimizes risk during security assessments.

## Scanning and Inventory Mechanisms

SwordCheck performs its scanning and inventory mechanisms by analyzing project dependencies using sources such as OSV.dev and the National Vulnerability Database (NVD). It identifies vulnerabilities by matching exact names and versions from lockfiles, including Cargo.lock, package-lock.json, and others, found under the user's home directory. For macOS-specific checks, it examines installed applications and Homebrew formulae, reporting only known-exploited CVEs as identified by CISA KEV. The tool also considers the Exploit Prediction Scoring System (EPSS) to assess the likelihood of exploitation. Users can customize the scan scope with options like --vulns-path PATH, which limits scanning to lockfiles under a specified directory and skips macOS, apps, and Homebrew checks. Relative .txt paths are followed, but incomplete reads may result in an incomplete scan.

## Limitations and Scope of Checks

SwordCheck’s limitations and scope of checks are clearly defined. The tool matches applications and Homebrew formulae using built-in tables (bundle IDs and formula names), meaning any item not listed is not checked. It reports only known-exploited CVEs, not every CVE, and relies on vendor-published version data from NVD, which may lead to missed or over-reported vulnerabilities. Unpinned requirements (e.g., `flask>=2.0`) and dependencies from git, path, or workspace sources are ignored and not transmitted. However, private registries that mimic public ones cannot be distinguished from lockfiles, so their package names are still looked up. Additionally, lockfiles like `package-lock.json` are not scanned independently, only installed packages on disk are checked. Symlinks (e.g., `npm link`) are not followed, and JavaScript inside packages is not analyzed. When the `--online OSV` lookup fails, SwordCheck defaults to checking against its built-in list only, though any malicious package records identified before the failure are still reported.

## Online and Offline Scanning Options

SwordCheck provides both online and offline scanning options for security checks on Mac systems. For online scanning, it sends the names and versions of installed packages to OSV.dev to look up malicious package records, as noted in the tool's documentation. Offline scanning is also supported, allowing users to generate a comprehensive report without internet access. For example, the command `cargo run -- --report report.html # audit + every scan, offline` performs a full audit and scan locally. To include online checks, the `--online` flag can be added, which queries OSV.dev, NVD, CISA, and FIRST for vulnerability data. Users can also specify directories for scanning with flags like `--npm-path` and `--vulns-path`, enabling targeted checks. These options provide flexibility depending on the user's network availability and scanning needs.

## Audit and History Management

SwordCheck provides users with detailed audit and history management features to track security configurations over time. The `--history` flag allows users to list past audits, while `--no-history` ensures that no audit data is saved or compared for privacy or simplicity. Partial audit runs using `--only` or `--skip` are not stored, ensuring that only complete audit sessions are retained. The `SWORDCHECK_HOME` environment variable offers flexibility by allowing users to change the default storage directory for audit data. Additionally, SwordCheck acknowledges that certain system settings, such as FileVault, SIP, and Gatekeeper, can only be modified through System Settings or Recovery mode, and it explicitly names these locations in its advice. This approach ensures users are directed to the correct tools for making changes, rather than assuming SwordCheck can alter these settings directly.

## Sources and reporting notes

- [Hacker News Show](https://github.com/SwordSec/SwordCheck?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.