自由工坊 讓會員先完成定位、選擇公會並領取 Repo 技能書,再以供貨、商店、開源作品、行銷與小隊共同完成成果。
資安公會的授權範圍檢查與報告工具來源。 工坊保留上游桌面/CLI、scanner adapters 與報告程式,可用於有權測試的自有環境練習。
此 fork 沒有串接平台掃描服務或授予任何掃描目標權限;上游候選包/Release 狀態以原 repo 為準。
工坊 Fork:上游產品/授權來源為 teddashh/ai-security-scanner;本次協作的 Issue/PR 送到 FreeTWAI/ai-security-scanner,不是自動送往上游。
程式/內容入口:docs/product-spec.md、src/、src-tauri/、engines/、runtime/。協作先讀 CONTRIBUTING.md,讓 Agent 讀 AGENTS.md;從本倉 Issues認領、查看既有 PR避免重工。
偵測維持上游 engine 行為與證據;探測連通性不等於安全檢查。不得因公會身分掃描他人資產,真報告、憑證與內部地址不進公開 PR,也不自動送中央資料庫。 跨 repo 的協定由中央平台維護。
Project website · 繁體中文 · Documentation · Releases
Security checks across repositories, websites, and internal systems, through a desktop app or an Agent Skill for Claude Code and Codex. Select the targets, confirm authorization for network checks, and start one scan. Established upstream scanners provide the detection; thin adapters and output converters bring their results into one standardized, prioritized report.
The current candidate is multi-OS: Linux, macOS, and Windows. Public release is HOLD; these candidate installers have not been published as a GitHub Release. The commit-bound QC run for 56d3b3f records:
| Platform | Candidate installers |
|---|---|
| Windows x86-64 | MSI and NSIS offered; unsigned, so SmartScreen may warn |
| macOS Universal | .dmg offered; not notarized |
| Linux x86-64 | Debian .deb offered; AppImage and .rpm not offered |
See the candidate disclosures for recorded testing limits. The latest published release, v0.2.0, is an earlier Linux .deb-only build. To build current main yourself, including the Grype repository fix, use the Agent Skill workflow.
Open the app and choose one path:
- Scan my environment combines multiple project folders, websites, and approved internal systems in one run.
- Check a website scans one exact web origin with a reviewed Nuclei profile.
- Check code or an AI project scans a read-only local snapshot for secrets, vulnerable dependencies, risky code, and unsafe configuration.
Follow New scan → Scan setup → Start scan → Scan progress → Results. From Results, select Save or share report to open Share results, then Save HTML report (recommended). See the step-by-step path to an HTML report, including how to reopen a scan from My scans.
Agent Skills are a first-class way to build and operate the product from a source checkout. Both agents use the same operating instructions and the product's desktop/typed CLI interfaces:
| Agent | Repository skill |
|---|---|
| Claude Code | ai-security-scanner |
| Codex | ai-security-scanner |
Open this checkout in either agent and ask:
Use the ai-security-scanner skill to build this checkout, help me select a local project folder, run its applicable security checks, and save the final HTML report.
The skill guides build → target selection and authorization → scan → final report. You choose the scope; the product selects applicable upstream checks. See setup and build commands.
The report leads with:
- assets with confirmed problems;
- the highest-priority findings and their impact;
- the smallest practical next action and a way to verify the fix;
- completed checks and untested work for each asset;
- original scanner identifiers, severity, evidence, and remediation in technical details.
Completed results remain available when an independent check fails. Reports can be reopened, compared with later runs, and exported as readable HTML or structured data.
The current runnable engine set integrates 22 upstream projects. The catalog separately retains experimental, non-dispatchable AI contracts; those are not current scan capabilities. See Development status. The product runs only the tools that apply to each selected asset, keeps their original identifiers, severity, evidence, and remediation, then organizes every completed result in the same report.
Selected assets and authorization → thin adapters → upstream scanners → output converters → one standardized report organized by asset
Detection rules remain upstream. Product-owned prioritization, deduplication, and plain-language guidance live in the shared report layer.
| Tool | What ai-security-scanner uses it for |
|---|---|
| Semgrep | Static analysis for risky code patterns using a pinned upstream security rule snapshot. |
| Gitleaks | Offline secret-pattern scanning with secret values redacted from normal evidence. |
| TruffleHog | Offline filesystem secret detection; network verification is disabled. |
| Trivy | Vulnerable packages in recognized repository manifests and single-image OCI layouts using pinned offline data. |
| Grype | Vulnerable packages in repository snapshots and single-image OCI layouts using pinned offline data. |
| Checkov | Applicable infrastructure and configuration checks across the selected read-only snapshot. |
| KICS | Infrastructure-as-code misconfiguration checks from the upstream query pack. |
| Syft | Software component inventory and preserved SBOM output; inventory is not a vulnerability result. |
The current source catalog pins the Grype image to 0.117.0-4, digest sha256:56b0d675…. It can scan local repository dependencies for known vulnerabilities; a controlled repository scan recorded 81 Grype findings. That is a fixture result, not an expected count for every project. See the exact pin and recorded result.
| Tool | What ai-security-scanner uses it for |
|---|---|
| Nuclei | Technology-aware, bounded read-only HTTP security checks from a pinned Nuclei Templates snapshot. |
| Greenbone OpenVAS Scanner | Service-aware remote checks from a pinned Community Feed for exact approved hosts and ports. |
| Naabu | Selected TCP-port reachability and exposure discovery; an open port is not a vulnerability finding. |
| httpx | Bounded HTTP reachability and status metadata; it is not a vulnerability scanner. |
| Tool | What ai-security-scanner uses it for |
|---|---|
| Prowler | Narrow, exact-asset IAM configuration profiles for AWS, Azure, and GCP. |
| ScoutSuite | A reduced AWS IAM assessment rather than full ScoutSuite coverage. |
| Cloudsplaining | Excessive-permission analysis over bounded AWS IAM evidence. |
| CloudQuery | A fixed AWS IAM inventory; returned rows remain inventory rather than security findings. |
| Steampipe | AWS IAM user inventory; inventory fields do not become findings. |
| ScubaGear | A fixed Microsoft 365 security-baseline configuration profile. |
| Maester | A fixed Microsoft 365 security-configuration test profile. |
| Tool | What ai-security-scanner uses it for |
|---|---|
| Kubescape | Offline configuration checks over explicitly selected local Kubernetes manifests. |
| kube-bench | CIS checks over an immutable node-configuration snapshot, without a privileged live-host mount. |
| Tool | What ai-security-scanner uses it for |
|---|---|
| MCP Armor | Static checks over one approved MCP configuration snapshot for hardcoded credentials and excessive tool permissions, without starting or contacting an MCP server or loading a model. |
Discovery, inventory, SBOM generation, and the localhost TCP utility remain clearly separated from vulnerability findings. The complete pinned versions, licenses, profiles, and execution boundaries are recorded in the engine catalog.
Exact scan boundaries and profile behavior are documented in Scanning scope.
Cases, findings, and evidence stay on the device until an external source is connected or a report is exported. Local folders are copied into bounded read-only snapshots. Network scanners contact only the targets and ports confirmed on Review.
Use network scanning only for assets you own or are authorized to assess. The app does not apply remediation automatically.
- Getting started
- Scanning scope
- Results and exports
- Documentation index
- Development status
- Contributing
- Security policy
Development requires Node.js 24 or newer, Rust 1.98, and the platform dependencies required by Tauri.
npm ci
npm run typecheck
npm run test:frontend
npm run test:component
npm run build
cargo test --locked --workspace --no-default-features --features cli
npm run tauri devnpm run dev opens a browser preview with sample data. Desktop scanning runs through the Tauri application.
npm run upstream:refresh -- --engine <id> produces an offline adapter refresh proposal bundle, and npm run upstream:propose -- --bundle <path> re-validates it. mechanical is the default deterministic path; the optional AI path is selected explicitly with --provider cli --ai-cli <executable>. --open-pr or --no-open-pr records whether the change should be sent back to this repository. These commands print commands for a human to run and never execute them. The full procedure is in Engine maintenance.
Project-owned source is licensed under Apache-2.0. Third-party engines and data retain their own licenses; see THIRD_PARTY.md.