원클릭으로
audit-ext-jalor
Jalor internal Spring framework audit extension for endpoint operation authorization and service audit logging coverage.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Jalor internal Spring framework audit extension for endpoint operation authorization and service audit logging coverage.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Feature-centric deep incremental security review harness for Git-backed code changes, with autonomous, agents, and hybrid execution modes.
Optional graph-context enrichment for feature-centric incremental security review using CodeGraph or code-review-graph when available.
Pre-report finding verification contract. Re-checks whether each vulnerability has a real external Source, reachable Sink, bypassable or missing sanitization, and practical exploitability before final reporting.
Sink chain deep tracing methodology with graded code output templates (Critical full-chain / High-Medium key-nodes), reverse tracking rules, and per-hop Read verification.
Agent contract templates for R1 and R2+ rounds, including output format, token budget management, truncation defense, and auto-injection prompt templates.
Two-layer checklist architecture with D1-D10 security coverage matrix and language-specific semantic prompts for gap verification after free audit.
SOC 직업 분류 기준
| name | audit-ext-jalor |
| description | Jalor internal Spring framework audit extension for endpoint operation authorization and service audit logging coverage. |
Jalor 内部框架专项扩展。该 Skill 是特殊场景入口;详细背景和案例见
references/extensions/jalor.md。
type: framework, internal
languages: Java
dimensions: D2, D3, D9
agents: audit-recon, audit-d2d3d9-control, audit-evaluation, audit-report, audit-verification
priority: 90
本扩展不得引入专用 Agent、专用表或专用中间文件。所有检查项必须作为通用 CONTROL candidate 进入 CANDIDATE_LEDGER,再按全局 candidate 状态机分类。
@JalorOperation@ServiceAudit满足任一条件即可激活:
@JalorOperation@ServiceAuditaudit-context.md 明确说明使用 Jalorjalor激活后必须读取:
references/extensions/jalor.md@JalorOperation 表示接口级操作权限声明。@ServiceAudit 表示服务审计日志声明。@JalorOperation。@ServiceAudit。@ServiceAudit.message 不应为空,且其中引用的参数必须能在方法签名中找到。用户或 audit-context.md 可补充本项目对 Jalor 注解的内部语义;但漏洞证据仍必须来自实际 Controller 代码。
audit-recon 激活本扩展后,必须在端点-权限矩阵或扩展字段中额外记录:
| 字段 | 含义 |
|---|---|
jalor_operation_present | 端点方法是否存在 @JalorOperation |
service_audit_present | 端点方法是否存在 @ServiceAudit |
service_audit_message | @ServiceAudit.message 原始值 |
message_placeholders | message 中的 {id} / ${id} / #{id} / dto.id 等引用 |
method_params | 方法签名中的参数名 |
message_params_valid | message 引用是否能匹配方法参数 |
Recon 输出中的 端点-权限矩阵 必须包含 Jalor 覆盖统计:
Jalor: endpoints={N}, JalorOperation={covered/total}, non_get_ServiceAudit={covered/total}, message_params_valid={valid/checked}
注入给 audit-d2d3d9-control:
@GetMapping/@PostMapping/@PutMapping/@DeleteMapping/@PatchMapping/@RequestMapping 的 Controller 方法。@JalorOperation()。@ServiceAudit。@RequestMapping 未显式限定 HTTP method 时,按可能包含非 GET 处理,要求检查 @ServiceAudit。@ServiceAudit.message 必须存在且非空。{id}${id}#{id}dto.id 形式至少要求根参数 dto 在方法签名中真实存在。每个被检查的映射接口必须产生通用 CONTROL candidate:
candidate_kind: CONTROL
dimension: D3 或 D9
rule_id: 使用本扩展 Finding Rules 条件的稳定短名
candidate_type: CONTROL_MISSING | AUDIT_MISSING | AUDIT_MESSAGE_INVALID | CONTROL_SAFE
evidence_type: ANNOTATION_PRESENT | ANNOTATION_ABSENT | MESSAGE_PARSE | EQUIVALENT_CONTROL
file_path: Controller 文件
line_number: 映射注解行或问题所在注解行
code_snippet: 映射注解 + 方法签名的实际代码片段
status: TRACED_VULN | TRACED_SAFE | FALSE_POSITIVE | OPEN | TIMEOUT
TRACED_SAFE 或降级,不得直接报漏洞。file_path:line_number 的结果,不得升级为 finding。audit_save_candidates 入库,禁止写中间 JSONL 文件。| 条件 | 严重度 | CWE | 说明 |
|---|---|---|---|
映射接口缺少 @JalorOperation | High | CWE-862 | 接口级操作权限声明缺失 |
非 GET 接口缺少 @ServiceAudit | Medium | CWE-778 | 敏感修改操作审计日志缺失 |
@ServiceAudit.message 为空 | Medium | CWE-778 | 审计日志不可追踪 |
| message 引用参数与方法签名不匹配 | Medium | CWE-778 | 审计日志记录错误对象或不可解析对象 |
若 audit-context.md 说明某些端点由网关、父类、AOP 或统一拦截器补充了等价控制,必须 Read 相关实现后再决定是否降级或排除。
报告前真实性复核必须重新读取:
@ServiceAudit.message 原始字符串。不得仅根据 Recon 统计或用户上下文保留 finding。 不得根据 Jalor 覆盖百分比生成 finding;百分比只能作为 coverage 摘要,漏洞详情必须来自已分类的 CONTROL candidate。