Skip to content

fix(yara): triage skill-install scans instead of hard-blocking - #977

Merged
gewenyu99 merged 2 commits into
mainfrom
fix/skill-install-triage
Jul 24, 2026
Merged

fix(yara): triage skill-install scans instead of hard-blocking#977
gewenyu99 merged 2 commits into
mainfrom
fix/skill-install-triage

Conversation

@gewenyu99

Copy link
Copy Markdown
Collaborator

just triage everything i guess

downloadSkill scanned installed skills with no triage provider (hardcoded
undefined), so any raw YARA match terminated the install with no LLM
false-positive pass — our own posthog-best-practices skill got blocked 5x/run
on docs like 'you can disable autocapture by setting it to false'. Default the
provider from gateway auth (same pass as tool-use scans); still fail-closed
when no provider is configured.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gewenyu99
gewenyu99 requested a review from a team as a code owner July 24, 2026 20:01
@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

…aged

pi never sets the ANTHROPIC_* env vars, so createTriageLLMProvider()'s env
fallback is empty on the pi path — scanInstalledSkill ran untriaged there and
hard-blocked clean first-party skills. Thread pi's gateway triageAuth through
installSkillById -> downloadSkill -> scanInstalledSkill so the pi install_skill
tool triages like every other scan path. Non-pi callers pass undefined and keep
the env-based default from #977.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gewenyu99
gewenyu99 merged commit 618d954 into main Jul 24, 2026
16 checks passed
@gewenyu99
gewenyu99 deleted the fix/skill-install-triage branch July 24, 2026 20:47
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