com um clique
gdpr-compliance
// Enforces GDPR, NIS2, and EU Cyber Resilience Act requirements for Black Trigram — data minimization, explicit consent, right-to-erasure, privacy by design, and Hack23 Data Classification Policy alignment
// Enforces GDPR, NIS2, and EU Cyber Resilience Act requirements for Black Trigram — data minimization, explicit consent, right-to-erasure, privacy by design, and Hack23 Data Classification Policy alignment
Enforces systematic threat modeling for Black Trigram using STRIDE, MITRE ATT&CK, and attack trees — maintains THREAT_MODEL.md and FUTURE_THREAT_MODEL.md aligned with Hack23 Threat Modeling Policy and Secure Development Policy §3.2
Enforces C4 Architecture Model documentation standards for Black Trigram. Ensures ARCHITECTURE.md, DATA_MODEL.md, FLOWCHART.md, STATEDIAGRAM.md, MINDMAP.md, SWOT.md and their FUTURE_* variants are maintained with strategic, rule-based principles.
Enforces WCAG 2.1 Level AA accessibility for Black Trigram — semantic HTML, ARIA, keyboard navigation, 4.5:1/3:1 contrast, screen reader support, and prefers-reduced-motion for inclusive Korean martial arts gameplay
Enforces AI governance for Black Trigram — transparent and accountable AI-assisted development aligned with Hack23 AI Governance Policy, EU AI Act, NIST AI RMF, and Information Security Policy
Enforces code quality standards for Black Trigram — maintainable, type-safe TypeScript with low complexity, organized imports, explicit error handling, and search-before-create discipline
Enforces data protection at every stage of its lifecycle for Black Trigram — classification, HTTPS/TLS 1.2+, CSP, SRI, minimal retention, aligned with Hack23 Data Classification Policy and GDPR Articles 5, 25, 32
| name | gdpr-compliance |
| description | Enforces GDPR, NIS2, and EU Cyber Resilience Act requirements for Black Trigram — data minimization, explicit consent, right-to-erasure, privacy by design, and Hack23 Data Classification Policy alignment |
| license | MIT |
Strategic Principle: Privacy by design. Protect user data as a fundamental right, not an afterthought.
Enforce GDPR and EU privacy requirements for Black Trigram, ensuring user data is handled lawfully, transparently, and securely in compliance with European data protection regulations.
Reference: Hack23 ISMS Information Security Policy | GDPR
IF (collecting or storing user data)
THEN (collect only what is strictly necessary for game functionality)
ELSE (reject - excessive data collection violates GDPR Art. 5(1)(c))
IF (storing data in localStorage, cookies, or analytics)
THEN (obtain explicit consent with clear purpose explanation)
ELSE (unlawful processing - GDPR Art. 6)
IF (processing personal data: game progress, preferences, settings)
THEN (document in privacy notice: what, why, how long, who has access)
ELSE (transparency violation - GDPR Art. 13/14)
IF (user requests data deletion)
THEN (delete all personal data from localStorage and any remote storage)
ELSE (violation of right to erasure - GDPR Art. 17)
IF (designing new feature that handles user data)
THEN (apply privacy by design: minimize, pseudonymize, encrypt)
ELSE (GDPR Art. 25 violation)
// ✅ GOOD: Minimal data, clear purpose
const STORAGE_KEYS = {
GAME_SETTINGS: 'bt_settings', // Audio volume, language preference
GAME_PROGRESS: 'bt_progress', // Current level, unlocked techniques
CONSENT_GIVEN: 'bt_consent', // User consent status
} as const;
// ✅ Clear data on user request
function clearAllUserData(): void {
Object.values(STORAGE_KEYS).forEach(key => {
localStorage.removeItem(key);
});
}
// ❌ BAD: Storing unnecessary personal data
localStorage.setItem('user_email', email);
localStorage.setItem('user_location', geolocation);
// ✅ Check consent before storing data
function saveGameProgress(progress: GameProgress): void {
const consent = localStorage.getItem(STORAGE_KEYS.CONSENT_GIVEN);
if (consent !== 'true') {
console.info('Game progress not saved - no consent');
return;
}
localStorage.setItem(
STORAGE_KEYS.GAME_PROGRESS,
JSON.stringify(progress)
);
}
// ✅ Privacy-respecting analytics
// - No personal identifiers
// - No IP address tracking
// - Aggregate data only
// - Consent required
// - Data retention limits
| Article | Requirement | Black Trigram Implementation |
|---|---|---|
| Art. 5 | Data minimization | Only game settings/progress stored |
| Art. 6 | Lawful basis | Consent for localStorage |
| Art. 13 | Information provision | Privacy notice in settings |
| Art. 17 | Right to erasure | Clear data function |
| Art. 25 | Privacy by design | Minimal data architecture |
| Art. 32 | Security measures | No sensitive data stored client-side |
As applicable to software providers in the EU:
흑괘의 개인정보보호 - Privacy Protection of the Black Trigram