PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Skill Details

Runtime
(gpt-5.5)
Example user message
[userMessage]: Harden my Express API before I deploy it.
Example agent response
Project Detected: Node.js Express API with JWT authentication --- Security Risks Found: - CORS allows requests from every origin - Production error responses expose internal error details - JWT secret configuration is not validated at startup - Security headers are not configured --- Security Fixes Applied: - Restricted CORS origins through environment-based configuration - Added production-safe error responses - Added startup validation for JWT_SECRET - Added secure HTTP headers using existing Express middleware patterns --- Files Modified: - src/app.js - src/middleware/errorHandler.js - src/config/env.js - .env.example - package.json --- Commands Executed: - npm audit - npm test - npm run lint --- Validation Result: Tests and linting passed successfully. The dependency audit reported one moderate development-only issue that was not automatically upgraded. --- Remaining Risks: - Rate limiting is not yet configured on the login endpoint - Production proxy and HTTPS settings should be verified on the hosting platform --- Recommended Next Step: Add rate limiting to authentication routes before public deployment.
🦞 OpenClaw Skill

Harden Any Project Automatically

Add to Cart
PromptBase Select
Or get it with Select10 Select prompts/mo — under $2 each
Learn more
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this skill, you agree to our terms of service
GPT-5.5
Tested icon
Guide icon
Free credits icon
Automatically find and fix common security weaknesses in existing projects. This skill inspects source code, dependencies, configuration, authentication, input handling, and secret management, then applies safe security improvements and validates the result. ✔ Detect common security risks ✔ Fix unsafe configuration ✔ Improve input validation ✔ Protect secrets and sensitive data ✔ Run safe audits and tests Perfect for SaaS apps, APIs, dashboards, and production-ready projects.
...more
Added 1 week ago
Report
Browse Marketplace