Publish SpecFlow and Pii to community registry#109
Merged
Conversation
First community-published packages from an external contributor. - SpecFlow: Spec-driven development with gated workflow (monorepo with CLI) - Pii: PII detection and pseudonymization (CLI + NER) Both repos have pai-manifest.yaml with capability declarations. Tested via pai-pkg install from git URL — both install cleanly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mellanon
approved these changes
Mar 25, 2026
Owner
mellanon
left a comment
There was a problem hiding this comment.
Security Review: APPROVE WITH NOTES
Reviewed both repos for community registry inclusion. Neither is malicious — both are legitimate, well-structured tools. The findings below are manifest accuracy issues, not security threats.
Pii-Pseudonymizer — LOW risk ✅
Clean codebase. One manifest update needed:
- Undeclared network:
@huggingface/transformersdownloads the NER model fromhuggingface.coon first use. Manifest saysnetwork: []. Should declarenetwork: ["huggingface.co"]. - Filesystem: CLI accepts arbitrary paths via
--file,--save-session, etc. This is standard CLI behavior, but manifest only declares~/.config/pii-pseudonymizer/.
SpecFlow Bundle — MEDIUM risk ✅
Larger surface area. Several manifest updates needed:
- Undeclared network: Code calls Anthropic API (
api.anthropic.com) for eval grading + user-configurable webhook innotifications.ts. Manifest saysnetwork: []. Should declare at minimumnetwork: ["api.anthropic.com"]. - Undeclared secrets: Reads
ANTHROPIC_API_KEYfrom env and probes.envfiles. Manifest sayssecrets: []. Should declaresecrets: ["ANTHROPIC_API_KEY"]. - Broader bash than declared: 13 uses of
claude --dangerously-skip-permissions, plusgitandgitleakscommands. Manifestrestricted_toonly listsspecflow *andbun packages/specflow/src/index.ts *. - Author PII leak:
migrate-registry.tscontains hardcoded/Users/fischer/...paths. Should be parameterized or removed before wider distribution. - Undeclared filesystem: Reads
~/work/,~/.claude/.env,~/work/ragent/.env— none declared.
Action items (non-blocking for registry inclusion)
These don't block the merge — the packages work correctly and are safe to install. But accurate manifests matter for pai-pkg audit to produce trustworthy results. @jcfischer please update the manifests in follow-up commits:
- Pii: add
network: ["huggingface.co"] - SpecFlow: add
network: ["api.anthropic.com"],secrets: ["ANTHROPIC_API_KEY"] - SpecFlow: expand
bash.restricted_toto includeclaude *,git *,gitleaks * - SpecFlow: clean hardcoded
/Users/fischer/paths frommigrate-registry.ts
First community-published packages — nice work! 🎉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/REGISTRY.yamlSkill Details
SpecFlow
.specflow/,.specify/,~/.config/specflow/; bash restricted tospecflowCLIpai-pkg install https://github.com/jcfischer/specflow-bundle— installs cleanly as v0.1.0Pii
~/.config/pii-pseudonymizer/; bash restricted topiiCLIpai-pkg install https://github.com/jcfischer/pii-pseudonymizer— installs cleanly as v1.0.0Checklist
🤖 Generated with Claude Code