asamassekou10/ship-safe/ship-safe-scan
Claude Code and agent skill by asamassekou10/ship-safe
- community
Checking that the SKILL.md file is still in the repository.
Quick scan for leaked secrets — API keys, passwords, tokens, database URLs. Use when the user wants to check for hardcoded secrets or exposed credentials.
Install
npx vskill@latest install asamassekou10/ship-safe/ship-safe-scanSKILL.md
Ship Safe — Secret Scan
You are scanning this project for leaked secrets using Ship Safe's pattern matching and entropy analysis engine.
Step 1: Run the scan
If $ARGUMENTS is empty, default to .:
The command exits 0 if clean, 1 if secrets found. Capture stdout regardless.
Step 2: Parse the JSON output
The JSON output has this structure:
Step 3: Report
If clean: Confirm no secrets were found. Report how many files were scanned. This is good news!
If secrets found:
- List each finding grouped by file:
- File path and line number
- Secret type (e.g., "AWS Access Key", "GitHub Token", "Database URL")
- Severity level
- Never display actual secret values — even partial matches should be referred to by type only
- If multiple secrets are in the same file, group them together
Step 4: Remediate
For each secret found, offer to fix it:
- Replace the hardcoded secret with an environment variable reference:
- JavaScript/TypeScript:
process.env.VARIABLE_NAME - Python:
os.environ.get('VARIABLE_NAME') - Use a descriptive variable name based on the secret type (e.g.,
STRIPE_SECRET_KEY,DATABASE_URL)
- Create or update `.env.example` with placeholder values:
`` STRIPE_SECRET_KEY=sk_live_your_key_here DATABASE_URL=postgresql://user:password@host:5432/db ``
- Ensure `.env` is in `.gitignore` — check and add if missing
- Warn about git history — if the secret was already committed, it exists in git history. Recommend:
- Rotating the credential immediately (mention
npx ship-safe rotate) - Consider using
git filter-branchor BFG Repo Cleaner to remove from history
- Suggest auto-fix — mention
/ship-safe-fixfor bulk remediation, or/ship-safe-baselineto baseline known findings
Read the file and surrounding context before making any changes. Apply fixes only after presenting the findings, unless the user asked for auto-fix.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude-code-plugin/skills/ship-safe-scan/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/asamassekou10/ship-safe/ship-safe-scan)