# shipsafe

> Audit and patch web security vulnerabilities, headers, and misconfigurations for Next.js, Nginx, and Vercel apps.

shipsafe is a free AI agent skill on Agensi by Navdeep Singh, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Navdeep Singh](https://www.agensi.io/creators/navdeep1840)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/shipsafe
- Tags: api, security, nextjsbase, devops, node-js

## About this skill

Misconfigured headers and exposed secrets are low-hanging fruit for attackers. This skill identifies common web security gaps and patches them at the infrastructure or configuration level without refactoring your application logic.

### What it does
- **Live scanning** identifies missing security headers, HSTS misconfigurations, and vulnerable JavaScript libraries.
- **Exposure detection** probes for `.env` files, `.git` directories, and exposed backups on owned domains.
- **Platform-aware patching** modifies `next.config.js`, `vercel.json`, `netlify.toml`, `nginx.conf`, or Express middleware.
- **CSP generation** builds a `Content-Security-Policy-Report-Only` based on actual third-party host usage.
- **DNS auditing** verifies SPF, DMARC, and CAA records to prevent domain spoofing and takeover.

### How it works
1. **Initial scan**: Run `node scripts/scan.mjs <url>` to audit the live environment and script dependencies.
2. **Local audit**: The agent detects your platform and scans for secrets in client-side env vars or `localStorage`.
3. **Drafting fixes**: You receive a prioritized report (Critical to Low) and a specific plan mapping file changes to finding IDs.
4. **Automated patching**: Once approved, the agent applies minimal configuration changes and runs your build to ensure no regressions.
5. **Validation**: After you deploy, the agent re-scans the live URL to verify the fixes are active.

### Frameworks & tools
Supports Next.js, Vercel, Netlify, Nginx, Cloudflare Pages, and Express. Uses `retire.js` for vulnerability lookups and public Certificate Transparency logs for subdomain discovery.

### Why this beats prompting it yourself
Writing secure CSPs and HSTS headers manually often leads to broken site functionality or weak protection. This skill uses a specialized scanner to generate host allowlists from actual telemetry and strictly follows platform-specific configuration patterns to avoid common deployment errors.

### Use cases
- Hardening a production landing page before a major launch.
- Auditing a legacy Express app for outdated JS dependencies and missing cookies flags.
- Fixing DNS-based email spoofing vulnerabilities for a client domain.
- Auditing Vercel or Netlify deployments for accidental `.env` leakage.

### Known limitations
Does not find code-level bugs like SQL injection or broken access control. Requires Node.js 18+ and outbound network access for vulnerability database updates.

## Requires

- Node.js
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the shipsafe skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does shipsafe differ from a standard web vulnerability scanner?

The skill audits and automatically patches security headers, infrastructure misconfigurations (like Nginx or Vercel settings), and exposed secrets, whereas standard scanners only report issues without fixing them.

### Which frameworks and hosting platforms are compatible with this skill?

It supports Next.js, Express, and static sites deployed via Vercel, Netlify, Nginx, or Cloudflare Pages, requiring Node.js 18+ to execute the scanning and patching scripts.

### Can this skill detect and fix code-level bugs like SQL injection?

No, shipsafe focuses on infrastructure and configuration hardening; it does not analyze application-level logic for vulnerabilities like SQL injection or broken access control.

### Do I have the ability to review the security patches before they are applied to my code?

Yes, the agent generates a prioritized report and a specific plan for your approval before any changes are applied to your configuration files.

### What is included in the shipsafe skill package?

The purchase includes the core auditing logic, platform-aware patching scripts, a CSP generation tool, and documentation for integrating the skill into your local development or CI/CD workflow.

### How does the skill handle Content Security Policy (CSP) without breaking my website?

By using actual site telemetry to build allowlists, shipsafe ensures your Content-Security-Policy (CSP) is strict enough to block attacks but tailored enough to prevent breaking third-party scripts.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
