add-endpoint — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited add-endpoint (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
API routers are thin HTTP wrappers — all business logic lives in property_core.
Create app/api/v1/new_endpoint.py:
from __future__ import annotations
from fastapi import APIRouter, HTTPException, Query
router = APIRouter(prefix="/new", tags=["new"])
@router.get("/action")
async def action_endpoint(
required: str = Query(..., description="Required parameter"),
optional: str | None = Query(None, description="Optional filter"),
limit: int = Query(50, ge=1, le=200, description="Max results"),
):
"""Endpoint description."""
import asyncio
from property_core import SomeService
try:
result = await asyncio.to_thread(
SomeService().method,
param=required,
limit=limit,
)
except ValueError as exc:
raise HTTPException(status_code=422, detail=str(exc))
return result.model_dump(mode="json")Open app/api/routes.py:
from .v1 import new_endpoint
api_router.include_router(new_endpoint.router)property_core models directly (Pydantic → JSON automatic)app/schemas/new_endpoint.pyapp/schemas/__init__.py if needed| Pattern | Example |
|---|---|
| Sync service call | app/api/v1/ppd.py |
| Async service call | app/api/v1/analysis.py |
| Simple calculator | app/api/v1/stamp_duty.py |
| Configuration check | app/api/v1/epc.py |
app/api/v1/app/api/routes.pyQuery() annotations with descriptions on all parametersValueError → 422, upstream failure → 502~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.