KS
Killer-Skills

compliance-manager — how to use compliance-manager how to use compliance-manager, compliance-manager setup guide, compliance-manager vs Onasis Gateway, compliance-manager install, what is compliance-manager, compliance-manager alternative, compliance-manager API service, compliance-manager security features, compliance-manager regulatory compliance

v1.0.0
GitHub

About this Skill

Ideal for Security Agents requiring robust compliance features, including PCI-DSS data protection and GDPR compliance. Compliance-manager is a comprehensive API service warehouse with MCP server interfaces and REST endpoints, ensuring secure data protection and regulatory compliance.

Features

PCI-DSS data protection with card data masking and encryption
GDPR compliance through pseudonymization, consent management, and data minimization
PSD2 compliance with Strong Customer Authentication
SOX audit trail requirements implementation
HIPAA health data protection and secure audit logging
Multi-regulation validation framework for streamlined compliance

# Core Topics

thefixer3x thefixer3x
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
36
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add thefixer3x/onasis-gateway/compliance-manager

Agent Capability Analysis

The compliance-manager MCP Server by thefixer3x is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use compliance-manager, compliance-manager setup guide, compliance-manager vs Onasis Gateway.

Ideal Agent Persona

Ideal for Security Agents requiring robust compliance features, including PCI-DSS data protection and GDPR compliance.

Core Value

Empowers agents to enforce multi-regulation validation frameworks, leveraging secure audit logging, and PSD2 compliance with Strong Customer Authentication, while ensuring HIPAA health data protection and SOX audit trail requirements through pseudonymization and consent management.

Capabilities Granted for compliance-manager MCP Server

Implementing PCI-DSS data protection with card data masking and encryption
Ensuring GDPR compliance through pseudonymization and consent management
Validating compliance with multiple regulations, including PSD2 and HIPAA

! Prerequisites & Limits

  • Requires integration with core/security/compliance-manager.js
  • Limited to regulatory frameworks specified, including PCI-DSS, GDPR, PSD2, SOX, and HIPAA
Project
SKILL.md
5.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Compliance Manager Guardian

Purpose & Scope

Apply this skill when modifying core/security/compliance-manager.js.

The Compliance Manager provides:

  • PCI-DSS data protection (card data masking, encryption)
  • GDPR compliance (pseudonymization, consent management, data minimization)
  • PSD2 compliance (Strong Customer Authentication)
  • SOX audit trail requirements
  • HIPAA health data protection
  • Multi-regulation validation framework
  • Secure audit logging

Non-Negotiables (Never Do)

Compliance Validators

  • Never disable or bypass compliance validators.
  • Never weaken validation rules (for example, making required checks optional).
  • Never skip validation for "trusted" sources.
  • Never add bypass flags or debug modes that skip compliance.

PCI-DSS Rules

  • Never log these PCI fields (even in debug mode):
    • cvv, cvv2, cvc, cvc2, cid, cav2
    • pin, pinBlock
    • track1, track2, magneticStripe
  • Never weaken card masking:
    • Must show only first 6 and last 4 digits.
    • Middle digits must be masked with *.
  • Never reduce encryption below AES-256-GCM.
  • Never store CVV/PIN after authorization.

GDPR Rules

  • Never process personal data without consent check.
  • Never skip pseudonymization for personal identifiers.
  • Never retain personal data beyond retention period.
  • Never disable data minimization for analytics.

PSD2 Rules

  • Never reduce SCA requirements below 2 factors.
  • Never bypass SCA for amounts over threshold.
  • Never skip transaction monitoring for high-value transactions.
  • Never disable cumulative amount tracking.

Audit Logging

  • Never skip audit logging for sensitive operations.
  • Never delete or modify existing audit entries.
  • Never log sensitive data in audit trails (mask first).
  • Never disable audit persistence.

Security Rollback

  • Never rollback security fixes without security team approval.
  • Never lower security levels in production.

Required Patterns (Must Follow)

Card Number Masking

