@ghyper9023/u2secure 0.5.0 → 0.7.0

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.
Files changed (2) hide show
  1. package/README.md +11 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,10 +1,19 @@
1
1
  # u2secure
2
2
 
3
- Linux 服务器安全加固工具(CLI + TUI 双模式),基于 Rust 构建。运行一次即可完成从系统更新、用户创建、SSH 深度加固、防火墙、入侵防御、审计到自动更新的完整安全基线建设。
3
+ Linux 服务器安全加固工具,提供交互式 CLI/TUI 和独立只读审计报告。
4
4
 
5
- > Linux server security hardening tool (CLI + TUI) built with Rust. One run builds a complete security baseline: system updates, user creation, deep SSH hardening, firewall, intrusion prevention, auditing and automatic updates.
5
+ > Linux server security hardening with interactive CLI/TUI and standalone read-only audit reports.
6
6
  >
7
7
  > 支持平台 / Supported platform: Linux x86_64 & ARM64 (Linux only)
8
8
  >
9
9
  > 详细文档与使用指南请访问 / For full documentation and usage guide, visit:
10
10
  > [GitHub 主页](https://github.com/cherish-ltt/U2Secure)
11
+
12
+ ```bash
13
+ sudo u2secure audit
14
+ sudo u2secure audit --format json
15
+ ```
16
+
17
+ 审计要求 root,无需 TTY,不创建日志或报告文件。stdout 输出报告,stderr 输出诊断;退出 0 表示报告成功,不表示系统全部安全。保存文件由调用方重定向,并自行检查权限。
18
+
19
+ Audit requires root but no TTY and creates no log or report files. Reports go to stdout and diagnostics to stderr. Exit 0 means the report succeeded, not that every check is safe. Redirect output to save it and check file permissions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghyper9023/u2secure",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Make your Linux system more secure through interactive CLI | 通过交互式的 CLI 让你的 Linux 系统更安全",
5
5
  "bin": {
6
6
  "u2secure": "bin/u2secure-wrapper.js"