project-shield 1.1.5 → 1.1.6
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.
- package/LICENSE +21 -0
- package/README.md +21 -1
- package/package.json +12 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ShovelMaker91
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -7,6 +7,16 @@ Detects leaked API keys, PII, insecure MCP configs, and prompt injection — in
|
|
|
7
7
|
[](https://www.npmjs.com/package/project-shield)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
10
|
+
### Key Features
|
|
11
|
+
|
|
12
|
+
- **7 detection engines** in one CLI — secrets, PII, MCP config, prompt injection, scoring, fix-it, evidence
|
|
13
|
+
- **Multi-layer detection** — 3-layer secrets (regex + entropy + context), 2-layer PII (regex + checksum), 2-layer injection (keyword + structural)
|
|
14
|
+
- **Security grade scoring** (A-F) with automatic badge lock on critical findings
|
|
15
|
+
- **Fix-it guides** — actionable remediation with code examples, not just warnings
|
|
16
|
+
- **Evidence Pack** — compliance-ready PDF + JSON reports with integrity seals (SHA-256 + UUID)
|
|
17
|
+
- **MCP-native** — purpose-built for AI agent configs (Claude, Cursor, Windsurf)
|
|
18
|
+
- **Lightweight** — 4 dependencies, runs offline, CI/CD ready
|
|
19
|
+
|
|
10
20
|
```bash
|
|
11
21
|
npx project-shield scan ./my-project
|
|
12
22
|
```
|
|
@@ -14,7 +24,7 @@ npx project-shield scan ./my-project
|
|
|
14
24
|
```
|
|
15
25
|
Tier: Free (0/5 scans)
|
|
16
26
|
|
|
17
|
-
Project Shield v1.
|
|
27
|
+
Project Shield v1.1.6
|
|
18
28
|
Ruleset: v1.0.0 (SHA-256: f408a4fd...)
|
|
19
29
|
Scanning: 47 files (3 excluded)
|
|
20
30
|
|
|
@@ -362,6 +372,16 @@ MIT
|
|
|
362
372
|
|
|
363
373
|
API 키 유출, 개인정보, MCP 설정 보안 취약점, 프롬프트 인젝션을 한 번에 탐지합니다.
|
|
364
374
|
|
|
375
|
+
### 주요 특징
|
|
376
|
+
|
|
377
|
+
- **7개 탐지 엔진** 올인원 — 시크릿, PII, MCP 설정, 프롬프트 인젝션, 스코어링, Fix-it, Evidence
|
|
378
|
+
- **다중 레이어 탐지** — 시크릿 3중 (정규식 + 엔트로피 + 컨텍스트), PII 2중 (정규식 + 체크섬), 인젝션 2중 (키워드 + 구조)
|
|
379
|
+
- **보안 등급 스코어** (A-F) — Critical 발견 시 자동 뱃지 잠금
|
|
380
|
+
- **Fix-it 가이드** — 경고만 하지 않고, 코드 예제와 함께 수정 방법 제시
|
|
381
|
+
- **Evidence Pack** — 컴플라이언스용 PDF + JSON 리포트, 무결성 봉인 (SHA-256 + UUID)
|
|
382
|
+
- **MCP 네이티브** — AI 에이전트 설정 전용 (Claude, Cursor, Windsurf)
|
|
383
|
+
- **경량** — 의존성 4개, 오프라인 실행 가능, CI/CD 즉시 연동
|
|
384
|
+
|
|
365
385
|
```bash
|
|
366
386
|
npx project-shield scan ./my-project
|
|
367
387
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-shield",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Security scanner for AI coders and MCP users — detects API keys, secrets, and PII",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"dist/",
|
|
20
|
-
"rules/"
|
|
20
|
+
"rules/",
|
|
21
|
+
"LICENSE"
|
|
21
22
|
],
|
|
22
23
|
"keywords": [
|
|
23
24
|
"security",
|
|
@@ -31,8 +32,16 @@
|
|
|
31
32
|
"claude",
|
|
32
33
|
"llm"
|
|
33
34
|
],
|
|
34
|
-
"author": "",
|
|
35
|
+
"author": "ShovelMaker91",
|
|
35
36
|
"license": "MIT",
|
|
37
|
+
"homepage": "https://github.com/Whitening-Sinabro/project-shield#readme",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/Whitening-Sinabro/project-shield.git"
|
|
41
|
+
},
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/Whitening-Sinabro/project-shield/issues"
|
|
44
|
+
},
|
|
36
45
|
"type": "commonjs",
|
|
37
46
|
"dependencies": {
|
|
38
47
|
"chalk": "^5.6.2",
|