
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.
Safe, read-only SQL access for AI agents — via MCP.
ajan-sql is an MCP server that lets AI agents safely query your database.
👉 read-only
👉 schema-aware
👉 guardrailed
Supports:
DATABASE_URL=postgres://USER:PASSWORD@HOST:PORT/DB npx ajan-sql
That’s it.
AI agents querying databases is risky.
Without guardrails:
👉 ajan-sql fixes this by enforcing strict rules.
All queries are:
SELECT onlyINSERT, UPDATE, DELETEDROP, ALTER, TRUNCATELIMIT 100)👉 These rules cannot be bypassed.
list_tablesdescribe_tablelist_relationshipssearch_schemarun_readonly_queryexplain_querysample_rowsserver_info{
"tool": "run_readonly_query",
"arguments": {
"sql": "SELECT * FROM users LIMIT 10"
}
}
Tool responses include both standard MCP structuredContent and an embedded text/toon version of the same payload.
# PostgreSQL
DATABASE_DIALECT=postgres
DATABASE_URL=postgres://USER:PASSWORD@HOST:PORT/DB
# MySQL
DATABASE_DIALECT=mysql
DATABASE_URL=mysql://USER:PASSWORD@HOST:PORT/DB
# SQLite
DATABASE_DIALECT=sqlite
DATABASE_URL=file:/absolute/path/to/database.sqlite
npm install -g ajan-sql
or:
npx ajan-sql
{
"mcpServers": {
"ajan-sql": {
"command": "npx",
"args": ["ajan-sql"],
"env": {
"DATABASE_DIALECT": "postgres",
"DATABASE_URL": "postgres://USER:PASSWORD@HOST:PORT/DB"
}
}
}
}
AI should never have unsafe database access.
ajan-sql ensures queries are safe, predictable, and controlled.
If this tool helps you:
⭐ Star the repo
☕ Support via GitHub Sponsors
https://github.com/sponsors/borakilicoglu
FAQs
AI-safe MCP server for schema-aware, read-only SQL access.
We found that ajan-sql 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.