Repository navigation
Description
Summary
On a large skill package, AE1 (Incomplete referenced artifact analysis) fires on every scan because of SkillSpector's own analysis budgets, not because of anything in the artifact. Each AE1 is HIGH at confidence 1.0, so the scanner's internal limits alone produce a score floor of 37.5–43.75. With the HIGH band starting at 51, a single MEDIUM finding then turns the recommendation into DO_NOT_INSTALL, even when every semantic analyzer finds nothing else.
The finding's own remediation text says "incomplete analysis is not proof of malicious evasion". Scoring it at HIGH/1.0 still makes it the largest single contributor to the risk score.
Environment
- SkillSpector 2.12.0, as run by ClawHub (
openai/gpt-6.1-sol/ reasoningmedium, no budget overrides). Reproduced locally with the same version and settings. - Package:
@byungkyu/api-gatewayon ClawHub, a documentation-only skill with no executable scripts. It has 237 files (~2.9 MB):SKILL.mdplus ~150references/<app>/README.mdfiles that hold the API reference for each app.
Observed: the AE1 floor holds across every version
Stored ClawHub reports for each version (SkillSpector 2.12.0):
| Version | Score | AE1 findings | Points from AE1 |
|---|---|---|---|
| 1.2.31 | 100 / CRITICAL | 5: active-campaign, acuity-scheduling, fastmail, zoho-calendar, zoho-recruit | 43.75 |
| 1.2.32 | 66 / HIGH | 5: same as 1.2.31 | 43.75 |
| 1.2.33 | 77 / HIGH | 3: active-campaign, acuity-scheduling, unbounce | 43.75 |
| 1.2.34 | 62 / HIGH | 3: active-campaign, acuity-scheduling, slack | 43.75 |
| 1.2.35 | 43 / MEDIUM | 3: active-campaign, acuity-scheduling, snapchat | 43.75 |
1.2.35 has no findings other than AE1. Its whole score of 43 is the AE1 floor. 1.2.34 differed from it by a single MEDIUM SDI-4 (9.7 points), which was enough to move it to HIGH / DO_NOT_INSTALL. (1.2.30 has no stored SkillSpector report because that scan did not complete on ClawHub's side, so it is not included.)
Between 1.2.32 and 1.2.33 we removed the static parse-limit triggers in fastmail, zoho-calendar and zoho-recruit (see below). The AE1 count dropped from 5 to 3, but the score contribution stayed at 43.75, because the 3-occurrence cap already applied.
Cause
There are two independent budgets. Both report as AE1 on whichever reference happens to hit them.
1. TP4's package-wide 64-batch budget (output_limit): always fires once a package has >64 code blocks
In nodes/analyzers/mcp_tool_poisoning.py, TP4 plans one batch per fenced code block and stops planning at TP4_MAX_BATCHES = 64 for the whole package. Each batch also has a 32k-token allowance, but it only ever holds one fence. Candidates are taken in file order: SKILL.md first, then references/ alphabetically.
For this package, SKILL.md yields 59 TP4 candidates. The remaining 5 batches go to the first 5 of the 46 shell fences in references/active-campaign/README.md. That file is then recorded as partial (reason_code: output_limit, observed_records: 65, limit_records: 64), and so is references/acuity-scheduling/README.md. This is the same pair on every scan of every version. No reference after those two is ever checked by TP4, and that gap produces no finding at all.
The package cannot avoid this short of cutting its code examples to fewer than 64 across all files.
2. Per-artifact static runtime limit (runtime_limit): lands on a different reference each scan
A third AE1 comes from the static analyzers' 5-second per-artifact runtime limit (limit_seconds: 5.0, observed_seconds: 5.01). It depends on machine load, so it picks a different reference each scan: unbounce, slack, snapchat, linkedin, mailgun, typeform, youtube and wrike all showed up across our server and local runs.
Scoring
Each AE1 is HIGH (25 points) at confidence 1.0, with diminishing weights 1.0 / 0.5 / 0.25. The two budget AE1s alone give 37.5 points, and one runtime-limit AE1 brings that to the 3-occurrence cap of 43.75. That leaves 7.25 points of headroom below the HIGH band: one MEDIUM finding at normal confidence is about 9–10 points.
(We also had static static_parse_limit AE1s, from the 4096-character command-word span limit in static_patterns_tool_misuse. Those were triggered by real content patterns, mainly unmodelled <<'JSON' heredoc bodies pairing with straight apostrophes in prose, and we reworded around them. This issue is only about the two budget-driven sources above, which the artifact cannot influence.)
Reproduce
uv venv /tmp/ss212 --python 3.13
uv pip install --python /tmp/ss212/bin/python "git+https://github.com/NVIDIA/[email protected]"
clawhub install @byungkyu/api-gateway --version 1.2.35 # or any package with >64 fenced code blocks
SKILLSPECTOR_PROVIDER=openai SKILLSPECTOR_MODEL=gpt-6.1-sol SKILLSPECTOR_REASONING_EFFORT=medium \
/tmp/ss212/bin/skillspector scan <skill-dir> --format json --output report.json
# issues: AE1 x2 (output_limit) for references/active-campaign and references/acuity-scheduling,
# often plus one AE1 (runtime_limit) on another reference; risk_assessment.score 37-43Suggestions
- Don't score scanner-budget AE1 as a HIGH finding. Record
output_limit/runtime_limitfrom SkillSpector's own caps inanalysis_completeness(where they already appear), or count them once per scan at a lower weight. Keep AE1 at HIGH for artifact-driven incompleteness such as evasion or unparseable content. - Pack small fences into TP4 batches. Batches already allow 32k tokens. Filling them with several fences, instead of one fence per batch, would let a 237-file documentation package fit in 64 batches.
- Make the runtime-limit outcome deterministic, or keep it out of the score, so the same artifact does not get a different AE1 target on every scan.
Related observation
When AE1 is the only finding, meta_analyzer does not run (there are no LLM findings to review). semantic_runtime_accounting then reports the semantic pass as incomplete, because _has_effective_findings(result) is true and there is no meta_analyzer call. The report shows LLM stage degraded: semantic runtime telemetry was incomplete, even though all four semantic analyzers completed successfully. We can file this separately if that's preferred.
Activity
Varshith-Kali commentedon Nov 2, 2026
I would like to take this one. I have reproduced the budget-driven AE1 floor locally and I am working on a fix: scanner-budget incompleteness (output_limit and runtime_limit) should not score as a HIGH finding the way artifact-driven incompleteness does, while the completeness record itself stays intact. I will open a PR with the change and regression tests once it is ready.
fix(analyzer): do not score scanner-budget gaps as HIGH AE1 findings
fix(analyzer): do not score scanner-budget gaps as HIGH AE1 findings (N…