AML.T0080 is AI Agent Context Poisoning (sub-techniques Memory and Thread). The technique for poisoned tool definitions, implementations and responses, including MCP tools and agent skills, is AML.T0110 AI Agent Tool Poisoning (ATLAS data v2026.10). Update the TP constant, the B.3.2 doc and the tag test, and assert TP findings no longer carry AML.T0080.
Signed-off-by: John B Joseph <223714458+Johnbjoseph-cybersec@users.noreply.github.com>
Co-authored-by: John B Joseph <223714458+Johnbjoseph-cybersec@users.noreply.github.com>
z-ai/glm-5.3 reached end of life on 2026-10-28 and the hosted endpoint
no longer serves it; z-ai/glm-5.3-flash is the only GLM id listed.
Update the default, bundled registry entry, reasoning-effort default,
tests and docs.
Signed-off-by: Alex Castillo <alex.castillog33@gmail.com>
* fix(providers): reject SKILLSPECTOR_TEMPERATURE for all Claude models that drop sampling
Anthropic's migration guides state that Claude Opus 5.5, Opus 5, Sonnet 5, Fable 5.1 and Haiku 5.5 answer requests carrying temperature, top_p or top_k with HTTP 400, and that Opus 4.7 and 4.8 already do. SAMPLING_REJECTED_MODELS listed only claude-opus-5-5 and claude-sonnet-5-5, so on the other models the guard did not fire and users got the raw 400 instead of the clear 'not supported' error.
Cover the opus-4-7/4-8, opus-5, sonnet-5, fable-5 and haiku-5 families (snapshots and point releases included), update the tests that assumed fable-5-1 accepted temperature, and update the docs.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Alex Castillo <alex.castillog33@gmail.com>
Signed-off-by: Alex Castillo González <alex.castillog33@gmail.com>
* fix(providers): reject sampling controls for Mythos 5.1
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Alex Castillo <alex.castillog33@gmail.com>
* docs: list Mythos 5 among models that reject sampling controls
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Alex Castillo <alex.castillog33@gmail.com>
---------
Signed-off-by: Alex Castillo <alex.castillog33@gmail.com>
Signed-off-by: Alex Castillo González <alex.castillog33@gmail.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* feat(supply-chain): document locked npm content inspection
Document the opt-in dependency inspection mode and its initial support boundaries.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* docs: define npm inspection scope and resource limits
Document supported artifacts, isolation, completeness semantics, and configurable limits.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* feat(supply-chain): inspect locked npm dependency contents
Add bounded artifact acquisition, SHA-512 verification, isolated static inspection, canonical completeness accounting, and CLI/workflow integration.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* feat(report): expose dependency inspection status
Include dependency inspection results in the report and preserve completeness gates.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* test(supply-chain): cover locked npm inspection
Cover integrity, archive isolation, provenance, budgets, unsupported content, and completeness behavior with 63 cases.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* fix(supply-chain): enforce total dependency acquisition deadline
Run HTTP acquisition in a disposable subprocess with the remaining absolute deadline, including headers and cleanup. Stream raw transport chunks without buffering and conservatively charge failed acquisition.
Add regressions for one-byte streams, stalled headers/body, DNS deadlines, subprocess delivery, and incomplete accounting. Document the enforced acquisition boundary.
Validation: deadline regressions passed on source and a fresh wheel; 241 integration tests passed, 5 skipped; lint, formatting, and wheel build passed.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* test(supply-chain): expose isolated detection failures early
Show worker limitations and incomplete work in positive detection assertions. Require E1, E2 and SC2 findings under the existing sandbox while retaining filesystem, network and process denial checks. Run dependency inspection regressions before the full CI suite.
Validation: all 78 dependency inspection tests passed locally on Python 3.12.13; Ruff lint, format checks and patch checks passed. The hosted detection failure remains under investigation.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* test(supply-chain): diagnose the complete sandbox bootstrap
Exercise the real worker entrypoint when checking positive detections and denied host access, so its resource and descriptor setup is covered. Preserve captured stderr and render incomplete-work diagnostics without repr truncation.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* fix(supply-chain): seed worker finding identities before isolation
Hosted worker diagnostics show that finding UUID creation attempts to open /dev/urandom after seccomp denies filesystem access. Seed a worker-local SHA-256/counter identity source before descriptor closure, and scope its use to archive inspection through a task-local finding-ID factory. Ordinary scans keep UUID identities.
Keep the syscall policy, descriptor closure and resource limits unchanged. Exercise the actual worker bootstrap, deny runtime entropy in the regression, retain E1/E2/SC2 detection assertions and verify that file, network and process access remain blocked. Cover nested factory restoration after exceptions.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* style(tests): apply Ruff formatting to the worker fixture
Normalize the byte-string quote style required by Ruff 0.15.19. No test behavior changes.
Validation: Ruff lint and format checks passed across src/ and tests/; git diff --check passed.
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
---------
Signed-off-by: YMuskrat <101849520+YMuskrat@users.noreply.github.com>
* feat(providers): accept OpenCode 1.18.31-1.18.34 version range
- Replace the exact pin with inclusive _OPENCODE_MIN_VERSION /
_OPENCODE_MAX_VERSION triplets; _parse_opencode_version returns
a triple and both gates (preflight + auth check) share one
range predicate; prereleases and unparsable output still fail
closed; the debug-config subset check is untouched
- 14 new boundary cases: parse accept (.31-.34) / reject (.30,
.35, prerelease, garbage, empty); probe accept / reject; RED
witnessed on the exact pin before the cutover
- Verified: tests/provider 55 passed, 3 skipped (pre-existing
POSIX-only skips); ruff + format + diff-check clean; live
matrix .31/.32/.33/.34 all green (auth + preflight +
isolated live run + run --help diff)
- Ponytail review: lean, no findings
Signed-off-by: Yoseph Zuskin <zuskinyoseph@gmail.com>
Co-Authored-By: OpenCode Muse Spark 1.3 Free (1M context) <noreply@opencode.ai>
* fix(providers): answer range review with explicit version set
- Replace the MIN/MAX window with _OPENCODE_SUPPORTED_VERSIONS,
a frozenset of the 4 verified triples; the predicate is
membership, so a raised MAX can never silently admit an
unverified patch; error text keeps the 1.18.31-through-1.18.34
wording
- README + DEVELOPMENT list the verified releases; prereleases
fail closed
- Comments carry per-version evidence; TEST_HOME/MANAGED
overrides confirmed per window; gate documented load-bearing,
not belt-and-suspenders
- tests: predicate-call rewrites, frozenset membership pin,
fake-binary preflight at .30/.35 (RED: missing name)
- Verified: file 58/5, provider+unit 140/5, ruff clean
Signed-off-by: Yoseph Zuskin <zuskinyoseph@gmail.com>
Co-Authored-By: OpenCode Muse Spark 1.3 Free (1M context) <noreply@opencode.ai>
* fix(providers): widen verified OpenCode set to 1.19.3
- Add (1, 19, 1), (1, 19, 2), (1, 19, 3) to
_OPENCODE_SUPPORTED_VERSIONS; nine explicit triples, never a
range
- Evidence beside the set: per-release live matrix with exact
nonce replies, auth-list shape byte-identical, preflight PASS;
run --help byte-identical across 1.19.1-1.19.3 (sole delta vs
1.19.0: hidden --share flag, session sharing discontinued);
plugin packages pinned identically across 1.19.0-1.19.3 in
bun.lock and no in-tree plugin source changed (the check review
asked to keep next to the set)
- Boundary tests move with the edge: accept 1.19.1-1.19.3; reject
1.19.4 at parse, probe and preflight levels; set pin covers
nine
- Docs: README table + fail-closed note and DEVELOPMENT list nine
- Verified: provider + agent_cli suites 155 passed, 10 skipped;
ruff check + format and git diff --check clean
Signed-off-by: Yoseph Zuskin <zuskinyoseph@gmail.com>
Co-Authored-By: OpenCode Zen DeepSeek V4.1 Flash Free (200K context) <noreply@opencode.ai>
* fix(providers): widen verified OpenCode set to 1.19.4
- Add (1, 19, 4) to _OPENCODE_SUPPORTED_VERSIONS; ten explicit
triples, never a range
- Evidence beside the set: same live matrix with exact nonce replies,
auth-list and both --help surfaces byte-identical to 1.19.3, plugin
packages and in-tree plugin source unchanged from 1.19.3
- Boundary tests move with the edge: accept 1.19.4; reject 1.19.5 at
parse, probe and preflight levels
- Docs: README table + fail-closed note and DEVELOPMENT list 1.19.4
- Verified: provider suite 72 passed, 6 skipped; ruff check + format
and git diff --check clean
Signed-off-by: Yoseph Zuskin <zuskinyoseph@gmail.com>
Co-Authored-By: OpenCode DeepSeek V4.1 Flash Free (1M context) <noreply@anthropic.com>
---------
Signed-off-by: Yoseph Zuskin <zuskinyoseph@gmail.com>
Co-authored-by: OpenCode Muse Spark 1.3 Free (1M context) <noreply@opencode.ai>
Co-authored-by: OpenCode DeepSeek V4.1 Flash Free (1M context) <noreply@anthropic.com>
Allow gateways to receive extra headers through SKILLSPECTOR_COMPAT_HEADERS.
Validate the JSON object without exposing header values and forward it through
the existing default_headers support for sync and async clients.
Document the setting in the README, environment example, development reference,
and CLI help. Cover invalid and empty configuration, HTTP requests, and secret
removal from child-process environments.
Refs NVIDIA/SkillSpector#821
Signed-off-by: jh49choi <214461983+jh49choi@users.noreply.github.com>
Co-authored-by: jh49choi <214461983+jh49choi@users.noreply.github.com>
Resolve the tool-misuse analyze() conflicts with #790: ctx() keeps main's
single line_and_column() lookup (dropping the PR's duplicate column lookup),
and the TM4 loop keeps the PR's static_runner.iter_pattern_matches routing
plus main's per-match runtime_check(). All other #790 plumbing auto-merged.
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since #828, the shipped-bytecode walk counts only its own CPU time against
the 5-second budget, and the workflow wall-clock deadline bounds elapsed
time. Word the resource-bounds row the same way as the YARA rule-load row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
The tool-misuse parse-exhaustion hook reported static_parse_limit for two
kinds of benign text, leaving the file partially inspected:
- Markdown prose with a possessive or contraction such as "reference's"
and no later apostrophe. Read as a shell single quote, it stays open to
the end of a file larger than the command-word budget. When the lexical
reading hits a limit, retry with a prose reading that treats word
apostrophes on plain prose lines as punctuation. A line qualifies only
when every quote on it is such an apostrophe, it has no `$`, backtick,
backslash or double quote, and it starts a new shell line. Headings,
code, HTML, tables and pending inline code keep the lexical reading, and
the prose reading can only resolve a limit, never add one.
- A runtime-selected command word inside a Python string literal, such as
Markdown inline code in an f-string report line. The operand recheck read
past the closing quote into later host code. A command in a proven string
now takes operands only from the rest of that string's value: its body
plus literals implicitly or `+`-concatenated after it. A value that `%`,
`.format` or another method call, a subscript, repetition or a
non-literal operand can still extend stays partial, also after a closing
parenthesis. f-string replacement fields count as possible recursive and
force options, so a root target beside one stays partial.
Genuinely runtime-selected destructive commands keep their partial result,
and TM1 still reports literal destructive commands.
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>