Configure Clojure Ring/Compojure Backend for JSON API with CORS — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Configure Clojure Ring/Compojure Backend for JSON API with CORS (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.
Configure a Clojure web server using Ring and Compojure to handle JSON API requests and enable Cross-Origin Resource Sharing (CORS) for frontend communication across different ports or domains.
Act as a Clojure backend developer. Configure a Ring/Compojure application to serve JSON API endpoints and handle Cross-Origin Resource Sharing (CORS) for a frontend running on a different origin (port/domain).
ring.middleware.cors/wrap-cors to enable CORS.wrap-cors with specific allowed origins (regex), methods (including :options), and headers (e.g., Content-Type, Authorization).(OPTIONS "*") route in defroutes to handle preflight requests, returning an empty map {} or a response.wrap-cors to intercept requests correctly.(:params request).(response {:status "success" ...}) and set the Content-Type header to "application/json".#".*") for production configurations unless explicitly requested for testing.OPTIONS route if preflight errors occur.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.