javascript
1// Must mask showing only first 6 and last 4 2maskCardNumber(cardNumber) { 3 const cleaned = cardNumber.replace(/\D/g, ''); 4 const first6 = cleaned.substring(0, 6); 5 const last4 = cleaned.substring(cleaned.length - 4); 6 const masked = '*'.repeat(cleaned.length - 10); 7 return `${first6}${masked}${last4}`; 8} 9// Example: 4111111111111111 -> 411111******1111

Data Encryption

javascript
1// Must use AES-256-GCM 2encryptSensitiveData(data) { 3 const algorithm = 'aes-256-gcm'; // Do not change 4 const key = process.env.ENCRYPTION_KEY; 5 if (!key) throw new Error('ENCRYPTION_KEY is required'); 6 7 // 12-byte IV is recommended for GCM 8 const iv = crypto.randomBytes(12); 9 10 // Prefer @onasis/security-sdk for key handling if available 11 // If ENCRYPTION_KEY is a passphrase, derive a 32-byte key via scrypt. 12 const keyBuf = (key.length === 64 && /^[0-9a-f]+$/i.test(key)) 13 ? Buffer.from(key, 'hex') 14 : crypto.scryptSync(key, 'onasis-gateway', 32); 15 16 const cipher = crypto.createCipheriv('aes-256-gcm', keyBuf, iv); 17 cipher.setAAD(Buffer.from('compliance-encryption')); 18 19 const plaintext = typeof data === 'string' ? data : JSON.stringify(data); 20 const ciphertext = Buffer.concat([cipher.update(plaintext, 'utf8'), cipher.final()]); 21 const authTag = cipher.getAuthTag(); 22 23 return { 24 encrypted: ciphertext.toString('base64'), 25 iv: iv.toString('hex'), 26 authTag: authTag.toString('hex'), 27 algorithm 28 }; 29}

Strong Customer Authentication

javascript
1// Must require 2+ factors 2validateSCA(data) { 3 const factors = []; 4 5 if (data.password || data.pin) factors.push('knowledge'); 6 if (data.deviceId || data.token) factors.push('possession'); 7 if (data.biometric || data.fingerprint) factors.push('inherence'); 8 9 return factors.length >= 2; // PSD2 requirement 10}

Defense in Depth

javascript
1// Must apply all applicable protections 2enforceDataHandling(serviceId, data, operation) { 3 let processedData = { ...data }; 4 5 if (service?.compliance?.pci) { 6 processedData = this.applyPCIProtections(processedData, operation); 7 } 8 if (service?.compliance?.gdpr) { 9 processedData = this.applyGDPRProtections(processedData, operation); 10 } 11 if (service?.compliance?.psd2) { 12 processedData = this.applyPSD2Protections(processedData, operation); 13 } 14 15 return processedData; 16}

Audit Entry Creation

javascript
1// Must create audit entry for all compliance events 2logAuditEntry(action, details) { 3 const entry = { 4 timestamp: new Date(), 5 action, 6 details, 7 id: crypto.randomUUID() 8 }; 9 10 this.auditLog.push(entry); 11 this.emit('audit:logged', entry); 12 this.persistAuditEntry(entry); // Must persist 13}

Prohibited Fields Registry

FieldRegulationStorageLoggingTransmission
cvv, cvv2, cvc, cvc2PCI-DSS 3.2NeverNeverHTTPS only
pin, pinBlockPCI-DSS 3.4NeverNeverEncrypted
track1, track2PCI-DSS 3.2NeverNeverNever
magneticStripePCI-DSS 3.2NeverNeverNever
Full card numberPCI-DSS 3.4EncryptedMaskedEncrypted

Integration Points

ComponentIntegration Method
Base ClientData passed through enforceDataHandling()
Metrics Collectorcompliance_violations_total metric
API RoutesMiddleware for request validation
DatabaseAudit entries persisted to audit.compliance_log

Compliance Validation Checklist

Before deploying changes:

  • Card data properly masked (first 6, last 4 only).
  • CVV/PIN never logged or stored.
  • Encryption uses AES-256-GCM.
  • SCA requires 2+ factors.
  • Audit entries created for all operations.
  • GDPR consent check in place.
  • Data minimization applied for analytics.
  • No PII in metric labels.
  • Audit log persisted to secure storage.

Related Skills

Looking for an alternative to compliance-manager or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication