
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@cli4ai/mongodb
Advanced tools
Official @cli4ai package • https://cli4ai.com • Install cli4ai:
npm i -g cli4ai
MongoDB explorer and query helper (JSON in/out).
npm i -g cli4ai
cli4ai add -g mongodb
Optional: set a default connection URI (defaults to mongodb://localhost:27017):
cli4ai secrets set MONGO_URI
cli4ai run mongodb databases
cli4ai run mongodb collections <db>
cli4ai run mongodb schema <db> <collection> [samples]
cli4ai run mongodb find <db> <collection> [queryJson] [limit]
cli4ai run mongodb one <db> <collection> [queryJson]
cli4ai run mongodb aggregate <db> <collection> <pipelineJson>
cli4ai run mongodb count <db> <collection> [queryJson]
cli4ai run mongodb indexes <db> <collection>
cli4ai run mongodb stats <db> <collection>
cli4ai run mongodb distinct <db> <collection> <field> [queryJson]
cli4ai run mongodb sample <db> <collection> [size]
cli4ai run mongodb explain <db> <collection> [queryJson]
# List databases
cli4ai run mongodb databases
# Find recent users (query/pipeline args are JSON)
cli4ai run mongodb find app users '{"status":"active"}' 10
cli4ai run mongodb aggregate app events '[{"$match":{"type":"signup"}},{"$limit":5}]'
FAQs
MongoDB queries
We found that @cli4ai/mongodb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.