Repository navigation
Description
Summary
In 2.11.2, build_declared_marker_views() classifies an ordinary list of verb names as an active literal-removal directive it cannot resolve, sets limited, and the static runner fails closed with obfuscated_instruction_text.
One line is enough:
const verbs = ['delete', 'run', 'list']Every pattern analyzer that scans the file then records a ledger exception for it, so the file counts as partially_inspected and the scan's coverage_percent drops. On a real plugin this put 12 analyzers into degraded over a single test fixture.
This is the same failure mode as #884 — a fail-closed answer given to input that is not an instruction — but a different pass and a different trigger.
Reproduction
from skillspector import security_reconstruction as sr
from skillspector.artifacts import security_text_views
def limited(text):
return any(sr.build_declared_marker_views(v).limited for v in security_text_views(text))
limited("const verbs = ['delete', 'run', 'list']") # True
limited("const verbs = ['delete', 'run']") # False
limited("const verbs = ['delete', 'start']") # False
limited("delete run list") # FalseSmallest firing input found by delta-debugging: 14 characters, "delete' 'run, ".
Shape of the trigger
A removal cue, then an execution verb, then at least one more element, with the three separated by quotes or punctuation.
| cue \ action | run |
execute |
invoke |
call |
eval |
start |
list |
|---|---|---|---|---|---|---|---|
delete |
FIRE | FIRE | FIRE | FIRE | FIRE | . | . |
remove |
FIRE | FIRE | FIRE | FIRE | FIRE | . | . |
strip |
FIRE | FIRE | FIRE | FIRE | FIRE | . | . |
drop |
FIRE | FIRE | FIRE | FIRE | FIRE | . | . |
omit |
FIRE | FIRE | FIRE | FIRE | FIRE | . | . |
ignore |
FIRE | FIRE | FIRE | FIRE | FIRE | . | . |
replace |
. | . | . | . | . | . | . |
Element count, with delete + run:
2 elements const v = ['delete', 'run'] False
3 elements const v = ['delete', 'run', 'x0'] True
4 elements const v = ['delete', 'run', 'x0', 'x1'] True
Container does not matter — only that the words are separated by punctuation:
v = ('delete', 'run', 'list') True
{"a": "delete", "b": "run", "c": "list"} True
<option>delete</option><option>run</option><option>list</option> True
delete run list False (prose)
delete | run | list False
So this fires on, among others: CLI subcommand tables, permission enums, reducer action types, REST verb maps, and test fixtures listing shell commands. These are common in any codebase, and nothing about them is an instruction to a model.
Where it comes from
security_reconstruction.py:1467build_declared_marker_views()— "accepts one unnegated, action-bound payload per directive; ambiguous or resource-bounded active forms setlimitedso the caller can fail closed without guessing"_DIRECTIVE_CUESsupplies the removal words;_SPACED_SECURITY_WORDSsuppliesrun/execute/invoke/call/eval_classify_directive()returnsactive=True, limited=True, which setsprojection_blockedand clears all candidates (build_declared_marker_views, theif classification.active and classification.limitedbranch)static_runner.py:1455turnsmarker_projection_limitedintoLedgerReason.OBFUSCATED_INSTRUCTION_TEXT
Impact
The findings themselves are unaffected — I confirmed the file is still scanned and still yields findings alongside the reason:
as-is : findings=0 reason=obfuscated_instruction_text
one pattern appended : findings=1 reason=obfuscated_instruction_text (Credential Access)
What is actually lost is the marker-projection pass: it returns zero reconstructed views for the file, so a payload genuinely hidden behind a literal-removal instruction would not be reconstructed there. That is the right thing to fail closed on — but it should not be triggered by a list of verb names.
The visible cost is coverage. In our case one 954-line test file put 12 of 26 analyzers into degraded and dropped the plugin below the coverage threshold used to decide whether a verdict can be issued at all.
Real-world instance
// tests/logic.test.ts:920 and :923, together
bash('find build -name "*.o" -delete', 'b'), bash("find . -name x -exec rm {} \\;", 'c')
const commands = part(note, 'Commands run, reads and searches left out (latest 20)')A test asserting that destructive commands stay visible in a saved note while read-only ones are dropped. Removing just the string -delete clears the ledger exception; removing -exec rm does not.
Suggested direction
A directive should require evidence that it addresses a reader — an imperative in running text, or a declared marker — rather than co-occurrence of two vocabulary words separated by punctuation. Two cheap narrowings that would cover the cases above:
- Require the cue and the action to be in the same clause of prose; a quoted string literal, an array element, or an HTML text node is a token, not an instruction.
- Require the directive to name what is to be removed.
['delete', 'run', 'list']names nothing, solimitedis being set for an input that has no payload at all rather than an ambiguous one.
Happy to test a patch against the plugin set we have if that is useful.
Found while triaging 2.11.2 results; related to #884.
Activity
Varshith-Kali commentedon Oct 21, 2026
@/tmp/claim892.txt
Fix fail-closed on ordinary lists of verb names (NVIDIA#898)