implementing-pam-for-database-access

implementing-pam-for-database-access is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 45 tokens per session (847 once invoked), scanned A, original, Apache-2.0.

A guide to privileged access management for database systems, including Oracle, SQL Server, PostgreSQL, and MySQL. It covers routing administrator sessions through a proxy, storing credentials in a vault, recording queries, creating temporary credentials, and limiting database roles.

In plain words
What is it for?
Use it to control and audit database administrator access, enforce least privilege, rotate credentials, and restrict database connections to the approved access proxy.
Why use it?
It reduces the risk of shared or permanent administrator credentials and helps ensure database activity is recorded. It also checks that users cannot bypass the controls by connecting directly to the database.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to control and audit database administrator access, enforce least privilege, rotate credentials, and restrict database connections to the approved access proxy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/implementing-pam-for-database-access
About the project

xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.

xalgorix/xalgorix · 1,531 stars · on GitHub · xalgorix.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xalgorix/xalgorix --skill implementing-pam-for-database-access
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implementing-pam-for-database-access

README.md
[![agentmods](https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-pam-for-database-access/github.svg)](https://agentmods.dev/skills/xalgorix/xalgorix/implementing-pam-for-database-access)
Your own site
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-pam-for-database-access"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-pam-for-database-access/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for implementing-pam-for-database-access

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-pam-for-database-access"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-pam-for-database-access.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00847
Opus 5.5 $0.00018 $0.00339
Sonnet 5.5 $0.00009 $0.00169
Haiku 4.5 $0.00005 $0.00085

Measured 7d ago against content hash 32c69c1bb7c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

implementing-pam-for-database-access scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/tools/skills/data/identity-access-management/implementing-pam-for-database-access/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implementing PAM for Database Access

Overview

Deploy privileged access management for database systems including Oracle, SQL Server, PostgreSQL, and MySQL. Covers session proxy configuration, credential vaulting, query auditing, dynamic credential generation, and least-privilege database roles.

When to Use

  • When deploying or configuring implementing pam for database access capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Common Misconfigurations & Verification

Database PAM is routinely bypassed because the direct network path to the DB stays open:

  • Proxy vaulting but direct port still reachable: credentials are vaulted and a session proxy exists, yet DBAs connect straight to 1521/1433/5432/3306 with their own logins, bypassing audit entirely. Verify the DB host firewall/listener only accepts connections from the PAM proxy IP, then attempt a direct connect from a workstation — it must be refused. Cross-check DB-native audit (pg_stat_activity / SQL Server sys.dm_exec_sessions / Oracle V$SESSION) and confirm every client_addr is the proxy.
  • Shared DBA accounts not vaulted / no per-user attribution: confirm sa, SYS, postgres, root@% are checked out through PAM and that proxy logs map each session to a named human, not a shared login.
  • No automatic rotation after checkout: if the vaulted password is not rotated on check-in, a DBA who memorized it retains direct access. Confirm one-time-use / rotate-on-checkin is enabled and test that the previous password fails.
  • Query auditing captures connect but not statements: verify the proxy logs actual SQL (not just session start/stop) and that privileged statements (GRANT, DROP, bulk SELECT on PII) trigger alerts.
  • Least-privilege roles bypassed via direct superuser grant: confirm vaulted accounts use scoped roles, not blanket DBA/sysadmin/SUPERUSER.
  • Dynamic credential users left orphaned: if using dynamic DB creds, confirm expired users are dropped (no accumulating v-* roles) and SIEM receives all PAM session events.

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 77 lines · 45 tokens per session scan A 32c69c1bb7c5

Subscribe to this mod's changes

implementing-pam-for-database-access is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 847 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

implementing-pam-for-database-access compared with skills from other repositories

implementing-pam-for-database-access next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
implementing-pam-for-database-accessxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A45Claude Code, Codex
cis-aws-database-4.1CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A22Claude Code, Codex
cis-aws-database-3.7CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A17Claude Code, Codex
cis-aws-database-4.2CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A18Claude Code, Codex
cis-aws-foundations-2.1.1CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A19Claude Code, Codex
cis-aws-foundations-2.15CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A23Claude Code, Codex
cis-aws-database-2.10CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A17Claude Code, Codex