[External Plugin]: shim-cli

Aperta Adatta ai principianti
#3,425 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
70/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, shell, vscode
Ambito
security, tooling

Direzione di ricerca

Inizia confrontando le voci external-plugin esistenti nel repository con il percorso del plugin fornito, plugins/shim-cli. Leggi docs/compatibility.md a ref v1.0.1 e verifica il repository, il commit immutabile, la licenza, la piattaforma e il comportamento del client. Il lavoro è completato quando la submission shim-cli è rappresentata in modo coerente e i dettagli di compatibilità dichiarati sono preservati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

external-plugin needs-review:MEDIUM ready-for-review
Plugin name

shim-cli

Short description

Finds secrets and personal data locally, in your prompts and in the tool results the agent reads, and tells you what it found. In VS Code it reports, and with enforcement on it stops a prompt or denies a tool call before it runs; a result that has already reached the model is reported, never masked. No account, no network destination, no telemetry.

GitHub repository

GetSHIM/shim-cli

Plugin path inside the repository

plugins/shim-cli

Ref to review

v1.0.1

Commit SHA to review

4b68ff19c352e5281e863a5df0d0ad1814bc0dae

Version

1.0.1

License identifier

Apache-2.0

Author name

shim Engineering

Author URL

No response

Homepage URL

No response

Keywords

privacy
security
hooks

Additional notes for reviewers

I'm one of the maintainers. What each client was measured to grant is in docs/compatibility.md at this commit; the short version:

  • VS Code (measured on 1.137.0 with Copilot Chat 0.65.0) is the client this listing serves. shim reports what it finds in prompts and tool results. With enforcement turned on in its config it can stop a prompt at UserPromptSubmit or deny a tool call at PreToolUse. It never masks in VS Code. After a tool has run it can only report: a PostToolUse block was measured and the model still read the result.
  • In VS Code a read_file result reaches the hook as an empty tool_response, so file reads are checked by path only. run_in_terminal output arrives in full.
  • GitHub Copilot CLI loads the same com.github.copilot/hooks/hooks.json, but the command exits at once when COPILOT_CLI is set, so installing this plugin in Copilot CLI inspects nothing. Copilot CLI users get the hook from the PyPI package with shim install copilot. The Copilot app has not been tested.
  • If no Python 3.9+ is found or the hook fails, the prompt or tool call goes through uninspected. Detection is regex plus checksums, so expect false positives and misses.
  • macOS and Linux are the supported platforms; the hook commands run through sh.

v1.0.1 is an annotated tag (tag object c83249766a307c78a5a2e2533b95fa9598ceb371); the SHA above is the commit it points to.

Submission checklist
  • The plugin lives in a public GitHub repository.
  • The ref and/or sha I provided is immutable (release tag and/or full 40-character commit SHA), not a branch.
  • This submission follows this repository's contribution, security, and responsible AI policies.
  • This plugin is not already listed in the Awesome Copilot marketplace.
Lingua principale
JavaScript
Stelle
39.2k
Fork
5k
Merge medio
1g 17h
PR unite (30g)
114

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/awesome-copilot

Tutte le issue di github/awesome-copilot

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.