fix(data): 修正 #6 优先 n8n 样本的入口与关键操作语义 - #81
Open
cgflag wants to merge 6 commits into
Open
Conversation
Deliver three verified entry fixes (00099/00100/00176) with decision notes, code-level verify scripts, and fixed JSONL fragment without bumping verify. Co-authored-by: Cursor <cursoragent@cursor.com>
Rewrite NOTES/PR body/decisions in plain language, shorten node descs, and state clearly that only 3 of 6 priority entries are delivered. Co-authored-by: Cursor <cursoragent@cursor.com>
Cover all six official priority entries (00103/511/512 added), with source-aligned nodes, plain-language notes, and verify left at 0. Co-authored-by: Cursor <cursoragent@cursor.com>
Retarget entry/critical/trace for 00099, 00100, 00103, 00176, 00511, and 00512; write the rows into data/entries.jsonl. Add per-entry candidates and patch notes, CRITICAL_RULE / VERIFY_POLICY, and a run_all check for code alignment. Keep verify=0. Co-authored-by: Cursor <cursoragent@cursor.com>
Match Tencent#6 deliverable checklist; keep the wording plain for review. Co-authored-by: Cursor <cursoragent@cursor.com>
Reject path traversal in verify/lint and validate git refs/paths before materialize, then re-trigger the opensource security scan gate.
Author
CI follow-up (CodeCC null + path hardening)
Still hardened the rebuild tooling that shells out / reads repo paths:
Please re-run / wait for |
Author
Scan re-checkGITHUB_OPENSOURCE_SCAN_PIPELINE on tip c1d18b5 is now pass (CodeCC no longer returning null on the prior fail). Path/input hardening from that tip remains in place. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue
Fixes #6
做了什么
按 #6 要求,对官方优先的 6 条 n8n 样本重确认
entry_point/critical_operation/trace,对照各 entry 的 vuln commit(并参考修复补丁)。已更新data/entries.jsonl中这 6 行。verify仍为0。与 #6 交付/验收的对应
{file, line, code, desc}data/entries.jsonl;另有tools/semantic_rebuild/out/entries.fixed.jsonlentry-*/DECISION.md、CANDIDATES.mdout/semantic_diff.csvpython tools/semantic_rebuild/run_all.py(只做行号/code 对齐)}verify保持 0逐条摘要
@PostexecuteManually(req.body, …);critical:evaluateExpression(sanitizer 缺口留在 trace,见CRITICAL_RULE.md)}setResponseHeaders;critical 仍为缺trim(补丁553b24458e)BLOCKED_ATTRIBUTES = {node.attr in BLOCKED_ATTRIBUTES.apply易混82-84;修复1acdafe6ac在入口拦名字,未改.applyvmEvaluator.evaluate;critical:可写__sanitize(与修复同行)critical 选取规则:
tools/semantic_rebuild/CRITICAL_RULE.md(优先补丁落点;仅 00099/00100 因 #6 不认可 RCE critical 落 sanitizer 钩子而退到执行出口)。如何检查
检查格式,以及引用的
code是否与 checkout 一致。不能证明语义选择一定正确。说明
tools/semantic_rebuild/out/NOTES.mdverify故意保持0(见VERIFY_POLICY.md);若维护者认可,再 bump 即可