Install
$ agentstack add skill-droodotfoo-agent-skills-env-secrets-manager ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Env & Secrets Manager
Manage environment-variable hygiene and secrets safety across local development and production workflows. Covers auditing, leak detection, rotation, and preventive controls.
What You Get
- Secret leak detection with regex-based scanning (staged files and git history)
- Severity-based findings (critical/high/medium) with response playbook
- Credential rotation workflows (AWS, Stripe, GitHub PAT, DB, JWT)
- Cloud secret store integration guidance (Vault, AWS SM, Azure KV, GCP SM)
- CI/CD secret injection patterns (GitHub Actions, GitLab CI)
- Pre-commit detection setup (gitleaks, detect-secrets)
When to Use
- Before pushing commits that touched env/config files
- During security audits and incident triage
- When onboarding contributors who need safe env conventions
- When validating that no obvious secrets are hardcoded
Recommended Workflow
- Scan the repository for likely secret leaks (see
references/secret-patterns.md) - Prioritize
criticalandhighfindings first - Rotate real credentials and remove exposed values
- Update
.env.exampleand.gitignoreas needed - Add or tighten pre-commit/CI secret scanning gates
WRONG: secrets in code and examples
# WRONG: real credentials in .env.example
DATABASE_URL=postgres://admin:s3cret@prod.db.internal/myapp
STRIPE_SECRET_KEY=sk_live_abc123xyz
CORRECT: placeholders only
# CORRECT: .env.example with safe placeholders
DATABASE_URL=postgres://user:password@localhost/myapp_dev
STRIPE_SECRET_KEY=sk_test_REPLACE_ME
Common Pitfalls
| Mistake | Why it's bad | | ------- | ------------ | | Committing real values in .env.example | Example files get pushed; real secrets in git history | | Rotating one system but missing downstream consumers | Partial rotation causes outages | | Logging secrets during debugging | Logs persist in CI artifacts, observability platforms | | Treating suspected leaks as low urgency | Automated scrapers act within minutes of public exposure | | Using echo on secrets in CI pipelines | Even with masking, secrets can leak via toJSON() or redirects |
Best Practices
- Use a secret manager as the production source of truth (never
.envin prod) - Keep dev env files local and gitignored
- Enforce detection in CI before merge
- Re-test application paths immediately after credential rotation
- Commit only
.env.example, never.env
Reference Docs
| File | Contents | | ---- | -------- | | references/secret-patterns.md | Detection regex by severity, response playbook | | references/rotation-and-detection.md | Validation scripts, scanning tools, rotation workflow, pre-commit setup, cloud stores, CI/CD patterns |
Cloud Secret Store Quick Reference
| Provider | Best For | Key Feature | | -------- | -------- | ----------- | | HashiCorp Vault | Multi-cloud / hybrid | Dynamic secrets, policy engine | | AWS Secrets Manager | AWS-native | Lambda/ECS/EKS integration, auto RDS rotation | | Azure Key Vault | Azure-native | Managed HSM, Azure AD RBAC | | GCP Secret Manager | GCP-native | IAM-based access, versioning | | 1Password | Developer workflows | CLI (op), Connect server, SSH agent |
Selection: Single cloud -> cloud-native store. Multi-cloud -> Vault. Developer/team -> 1Password or Doppler.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: DROOdotFOO
- Source: DROOdotFOO/agent-skills
- License: MIT
- Homepage: https://droo.foo/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.