dependency-audit
Skill by databricks-industry-solutions
Audits npm and Python dependencies across all Databricks Apps in a workspace. Built for checking malicious packages, building dependency inventories and reviewing supply chain risk.
Install dependency-audit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks-industry-solutions/security-analysis-tool /tmp/security-analysis-tool && mkdir -p ~/.claude/skills && cp -r /tmp/security-analysis-tool/skills/dependency-audit ~/.claude/skills/dependency-auditRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/databricks-industry-solutions/security-analysis-tool /tmp/security-analysis-tool && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/security-analysis-tool/skills/dependency-audit ~/.gemini/antigravity-cli/skills/dependency-auditAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The dependency-audit skill audits npm and Python dependencies across all Databricks Apps in a workspace. It lists apps with the Databricks CLI, downloads their source code, and finds every dependency manifest and lock file, including package.json, yarn.lock, bun.lock, requirements files and pyproject.toml. It extracts direct and transitive dependencies from these files.
It checks for flagged packages using three methods: structured search, raw case-insensitive text search and partial name matching. It then writes one unified JSON and CSV report that lists coverage gaps, such as apps with no lock file. The skill is for teams checking malicious packages, generating dependency inventories or investigating supply chain risks. The source states it supplements security processes and is not a substitute for security investigations.
Written from the project's SKILL.md and checked against it.
What it can do
- Enumerate appsLists all apps in a workspace with the Databricks CLI and saves them to apps.json.
- Download source codeExports each app's source with databricks workspace export-dir and retries failed downloads once.
- Find dependency filesSearches apps for package.json, lock files, requirements, pyproject.toml and uv.lock.
- Extract dependenciesParses direct and transitive dependencies from npm, yarn, bun and Python lock files.
- Check flagged packagesSearches for flagged packages with structured, raw text and partial match methods.
- Track coverage gapsLists apps without lock files and unparseable bun.lockb files as gaps in the report.
- Generate reportsWrites a unified dependency_audit_report.json and dependency_audit_report.csv.
- Print summaryPrints a verdict, coverage stats, top dependencies and report file locations.
What you need
- Databricks CLI configured with a profile for the target workspace
- Workspace permissions to run databricks apps list and workspace export-dir
- Python 3
- A working directory for source downloads and reports
Try asking
- Audit all Databricks Apps in my workspace for malicious npm packages
- Check if any Databricks Apps use lodash.template
- Give me a dependency inventory of all npm packages across our apps
Good to know
- Output may be incomplete or inaccurate, and AI tools may hallucinate.
- Python apps with only requirements.txt are flagged as coverage gaps because they have no lock file.
- Binary bun.lockb files cannot be parsed and are listed as gaps.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/dependency-audit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to dependency-audit
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
dependency-audit: common questions
Does it check transitive dependencies?
Yes. It parses lock files for transitive dependencies, since the source says malicious packages are often hidden deep in the tree.
What happens if an app has no lock file?
The app is flagged as a coverage gap because its transitive dependencies cannot be confirmed.
Can it replace a security investigation?
No. The source says it supplements security processes and is not a substitute for security investigations.
How do I install dependency-audit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dependency-audit free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is dependency-audit safe to use?
It scores 69 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to dependency-audit?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
