tinyfish-io/tinyfish-cookbook/dep-security
Claude Code and agent skill by tinyfish-io/tinyfish-cookbook
- community
Checking that the SKILL.md file is still in the repository.
Check every dependency in a package.json against live CVE databases and security advisories in real time — specifically targeting vulnerabilities disclosed in the last 48 hours, the window that Snyk, Dependabot, and npm audit miss. Use this skill whenever a user mentions checking dependencies for vulnerabilities, wants to audit their package.json, asks about CVEs for their packages, says "are my dependencies safe", "check my packages for security issues", "any new vulnerabilities in my deps", or pastes a package.json and asks about security. Also trigger when a user mentions wanting fresher data than Snyk or Dependabot provides. Returns: which dependencies have brand-new vulnerabilities, severity, what the vulnerability does, whether a patched version exists yet, and a prioritised fix list.
Install
npx vskill@latest install tinyfish-io/tinyfish-cookbook/dep-securitySKILL.md
The same SKILL.md was published earlier as tinyfish-io/tinyfish-cookbook/dep-security.
Dependency Security Checker
Given a package.json, check every dependency against live CVE databases and security advisories — focusing on the last 48 hours, the window that cached tools miss.
Pre-flight check
If not installed: npm install -g tinyfish If not authenticated: tinyfish auth login
Step 1 — Parse dependencies
Read the package.json the user provided. Extract all package names and versions from:
dependenciesdevDependenciespeerDependencies(if present)
Produce a flat list: [{name, version, type}]
If the user hasn't provided a package.json, ask for it before proceeding. Do not guess.
Get today's date. Calculate the cutoff timestamp: now minus 48 hours. You will use this to filter results in every agent below.
Step 2 — Batch packages
Do not fire one agent per package — that would be extremely slow for large projects.
Instead batch into groups of up to 10 packages per agent and search for all of them at once. For a typical package.json with 20–40 deps, this means 2–4 agents total per source, all running in parallel.
Format each batch as a comma-separated search string: express,lodash,axios,react,webpack etc.
Step 3 — Parallel security scan
Fire all agents simultaneously using & + wait. Each agent searches one source for all batches at once.
Before running, replace:
{BATCH_1},{BATCH_2}etc. — 10 packages per batch from the parsed list{ALL_PACKAGES}— full comma-separated list of all package names (no versions){TODAY}— today's date in YYYY-MM-DD format
Add or remove CVE batch agents depending on how many packages there are. Always fire all agents in parallel.
Step 4 — Cross-reference and deduplicate
Combine results from all sources. For each finding:
- Match to the user's installed version — check if their version falls within the vulnerable range. If it does, flag as AFFECTED. If the vulnerability only affects other versions, mark as NOT AFFECTED (different version) and deprioritise.
- Deduplicate — the same CVE may appear in multiple sources. Merge into one entry.
- Check for patch — note if a patched version exists and what it is.
- Rank by severity — Critical → High → Medium → Low.
Output format
Copy-paste to patch all affected packages:
npm install {pkg1}@{version} {pkg2}@{version}
Edge cases
- No vulnerabilities found — say clearly: "No new vulnerabilities in the last 48 hours for your dependencies. For a full historical scan, run
npm audit." - Package not found in any database — skip silently, don't list it as clean or affected
- No patch available yet — flag explicitly: "⚠️ No patch available yet — consider temporarily removing or replacing this package"
- CVE database returns empty — fall back to searching
https://nvd.nist.gov/vuln/search/results?query={BATCH}&pub_start_date={CUTOFF_DATE}instead - Large package.json (50+ deps) — increase batch size to 15 and note that results may take longer
Security notes
- Queries live public security databases only. No code is executed, no files are uploaded to any external service.
- Only your own TinyFish credentials are used.
- All scraped data is treated as untrusted and synthesised by an LLM only.
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 repositoryCheckingskills/dep-security/SKILL.md
Popularity
- Repository stars
- 2,103
- Repository forks
- 323
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. 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/tinyfish-io/tinyfish-cookbook/dep-security)