SQL Query Interface over SBOM using SafeDep Cloud
Table of Contents
Developer experience is often specialized. Apart from providing domain specific use-cases, ease of getting started and ample documentation, flexibility of use especially with custom integration is important. This allows developer and security engineers, who are often subject matter experts to use a solution as per their requirement instead of compromising and following the workflows enforced by the product. This is a key focus at SafeDep in our product development efforts. We want to provide the best experience to security and platform engineers in protecting themselves against malicious, vulnerable and risky open source components.
To enable this, we shipped a key building block required to find what you need. Instead of being restricted by UI and Tables, engineers can use their familiar SQL query language to find and export security risk related information from SafeDep Cloud. Here is a quick #build-in-public demo of this feature.
Example
Let’s find all the repositories on-boarded into SafeDep Cloud using vet
vet cloud query execute --sql \ "select projects.name, projects.version from projects"This produces
Query returned 3 results┌───────────────────────────────────────────┬──────────────────┐│ PROJECTS.NAME │ PROJECTS.VERSION │├───────────────────────────────────────────┼──────────────────┤│ https://github.com/safedep/vet .git │ main │├───────────────────────────────────────────┼──────────────────┤│ https://github.com/safedep/api.git │ main │├───────────────────────────────────────────┼──────────────────┤│ https://github.com/safedep/control.git │ main │└───────────────────────────────────────────┴──────────────────┘Leaking private repositories :-O
You can also use complex queries to filter across an organization wide SBOM
select vulnerabilities.cve_id, vulnerabilities.summary from projects where projects.name = 'safedep/demo-client-java' and projects.version = 'v1.2.3' and vulnerabilities.risk = 'CRITICAL'Queries can be exported to file as CSV or Markdown
vet cloud query --sql $SQL --csv /path/to/out.csvBuild in Public Update
If you like what you see so far, check out a development walkthrough of what we are building at #SafeDep
SafeDep Cloud is currently at invite-only preview stage. You can register and get invited to our early adopter program.
Register for SafeDep Cloud
Leverage the power of SafeDep cloud to build an organization wide SBOM, export as CycloneDX and execute flexible queries to discover actionable risks.
- vet
- sbom
- sql
- cloud
Author
SafeDep Team
safedep.io
Share
The Latest from SafeDep blogs
Follow for the latest updates and insights on open source security & engineering

node-env-resolve: npm Package Installs a Full RAT
node-env-resolve is a malicious npm package that installs a full-featured remote access trojan on developer machines. The RAT streams screens, captures audio, steals browser history, and gives full...

exiouss: Cookie Stealer Bundled in npm Exam Cheat
exiouss on npm is the latest package from the loltestpad campaign — the same attacker who published the ixpresso-core Windows RAT in April. It bundles a dormant ChatGPT cookie stealer alongside an AI...

common-tg-service: 502 npm Versions Hijack Telegram
common-tg-service ships 502 npm versions of a Telegram account-takeover framework with hardcoded 2FA credentials, IMAP-based code harvesting, and forced session eviction. Its companion package...

PyTorch Lightning Compromised: Shai-Hulud Worm Reaches PyPI
PyPI yanked PyTorch Lightning versions 2.6.2 and 2.6.3 after both embedded a two-stage credential-stealing payload. Any import of the library spawns an 11MB obfuscated JavaScript worm identical to...

Ship Code.
Not Malware.
Start free with open source tools on your machine. Scale to a unified platform for your organization.
