vetted-ops: --caller is self-declared, so per-skill grants are not enforced
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- documentation, security, tooling
Direzione di ricerca
Start in tools/vetted-ops/README.md and the policy template's [callers] table, then trace how vetted-op/vetted-op-read consume --caller. Review the agent-guard hook that receives transcript_path and where the latest skill invocation is recorded, since the guard must map that skill to its caller name and reject mismatches, with an allowlist for documented sub-callers such as security-issue-sync-gatherer. Also add the missing ID-allocation caller to the template. Done means the guard denies borrowed callers, tests cover it, and the docs state callers are not authenticated.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
vetted-op and vetted-op-read authorise each operation by the --caller name the agent passes, and the policy's [callers] table grants operations per skill. Nothing checks that the name matches the skill actually running. When a skill's own caller is refused, the agent can rerun the same operation under another skill's caller that holds the grant, and in practice it did.
Observed: while running the ID-allocation skill, whose caller is not declared in the adopter's policy, the agent ran body-field-set, issue-add-label and rollup-append under --caller security-issue-sync. The operator had approved the writes, but the per-skill split did not restrict anything. The real limit is the union of every caller's grants.
Proposal
- Guard. Add an agent-guard rule for
vetted-op*commands. It reads the session transcript (hooks receivetranscript_path), finds the most recent skill invocation, maps it to that skill's caller name, and denies the call when--callerdiffers. It needs an allowlist for documented sub-callers such assecurity-issue-sync-gathererin subagents. - Docs, until the guard lands. State in
tools/vetted-ops/README.mdand the policy template that callers are not authenticated, and that the policy limits the agent as a whole rather than isolating skills. - Template. Declare a caller for the ID-allocation skill in the policy template. Its absence is what made borrowing tempting.
🤖 Generated with Claude Code
- Lingua principale
- Python
- Stelle
- 152
- Fork
- 133
- Merge medio
- 12h 39m
- PR unite (30g)
- 384
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/magpie
-
vote-tally: date_order_mismatches compares ISO dates as text, so UTC offsets are misreadForse già presa @leninworld l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
release-verify-rc: the Nexus staging id shape refuses Maven's maven-NNNN idsForse già presa @Anurag-S1ngh l’ha presa 3 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
family:tools substrate:sandbox
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
apache/magpie#2176 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
ci: start each shipped tool once from its packaged plugin copyForse già presa @Anurag-S1ngh l’ha presa 3 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
I maintainer di solito rispondono entro 1 giorno
-
feat(issue): interactive duplicate-picker pane mod for issue-deduplicateForse già presa @Kaap10 l’ha presa 8 giorni fa. Apertacapability:resolve enhancement family:ci family:dev family:docs family:issue family:setup family:tools substrate:framework-dev
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
apache/magpie#2075 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/magpie
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
OpenFreeEnergy/openfe#2371 ·
I maintainer di solito rispondono entro 2 giorni
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
NCATSTranslator/Babel#1269 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
404 on sample dataApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100