devops-infrastructure-hardener

Audit agentic CI/CD codebases for static credentials and design runtime-secrets replacements.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Jin9/skillify-foundation --skill devops-infrastructure-hardener-jin9
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: devops-infrastructure-hardener
Source: https://github.com/Jin9/skillify-foundation/tree/main/treasury/devops-infrastructure-hardener
Command: npx skills add https://github.com/Jin9/skillify-foundation --skill devops-infrastructure-hardener-jin9

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Agentic CI/CD pipelines and agent-skill codebases frequently leak credentials through hard-coded keys, debug logging, env-var injection, and MCP configuration files, leaving long-lived secrets exposed to prompt injection and exfiltration. ## Core Features & Use Cases - Static Credential Scanning: Runs a deterministic Python scanner to flag hard-coded secrets, secret-logging debug statements, and secrets in agent/MCP config, keyed to file:line. - Four-Layer Defense Mapping: Classifies every finding into a leakage pattern and assigns it to a sequenced defense-in-depth stack, from eliminating static credentials to lifecycle-triggered rotation. - Runtime-Secrets Architecture Design: Produces a target-state design replacing each credential class with Vault dynamic secrets, AWS Secrets Manager, or workload identity federation (IRSA, GCP Workload Identity, Azure Managed Identity) with task-duration TTLs. - Use Case: Ask it to audit your agent codebase and it emits four artifacts: a prioritized hardening plan, a runtime-secrets architecture, an agent-identity inventory under a trust-tier model, and an output-scrubber spec. ## Quick Start Audit this agent codebase for hard-coded secrets and produce a hardening plan with a runtime-secrets architecture.

Frequently Asked Questions about devops-infrastructure-hardener

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove static credentials from CI/CD agents?▼

Scan the codebase for hard-coded secrets, env-var assignments, and secret-logging statements, then replace each credential class with a short-lived task-scoped credential from Vault dynamic secrets, AWS Secrets Manager, or workload identity federation. The skill emits a prioritized hardening plan keyed to file:line findings.

What is the best way to design runtime secrets for AI agents?▼

Use workload identity federation (AWS IRSA, GCP Workload Identity, Azure Managed Identity) where possible so no static key exists, or Vault dynamic secrets with task-duration TTLs otherwise. Credentials are CLI-injected at process start and revoked on task completion.

Does the static credential scanner require external Python packages?▼

No, the scan_static_creds.py script uses only the Python standard library. It flags AWS AKIA keys, private key headers, secret-named literal assignments, debug logging of secret variables, and secrets in agent or MCP config files.

Why is an empty credential scan not a clean bill of health?▼

Literal scanning cannot catch design-level leakage patterns like prompt-injection exfiltration or MCP trust issues, and no major agent framework enables security controls by default. The skill pairs the scan with manual review of agent config and prompt data flow.

When should I not use this skill for security work?▼

Do not use it for enforced OPA allowlists or KILLSWITCH policy, AGENTS.md prose, general application security review, or telemetry instrumentation; those belong to sibling skills. It audits and designs documents only and never modifies a real codebase.