Skip to content

fix(tier1): scope SkillSpector agent-threat findings to agent control paths - #306

Merged
rng1995 merged 18 commits into
mainfrom
naren/port-agent-security-control-paths
Nov 5, 2026
Merged

rng1995 merged 18 commits into
mainfrom
naren/port-agent-security-control-paths

Conversation

@rng1995

@rng1995 rng1995 commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Tier 1 security now checks where each SkillSpector finding is before it blocks. SkillSpector rules describe attacks on an agent, such as prompt injection, tool abuse and exfiltration. A match only matters when it is in a file the agent reads or runs. For a detected skill, rules, workflows or plugin artifact, findings in other files are counted and suppressed, and they no longer fail the run.

  • New module validators/skillspector_scope.py:
    • skillspector_file_role gives each reported location a role.
      • Kept roles: agent instruction, agent reference, agent executable, agent config, MCP control and plugin manifest.
      • Suppressed roles: source code, UI source, test fixture, documentation, notebook, image, lockfile, repository metadata and ordinary data.
      • A file in a control directory keeps its control role even if its name or extension looks ordinary. For example, scripts/test_x.sh and prompts/x.svg are kept.
    • normalize_report_path resolves the scanner location against the scanned root. The location is unknown, and its finding is kept, when the file is missing, escapes the root through .. or a symlink, is a drive path, contains control characters, or is the root itself.
    • Every file of an issue counts, not just its location. SkillSpector can report identical matches from several files as one issue, with location naming one file and occurrences listing all of them. The issue is suppressed only when every one of those files is outside agent control paths. Otherwise it is kept with the role of the file that keeps it.
    • Any component that SkillSpector marks executable counts as an agent executable. If an executable path does not resolve inside the artifact, nothing in that report is suppressed.
    • referenced_report_paths is a bounded reachability walk:
      • It starts from control files and executable components.
      • It follows textual path references, bare file names of nested files (helper.md for lib/helper.md), Python and JS imports, -m module forms, and the runtime fields of plugin manifests. A reference may end a sentence (Read docs/threats.md.).
      • Skill and plugin root variables are expanded: Claude Code's ${CLAUDE_SKILL_DIR}, $SKILL_DIR, $SKILL_ROOT and ${CLAUDE_PLUGIN_ROOT}, in shell, PowerShell and cmd forms. So are skill-directory placeholders whose name contains skill or base ({baseDir}, {{skill_dir}}, <skill-dir>). The placeholder name is length-bounded, so the substitution stays linear on adversarial text.
      • A path with a directory (one that contains /) also matches right after a /, so it is found behind an install path, a root-relative /, or a placeholder the walk does not expand (~/.claude/skills/demo/docs/threats.md, /data/policy.md, <root>/web/prompt.txt). A top-level file also matches behind the artifact's own directory name (~/.claude/skills/demo/README.md for a skill in demo/). Bare file names still have to start a path, so other/helper.md does not reach lib/helper.md.
      • References match without regard to case (DOCS/THREATS.md reaches docs/threats.md).
      • A file it reaches keeps its findings as agent_reference.
      • Verified raster images and fonts are leaf nodes, because they hold no path text.
      • A word check skips source and file pairs that cannot match: every reference form contains a whole path word of the file. Only the pairs that pass it count against the comparison budget.
    • scope_skillspector_issues combines these for one report. Supply-chain rules (SC*), YARA malware, webshell and cryptominer rules (YR1–YR3), and the artifact-integrity rules for content that does not match its extension (AE2) and text with embedded NUL bytes (AE3) stay blocking on every path. YR4 and the lexical artifact-integrity rules (AE4, AE6) are scoped like the other agent-threat rules.
    • A file named as a raster image (.png, .jpg, .gif, .webp, .ico, .avif) gets the image_asset role only when its content starts with an image signature. Otherwise its findings are kept as unverified_image, because the extension that would suppress them is the one AE2 calls misleading.
    • Classification fails closed when it cannot place a finding or finish the walk:
      • An issue is kept when a location or occurrence is unknown, or when its occurrences field is malformed (not a list, an entry that is not an object, or a file that is not a string).
      • Every issue is kept when the report serializes fewer occurrence records than analysis_completeness.findings_after_filtering, because the unserialized findings have no location.
      • Every issue is kept when the walk meets a symlinked directory, an escaping file, a file it cannot read as text, or a recursive or unloadable manifest (for example an integer past Python's digit limit or an invalid YAML date), or when it exhausts its file, byte, pair, comparison or character budget.
      • Every issue is kept if classification raises an unexpected error, so the security check never aborts on it.
  • SecurityValidator gains content_type and skillspector_reference_root:
    • _process_skillspector_cli_result applies the scope after the existing generated-artifact and SPDX filters.
    • Suppressed issues join removed_issues, and the aggregate risk score is recomputed without them. Without recomputing the score, suppressed issues would still trip the score > 50 policy finding.
    • Kept findings carry artifact_type, file_role and applicability metadata.
    • The result records a skillspector_applicability block: kept and suppressed counts, suppressed counts by role, and raw and applicable risk scores. Folder scans add up the per-skill blocks.
  • tier1.run_validation passes the detected type for skill, rules, workflows and plugin. For a plugin it also passes the plugin root as the reference root, so a bundled skill's ${CLAUDE_PLUGIN_ROOT}/skills/<name>/... references and plugin-level hooks still reach the skill's files. unknown and None keep the unrestricted scan. run_security_scan (security-scan) is unchanged.
  • Reporting:
    • The JSON report carries skillspector_applicability per result.
    • The Tier 1 terminal summary adds a filtered row.
    • When the scan passes, the success message names the suppressed count.
  • Docs: docs/tier1-validation.mdx security section, including the cases that keep the unrestricted scan. CHANGELOG entry under Unreleased / Fixed.

Why

A Tier 1 run failed a skill whenever SkillSpector matched in a file that no agent reads or runs. Common cases were an operator-facing UI string such as "ignore all previous instructions" in an HTML, CSS or .vue file under web/, attack examples in docs/ or test fixtures, and package text in a lockfile. The run failed through HIGH findings or through the aggregate risk-score gate. One example on SkillSpector 2.11.2: a skill whose only matches were in docs/threats.md and web/instruction_display.tsx failed with a raw score of 81, and with this change passed with an applicable score of 0. Once SKILL.md names docs/threats.md, or just threats.md, the document's findings block again. The .tsx half of that example does not carry over to the SkillSpector release the repository installs: v2.12.0 and later mark .tsx executable, so its findings stay blocking as agent_executable (covered by a test).

Tier 1 already runs separate code-risk, secrets, PII, dependency and Unicode checks on those files. security-scan stays the unrestricted repository scan for broad investigation.

Limitations

These keep the unrestricted scan for the whole skill, which is safe but means nothing is suppressed:

  • A PDF, Office document or other binary file in a control location (for example assets/guide.pdf or templates/form.docx). An agent can read guidance in such a file, and the walk cannot follow references inside it.
  • A file the walk reads that is over 1 MB, or a skill large enough to exhaust the walk budgets.

The walk follows references written as text. A file that a control file reaches only through a path built at run time (for example "web/" + name) is not followed, and its findings are suppressed. A top-level file named behind a prefix that is neither a recognized root variable or placeholder nor the artifact's own directory name (for example <root>/README.md, or an install directory with a different name) is not followed either. Top-level files other than READMEs, test files, notebooks, images and lockfiles are agent references whether or not they are named, so this only affects those.

Kept from public

  • Report validation and score reconciliation. Public's strict SkillSpector schema validation, its completeness and analyzer-status checks, and _minimum_skillspector_risk_score are unchanged. Suppressed issues go through the existing removed_issues reconciliation, the same path generated-artifact and SPDX exemptions already use. The score policy gate that public added stays. It is now evaluated on the applicable score.
  • Generated-artifact and SPDX filters. Public's containment-checked _is_generated_artifact_issue and exact SPDX exemption run first and are unchanged. That includes the SC8 bytecode carve-out.
  • Staged scans. Classification uses public's original_root after _rewrite_path_prefix, so staged copies without evals/ outputs are classified against the real skill.
  • Supply-chain coverage. Public's dependency audit covers Python declarations only. It does not read npm, Cargo or other lockfiles. So SkillSpector supply-chain findings and YARA malware signatures are not suppressed by file role.
  • Unknown layouts. Public validates unknown targets like skills. They keep the unrestricted scan, because no agent control path can be established for them.
  • Folder walker. ValidatorBase._validate_folder_or_skill is not changed. Per-skill counters are added up inside SecurityValidator, and no base-class hook is added.

Left out on purpose:

Tests

  • New tests/validators/test_skillspector_scope.py (278 tests):
    • File roles, including control ancestry over test, lockfile and image conventions.
    • Fail-closed location normalization: .., absolute outside, drive paths, control characters, missing file, root itself, escaping symlink, symlink loop, single-file targets.
    • Suppression counts and messages.
    • Control-path findings kept with role metadata.
    • content_type=None stays unrestricted.
    • Suppressed HIGH issues with a raw score above 50 pass Tier 1. Kept MEDIUM issues above the threshold still fail.
    • SC*, YR1–YR3, AE2 and AE3 kept on every path. YR4, AE4 and AE6 scoped.
    • PNG, JPEG and SVG files in assets/ or web/ are suppressed as images. HTML or text named .png or .jpg is kept as unverified_image, and is an agent_reference when SKILL.md names it.
    • An unresolvable executable component disables suppression. An unexpected classification error keeps every finding.
    • Occurrences: an issue whose representative is in docs/ but which also occurs in SKILL.md is kept as agent_instruction. An occurrence in a referenced file is kept as agent_reference. An issue whose occurrences are all outside control paths is suppressed. Malformed, escaping and missing occurrences fail closed. A report with fewer occurrence records than findings_after_filtering fails closed.
  • Reference-walk tests:
    • Direct, directory, -m, backslash, transitive and relative-import references.
    • Root variables and placeholders: ${CLAUDE_SKILL_DIR}, $CLAUDE_SKILL_DIR, $env:CLAUDE_SKILL_DIR, $SKILL_DIR, $SKILL_ROOT and ${CLAUDE_PLUGIN_ROOT} (shell, PowerShell, cmd), {baseDir}, {{skill_dir}} and <skill-dir>, for nested and top-level files.
    • Paths behind other prefixes: ~/.claude/skills/demo/docs/threats.md, <skill-dir>/web/prompt.txt, /data/policy.md, a Windows install path, and ~/.claude/skills/<artifact dir>/README.md. Case-insensitive matches (DOCS/THREATS.md, Helper.MD).
    • Sentence-final references and bare file names. Near misses do not reach the file: docs/threats.md.bak, other/helper.md, the bare word helper, my-docs/threats.md, other-skill/README.md, ~/.claude/skills/other/README.md and <div>/README.md.
    • The word check gives the same result as a walk without it, including package files reached through from .. import, a ${CLAUDE_SKILL_DIR} path in a different case, and a path behind an install prefix.
    • The token and segment-pair prefilter, including /-containing variants inside a token, three-segment variants, and bare names that must start a token.
    • Executable-component seeds and src-layout entry points.
    • A referenced PNG, WOFF2 or TrueType file does not fail the walk closed. Text disguised as an image is still followed. A PDF, and a .ttf without a font signature, fail closed.
    • Each budget fails closed, unrelated files do not count against the comparison budget, large guidance does not exhaust the character budget, and an artifact directory name with a space does not either.
    • Symlinked control directories and unrelated symlink loops.
    • Plugin MCP args, plugin manifest names, a recursive manifest, a plugin.json with an integer past Python's digit limit and an agent_plugin.yaml with an invalid date (both fail closed), the plugin reference root, ${CLAUDE_SKILL_DIR} in a bundled skill, and cross-skill root variables ($SKILL_ROOT, ${CLAUDE_SKILL_DIR}, {baseDir}).
  • Integration through validate_security_only with mocked SkillSpector: scoped vs. general scan, staged scan with absolute staged paths, and folder totals. The checked-in SkillSpector 2.11.1 report, rewritten as a compacted issue with a SKILL.md occurrence and as a truncated report, fails the scoped scan. Also checked: the JSON report and the filtered summary row, and run_validation / run_security_scan constructor wiring for every content type.
  • Mutation checks: removing the risk-score recompute fails 19 tests. Each new behavior in this revision fails at least one test when removed: the / leading boundary (6), CLAUDE_SKILL_DIR (1), placeholders (3), lowercasing (8), the directory-name prefix (1), AE2/AE3 (2), image verification (2), the manifest ValueError handling (2), the segment-pair prefilter (10), the classification guard (1), and the directory-name filter (1).
  • On this branch merged with main at f878f99a (after the 0.7.2 release), with the CHANGELOG entry under Unreleased / Fixed:
    • tests/validators/test_skillspector_scope.py and tests/validators/test_security.py: 891 passed, 1 skipped. test_security.py adds one test: the LLM stage keeps the static applicability block.
    • tests/reporting, tests/cli/test_validate_defaults.py, tests/cli/test_tier_workflows.py, tests/cli/test_validate_plugin.py, tests/test_commands.py, tests/test_skip_checks.py and tests/test_progress_output.py: 1,629 passed.
  • Walk cost on generated layouts (10 scripts, 15 references and 150 or 900 UI files; 50 scripts, 100 references and 2,000 UI files, with ${CLAUDE_SKILL_DIR} and install-path references): every walk finishes and suppresses the UI finding, in 0.3 to 1.5 seconds on a loaded machine.
  • Real SkillSpector 2.11.2 on a demo skill (previous revision): only docs/ and web/ matches pass with an applicable score of 0; SKILL.md naming docs/threats.md or threats.md keeps the document's findings as agent_reference; Python sources stay blocking because SkillSpector marks them executable.
  • ruff check, ruff format --check on the changed hunks, scripts/check_oss_boundary.py and Gitleaks (no leaks found) pass.

🤖 Generated with Claude Code

… paths

Tier 1 security failed a skill on any SkillSpector agent-threat match,
including matches in files no agent reads or runs: operator-facing UI
strings, attack examples in docs/ or test fixtures, notebooks, images and
lockfiles. Those findings blocked directly when HIGH, and otherwise
through the aggregate risk-score gate.

For a detected skill, rules, workflows or plugin artifact, the security
check now classifies each reported file by role. Findings are kept on
agent control paths (instructions, references, executables and
scanner-marked executable components, agent configuration, MCP and plugin
manifests) and on any file those reference, followed transitively by a
bounded walk. Other findings are counted and suppressed, and they are
left out of the recomputed aggregate risk score.

SkillSpector can report identical matches from several files as one
issue whose location names one file and whose occurrences list all of
them. Each issue is classified by every one of those files and is
suppressed only when all of them are outside agent control paths.

The walk follows relative paths, bare file names of nested files,
directory names, Python and JS imports, -m module forms, plugin manifest
runtime fields, and skill or plugin root variables and placeholders
(${CLAUDE_SKILL_DIR}, $SKILL_DIR, $SKILL_ROOT, ${CLAUDE_PLUGIN_ROOT},
{baseDir}, <skill-dir>). A path with a directory also matches behind any
other prefix, such as an install path or a root-relative slash, and a
top-level file matches behind the artifact's own directory name.
References match without regard to case. A word check and a token and
segment-pair index skip searches that cannot match, so ordinary skills
with thousands of UI files finish the walk.

Classification fails closed when it cannot place a finding or finish the
walk. A missing location, or one that escapes the artifact through .. or
a symlink, and malformed occurrences keep their issue. A truncated
report, an unresolvable executable component, a symlinked directory, an
unreadable file, an unloadable manifest, an exhausted walk budget or an
unexpected classification error keeps every finding.

Supply-chain rules, YARA malware, webshell and cryptominer signatures,
and the AE2/AE3 artifact-integrity rules (content that does not match its
extension, text with embedded NUL bytes) stay blocking on every path. A
file named as a raster image takes the image role only when its content
has an image signature. Unknown layouts and the standalone security-scan
command keep the unrestricted scan.

The JSON report records a skillspector_applicability block per result,
kept findings carry artifact_type, file_role and applicability metadata,
and the terminal Tier 1 summary shows a filtered row.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review: 11 findings (1 P1, 2 P2, 8 P3); 10 posted inline.

Findings outside the diff or about the description:

  • PR_DESCRIPTION: P3: The Tests section says the suites were run "On current main (with the 0.7.0 release), with the CHANGELOG entry under the new Unreleased / Fixed heading". This branch is based on a61e1f3f, which reverts the 0.7.0 release preparation (#302). That base has no ## 0.7.0 heading in CHANGELOG.md, pyproject.toml is still at 0.6.0, and the repository has no v0.7.0 tag. The ## Unreleased / ### Fixed section is also not new: the revert restored it, and the entry is appended to it just above ## 0.6.0. The numbers themselves look right: test_skillspector_scope.py plus test_security.py still gives 676 passed at the PR head. Only the wording is stale. As written, a reader may go looking for a 0.7.0 release that does not exist, or think the counts were taken on a different base. main has also moved on since then, for example to the SkillSpector v2.13.3 pin (#292).

Suggested fix: Drop "(with the 0.7.0 release)" and "new", and name the base the counts come from. For example: "On a61e1f3f (main after the 0.7.0 revert, #302), with the entry under Unreleased / Fixed". If you rebase onto the current main, rerun the suites and update the counts.

Comment thread docs/tier1-validation.mdx Resolved
Comment thread docs/tier1-validation.mdx Resolved
rng1995 and others added 10 commits November 2, 2026 11:23
Conflicts: docs/tier1-validation.mdx (kept both the agent control paths and the LLM provenance sections).

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude Code loads .lsp.json, output-styles/ and monitors/monitors.json
without any manifest entry, so the reference walk never reached them and
their findings were suppressed as repository metadata or ordinary data.
Classify them as agent executables and instructions, and also keep the
Codex .app.json and the Codex and Cursor plugin manifests.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The fallback "from ... import" regex allowed newlines before "from", so a
match attempt at every line start of a blank-line run scanned to the end
of the run. One control file of about 1 MB of blank lines cost minutes of
CPU before the character budget was charged. Whitespace before "from" may
no longer include a newline.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
SkillSpector 2.11.2 writes and scores an identical match found in N files
as N issues that share one finding_id. Once scoping suppressed an issue,
the applicable score came from the reconciliation floor, which collapsed
such a group to one finding and subtracted the rest as unknown findings
from the kept issues. Six kept MEDIUM advisories (60) then passed at 50 or
40 when a suppressed match repeated in two or three docs files.

When a 2.10+ report serializes exactly the findings it counted, also score
the kept records directly with SkillSpector's per-rule weights and
executable multiplier, without cross-file dedup or unknown findings, and
gate on the higher of that and the reconciliation floor. Tests now cover
2.11.2-shaped reports, including the reconciliation of suppressed issues
when the records do not line up with the count.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The "skillspector risk score" message was written from the raw score
before scoping, so a passing scoped scan reported "100/100 (CRITICAL)"
next to its success line. When scoping suppressed issues, write the
message after the applicable score is known and label both scores.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
skillspector_applicability.reported_issues held the number of issues kept
after scoping, not the number SkillSpector reported, next to a
raw_risk_score that is the scanner's own value. Rename it to kept_issues
before a release makes the JSON key a compatibility promise.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…them

The reference walk added each one-segment parent directory (docs, web,
tests, and skills for a bundled plugin skill) as a bare variant, so
ordinary wording such as "building a web page from the docs" or "works
with the other skills" made every file under that directory an agent
reference. A top-level directory name now counts only with a slash, a ./
prefix, or quoted as code or a string ("`policies`", "policies").

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The per-file size limit, both artifact file-limit checks (directories
during the walk and referenceable files) and the manifest traversal
budget had no test, so replacing any of their fail-closed returns with
pass left every test green. Each guard now has a case that fails when it
is removed.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Ordinary-file row listed tests/ and UI code as suppressed, and the
CHANGELOG named UI strings and test fixtures, but SkillSpector marks
every .py, .js and .ts file executable. Those files are agent
executables that seed the reference walk, so their findings and those of
any fixture they name stay blocking. Narrow the row and the entry to
non-executable files, say so explicitly, and pin the behavior with a
test.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The docs said every top-level file other than READMEs, test files,
notebooks, images and lockfiles is an agent reference, but top-level .rst
documents and dotfiles that are not recognized agent files (such as .env)
are suppressed too. Add them to the exceptions and add repository
metadata to the Ordinary-file row; the role table test pins each case.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the earlier review points look fixed on this head. I read the scope module, the walk and the security.py wiring, and re-ran the new head against real SkillSpector reports. Two things reproduce and matter: a symlinked file is enough to hide a finding from the Tier 1 gate (SKILL.md symlinked to a docs/ file passes), and the web/*.tsx example the PR leads with does not pass on the SkillSpector release the repo installs, because .tsx is an executable suffix there.

The docs table row and the CHANGELOG entry both name .tsx as a suppressed UI file. Once the suffix list is checked against the pinned SkillSpector release, those two places need the same correction as the code comment above.

rng1995 and others added 5 commits November 3, 2026 09:46
…rence walk

- A reached symlink also reaches its in-root target, because SkillSpector
  reports matches under the real file's name.
- Bare directory words and globs in code spans and fenced blocks reach the
  files the agent would expand them to; prose stays excluded.
- Keep the static stage's skillspector_applicability block when the LLM stage
  runs; the LLM stage's block goes under skillspector_llm_applicability.
- Docs and CHANGELOG: SkillSpector 2.12+ marks .tsx and other source suffixes
  executable, so only HTML, CSS, .vue and similar UI files are suppressed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Conflicts resolved in src/skillevaluator/validators/security.py and docs/tier1-validation.mdx.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The finding-8 change required a slash, a ./ prefix, or quotes around a
one-segment directory name in every source, so a script that ran
`find policies -type f -exec cat {} +` or `cd policies && cat *.md` no
longer reached policies/, and its prompt-injection findings were
suppressed. A bare top-level directory name, from the walk root and from
the enclosing skill root, now counts again when the referring file is
code (a source or shell suffix, an agent_executable role that is not a
prose file, or a SkillSpector executable component) in the same
namespace. Markdown and other prose keep the slash, ./ or quoted rule.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
_retained_skillspector_risk_score sorted each rule's contributions purely
ascending, so a rule with mixed severities (such as P9 or TM1 emitting
MEDIUM and LOW) gave its largest weight to a LOW finding. SkillSpector and
legacy_score order by severity first, descending. Five such rules score
68.75 in SkillSpector but scored 50 here once any issue was suppressed,
and the run passed. Contributions now sort by (-severity points,
contribution), keeping the ascending lower bound only within a severity.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up on the current head. The symlink fix works: with only an alias pointing at it, a finding on the target stays blocking. I also checked an alias chain (guide.md -> docs/mid.md -> docs/evil.md), which stays blocking, and a symlinked references/ directory, which fails closed. Globs and bare directory words in code spans now reach their files, including a nested match for docs/*.md. The static applicability block keeps its own key when the LLM stage runs, and the docs and CHANGELOG now match the executable suffixes in SkillSpector 2.12+. Nothing further from me.

rng1995 and others added 2 commits November 5, 2026 22:31
Resolve conflicts with #300 (SkillSpector baselines): SecurityValidator
takes content_type, skillspector_reference_root, and skillspector_baseline;
Tier 1 security passes the agent-scope arguments and the baseline; the
SkillSpector summary keeps both the baseline-suppressed message and the
agent-control-path suppression note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 merged commit f7912c3 into main Nov 5, 2026
22 checks passed
@rng1995
rng1995 deleted the naren/port-agent-security-control-paths branch November 5, 2026 18:07
rng1995 added a commit that referenced this pull request Nov 6, 2026
The bridge_services fixture probes /healthz until the bridge answers. The
probe's server worker can still be finishing after urllib has read the
response, so under CI load a test could start with one worker already
active. test_slow_drip_request_line_and_headers_obey_an_absolute_deadline
then counted that worker next to its own connection and failed with
'assert 2 == 1' (seen on PRs #306 and #344). Wait for the bridge's workers
to drain before yielding the fixture.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@rng1995 rng1995 mentioned this pull request Nov 6, 2026
7 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants