Skip to content

Commit 9c2d208

Browse files
committed
feat: 补充身份认证识别规则
扩展 SaaS 页面规则,新增 20 个身份认证、IAM 和权限管理服务的资源 URL 匹配。 覆盖 Kinde、Descope、WorkOS、Frontegg、Authgear、LoginRadius、OneLogin、Ping Identity、Microsoft Entra ID、Magic、Web3Auth、Privy Auth、Dynamic.xyz Auth、Passage by 1Password、MojoAuth、PropelAuth、BoxyHQ Jackson、SlashID、Permit.io 和 Cerbos,并补充对应技术链接。 将版本升至 1.1.66。 验证:npx prettier --write .;npx prettier --check .;pnpm run typecheck;pnpm run lint;JSON/正则全量校验;pnpm run build;版本一致性检查;git diff --check。
1 parent 1e68cec commit 9c2d208

3 files changed

Lines changed: 111 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stackprism",
33
"private": true,
4-
"version": "1.1.65",
4+
"version": "1.1.66",
55
"type": "module",
66
"description": "StackPrism 用于检测网页前端、后端、CDN、SaaS、广告营销、统计、登录、支付、网站程序和主题模板线索。",
77
"scripts": {

public/rules/page/saas-services-page.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,96 @@
3838
}
3939
]
4040
},
41+
{
42+
"defaults": {
43+
"kind": "身份认证 / IAM",
44+
"matchIn": ["resources"]
45+
},
46+
"rules": [
47+
{
48+
"name": "Kinde",
49+
"patterns": ["auth\\.kinde\\.com|kinde\\.com/[^\\s\"'<>]*(?:js|sdk|oauth|login)|kinde\\.com/oauth2"]
50+
},
51+
{
52+
"name": "Descope",
53+
"patterns": ["cdn\\.descope\\.com|api\\.descope\\.com|descope\\.com/[^\\s\"'<>]*(?:sdk|widget|auth)|descope-js"]
54+
},
55+
{
56+
"name": "WorkOS",
57+
"patterns": ["cdn\\.workos\\.com|api\\.workos\\.com|workos\\.com/[^\\s\"'<>]*(?:authkit|sso|user-management|sdk)"]
58+
},
59+
{
60+
"name": "Frontegg",
61+
"patterns": ["cdn\\.frontegg\\.com|frontegg\\.com/[^\\s\"'<>]*(?:oauth|auth|sdk)|frontegg(?:\\.min)?\\.js"]
62+
},
63+
{
64+
"name": "Authgear",
65+
"patterns": ["cdn\\.authgear\\.com|authgear\\.cloud|authgear\\.com/[^\\s\"'<>]*(?:sdk|oauth|auth)|authgear-web"]
66+
},
67+
{
68+
"name": "LoginRadius",
69+
"patterns": ["cdn\\.loginradius\\.com|auth\\.lrcontent\\.com|loginradius\\.com/[^\\s\"'<>]*(?:js|sdk|auth|sso)"]
70+
},
71+
{
72+
"name": "OneLogin",
73+
"patterns": ["onelogin\\.com/[^\\s\"'<>]*(?:oidc|saml|trust|login)|onelogin\\.com/trust/saml2"]
74+
},
75+
{
76+
"name": "Ping Identity",
77+
"patterns": ["auth\\.pingone\\.(?:com|eu|asia)|pingone\\.com|pingidentity\\.com/[^\\s\"'<>]*(?:sdk|auth|sso|login)"]
78+
},
79+
{
80+
"name": "Microsoft Entra ID",
81+
"patterns": [
82+
"login\\.microsoftonline\\.com|alcdn\\.msftauth\\.net|msal-browser|microsoftonline\\.com/[^\\s\"'<>]*(?:oauth2|saml2)"
83+
]
84+
},
85+
{
86+
"name": "Magic",
87+
"patterns": ["auth\\.magic\\.link|cdn\\.jsdelivr\\.net/npm/magic-sdk|unpkg\\.com/magic-sdk|magic-sdk(?:\\.min)?\\.js"]
88+
},
89+
{
90+
"name": "Web3Auth",
91+
"patterns": ["auth\\.web3auth\\.io|cdn\\.jsdelivr\\.net/npm/@web3auth|unpkg\\.com/@web3auth|web3auth\\.io/[^\\s\"'<>]*sdk"]
92+
},
93+
{
94+
"name": "Privy Auth",
95+
"patterns": ["auth\\.privy\\.io|privy\\.io/[^\\s\"'<>]*(?:sdk|auth|login)|@privy-io"]
96+
},
97+
{
98+
"name": "Dynamic.xyz Auth",
99+
"patterns": ["auth\\.dynamic\\.xyz|app\\.dynamic\\.xyz|dynamic\\.xyz/[^\\s\"'<>]*(?:sdk|auth|login)|@dynamic-labs"]
100+
},
101+
{
102+
"name": "Passage by 1Password",
103+
"patterns": ["cdn\\.passage\\.id|auth\\.passage\\.id|passage\\.id/[^\\s\"'<>]*(?:sdk|auth|login)|@passageidentity"]
104+
},
105+
{
106+
"name": "MojoAuth",
107+
"patterns": ["cdn\\.mojoauth\\.com|api\\.mojoauth\\.com|mojoauth\\.com/[^\\s\"'<>]*(?:js|sdk|auth|login)"]
108+
},
109+
{
110+
"name": "PropelAuth",
111+
"patterns": ["auth\\.propelauth\\.com|propelauth\\.com/[^\\s\"'<>]*(?:js|sdk|auth|login)|@propelauth"]
112+
},
113+
{
114+
"name": "BoxyHQ Jackson",
115+
"patterns": ["boxyhq\\.com/[^\\s\"'<>]*(?:jackson|saml|sso)|jackson\\.boxyhq\\.com|saml-jackson"]
116+
},
117+
{
118+
"name": "SlashID",
119+
"patterns": ["cdn\\.slashid\\.com|api\\.slashid\\.com|slashid\\.com/[^\\s\"'<>]*(?:sdk|auth|login)"]
120+
},
121+
{
122+
"name": "Permit.io",
123+
"patterns": ["cdn\\.permit\\.io|api\\.permit\\.io|permit\\.io/[^\\s\"'<>]*(?:sdk|authz|authorization)|@permitio"]
124+
},
125+
{
126+
"name": "Cerbos",
127+
"patterns": ["cdn\\.cerbos\\.dev|api\\.cerbos\\.cloud|cerbos\\.dev/[^\\s\"'<>]*(?:sdk|hub|authz|policy)"]
128+
}
129+
]
130+
},
41131
{
42132
"name": "Firebase",
43133
"kind": "后端云 / 认证",

public/tech-links.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,6 +1082,26 @@
10821082
"Okta": "https://www.okta.com",
10831083
"Amazon Cognito": "https://aws.amazon.com/cognito",
10841084
"Stytch": "https://stytch.com",
1085+
"Kinde": "https://kinde.com",
1086+
"Descope": "https://www.descope.com",
1087+
"WorkOS": "https://workos.com",
1088+
"Frontegg": "https://frontegg.com",
1089+
"Authgear": "https://www.authgear.com",
1090+
"LoginRadius": "https://www.loginradius.com",
1091+
"OneLogin": "https://www.onelogin.com",
1092+
"Ping Identity": "https://www.pingidentity.com",
1093+
"Microsoft Entra ID": "https://www.microsoft.com/security/business/microsoft-entra",
1094+
"Magic": "https://magic.link",
1095+
"Web3Auth": "https://web3auth.io",
1096+
"Privy Auth": "https://www.privy.io",
1097+
"Dynamic.xyz Auth": "https://www.dynamic.xyz",
1098+
"Passage by 1Password": "https://passage.1password.com",
1099+
"MojoAuth": "https://mojoauth.com",
1100+
"PropelAuth": "https://www.propelauth.com",
1101+
"BoxyHQ Jackson": "https://boxyhq.com",
1102+
"SlashID": "https://www.slashid.dev",
1103+
"Permit.io": "https://www.permit.io",
1104+
"Cerbos": "https://www.cerbos.dev",
10851105
"Firebase": "https://firebase.google.com",
10861106
"Supabase": "https://supabase.com",
10871107
"Authentik": "https://goauthentik.io",

0 commit comments

Comments
 (0)