Agent skill · security · jeremylongshore
maintainx-security-basics
Configure MaintainX API security, credential management, and access
Why this skill is useful
Provides specific security practices and scripts for managing MaintainX API credentials and access controls that are not widely known.
What it needs
Requires node installed locally. Requires maintainx account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
MaintainX Security Basics Overview Secure your MaintainX integration with proper credential management, input validation, audit logging, and key rotation procedures. Prerequisites MaintainX account with admin access Node.js 18+ Familiarity with environment variables and secret management Instructions Step 1: Secure Credential Storage Never hardcode API keys. Use environment variables or a secret manager. Step 2: Git Hook to Prevent Secret Commits Or use gitleaks: Step 3: Input Validation Validate all user input before sending to the MaintainX API: Step 4: Audit Logging Step 5: API Key Rotation Output .env with API key, protected by .gitignore Pre-commit hook blocking secret leaks Zod-based input validation for all API inputs Structured audit logging for compliance Key rotation procedure with verification steps Error Handling Issue Cause Solution ------- ------- ---------- Key leaked to git Committed .env or hardcoded key Rotate immediately, add pre-commit hook Validation errors Invalid user input Use Zod schema to validate before API calls Audit gaps Missing log entries Wrap all API calls with audit logger Stale key Key not rotated in > 90 days Follow rotation procedure in Step 5 Resources MaintainX Security OWASP API Security Top 10 gitleaks -- Secret detection in git repos Zod -- TypeScript-first schema validation Next Steps For production deployment, see maintainx-prod-checklist. Examples Middleware for Express API that validates and audits:
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/maintainx-security-basics