@torus-engineering/tas-kit 1.5.0 → 1.6.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.
- package/.claude/agents/README.md +83 -0
- package/.claude/agents/architect.md +53 -0
- package/.claude/agents/aws-reviewer.md +71 -0
- package/.claude/agents/build-resolver.md +59 -0
- package/.claude/agents/code-architect.md +62 -0
- package/.claude/agents/code-explorer.md +63 -0
- package/.claude/agents/code-simplifier.md +53 -0
- package/.claude/agents/comment-analyzer.md +59 -0
- package/.claude/agents/conversation-analyzer.md +57 -0
- package/.claude/agents/csharp-reviewer.md +62 -0
- package/.claude/agents/database-reviewer.md +73 -0
- package/.claude/agents/doc-updater.md +66 -0
- package/.claude/agents/docs-lookup.md +55 -0
- package/.claude/agents/e2e-runner.md +61 -0
- package/.claude/agents/harness-optimizer.md +62 -0
- package/.claude/agents/loop-operator.md +56 -0
- package/.claude/agents/performance-optimizer.md +78 -0
- package/.claude/agents/planner.md +82 -0
- package/.claude/agents/pr-test-analyzer.md +68 -0
- package/.claude/agents/python-reviewer.md +67 -0
- package/.claude/agents/pytorch-build-resolver.md +76 -0
- package/.claude/agents/refactor-cleaner.md +70 -0
- package/.claude/agents/security-reviewer.md +79 -0
- package/.claude/agents/seo-specialist.md +75 -0
- package/.claude/agents/silent-failure-hunter.md +69 -0
- package/.claude/agents/tdd-guide.md +84 -0
- package/.claude/agents/type-design-analyzer.md +75 -0
- package/.claude/agents/typescript-reviewer.md +65 -0
- package/.claude/commands/ado-create.md +2 -1
- package/.claude/commands/ado-delete.md +3 -2
- package/.claude/commands/ado-get.md +2 -1
- package/.claude/commands/ado-status.md +2 -1
- package/.claude/commands/ado-update.md +2 -1
- package/.claude/commands/tas-adr.md +13 -12
- package/.claude/commands/tas-bug.md +97 -50
- package/.claude/commands/tas-design.md +3 -1
- package/.claude/commands/tas-dev.md +115 -0
- package/.claude/commands/tas-epic.md +4 -2
- package/.claude/commands/tas-feature.md +5 -3
- package/.claude/commands/tas-fix.md +47 -0
- package/.claude/commands/tas-plan.md +184 -0
- package/.claude/commands/tas-prd.md +3 -1
- package/.claude/commands/tas-review.md +104 -0
- package/.claude/commands/tas-sad.md +3 -1
- package/.claude/commands/tas-security.md +80 -0
- package/.claude/commands/tas-spec.md +50 -0
- package/.claude/commands/tas-story.md +77 -40
- package/.claude/commands/tas-verify.md +8 -0
- package/.claude/hooks/code-quality.js +127 -0
- package/.claude/hooks/session-end.js +116 -0
- package/.claude/rules/.gitkeep +0 -0
- package/.claude/rules/common/agents.md +65 -0
- package/.claude/rules/common/code-review.md +124 -0
- package/.claude/rules/common/coding-style.md +90 -0
- package/.claude/rules/common/development-workflow.md +44 -0
- package/.claude/rules/common/git-workflow.md +24 -0
- package/.claude/rules/common/hooks.md +30 -0
- package/.claude/rules/common/patterns.md +31 -0
- package/.claude/rules/common/performance.md +55 -0
- package/.claude/rules/common/post-review-agent.md +39 -0
- package/.claude/rules/common/project-status.md +80 -0
- package/.claude/rules/common/security.md +29 -0
- package/.claude/rules/common/stack-detection.md +29 -0
- package/.claude/rules/common/testing.md +57 -0
- package/.claude/rules/csharp/coding-style.md +72 -0
- package/.claude/rules/csharp/hooks.md +25 -0
- package/.claude/rules/csharp/patterns.md +50 -0
- package/.claude/rules/csharp/security.md +58 -0
- package/.claude/rules/csharp/testing.md +46 -0
- package/.claude/rules/python/coding-style.md +42 -0
- package/.claude/rules/python/hooks.md +19 -0
- package/.claude/rules/python/patterns.md +39 -0
- package/.claude/rules/python/security.md +30 -0
- package/.claude/rules/python/testing.md +38 -0
- package/.claude/rules/typescript/coding-style.md +199 -0
- package/.claude/rules/typescript/hooks.md +22 -0
- package/.claude/rules/typescript/patterns.md +52 -0
- package/.claude/rules/typescript/security.md +28 -0
- package/.claude/rules/typescript/testing.md +18 -0
- package/.claude/rules/web/coding-style.md +96 -0
- package/.claude/rules/web/design-quality.md +63 -0
- package/.claude/rules/web/hooks.md +120 -0
- package/.claude/rules/web/patterns.md +79 -0
- package/.claude/rules/web/performance.md +64 -0
- package/.claude/rules/web/security.md +57 -0
- package/.claude/rules/web/testing.md +55 -0
- package/.claude/settings.json +37 -0
- package/.claude/settings.local.json +38 -0
- package/.claude/skills/ado-integration/SKILL.md +44 -1
- package/.claude/skills/agent-harness-construction/SKILL.md +77 -0
- package/.claude/skills/agent-introspection-debugging/SKILL.md +157 -0
- package/.claude/skills/ai-regression-testing/SKILL.md +364 -0
- package/.claude/skills/api-design/SKILL.md +528 -0
- package/.claude/skills/architecture-decision-records/SKILL.md +184 -0
- package/.claude/skills/backend-patterns/SKILL.md +602 -0
- package/.claude/skills/benchmark/SKILL.md +98 -0
- package/.claude/skills/browser-qa/SKILL.md +92 -0
- package/.claude/skills/canary-watch/SKILL.md +104 -0
- package/.claude/skills/tas-conventions/SKILL.md +51 -3
- package/.claude/skills/tas-implementation-complete/SKILL.md +97 -0
- package/.claude/skills/tas-tdd/SKILL.md +72 -16
- package/.tas/README.md +29 -24
- package/.tas/tas-example.yaml +2 -1
- package/.tas/templates/Story.md +18 -18
- package/CLAUDE-Example.md +1 -1
- package/README.md +23 -8
- package/bin/cli.js +4 -4
- package/package.json +1 -1
- package/.claude/commands/tas-dev-story.md +0 -61
- package/.claude/commands/tas-review-code.md +0 -42
- package/.claude/commands/tas-security-check.md +0 -30
package/.tas/templates/Story.md
CHANGED
|
@@ -7,6 +7,8 @@ ado_assigned_to:
|
|
|
7
7
|
ado_created:
|
|
8
8
|
last_ado_sync:
|
|
9
9
|
parent_ado_id:
|
|
10
|
+
plan_status: pending
|
|
11
|
+
plan_date:
|
|
10
12
|
---
|
|
11
13
|
# Story-{NNN}: {Title}
|
|
12
14
|
|
|
@@ -20,25 +22,20 @@ parent_ado_id:
|
|
|
20
22
|
As a {role}, I want {goal}, so that {benefit}.
|
|
21
23
|
|
|
22
24
|
---
|
|
23
|
-
##
|
|
24
|
-
*(
|
|
25
|
+
## Business Requirements (nếu có)
|
|
26
|
+
*(Yêu cầu nghiệp vụ đặc biệt, business rules, constraints từ stakeholders — chỉ thêm khi cần)*
|
|
25
27
|
|
|
26
28
|
---
|
|
27
|
-
##
|
|
28
|
-
*(
|
|
29
|
-
|
|
30
|
-
- **Relevant Components:** {components liên quan}
|
|
31
|
-
- **Patterns to follow:** {patterns từ SAD/ADR}
|
|
32
|
-
- **Constraints:** {nếu có}
|
|
29
|
+
## Design Notes (nếu có)
|
|
30
|
+
*(UI/UX specs, mockup links, design decisions, flow diagrams — chỉ thêm khi cần)*
|
|
33
31
|
|
|
34
32
|
---
|
|
35
|
-
## Prerequisites
|
|
36
|
-
*(
|
|
33
|
+
## Prerequisites (nếu có)
|
|
34
|
+
*(Dependencies từ Stories khác hoặc điều kiện phải có trước — chỉ thêm khi cần)*
|
|
37
35
|
|
|
38
36
|
---
|
|
39
|
-
## Implementation Context
|
|
40
|
-
|
|
41
37
|
## Acceptance Criteria
|
|
38
|
+
|
|
42
39
|
### AC-1: {title}
|
|
43
40
|
- **Given** {precondition}
|
|
44
41
|
- **When** {action}
|
|
@@ -49,13 +46,9 @@ As a {role}, I want {goal}, so that {benefit}.
|
|
|
49
46
|
- **When** {action}
|
|
50
47
|
- **Then** {expected result}
|
|
51
48
|
|
|
52
|
-
|
|
53
|
-
- **Files to modify:** {list}
|
|
54
|
-
- **Patterns:** {reference to SAD/ADR}
|
|
55
|
-
- **Database changes:** {if any}
|
|
56
|
-
|
|
49
|
+
---
|
|
57
50
|
## Unit Test Cases
|
|
58
|
-
|
|
51
|
+
*(PE thiết kế happy path + edge cases + negative cases. SE implement trong code.)*
|
|
59
52
|
|
|
60
53
|
### Happy Path
|
|
61
54
|
| ID | Description | Input | Expected Output |
|
|
@@ -75,7 +68,14 @@ SE implement trong code. PE thiết kế happy path + edge cases + negative case
|
|
|
75
68
|
### Dependencies to Mock
|
|
76
69
|
- {external API, database state, third-party service...}
|
|
77
70
|
|
|
71
|
+
---
|
|
72
|
+
<!-- ═══════════════════════════════════════════════════════════════════
|
|
73
|
+
TECHNICAL PLAN — generated by /tas-plan, do not edit manually
|
|
74
|
+
═══════════════════════════════════════════════════════════════════ -->
|
|
75
|
+
|
|
76
|
+
---
|
|
78
77
|
## Definition of Done
|
|
78
|
+
- [ ] Technical plan completed (`/tas-plan`)
|
|
79
79
|
- [ ] Code implemented
|
|
80
80
|
- [ ] Unit tests pass
|
|
81
81
|
- [ ] Code review passed
|
package/CLAUDE-Example.md
CHANGED
|
@@ -41,7 +41,7 @@ This project uses Torus-Agentic-SDLC (TAS) kit.
|
|
|
41
41
|
## Commands
|
|
42
42
|
Type /tas-status to see current project state.
|
|
43
43
|
Type /tas-[artifact] to create or update artifacts (prd, sad, adr, epic, feature, story, design).
|
|
44
|
-
Type /tas-dev
|
|
44
|
+
Type /tas-dev to implement a story.
|
|
45
45
|
Type /tas-verify to verify a Feature on Staging (Phase 2).
|
|
46
46
|
Type /tas-review-code, /tas-brainstorm, /tas-bug, /tas-security-check for dev workflows.
|
|
47
47
|
|
package/README.md
CHANGED
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npx tas-kit install
|
|
8
|
+
npx @torus-engineering/tas-kit install
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npx tas-kit install --directory /path/to/my-project
|
|
15
|
-
npx tas-kit install --yes # skip confirmation prompts
|
|
14
|
+
npx @torus-engineering/tas-kit install --directory /path/to/my-project
|
|
15
|
+
npx @torus-engineering/tas-kit install --yes # skip confirmation prompts
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## What gets installed
|
|
19
19
|
|
|
20
20
|
```
|
|
21
21
|
.claude/
|
|
22
|
-
commands/
|
|
22
|
+
commands/ 22 slash commands (/tas-*, /ado-*)
|
|
23
23
|
skills/ 3 auto-invoked skills
|
|
24
|
-
agents/
|
|
24
|
+
agents/ 29 specialized subagents
|
|
25
25
|
.tas/
|
|
26
26
|
templates/ Markdown templates (PRD, SAD, ADR, Epic, Feature, Story...)
|
|
27
27
|
checklists/ Code review, story done, security checklists
|
|
@@ -49,11 +49,14 @@ tas.yaml Flow configuration template (edit this for your project)
|
|
|
49
49
|
| `/tas-epic` | Create/update Epic |
|
|
50
50
|
| `/tas-feature` | Create/update Feature |
|
|
51
51
|
| `/tas-story` | Create/update Story |
|
|
52
|
-
| `/tas-
|
|
53
|
-
| `/tas-
|
|
52
|
+
| `/tas-spec` | Lightweight spec (solo / prototype) |
|
|
53
|
+
| `/tas-plan` | Plan technical implementation |
|
|
54
|
+
| `/tas-dev` | Implement a story (agentic) |
|
|
55
|
+
| `/tas-fix` | Quick fix without full story flow |
|
|
56
|
+
| `/tas-review` | Code review with checklist |
|
|
54
57
|
| `/tas-brainstorm` | Brainstorm solutions |
|
|
55
58
|
| `/tas-bug` | Create bug report |
|
|
56
|
-
| `/tas-security
|
|
59
|
+
| `/tas-security` | Security review |
|
|
57
60
|
| `/tas-verify` | Verify feature on staging |
|
|
58
61
|
| `/ado-*` | Azure DevOps integration |
|
|
59
62
|
|
|
@@ -62,6 +65,18 @@ tas.yaml Flow configuration template (edit this for your project)
|
|
|
62
65
|
- Node.js 18+
|
|
63
66
|
- [Claude Code](https://claude.ai/code)
|
|
64
67
|
|
|
68
|
+
## Publishing to npm
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Bump version (patch / minor / major)
|
|
72
|
+
npm version patch
|
|
73
|
+
|
|
74
|
+
# Publish to npm registry
|
|
75
|
+
npm publish --access=public --auth-type=web
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
`--auth-type=web` mở trình duyệt để xác thực nếu chưa login. Chạy `npm whoami` để kiểm tra đang đăng nhập với account nào trước khi publish.
|
|
79
|
+
|
|
65
80
|
## Documentation
|
|
66
81
|
|
|
67
82
|
See `.tas/README.md` after install for full kit documentation.
|
package/bin/cli.js
CHANGED
|
@@ -9,7 +9,7 @@ function printHelp() {
|
|
|
9
9
|
tas-kit — Torus Agentic SDLC Kit installer
|
|
10
10
|
|
|
11
11
|
Usage:
|
|
12
|
-
npx tas-kit install [options]
|
|
12
|
+
npx @torus-engineering/tas-kit install [options]
|
|
13
13
|
|
|
14
14
|
Options:
|
|
15
15
|
--directory <path> Target directory (default: current working directory)
|
|
@@ -17,9 +17,9 @@ Options:
|
|
|
17
17
|
--help, -h Show this help message
|
|
18
18
|
|
|
19
19
|
Examples:
|
|
20
|
-
npx tas-kit install
|
|
21
|
-
npx tas-kit install --directory /path/to/my-project
|
|
22
|
-
npx tas-kit install --yes
|
|
20
|
+
npx @torus-engineering/tas-kit install
|
|
21
|
+
npx @torus-engineering/tas-kit install --directory /path/to/my-project
|
|
22
|
+
npx @torus-engineering/tas-kit install --yes
|
|
23
23
|
`.trim());
|
|
24
24
|
}
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# /tas-dev-story $ARGUMENTS
|
|
2
|
-
|
|
3
|
-
Vai trò: SE - Software Engineer
|
|
4
|
-
Implement một User Story.
|
|
5
|
-
|
|
6
|
-
## QUAN TRỌNG - Quy tắc đọc file
|
|
7
|
-
- CHỈ đọc DUY NHẤT Story file. Không đọc thêm bất kỳ file nào khác.
|
|
8
|
-
- KHÔNG đọc PRD, SAD, ADR, Design-Spec.
|
|
9
|
-
- KHÔNG list thư mục, KHÔNG quét project structure.
|
|
10
|
-
- KHÔNG đọc .tas/checklists/story-done.md ở bước đầu (chỉ đọc ở bước cuối).
|
|
11
|
-
- Nếu cần tra cứu thêm, PHẢI hỏi user xác nhận trước khi đọc bất kỳ file nào.
|
|
12
|
-
|
|
13
|
-
## Hành động
|
|
14
|
-
1. $ARGUMENTS là Story ID hoặc file path. Nếu không có, quét docs/epics/**/Story-*.md tìm stories có status Committed.
|
|
15
|
-
2. Đọc Story file.
|
|
16
|
-
3. **Phân tích kiến trúc:**
|
|
17
|
-
- Kiểm tra vấn đề kỹ thuật đã được mô tả trong SAD/ADR chưa (qua section Context from SAD/ADR trong Story)
|
|
18
|
-
- Nếu có và không thay đổi kiến trúc → Chuyển sang implement, mô tả giải pháp thi công (API, DB, FE component, config...)
|
|
19
|
-
- Nếu chưa có hoặc là thay đổi kiến trúc lớn → **TẠO ADR mới**:
|
|
20
|
-
- Command: `/tas-adr "{Tiêu đề quyết định kiến trúc}"`
|
|
21
|
-
- Template: `.tas/templates/ADR.md`
|
|
22
|
-
- Điền đầy đủ: Context, Decision, Rationale, Alternatives, Consequences
|
|
23
|
-
- Trong section Consequences, thêm subsection **SAD Updates** liệt kê các thay đổi cần cập nhật vào SAD
|
|
24
|
-
4. Bắt đầu implement dựa trên nội dung Story và ADR (nếu đã tạo).
|
|
25
|
-
|
|
26
|
-
## Workflow
|
|
27
|
-
### Nếu use_tdd = true trong root/tas.yaml:
|
|
28
|
-
a. Viết test cases TRƯỚC (Red phase)
|
|
29
|
-
- Unit tests theo acceptance criteria trong Story
|
|
30
|
-
- Chạy tests, xác nhận FAIL
|
|
31
|
-
b. Implement code (Green phase)
|
|
32
|
-
- Viết code tối thiểu để pass tests
|
|
33
|
-
c. Refactor
|
|
34
|
-
- Clean up code
|
|
35
|
-
- Đảm bảo tests vẫn pass
|
|
36
|
-
|
|
37
|
-
### Nếu use_tdd = false:
|
|
38
|
-
a. Implement code theo acceptance criteria trong Story
|
|
39
|
-
b. Viết unit tests cover các cases
|
|
40
|
-
c. Chạy tests, fix nếu fail
|
|
41
|
-
|
|
42
|
-
## Sau khi code xong
|
|
43
|
-
3. Đọc .tas/checklists/story-done.md, verify từng mục, sau đó tick vào section ## Definition of Done trong file Story:
|
|
44
|
-
- `- [x] Code implemented` nếu đã implement xong
|
|
45
|
-
- `- [x] Unit tests pass` nếu tests đã chạy pass
|
|
46
|
-
- `- [x] No regression` nếu toàn bộ test suite pass
|
|
47
|
-
- `- [x] Documentation updated (if needed)` nếu đã cập nhật
|
|
48
|
-
- `- [ ] Code review passed` — KHÔNG tick, để sau khi chạy /tas-review-code
|
|
49
|
-
- `- [ ] Acceptance criteria verified` — KHÔNG tick, để PE verify
|
|
50
|
-
4. Tạo commit message theo conventions trong CLAUDE.md
|
|
51
|
-
5. Nhắc user: chạy /tas-review-code để review và tự test lại ở local trước khi chuyển status
|
|
52
|
-
|
|
53
|
-
## Nguyên tắc
|
|
54
|
-
- KHÔNG implement ngoài scope của Story
|
|
55
|
-
- Mỗi public method PHẢI có XML doc comment
|
|
56
|
-
- **Khi nào cần tạo ADR:**
|
|
57
|
-
- Thay đổi kiến trúc ảnh hưởng nhiều components
|
|
58
|
-
- Thêm mới design pattern hoặc framework
|
|
59
|
-
- Đổi data flow hoặc integration pattern
|
|
60
|
-
- Quyết định trade-off kỹ thuật quan trọng
|
|
61
|
-
- Thay đổi đã ảnh hưởng đến SAD
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# /tas-review-code $ARGUMENTS
|
|
2
|
-
|
|
3
|
-
Vai trò: SE - Software Engineer
|
|
4
|
-
Review code thay đổi gần nhất hoặc một file/PR cụ thể.
|
|
5
|
-
|
|
6
|
-
## Hành động
|
|
7
|
-
1. Cần context từ root/tas.yaml và .tas/checklists/code-review.md
|
|
8
|
-
2. $ARGUMENTS có thể là: file path, hoặc để trống (review git diff)
|
|
9
|
-
3. Nếu $ARGUMENTS trống: lấy git diff của staged changes hoặc last commit
|
|
10
|
-
4. Review theo checklist:
|
|
11
|
-
- Naming conventions
|
|
12
|
-
- Architecture alignment (so với SAD)
|
|
13
|
-
- Error handling
|
|
14
|
-
- Security concerns
|
|
15
|
-
- Test coverage
|
|
16
|
-
- Performance implications
|
|
17
|
-
5. Output: danh sách findings phân loại theo severity (Critical/Major/Minor/Info)
|
|
18
|
-
|
|
19
|
-
## Sau khi review
|
|
20
|
-
6. Nếu có findings Critical/Major: liệt kê rõ, yêu cầu human fix trước khi tiếp tục.
|
|
21
|
-
7. Khi human xác nhận đã fix hết tất cả issues:
|
|
22
|
-
- Tick `- [x] Code review passed` trong section ## Definition of Done của file Story
|
|
23
|
-
8. Hỏi: "Bạn đã tự test lại ở local chưa? Nếu OK, có muốn chuyển ticket sang Deploy Test không?"
|
|
24
|
-
9. Nếu human xác nhận Yes, cập nhật file Story:
|
|
25
|
-
a. Dòng **Status:** trong header → Deploy Test
|
|
26
|
-
b. Cập nhật Technical notes nếu có thay đổi phát sinh trong quá trình review
|
|
27
|
-
c. Thêm dòng vào section Changelog trong Story: ngày, "Code review passed, moved to Deploy Test"
|
|
28
|
-
10. Cập nhật Story trên ADO:
|
|
29
|
-
- Chạy /ado-update story <ado-id> --status "Deploy Test" để push nội dung mới nhất và đổi state
|
|
30
|
-
11. Cập nhật file Feature cha:
|
|
31
|
-
a. Dòng **Status:** trong header → In Progress
|
|
32
|
-
b. Cột Status của Story trong bảng ## User Stories → Deploy Test
|
|
33
|
-
c. Thêm dòng Changelog trong Feature: ngày, "Story <id> moved to Deploy Test"
|
|
34
|
-
12. Cập nhật Feature trên ADO:
|
|
35
|
-
- Chạy /ado-update feature <feature-ado-id> --status "In Progress" để push nội dung mới nhất và đổi state
|
|
36
|
-
13. Cập nhật root/project-status.yaml: Story → Deploy Test, Feature → In Progress
|
|
37
|
-
|
|
38
|
-
## Nguyên tắc
|
|
39
|
-
- Review khách quan, chỉ ra cụ thể dòng code và lý do
|
|
40
|
-
- Đề xuất fix cụ thể, không chỉ nói "code xấu"
|
|
41
|
-
- Check xem code có vi phạm ADR nào không
|
|
42
|
-
- KHÔNG tự động chuyển status mà không có xác nhận của human
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# /tas-security-check $ARGUMENTS
|
|
2
|
-
|
|
3
|
-
Vai trò: DSE - DevSecOps Engineer
|
|
4
|
-
Kiểm tra bảo mật codebase, lưu báo cáo vào docs/security-report.md.
|
|
5
|
-
|
|
6
|
-
## Hành động
|
|
7
|
-
1. Cần context từ .tas/checklists/security.md
|
|
8
|
-
2. $ARGUMENTS có thể là: file path, hoặc để trống (scan toàn bộ)
|
|
9
|
-
3. Kiểm tra theo OWASP Top 10:
|
|
10
|
-
- SQL Injection
|
|
11
|
-
- XSS
|
|
12
|
-
- Authentication/Authorization issues
|
|
13
|
-
- Sensitive data exposure
|
|
14
|
-
- Security misconfiguration
|
|
15
|
-
- Insecure deserialization
|
|
16
|
-
4. Kiểm tra thêm cho .NET:
|
|
17
|
-
- Anti-forgery tokens
|
|
18
|
-
- CORS configuration
|
|
19
|
-
- Connection string exposure
|
|
20
|
-
- Proper use of Data Protection API
|
|
21
|
-
5. Kiểm tra docs/security-report.md đã tồn tại chưa:
|
|
22
|
-
- Chưa có: tạo mới theo template
|
|
23
|
-
- Đã có: append thêm report mới, cập nhật status findings cũ nếu đã fix
|
|
24
|
-
6. Lưu output vào docs/security-report.md
|
|
25
|
-
7. Cập nhật root/project-status.yaml: artifacts.security_report
|
|
26
|
-
|
|
27
|
-
## Nguyên tắc
|
|
28
|
-
- Phân loại: Critical/High/Medium/Low
|
|
29
|
-
- Mỗi finding phải có recommended fix cụ thể
|
|
30
|
-
- Finding có status: Open | In Progress | Fixed | Accepted Risk
|