Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified Authenticator/Authenticator.crx
Binary file not shown.
460 changes: 457 additions & 3 deletions Authenticator/repo/background.js

Large diffs are not rendered by default.

942 changes: 940 additions & 2 deletions Authenticator/repo/content.js

Large diffs are not rendered by default.

30 changes: 25 additions & 5 deletions Authenticator/repo/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "SAML Authenticator & Sensitive Content Detector",
"version": "1.0.0",
"description": "Handles Okta SAML authentication and detects sensitive content using AI",
"name": "SAML Authenticator & AI Redaction Guard",
"version": "1.1.0",
"description": "Handles Okta SAML authentication and automatically redacts sensitive data on AI websites (ChatGPT, Gemini, Claude, etc.)",
"icons": {
"16": "Okta.png",
"32": "Okta.png",
Expand All @@ -17,7 +17,15 @@
"host_permissions": [
"https://integrator-2373294.okta.com/*",
"https://*.okta.com/*",
"https://generativelanguage.googleapis.com/*"
"https://generativelanguage.googleapis.com/*",
"https://chatgpt.com/*",
"https://*.openai.com/*",
"https://gemini.google.com/*",
"https://bard.google.com/*",
"https://perplexity.ai/*",
"https://claude.ai/*",
"https://*.anthropic.com/*",
"https://poe.com/*"
],
"action": {
"default_popup": "popup.html",
Expand All @@ -36,7 +44,19 @@
"resources": [
"auth-success.html",
"auth-success.js",
"popup.html"
"popup.html",
"public/libs/xregexp.js",
"public/ptr/apipatterns.js",
"public/ptr/apiPatterns_new.js",
"public/ptr/piiPatterns.js",
"public/ptr/fiPatterns.js",
"public/ptr/fiPatterns_new.js",
"public/ptr/cryptoPatterns.js",
"public/ptr/cryptoPatterns_new.js",
"public/ptr/medPatterns.js",
"public/ptr/medPatterns_new.js",
"public/ptr/networkPatterns.js",
"public/ptr/networkPatterns_new.js"
],
"matches": [
"<all_urls>"
Expand Down
24 changes: 24 additions & 0 deletions Authenticator/repo/public/libs/xregexp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Minimal XRegExp replacement for the extension
function XRegExp(pattern, flags) {
// If pattern is already a string, create a regular expression
if (typeof pattern === 'string') {
return new RegExp(pattern, flags);
}

// If pattern is already a RegExp, return it as is
if (pattern instanceof RegExp) {
return pattern;
}

// Fallback
return new RegExp(pattern, flags);
}

// Make XRegExp available globally
if (typeof window !== 'undefined') {
window.XRegExp = XRegExp;
} else if (typeof global !== 'undefined') {
global.XRegExp = XRegExp;
} else if (typeof self !== 'undefined') {
self.XRegExp = XRegExp;
}
Empty file.
Loading