mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-25 01:17:20 +00:00
- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
11 lines
284 B
JavaScript
11 lines
284 B
JavaScript
const patterns = [
|
|
/api[_-]?key\s*=\s*["'][A-Za-z0-9_\-]{16,}["']/gi,
|
|
/\b[A-F0-9]{32,64}\b/gi,
|
|
/\b\d{3}-\d{2}-\d{4}\b/g,
|
|
/\b[\w.+-]+@[\w.-]+\.[A-Za-z]{2,}\b/g,
|
|
];
|
|
|
|
export function scrubPII(input) {
|
|
return patterns.reduce((out, p) => out.replace(p, "[REDACTED]"), input);
|
|
}
|
|
|