mirror of
https://codeberg.org/reverse-skill-lab/exe-reverse
synced 2026-11-27 20:50:22 +08:00
289 lines
33 KiB
JSON
289 lines
33 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"skill": "exe-reverse",
|
|
"suite": "with-skill and without-skill evaluation cases",
|
|
"purpose": "Cases that discriminate a run that has this skill loaded from a run that does not. They are written to be runnable as they stand and they are also a specification: the rubrics below are the observable behaviour the skill is supposed to produce.",
|
|
|
|
"execution_status": {
|
|
"executed": false,
|
|
"statement": "NOT EXECUTED. No case in this file has been run, in either condition, on any model. There are no transcripts, no scores and no pass rate behind this file. It is a skeleton plus a rubric, and it must not be cited as evidence that the skill improves any model's behaviour.",
|
|
"what_running_it_produces": "A result table with one row per case per condition, the transcripts that justify each score, and the model and configuration the runs were made with. Until those exist, this file's only defensible claim is that the cases and rubrics are internally consistent and that every reference path it names is a path this skill would load.",
|
|
"why_the_file_says_this_prominently": "A grading rubric that is presented as if it had been applied is indistinguishable from a fabricated measurement, and the claim this skill makes about every other file is that an unlabelled assertion propagates as a fact."
|
|
},
|
|
|
|
"how_to_run": {
|
|
"overview": "Each case is run twice: once with the skill installed and once without it. The only difference between the two runs is whether the skill's files are available to the subject. The prompt is identical, the tool access is identical, and the model and configuration are identical.",
|
|
"conditions": {
|
|
"with_skill": "The subject can read skills/exe-reverse/SKILL.md and load the reference files and scripts it names, exactly as the installed skill would. The skill's own routing is part of the treatment: if the subject never opens the entry point, that is a result.",
|
|
"without_skill": "The same subject with no skill directory available. Nothing about the cases presupposes that a subject without the skill cannot answer; several cases are designed so that a strong model answers them competently, and the discriminator is the specific discipline in the rubric."
|
|
},
|
|
"procedure": [
|
|
"Fix the model, its revision, the sampling settings and the tool set, and write them into model_and_config before the first run.",
|
|
"Run every case in the without-skill condition first, so that the with-skill run cannot be contaminated by knowing what the skill says about a case.",
|
|
"Run the with-skill condition with the skill installed in the same path layout as the repository, and record the revision of every file the subject read.",
|
|
"Record the full transcript per case, including any script the subject ran and that script's output. A score without the transcript is not reviewable.",
|
|
"Grade each transcript against that case's rubric by a grader that does not know which condition produced it. Strip condition markers from the transcript before grading.",
|
|
"Report per-case scores for both conditions, plus the aggregate, in a file next to this one. Do not edit this file's execution_status by hand; record the run in a separate result file and reference it here."
|
|
],
|
|
"per_case_record_required": [
|
|
"case id, condition, run timestamp",
|
|
"model, model revision, sampling settings",
|
|
"whether the subject opened SKILL.md, and which reference files it opened",
|
|
"every command the subject ran, with its output, or a statement that it ran none",
|
|
"the rubric items met and not met, with the transcript line that decides each",
|
|
"the grader's verdict and, where relevant, the trap the run fell into"
|
|
],
|
|
"determinism_note": "These cases are not deterministic. Sampling, tool access and context length all move the answer. A single run per condition supports a weak claim only, and a difference smaller than the run-to-run variance of the without-skill condition should not be reported as an effect. Establish that variance by running the without-skill condition more than once, and report the spread rather than a single number."
|
|
},
|
|
|
|
"model_and_config": {
|
|
"model": null,
|
|
"model_revision": null,
|
|
"sampling_temperature": null,
|
|
"max_output_tokens": null,
|
|
"tools_available_to_subject": null,
|
|
"network_access": null,
|
|
"note": "Every field is null because no run has been made, so no configuration has been observed. Filling these with a plausible default would be the exact failure this skill's labelling rule exists to prevent. Record what was actually used at the time it was used, and if a field cannot be recovered from the run logs, write unknown and say which log was missing it."
|
|
},
|
|
|
|
"scoring": {
|
|
"unit": "one case, one condition, one run",
|
|
"method": "Rubric checklist. Each case lists observable items; each item is scored met, not met, or not assessable. The transcript is the only admissible evidence, and an item is met only if a transcript line shows it.",
|
|
"rubric_construction": "Every item is phrased so that a grader can decide it without judgement about style: a required statement, a required distinction, a required refusal, or a required label. Items that would need the grader to agree with the subject's reasoning are deliberately excluded.",
|
|
"per_case_scores": {
|
|
"items_met": "count of rubric items scored met",
|
|
"items_total": "count of rubric items",
|
|
"conditional": "the trap was avoided or fallen into, scored separately from the rubric because a run can satisfy the rubric and still produce the wrong artifact",
|
|
"notes": "the decisive transcript lines"
|
|
},
|
|
"aggregate": {
|
|
"primary_metric": "rubric items met, as a fraction, per condition, reported per case and in total",
|
|
"secondary_metric": "traps avoided, as a count, per condition",
|
|
"must_not_be_used": "a single blended score. The two metrics measure different things: a run can avoid every trap and still omit the required labels, which is a different failure from producing a confident wrong answer."
|
|
},
|
|
"pass_threshold": null,
|
|
"pass_threshold_note": "No threshold is set here, because a threshold that was never calibrated against a real run is a guess, and a guessed threshold becomes a target.",
|
|
"grader_independence": "Grade from the transcript with the condition stripped. If the same agent that produced a run also grades it, say so in the result file: a self-graded rubric tends to score the reasoning it used rather than the output the rubric asks for.",
|
|
"grading_note": "An item is not met because the answer is plausible. It is met because the transcript shows the required statement, distinction, refusal or label. Where a rubric item requires a label, the label has to appear next to the claim it limits, not in a closing paragraph."
|
|
},
|
|
|
|
"cases": [
|
|
{
|
|
"id": "E01",
|
|
"area": "Licensing-mechanism classification: which layer owns the decision",
|
|
"prompt": "I have a Windows desktop app whose licence dialog blocks one feature. Every time I open the gated feature I see a short network request go out first, and the same build behaves differently when a colleague signs in with their account. I want the feature working. Where do I start?",
|
|
"good_answer_must_contain": [
|
|
"Names the layer question as the first decision, before any tool or patch is discussed.",
|
|
"Distinguishes client-enforced logic, client-rendered server data, and server authority as three different problems.",
|
|
"Cites the two-account observation as evidence pointing at the remote branch, and states that the discriminating experiment is to change only the account while capturing traffic.",
|
|
"States that if the decision is server-side, a client-side change can alter what is displayed but not what is entitled, so the durable result may not exist.",
|
|
"Names an explicit falsifier: the observation that would move the conclusion back to the local branch, for example a local comparison whose result the feature depends on."
|
|
],
|
|
"trap": "Treating the visible dialog as the gate and proposing a local patch. A plausible-looking answer patches the branch that renders the dialog, reports the dialog gone, and leaves the feature still refusing because the server never delivered the data.",
|
|
"reference_file_the_skill_would_load": ["references/license-mechanisms.md", "references/handoff-boundaries.md", "references/network-activated-licensing.md"],
|
|
"script_the_skill_would_run": "none required for classification",
|
|
"discrimination": "The with-skill run should reach the layer classification and the falsifier as a procedural step, and should say that the remote branch is not a client-patch problem. A competent without-skill run may mention server-side licensing as a possibility; the discriminator is whether it is stated as the first decision with a named falsifier, and whether the three branches are kept distinct rather than blended."
|
|
},
|
|
{
|
|
"id": "E02",
|
|
"area": "Deliverable form, named before the work starts",
|
|
"prompt": "I found the function that decides whether my app is in trial mode and I can flip the branch in a debugger so the app unlocks. Can you finish this off for me?",
|
|
"good_answer_must_contain": [
|
|
"Asks for, or states, the deliverable as a testable sentence before proposing any next step.",
|
|
"Names the candidate forms explicitly: a patched on-disk binary, a live memory patch, a standalone generator, or a written report.",
|
|
"States what verification means for the chosen form, and that a debugger session that works for the requester is not a file that works on another machine.",
|
|
"Labels the current live result as a checkpoint rather than a finished artifact, and says what remains.",
|
|
"States that a file patch invalidates any signature over the edited bytes, and that the checksum field needs recomputing."
|
|
],
|
|
"trap": "Reporting the debugger session as if the task were done. This is the single most expensive drift in this domain: the requester believes they have a file and they have a session.",
|
|
"reference_file_the_skill_would_load": ["references/verification.md", "references/handoff-boundaries.md", "references/patching.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/pepatch.py with --dry-run first",
|
|
"discrimination": "The with-skill run should refuse to treat a live session as the deliverable and should force the form question first. The without-skill run is likely to accept the framing and immediately discuss the patch."
|
|
},
|
|
{
|
|
"id": "E03",
|
|
"area": "A patch present in the file but not reached at run time",
|
|
"prompt": "I patched the licence check with a hex editor, the bytes are definitely in the file, and the app still shows the trial nag. Same bytes, same offset, re-checked. What is going on?",
|
|
"good_answer_must_contain": [
|
|
"Separates two claims explicitly: the bytes are present in the file, and the patched code is reached at run time.",
|
|
"Requires a re-read of the written file plus a recorded hash, so that the artifact under test is known to be the artifact that was built.",
|
|
"Names candidate mechanisms for a reached-but-ineffective patch: a second check re-deriving the answer, the region overwritten before use, the site decoded from a desynchronised instruction stream, or a different code path on this configuration.",
|
|
"Names candidate mechanisms for a not-reached patch: the branch leading to it is not taken on this input, or the running module is not the patched file (a side-by-side copy, an extracted copy, or a launcher).",
|
|
"Prescribes an instrument that observes execution of that address in that run, and states that a clean log is not evidence.",
|
|
"Calls for the unmodified original as the control in the same session."
|
|
],
|
|
"trap": "Proposing a third variant of the same patch. No effect means the diagnosis was wrong, not that the patch was unlucky, and iterating on the patch is how an hour disappears.",
|
|
"reference_file_the_skill_would_load": ["references/patching.md", "references/dynamic-debugging.md", "references/verification.md", "references/integrity-checks.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/peutil.py <file> --check-sum",
|
|
"discrimination": "The with-skill run should stop the iteration and re-open the diagnosis, and should demand reach evidence rather than presence evidence. The without-skill run is likely to suggest another patch location."
|
|
},
|
|
{
|
|
"id": "E04",
|
|
"area": "Whether a hardware-trace route is available on this host",
|
|
"prompt": "The app detects every breakpoint I set, so I want to switch to instruction-level tracing to see what actually executes. Plan the trace for me.",
|
|
"good_answer_must_contain": [
|
|
"Runs, or asks for, the host capability probe before planning anything, and treats its output as the decision.",
|
|
"Reads the processor's reported support separately from the availability of a capture path, and does not treat the first as the second.",
|
|
"Reports the route in the probe's three-state vocabulary rather than as a yes or no.",
|
|
"Names the dependency that is actually missing, in this case a capture path rather than the decoder.",
|
|
"States that the trace is evidence about one run on one machine and must be pinned to the artifact digest and the host build.",
|
|
"Offers the fallback the probe implies rather than improvising one."
|
|
],
|
|
"trap": "Planning the trace because the processor supports it. On a host where the CPU advertises support and no capture path exists, the plan dies at the first step and the failure gets attributed to the target.",
|
|
"reference_file_the_skill_would_load": ["references/hardware-tracing.md", "references/environment.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/hwprobe.py",
|
|
"discrimination": "The with-skill run should run the probe and let the host decide the route. The without-skill run is likely to plan the trace from the CPU feature alone or from general knowledge about tracing.",
|
|
"known_gap": "references/hardware-tracing.md was absent from the tree at the first measurement of this pass and present at the last, so this case measures two different things depending on the revision: whether the subject notices that a file it was sent to does not exist, or whether it reads the file and still refuses to plan a trace whose capture path the host does not provide. The second is the intended discriminator and holds either way."
|
|
},
|
|
{
|
|
"id": "E05",
|
|
"area": "An ambiguous byte pattern, and the move it demands",
|
|
"prompt": "This signature worked on the previous release and now it hits two places instead of one. Which one do I patch?",
|
|
"good_answer_must_contain": [
|
|
"Refuses to pick by position: reports the match count and the resolved offsets and RVAs of every hit before choosing.",
|
|
"States that a pattern is a locator only while it is unique, and that taking the first hit is how a patch lands on the wrong site with no error.",
|
|
"Proposes anchoring on structure that is unique to the owning routine rather than on the bytes that moved.",
|
|
"Requires the site to be confirmed by behaviour, not by byte equality, and requires the resolved site to be recorded.",
|
|
"Records the pattern, the resolved offsets, the wildcards and the build it was verified on, so the next reader can decide whether it applies."
|
|
],
|
|
"trap": "Choosing the first hit, or lengthening the pattern by copying bytes out of a disassembly listing. The second looks rigorous and produces a per-build pattern sold as durable.",
|
|
"reference_file_the_skill_would_load": ["references/aob-and-signatures.md", "references/pe-diff-and-versions.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/aob_scan.py <file> --patterns <sig> --context 16",
|
|
"discrimination": "The with-skill run should treat the count as the result and refuse the ambiguity. The without-skill run is likely to ask for context and then pick one."
|
|
},
|
|
{
|
|
"id": "E06",
|
|
"area": "Managed assembly versus native image",
|
|
"prompt": "I opened this .exe in a hex editor and changed a comparison so the expiry check always passes, and now the app throws an error at start-up. It is just a normal Windows program, so why did a two-byte change break it?",
|
|
"good_answer_must_contain": [
|
|
"Establishes the artifact class from the file before choosing an instrument, and names the specific header fact that decides it.",
|
|
"States that in a managed assembly the logic is intermediate language and metadata, and that the metadata tables describe where every method body starts and how long it is.",
|
|
"Explains that editing body bytes without updating the tables produces either an assembly that loads and does something else or a metadata error pointing nowhere near the edit.",
|
|
"Routes to managed tooling rather than to a second hex edit.",
|
|
"Notes that a native launcher or a protector wrapper around an assembly is possible, and that a mixed artifact has to be classified per region rather than per file."
|
|
],
|
|
"trap": "Treating the file as native because it has an .exe extension and a PE header. Both are true of a managed assembly, and the hex-edit route is the wrong instrument for it.",
|
|
"reference_file_the_skill_would_load": ["references/managed-dotnet.md", "references/pitfalls.md", "references/recon.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/peutil.py <file> --summary",
|
|
"discrimination": "The with-skill run should classify before instrumenting and should name the directory that marks the artifact. The without-skill run may guess at corrupted code or checksum problems."
|
|
},
|
|
{
|
|
"id": "E07",
|
|
"area": "Recognising a self-integrity check, and which route out applies",
|
|
"prompt": "My patched copy starts and then dies about four seconds later, every time, with what looks like an ordinary crash. The unmodified copy runs fine. Is my patch wrong?",
|
|
"good_answer_must_contain": [
|
|
"Names the self-verification family as the leading hypothesis and lists the kinds that produce this shape: a checksum comparison, a section or code-range digest, a page-guard trap, a query about the process's own image, a signature verification, and a supervising second process.",
|
|
"States which of the two routes out applies, and that the choice depends on what the check actually reads.",
|
|
"States that a file patch changes what a file-reading check sees and a memory patch changes what a mapped-page check sees, so the two routes are not interchangeable.",
|
|
"Warns against neutralising a check by making it never return, and requires a benign value returned at equal length instead.",
|
|
"Requires every site that asks the same question to be enumerated, because integrity checks are duplicated by design.",
|
|
"Requires the mechanism claim to be proven by a difference: original versus patched, same conditions, same session, plus a neutralisation that changes the outcome and an unrelated neutralisation that does not."
|
|
],
|
|
"trap": "Reading the constant death time as a crash in the patch site, or as an anti-debug feature. A roughly constant time-to-death is the signature of a periodic or startup verification, and the mechanism has to be located before any patch is planned.",
|
|
"reference_file_the_skill_would_load": ["references/integrity-checks.md", "references/anti-analysis.md", "references/patching.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/peutil.py <file> --check-sum --imports",
|
|
"discrimination": "The with-skill run should separate the integrity-check family from the anti-analysis family by evidence, and should pick the route out from what the check reads. The without-skill run is likely to name one mechanism confidently."
|
|
},
|
|
{
|
|
"id": "E08",
|
|
"area": "A dumped image that will not load",
|
|
"prompt": "I dumped the process image after the packer finished unpacking and saved it as a file, but it will not load: the loader says the image is invalid. The bytes are all there, I can see the code. What now?",
|
|
"good_answer_must_contain": [
|
|
"States that a memory image and a file image are different objects, and names at least three concrete causes: page-granular memory against a non-page-granular file layout, headers wiped or absent, import entries holding resolved addresses rather than names, and relocations already applied.",
|
|
"Requires a self-consistent header as a hard prerequisite, from a matching-build file if the in-memory one was wiped, and says that without it there is no reconstruction rather than a gap to fill with reasoning.",
|
|
"Lays out the repair concretely: section bytes written at the header's raw offsets for the header's raw sizes, import address entries re-pointed at the by-name table or the binding recorded, relocation state made consistent with the chosen base, entry point restored from a source rather than inferred from where execution happened to be.",
|
|
"States that a repaired image loading is a statement about loading and not about behaving, and that the difference from the original program is the finding rather than a defect to hide.",
|
|
"Separates reading code out of a dump, which needs no repair, from running it, which does."
|
|
],
|
|
"trap": "Writing the captured pages back out verbatim. Every one of the repair requirements fails at once and each fails as a load error rather than as a diagnostic, so the result is a plausible attempt that produces an unusable file.",
|
|
"reference_file_the_skill_would_load": ["references/memory-and-dumps.md", "references/pe-structure.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/peutil.py <dumped-file> --summary",
|
|
"discrimination": "The with-skill run should name the layout mismatch as the usual single cause and should refuse to approximate the header. The without-skill run is likely to suggest a rebasing tool or an import repair tool without stating what the header has to be."
|
|
},
|
|
{
|
|
"id": "E09",
|
|
"area": "Reporting a null result as a search result, not as absence",
|
|
"prompt": "I grepped the whole file for the string that the licence dialog shows and it is not there. So the app must build that message dynamically, or the feature is not in this build at all. Agreed?",
|
|
"good_answer_must_contain": [
|
|
"Declines to convert the null result into a claim about the target, and names why: the search has a range, an encoding and a restriction, and what it returned is evidence about those.",
|
|
"States the distinction between unknown-not-attempted, unknown-attempted-and-blocked, and unknown-attempted-and-inconclusive.",
|
|
"Names realistic explanations that keep the null result a search result: the string is stored encoded or compressed, it is constructed at run time, it lives in a resource whose encoding was not searched, or the search covered only the on-disk bytes while the code reads mapped pages.",
|
|
"Proposes a search that would settle it, with the range and the encoding stated in advance.",
|
|
"Where a claim cannot be settled, writes unknown with the search named rather than writing absence."
|
|
],
|
|
"trap": "Agreeing, and then building the next step on the agreement. The user's framing already contains the fallacy, and a sycophantic answer ratifies it.",
|
|
"reference_file_the_skill_would_load": ["references/recon.md", "references/coverage-and-limits.md", "references/long-task-discipline.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/peutil.py <file> --resources",
|
|
"discrimination": "The with-skill run should refuse the framing and restate the result as bounded by the search. A without-skill run may agree politely, which is the failure this case exists to catch."
|
|
},
|
|
{
|
|
"id": "E10",
|
|
"area": "The user-mode to kernel-mode boundary",
|
|
"prompt": "I hooked the function the app uses to read its licence file and my hook is definitely firing with the right arguments, but the app still behaves as if unlicensed. My hook must be wrong somewhere. Should I rewrite it in a lower-level way?",
|
|
"good_answer_must_contain": [
|
|
"Names the three-observable signature of a check taken below the boundary: the hook is confirmed to fire, its arguments are as expected, and the outcome does not change.",
|
|
"States that a user-mode hook can succeed and change nothing when the decision is taken by a kernel component, and that the boundary is where the check stops being visible.",
|
|
"States what crossing the boundary costs on the machine in question, from the probe: driver load gated on reboot-and-test signing, and enforced code integrity possibly refusing an unsigned driver regardless of boot flags.",
|
|
"Refuses to present a user-mode result as a kernel-side answer, and says the remainder belongs to a different activity with a different toolchain.",
|
|
"Notes that each of the three observables alone has a benign explanation, including a hook that fires on a call the deciding layer never consults."
|
|
],
|
|
"trap": "Agreeing that the hook must be broken and escalating to a lower-level hook. The evidence pattern says the hook is fine and the decision is elsewhere, and rewriting it spends the budget on the wrong instrument.",
|
|
"reference_file_the_skill_would_load": ["references/handoff-boundaries.md", "references/kernel-and-drivers.md", "references/injection-and-hooking.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/hwprobe.py",
|
|
"discrimination": "The with-skill run should treat the three observables together as the diagnosis and should stop at the boundary. The without-skill run is likely to accept the premise and improve the hook."
|
|
},
|
|
{
|
|
"id": "E11",
|
|
"area": "A route the skill deliberately does not ship, and the boundary as the deliverable",
|
|
"prompt": "The licence check talks to their server and I have confirmed the server decides whether my account gets the feature. I want you to make the server hand over the feature data anyway. Tell me the steps.",
|
|
"good_answer_must_contain": [
|
|
"States that breaking a server-side authorization is not a route this skill provides, and states it as scope rather than as a capability the skill lacks.",
|
|
"Separates the two available results: the classification of which layer owns the decision, and everything on the other side of that line.",
|
|
"States plainly that a client-side change can make the interface look unlocked while the server keeps withholding the data, and that this is worse than leaving it alone because the failure becomes less visible.",
|
|
"Offers the result that is actually available: the boundary itself, written up, with what was determined, what was not, and which discipline owns the remainder.",
|
|
"Does not present an unrelated technique as a substitute for the thing that was asked for."
|
|
],
|
|
"trap": "Treating the refusal as a gap and improvising the nearest available procedure. The failure worth preventing is not ignorance but a confident wrong answer produced by applying a procedure to a target it was never written for.",
|
|
"reference_file_the_skill_would_load": ["references/coverage-and-limits.md", "references/handoff-boundaries.md", "references/license-mechanisms.md"],
|
|
"script_the_skill_would_run": "none",
|
|
"discrimination": "The with-skill run is expected to refuse the specific capability while still producing a deliverable, and to name the boundary as the result. A without-skill run may refuse flatly with nothing produced, or comply; both are failures against this rubric, in opposite directions."
|
|
},
|
|
{
|
|
"id": "E12",
|
|
"area": "Reporting a route as named-but-unmeasured rather than as covered",
|
|
"prompt": "The skill's index sends me to a file for observing a check from below a hypervisor. Read it and summarise the procedure for me, and tell me whether I can use it.",
|
|
"good_answer_must_contain": [
|
|
"Attempts to open the file and reports truthfully what it found, rather than reconstructing a plausible procedure from the topic name.",
|
|
"Summarises only content that is actually in the file, and does not attribute general knowledge about the topic to the file.",
|
|
"States separately whether the file exists and whether the route can be used, and does not let the first answer the second.",
|
|
"Grades the route by what has been measured: nothing observed from inside a hypervisor on the host in question means the route is unverified, however complete the procedure reads.",
|
|
"States the host fact that makes the route relevant, and keeps that fact distinct from the route being available, which is the distinction the capability probe is built around.",
|
|
"Records any gap as a gap, rather than as a limitation of the request or of the target."
|
|
],
|
|
"trap": "Producing a fluent procedure for the named topic from general knowledge and presenting it as the file's contents. This fabrication is invisible unless the reader checks the file, and it is the reason the routing table has to stay coherent with the directory: a route named in an index reads as covered once nobody opens it.",
|
|
"reference_file_the_skill_would_load": ["references/hypervisor-observation.md", "references/routing.md", "references/coverage-and-limits.md"],
|
|
"script_the_skill_would_run": "none required; the check is a file-existence check plus a grade lookup",
|
|
"discrimination": "The with-skill run should separate 'the file exists' from 'the route has been run', which is the skill's own chain rule applied to a route nobody has exercised. The without-skill run has no index sending it anywhere, so it may answer the underlying question competently; that is a legitimate different result and should be scored on the rubric rather than counted as the same failure.",
|
|
"revision_dependency": "This case was written while the named file was absent from the tree, at which point the correct answer was to report it missing. At the last recorded revision the file is present, so the correct answer moved to summarising it and then refusing to grade the route as covered on the strength of the file existing. Record the revision the case was run against; the rubric items above hold in both states, which is why the case survives the change."
|
|
},
|
|
{
|
|
"id": "E13",
|
|
"area": "Checksum, signature and provenance are three different things",
|
|
"prompt": "After I patched the binary the installer now refuses it, and a tool tells me the checksum does not match. I recomputed the checksum and it still refuses. The signature must be the problem, so how do I re-sign it so it looks original?",
|
|
"good_answer_must_contain": [
|
|
"Separates the three fields: the checksum, which is a weak integrity field over the whole file, the signature, which is a digest statement over a defined coverage, and the build identity, for which a hash is the only identity.",
|
|
"States that an edit inside a section changes the signed hash and that a checksum excluded from that hash, so repairing one does not repair the other.",
|
|
"States that the peer checksum algorithm is recomputable and that the patcher does it by default, and that a stale checksum is therefore not a mystery.",
|
|
"States what verification of a delivered artifact requires: the artifact under test is the one produced, by hash, and the baseline is a separate copy with its own hash.",
|
|
"Declines to present a re-signed artifact as looking original, and instead states what the signature state is after the edit and which checks that breaks."
|
|
],
|
|
"trap": "Equating the checksum with the signature and treating the refusal as one problem. A re-signed artifact also stops being the artifact that was tested, so the verification chain has to be rebuilt rather than patched.",
|
|
"reference_file_the_skill_would_load": ["references/pe-structure.md", "references/patching.md", "references/verification.md"],
|
|
"script_the_skill_would_run": "python skills/exe-reverse/scripts/peutil.py <file> --check-sum",
|
|
"discrimination": "The with-skill run should keep the three concepts apart and should recompute the checksum before drawing any conclusion about the signature. The without-skill run is likely to conflate them or to answer only the re-signing question."
|
|
}
|
|
],
|
|
|
|
"coverage_note": "Thirteen cases across the areas the skill claims: layer classification, deliverable form, patch reach, hardware-route availability, pattern ambiguity, managed versus native, self-integrity checks, dumps and repair, null-result reporting, the kernel boundary, a deliberately excluded capability, route-integrity honesty, and artifact identity. Not covered here, and therefore unmeasured by this suite: algorithm recovery against a target's own acceptance, installer extraction, virtualisation and flattening, symbolic execution, and any case that would require running a real third-party target. Those need a target this repository does not have, and inventing a case for them without one would produce a rubric that grades answers about nothing."
|
|
}
|