Skip to content

feat(tdp_alert_triage): replace HTTP analysis nodes with unified 5-st…#330

Merged
xiami762 merged 1 commit into
devfrom
feat/sync-tdp-http-prompt
May 27, 2026
Merged

feat(tdp_alert_triage): replace HTTP analysis nodes with unified 5-st…#330
xiami762 merged 1 commit into
devfrom
feat/sync-tdp-http-prompt

Conversation

@duguwanglong

Copy link
Copy Markdown
Contributor

Remove the old analyze_payload + analyze_response nodes (each with a simple, non-standardised prompt) and replace them with a single attack_analysis_result node that uses the same rigorous 5-category HTTP attack-state prompt used across the project:

攻击成功 / 攻击失败 / 攻击 / 未知 / 安全

Also update receive_alert to emit a unified log_text string so the new node has a single, well-formatted input. The parallel structure is simplified to three branches:

receive_alert → [query_threat_intel, query_vuln, attack_analysis_result]
→ join_results → generate_report

No survey / CVE-info LLM nodes are added; tool-based intel lookups (threatbook) are retained unchanged.

…atus attack prompt

Remove the old analyze_payload + analyze_response nodes (each with a
simple, non-standardised prompt) and replace them with a single
attack_analysis_result node that uses the same rigorous 5-category
HTTP attack-state prompt used across the project:

  攻击成功 / 攻击失败 / 攻击 / 未知 / 安全

Also update receive_alert to emit a unified log_text string so the
new node has a single, well-formatted input. The parallel structure
is simplified to three branches:

  receive_alert → [query_threat_intel, query_vuln, attack_analysis_result]
                → join_results → generate_report

No survey / CVE-info LLM nodes are added; tool-based intel lookups
(threatbook) are retained unchanged.

Co-authored-by: Cursor <cursoragent@cursor.com>
@duguwanglong duguwanglong requested a review from xiami762 May 27, 2026 06:14
@xiami762 xiami762 merged commit 874a46d into dev May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants