Public Legal Ai Endpoint Protection
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install legal-skills-public-legal-ai-endpoint-protectionWhat this does: Reviews public or shared AI-backed web endpoints for abuse, excessive cost, data exposure, unsafe browser control, weak request limits, and missing human approval. Use before launching or materially changing an HTTP or API endpoint that can invoke an AI model. Do not use as a penetration test, compliance certification, or substitute for runtime monitoring and professional security review.
Manual setup by platform
Claude Code
~/.claude/skills/legal-skills-public-legal-ai-endpoint-protection/SKILL.md
Instructions
Public Legal-AI Endpoint Protection by Ignacio Adrián Lerer
Public-light endpoint review method by Ignacio Adrián Lerer.
Review the design and configuration without probing a live third-party system. Use local code, documentation, synthetic requests, or an authorized test environment.
Review workflow
- Map the request path from caller to model provider and back.
- Identify who can call the endpoint, what data they can supply, and which costly or sensitive actions they can influence.
- Verify that authorization and abuse controls run before any paid model call.
- Check the minimum controls below.
- Record missing evidence separately from confirmed defects.
- Return
PASS,REVIEW, orBLOCKand the smallest safe remediation.
Minimum controls
- Accept only intended HTTP methods and content types.
- Enforce authentication or a documented public-use policy.
- Restrict allowed origins when browser access is intended.
- Apply per-user or per-client rate and concurrency limits.
- Cap request size, history length, output size, duration, and retry count.
- Select models and tools on the server, not from unrestricted browser input.
- Keep secrets and provider credentials outside client-visible responses.
- Validate and normalize user-controlled fields before provider calls.
- Return sanitized errors without upstream request details or sensitive diagnostics.
- Record enough metadata to investigate abuse without logging confidential content by default.
- Define spend alerts, a kill switch, and a rollback path.
- Require explicit human approval before expanding permissions, data access, external actions, or budget.
Decision states
PASS: minimum controls are evidenced and remaining risk fits the declared public-use policy.REVIEW: evidence is incomplete or a non-critical control needs a named owner and deadline. Do not claim production readiness.BLOCK: an unauthenticated or browser-controlled request can cause uncapped spending, expose sensitive data, select unrestricted tools/models, or trigger consequential external actions.
Output
## Public AI Endpoint Protection Receipt
Endpoint and intended users:
Evidence reviewed:
Decision: PASS | REVIEW | BLOCK
### Request path
- Caller:
- Server controls:
- Model or tool boundary:
- Returned data:
### Findings
- Confirmed:
- Missing evidence:
- Highest plausible impact:
### Required controls
- [control, owner, verification]
### Human approval points
- [action requiring approval]
### Recheck triggers
- [code, provider, permission, model, tool, or budget change]
Verification and fallback
Verify controls from source, configuration, or an explicitly authorized test environment. Do not probe external systems, bypass access controls, or run load tests merely because this Skill was invoked.
If the deployment or configuration cannot be inspected, return REVIEW or BLOCK. Do not infer safety from a framework, hosting provider, or security product name.
Trigger tests
- Obvious: “Review this public AI API before launch.”
- Paraphrased: “Could a visitor make our chatbot spend without limit?”
- Changed system: “We added tools and a larger model to the endpoint. Recheck it.”
- Non-trigger: “Draft the marketing copy for our legal-tech homepage.”
Public boundary
This edition contains a general educational checklist only. Do not include credentials, private configurations, internal prompts, client data, local paths, proprietary thresholds, provider routing, cost ledgers, private evaluations, or exploit instructions.
Security
Reviews (0)
Related skills
Browse all →More from Lawvable Legal Skills
View source →More Build skills
Browse category →Frequently asked questions about public-legal-ai-endpoint-protection
What does the public-legal-ai-endpoint-protection skill do?
Reviews public or shared AI-backed web endpoints for abuse, excessive cost, data exposure, unsafe browser control, weak request limits, and missing human approval. Use before launching or materially changing an HTTP or API endpoint that can invoke an AI model. Do not use as a penetration test, compliance certification, or substitute for runtime monitoring and professional security review. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the public-legal-ai-endpoint-protection skill?
Run `npx @skills-hub-ai/cli install legal-skills-public-legal-ai-endpoint-protection` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/legal-skills-public-legal-ai-endpoint-protection/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does public-legal-ai-endpoint-protection work with?
public-legal-ai-endpoint-protection runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the public-legal-ai-endpoint-protection skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use public-legal-ai-endpoint-protection after installing it?
In Claude Code, type `/legal-skills-public-legal-ai-endpoint-protection` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the public-legal-ai-endpoint-protection skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/legal-skills-public-legal-ai-endpoint-protection)<a href="https://skills-hub.ai/skills/legal-skills-public-legal-ai-endpoint-protection"><img src="https://skills-hub.ai/api/badges/skill/legal-skills-public-legal-ai-endpoint-protection" alt="Install on Skills Hub"></a>More options in the badge docs.