Skip to content

Commit dce683c

Browse files
committed
fix(scan): 跳过构建产物(release/.app) + 修长路径压坏表格 v0.7.7
- 跳过 release/releases/*.app/*.framework/*.bundle 打包目录(避免重复扫+超长路径) - 报告表格长路径改 word-break+固定列宽,不再竖排单字 - 实测 agency-orchestrator: 11真实出境点+1真实手机号泄露,无构建噪声
1 parent 593cdb8 commit dce683c

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/),
66
and this project adheres to [Semantic Versioning](https://semver.org/).
77

8+
## [0.7.7] - 2026-06-20
9+
10+
### Fixed — 真实项目扫描的两个问题(用户实测发现)
11+
- **跳过构建产物**:新增跳过 `release/`/`releases/``*.app`/`*.framework`/`*.bundle` 等打包目录——此前会扫进 Electron 打包的 `*.app` 里重复的 package.json,造成重复发现 + 超长路径
12+
- **修复长路径压坏报告表格**:超长文件路径曾把"说明/严重度"列挤成竖排单字;改为路径可换行 (`word-break`) + 固定列宽
13+
- 实测 agency-orchestrator:去噪后 11 个数据出境点均落在真实源码 + 1 个真实手机号泄露(输出文件),无构建产物噪声
14+
815
## [0.7.6] - 2026-06-20
916

1017
### Added — 让"检查过程"可见(回应"秒出=没检查吗")

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shellward",
3-
"version": "0.7.6",
3+
"version": "0.7.7",
44
"mcpName": "io.github.jnMetaCode/shellward",
55
"description": "AI agent security & MCP security middleware — prompt injection detection, AI firewall, runtime guardrails & data-loss prevention for LLM tool calls. 8-layer defense against data exfiltration & dangerous commands. Zero dependencies. SDK + OpenClaw plugin. Supports LangChain, AutoGPT, Claude Code, Cursor, OpenAI Agents, Hermes Agent.",
66
"keywords": [

src/compliance/html-report.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,12 @@ section,.reg{padding:0 36px}
321321
.tbl .muted{color:var(--muted)}
322322
.tbl .faint{color:var(--faint);font-size:13px}
323323
.loc code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;
324-
background:#f1f5f9;color:#0f172a;padding:2px 7px;border-radius:5px;white-space:nowrap}
324+
background:#f1f5f9;color:#0f172a;padding:2px 7px;border-radius:5px;
325+
white-space:normal;word-break:break-all;overflow-wrap:anywhere}
325326
.alts th:first-child,.alts td:first-child{width:120px}
327+
/* 发现表三列布局:位置≤40% 可换行、说明占主、严重度窄列不挤 */
328+
table.tbl td.loc{width:34%;max-width:300px}
329+
table.tbl td.right{width:64px}
326330
327331
/* severity 标签 */
328332
.sev{display:inline-block;font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:999px}

src/compliance/project-scan.ts

296 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)