hullproof 0.0.0-stage → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +222 -0
- package/NOTICE +32 -0
- package/README.md +313 -2
- package/checks/db.firebase-rules-not-open.json +24 -0
- package/checks/db.rls-every-table.json +25 -0
- package/checks/log.no-credential-in-logs.json +30 -0
- package/checks/secrets.no-env-file-committed.json +31 -0
- package/checks/secrets.no-secret-in-public-env.json +37 -0
- package/checks/storage.firebase-rules-not-open.json +22 -0
- package/checks/supply.no-untrusted-event-in-run.json +23 -0
- package/checks/web.cors-no-reflected-origin.json +31 -0
- package/detectors/ai.json +25 -0
- package/detectors/auth.json +27 -0
- package/detectors/ci.json +19 -0
- package/detectors/containers.json +8 -0
- package/detectors/data_stores.json +38 -0
- package/detectors/frameworks.json +94 -0
- package/detectors/hosting.json +44 -0
- package/detectors/iac.json +43 -0
- package/detectors/languages.json +48 -0
- package/detectors/mobile.json +22 -0
- package/detectors/package_managers.json +39 -0
- package/detectors/payments.json +19 -0
- package/detectors/runtimes.json +17 -0
- package/dist/checks/code/admin-role.js +46 -0
- package/dist/checks/code/owner-filter.js +91 -0
- package/dist/checks/code/shared.js +84 -0
- package/dist/checks/code/webhook-verify.js +77 -0
- package/dist/checks/context.js +64 -0
- package/dist/checks/map/config-checks.js +74 -0
- package/dist/checks/map/entry-checks.js +97 -0
- package/dist/checks/map/shared.js +44 -0
- package/dist/checks/ops.js +307 -0
- package/dist/checks/pro-map.js +1 -0
- package/dist/checks/run.js +92 -0
- package/dist/checks/types.js +1 -0
- package/dist/ci/comment.js +44 -0
- package/dist/ci/sarif-check.js +157 -0
- package/dist/ci/sarif.js +61 -0
- package/dist/cli.js +358 -0
- package/dist/commands/ci.js +115 -0
- package/dist/commands/git.js +58 -0
- package/dist/commands/hooks.js +30 -0
- package/dist/commands/hunt-pro.js +1 -0
- package/dist/commands/hunt.js +86 -0
- package/dist/commands/map.js +33 -0
- package/dist/commands/mcp.js +17 -0
- package/dist/commands/pack.js +48 -0
- package/dist/commands/prove-pro.js +1 -0
- package/dist/commands/prove.js +173 -0
- package/dist/commands/report-gate.js +92 -0
- package/dist/commands/scan.js +158 -0
- package/dist/confirm/agreement.js +18 -0
- package/dist/confirm/chain.js +84 -0
- package/dist/confirm/confirm.js +112 -0
- package/dist/confirm/honesty.js +75 -0
- package/dist/confirm/lead.js +92 -0
- package/dist/confirm/merge.js +88 -0
- package/dist/confirm/query.js +145 -0
- package/dist/confirm/rule.js +86 -0
- package/dist/confirm/store.js +42 -0
- package/dist/confirm/summary.js +6 -0
- package/dist/confirm/synthesis.js +28 -0
- package/dist/discover/detectors.js +50 -0
- package/dist/discover/discover.js +270 -0
- package/dist/discover/extract.js +282 -0
- package/dist/discover/git.js +40 -0
- package/dist/discover/kit-files.js +47 -0
- package/dist/discover/walk.js +110 -0
- package/dist/env.js +57 -0
- package/dist/gate/gate.js +173 -0
- package/dist/hooks/install.js +153 -0
- package/dist/hooks/run.js +112 -0
- package/dist/map/analyze.js +201 -0
- package/dist/map/build.js +253 -0
- package/dist/map/candidates.js +49 -0
- package/dist/map/cblocks.js +77 -0
- package/dist/map/config.js +291 -0
- package/dist/map/dotnet.js +242 -0
- package/dist/map/entry.js +78 -0
- package/dist/map/expo.js +190 -0
- package/dist/map/go.js +292 -0
- package/dist/map/js-express.js +143 -0
- package/dist/map/js-misc.js +295 -0
- package/dist/map/js-next.js +292 -0
- package/dist/map/laravel.js +389 -0
- package/dist/map/lex-more.js +305 -0
- package/dist/map/lex.js +425 -0
- package/dist/map/light-index.js +191 -0
- package/dist/map/light-profiles.js +324 -0
- package/dist/map/light.js +574 -0
- package/dist/map/local-vocab.js +27 -0
- package/dist/map/mobile.js +326 -0
- package/dist/map/py-django.js +281 -0
- package/dist/map/py.js +391 -0
- package/dist/map/rails.js +391 -0
- package/dist/map/repo.js +178 -0
- package/dist/map/rust.js +312 -0
- package/dist/map/spring.js +207 -0
- package/dist/map/taint.js +96 -0
- package/dist/map/touches.js +355 -0
- package/dist/map/vocab.js +88 -0
- package/dist/mapping/controls.js +34 -0
- package/dist/mapping/dependency-policy.js +44 -0
- package/dist/mapping/map.js +44 -0
- package/dist/mapping/maps/gitleaks.json +12 -0
- package/dist/mapping/maps/osv-scanner.json +7 -0
- package/dist/mapping/maps/trivy.json +13 -0
- package/dist/mcp/confine.js +59 -0
- package/dist/mcp/protocol.js +140 -0
- package/dist/mcp/schema.js +43 -0
- package/dist/mcp/server.js +37 -0
- package/dist/mcp/tools.js +238 -0
- package/dist/packs/coverage.js +79 -0
- package/dist/packs/manifest.js +36 -0
- package/dist/packs/validate.js +271 -0
- package/dist/prove/container.js +276 -0
- package/dist/prove/exec-main.js +20 -0
- package/dist/prove/executor.js +149 -0
- package/dist/prove/local.js +131 -0
- package/dist/prove/probes.js +65 -0
- package/dist/prove/recipe.js +278 -0
- package/dist/prove/run.js +136 -0
- package/dist/prove/runner.js +1 -0
- package/dist/prove/safety.js +126 -0
- package/dist/prove/spec.js +357 -0
- package/dist/prove/store.js +65 -0
- package/dist/report/build.js +297 -0
- package/dist/report/entry-points.js +75 -0
- package/dist/report/hunt-section.js +71 -0
- package/dist/report/kit.js +41 -0
- package/dist/report/load.js +35 -0
- package/dist/report/messages.js +273 -0
- package/dist/report/prove-section.js +65 -0
- package/dist/report/report.js +156 -0
- package/dist/report/surface.js +21 -0
- package/dist/report/test-code.js +51 -0
- package/dist/report/tiers.js +44 -0
- package/dist/scanners/common.js +162 -0
- package/dist/scanners/gitleaks.js +90 -0
- package/dist/scanners/index.js +113 -0
- package/dist/scanners/osv-scanner.js +77 -0
- package/dist/scanners/run-targets.js +34 -0
- package/dist/scanners/secret-noise.js +89 -0
- package/dist/scanners/semgrep.js +142 -0
- package/dist/scanners/trivy.js +65 -0
- package/dist/scanners/types.js +1 -0
- package/dist/types/check.js +1 -0
- package/dist/types/codemap.js +1 -0
- package/dist/types/findings.js +5 -0
- package/dist/types/hunt.js +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/prove.js +1 -0
- package/dist/types/results.js +2 -0
- package/dist/types/scan.js +1 -0
- package/dist/types/stack.js +5 -0
- package/dist/util.js +71 -0
- package/dist/version.js +2 -0
- package/package.json +46 -4
- package/packs/android/fixture-result.json +43 -0
- package/packs/android/pack.json +56 -0
- package/packs/dotnet/fixture-result.json +62 -0
- package/packs/dotnet/pack.json +88 -0
- package/packs/expo/answer-key.json +51 -0
- package/packs/expo/fixture-result.json +62 -0
- package/packs/expo/pack.json +79 -0
- package/packs/firebase/answer-key.json +27 -0
- package/packs/firebase/fixture-result.json +43 -0
- package/packs/firebase/pack.json +58 -0
- package/packs/go/answer-key.json +101 -0
- package/packs/go/fixture-result.json +64 -0
- package/packs/go/pack.json +99 -0
- package/packs/ios/fixture-result.json +43 -0
- package/packs/ios/pack.json +55 -0
- package/packs/laravel/answer-key.json +84 -0
- package/packs/laravel/fixture-result.json +60 -0
- package/packs/laravel/pack.json +91 -0
- package/packs/node-ts/answer-key.json +220 -0
- package/packs/node-ts/fixture-result.json +114 -0
- package/packs/node-ts/pack.json +134 -0
- package/packs/python/answer-key.json +195 -0
- package/packs/python/fixture-result.json +119 -0
- package/packs/python/pack.json +121 -0
- package/packs/rails/answer-key.json +84 -0
- package/packs/rails/fixture-result.json +60 -0
- package/packs/rails/pack.json +78 -0
- package/packs/rust/fixture-result.json +43 -0
- package/packs/rust/pack.json +69 -0
- package/packs/spring/fixture-result.json +63 -0
- package/packs/spring/pack.json +103 -0
- package/packs/supabase/answer-key.json +52 -0
- package/packs/supabase/fixture-result.json +58 -0
- package/packs/supabase/pack.json +60 -0
- package/rules/gitleaks.toml +256 -0
- package/rules/semgrep/api-route-no-auth.yaml +31 -0
- package/rules/semgrep/cors-reflect-origin.yaml +48 -0
- package/rules/semgrep/eval-or-new-function.yaml +185 -0
- package/rules/semgrep/log-session-token.yaml +48 -0
- package/rules/semgrep/math-random-tokens.yaml +24 -0
- package/rules/semgrep/next-public-secret-name.yaml +32 -0
- package/rules/semgrep/postgrest-filter-injection.yaml +78 -0
- package/rules/semgrep/raw-sql-concat.yaml +42 -0
- package/rules/semgrep/read-by-id-no-owner.yaml +49 -0
- package/rules/semgrep/server-action-no-auth.yaml +26 -0
- package/rules/semgrep/sql-variants.yaml +99 -0
- package/rules/semgrep/ssrf-unguarded-url.yaml +137 -0
- package/rules/semgrep/subprocess-injection.yaml +163 -0
- package/rules/semgrep/taint-go.yaml +333 -0
- package/rules/semgrep/taint-java.yaml +317 -0
- package/rules/semgrep/taint-javascript.yaml +412 -0
- package/rules/semgrep/taint-php.yaml +361 -0
- package/rules/semgrep/taint-python.yaml +414 -0
- package/rules/semgrep/tool-endpoint-admin-client.yaml +86 -0
- package/rules/semgrep/user-metadata-authz.yaml +22 -0
- package/rules/semgrep/verify-result-unused.yaml +62 -0
- package/rules/semgrep/webhook-parse-before-verify.yaml +29 -0
- package/rules/test-artifact-ids.json +4 -0
- package/rules/tiers.json +427 -0
- package/schemas/check-results.schema.json +55 -0
- package/schemas/check.schema.json +41 -0
- package/schemas/codemap.schema.json +216 -0
- package/schemas/findings.schema.json +1048 -0
- package/schemas/hunt-output.schema.json +46 -0
- package/schemas/hunt-result.schema.json +58 -0
- package/schemas/results.schema.json +17 -0
- package/schemas/scan-hits.schema.json +32 -0
- package/schemas/scan-meta.schema.json +25 -0
- package/schemas/stack.schema.json +93 -0
- package/src/checks/README.md +32 -0
- package/src/checks/code/admin-role.ts +49 -0
- package/src/checks/code/owner-filter.ts +95 -0
- package/src/checks/code/shared.ts +66 -0
- package/src/checks/code/webhook-verify.ts +75 -0
- package/src/checks/context.ts +72 -0
- package/src/checks/map/config-checks.ts +79 -0
- package/src/checks/map/entry-checks.ts +116 -0
- package/src/checks/map/shared.ts +63 -0
- package/src/checks/ops.ts +280 -0
- package/src/checks/pro-map.ts +4 -0
- package/src/checks/run.ts +80 -0
- package/src/checks/types.ts +12 -0
- package/src/ci/comment.ts +52 -0
- package/src/ci/sarif-check.ts +100 -0
- package/src/ci/sarif.ts +72 -0
- package/src/cli.ts +273 -0
- package/src/commands/ci.ts +104 -0
- package/src/commands/git.ts +59 -0
- package/src/commands/hooks.ts +27 -0
- package/src/commands/hunt-pro.ts +4 -0
- package/src/commands/hunt.ts +68 -0
- package/src/commands/map.ts +27 -0
- package/src/commands/mcp.ts +18 -0
- package/src/commands/pack.ts +34 -0
- package/src/commands/prove-pro.ts +4 -0
- package/src/commands/prove.ts +126 -0
- package/src/commands/report-gate.ts +75 -0
- package/src/commands/scan.ts +156 -0
- package/src/confirm/agreement.ts +23 -0
- package/src/confirm/chain.ts +67 -0
- package/src/confirm/confirm.ts +107 -0
- package/src/confirm/honesty.ts +65 -0
- package/src/confirm/lead.ts +76 -0
- package/src/confirm/merge.ts +89 -0
- package/src/confirm/query.ts +126 -0
- package/src/confirm/rule.ts +76 -0
- package/src/confirm/store.ts +42 -0
- package/src/confirm/summary.ts +9 -0
- package/src/confirm/synthesis.ts +33 -0
- package/src/discover/detectors.ts +71 -0
- package/src/discover/discover.ts +253 -0
- package/src/discover/extract.ts +235 -0
- package/src/discover/git.ts +31 -0
- package/src/discover/kit-files.ts +37 -0
- package/src/discover/walk.ts +88 -0
- package/src/env.ts +51 -0
- package/src/gate/gate.ts +169 -0
- package/src/hooks/install.ts +142 -0
- package/src/hooks/run.ts +121 -0
- package/src/map/analyze.ts +219 -0
- package/src/map/build.ts +206 -0
- package/src/map/candidates.ts +47 -0
- package/src/map/cblocks.ts +55 -0
- package/src/map/config.ts +207 -0
- package/src/map/dotnet.ts +205 -0
- package/src/map/entry.ts +80 -0
- package/src/map/expo.ts +171 -0
- package/src/map/go.ts +271 -0
- package/src/map/js-express.ts +135 -0
- package/src/map/js-misc.ts +221 -0
- package/src/map/js-next.ts +282 -0
- package/src/map/laravel.ts +327 -0
- package/src/map/lex-more.ts +152 -0
- package/src/map/lex.ts +274 -0
- package/src/map/light-index.ts +134 -0
- package/src/map/light-profiles.ts +363 -0
- package/src/map/light.ts +484 -0
- package/src/map/local-vocab.ts +30 -0
- package/src/map/mobile.ts +263 -0
- package/src/map/py-django.ts +239 -0
- package/src/map/py.ts +329 -0
- package/src/map/rails.ts +291 -0
- package/src/map/repo.ts +150 -0
- package/src/map/rust.ts +256 -0
- package/src/map/spring.ts +185 -0
- package/src/map/taint.ts +86 -0
- package/src/map/touches.ts +296 -0
- package/src/map/vocab.ts +106 -0
- package/src/mapping/controls.ts +47 -0
- package/src/mapping/dependency-policy.ts +55 -0
- package/src/mapping/map.ts +59 -0
- package/src/mapping/maps/gitleaks.json +12 -0
- package/src/mapping/maps/osv-scanner.json +7 -0
- package/src/mapping/maps/trivy.json +13 -0
- package/src/mcp/confine.ts +44 -0
- package/src/mcp/protocol.ts +144 -0
- package/src/mcp/schema.ts +35 -0
- package/src/mcp/server.ts +32 -0
- package/src/mcp/tools.ts +235 -0
- package/src/packs/coverage.ts +98 -0
- package/src/packs/manifest.ts +97 -0
- package/src/packs/validate.ts +204 -0
- package/src/prove/container.ts +237 -0
- package/src/prove/exec-main.ts +16 -0
- package/src/prove/executor.ts +130 -0
- package/src/prove/local.ts +100 -0
- package/src/prove/probes.ts +68 -0
- package/src/prove/recipe.ts +215 -0
- package/src/prove/run.ts +124 -0
- package/src/prove/runner.ts +28 -0
- package/src/prove/safety.ts +98 -0
- package/src/prove/spec.ts +256 -0
- package/src/prove/store.ts +48 -0
- package/src/report/build.ts +304 -0
- package/src/report/entry-points.ts +78 -0
- package/src/report/hunt-section.ts +67 -0
- package/src/report/kit.ts +59 -0
- package/src/report/load.ts +49 -0
- package/src/report/messages.ts +270 -0
- package/src/report/prove-section.ts +61 -0
- package/src/report/report.ts +160 -0
- package/src/report/surface.ts +32 -0
- package/src/report/test-code.ts +56 -0
- package/src/report/tiers.ts +50 -0
- package/src/scanners/common.ts +149 -0
- package/src/scanners/gitleaks.ts +89 -0
- package/src/scanners/index.ts +103 -0
- package/src/scanners/osv-scanner.ts +90 -0
- package/src/scanners/run-targets.ts +35 -0
- package/src/scanners/secret-noise.ts +80 -0
- package/src/scanners/semgrep.ts +139 -0
- package/src/scanners/trivy.ts +66 -0
- package/src/scanners/types.ts +98 -0
- package/src/types/check.ts +52 -0
- package/src/types/codemap.ts +142 -0
- package/src/types/findings.ts +107 -0
- package/src/types/hunt.ts +97 -0
- package/src/types/index.ts +10 -0
- package/src/types/prove.ts +83 -0
- package/src/types/results.ts +15 -0
- package/src/types/scan.ts +63 -0
- package/src/types/stack.ts +61 -0
- package/src/util.ts +59 -0
- package/src/version.ts +2 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "check.log.no-credential-in-logs",
|
|
3
|
+
"sec_ids": [
|
|
4
|
+
"SEC-LOG-001"
|
|
5
|
+
],
|
|
6
|
+
"applies_when": {},
|
|
7
|
+
"op": "regex_absent",
|
|
8
|
+
"params": {
|
|
9
|
+
"files": [
|
|
10
|
+
"**/*.{ts,tsx,js,jsx,mjs,cjs,py,rb,php,go,java,kt,cs,rs,dart,swift,vue,svelte,astro}"
|
|
11
|
+
],
|
|
12
|
+
"exclude": [
|
|
13
|
+
"**/*.test.*",
|
|
14
|
+
"**/*.spec.*",
|
|
15
|
+
"**/__tests__/**",
|
|
16
|
+
"**/test/**",
|
|
17
|
+
"**/tests/**",
|
|
18
|
+
"**/fixtures/**"
|
|
19
|
+
],
|
|
20
|
+
"pattern": "\\b(?:console\\.(?:log|info|warn|error|debug)|logger\\.\\w+|log\\.(?:info|warn|warning|error|debug|print\\w*)|logging\\.\\w+|print|println|Log\\.\\w|puts|error_log)\\s*\\([^\\n]*(?:\\b(?:token|password|passwd|secret|api_?key|apiKey|access_?token|accessToken|refresh_?token|refreshToken|session_?token|sessionToken|authorization|card_?number|cvv)\\b\\s*[:=,})]|\\.(?:token|password|secret|accessToken|refreshToken|apiKey)\\b)",
|
|
21
|
+
"note": "a credential is written to the logs",
|
|
22
|
+
"not_applicable_reason": "no source file"
|
|
23
|
+
},
|
|
24
|
+
"on_true": "NOT ASSESSED: NEEDS DYNAMIC TEST",
|
|
25
|
+
"on_false": "FAIL",
|
|
26
|
+
"fixtures": {
|
|
27
|
+
"pass": "test/fixtures/checks/no-credential-in-logs/pass",
|
|
28
|
+
"fail": "test/fixtures/checks/no-credential-in-logs/fail"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "check.secrets.no-env-file-committed",
|
|
3
|
+
"sec_ids": [
|
|
4
|
+
"SEC-SECRETS-004"
|
|
5
|
+
],
|
|
6
|
+
"applies_when": {},
|
|
7
|
+
"op": "file_absent",
|
|
8
|
+
"params": {
|
|
9
|
+
"files": [
|
|
10
|
+
".env",
|
|
11
|
+
".env.*",
|
|
12
|
+
"**/.env",
|
|
13
|
+
"**/.env.*"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"**/.env.example",
|
|
17
|
+
"**/.env.sample",
|
|
18
|
+
"**/.env.template",
|
|
19
|
+
"**/.env.dist",
|
|
20
|
+
"**/.env.*.example",
|
|
21
|
+
"**/.env.example.*"
|
|
22
|
+
],
|
|
23
|
+
"note": "an environment file is in the repository; its values are readable by anyone with the code"
|
|
24
|
+
},
|
|
25
|
+
"on_true": "NOT ASSESSED: NEEDS DASHBOARD",
|
|
26
|
+
"on_false": "FAIL",
|
|
27
|
+
"fixtures": {
|
|
28
|
+
"pass": "test/fixtures/checks/no-env-file-committed/pass",
|
|
29
|
+
"fail": "test/fixtures/checks/no-env-file-committed/fail"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "check.secrets.no-secret-in-public-env",
|
|
3
|
+
"sec_ids": [
|
|
4
|
+
"SEC-SECRETS-001",
|
|
5
|
+
"SEC-SECRETS-003"
|
|
6
|
+
],
|
|
7
|
+
"applies_when": {},
|
|
8
|
+
"op": "regex_absent",
|
|
9
|
+
"params": {
|
|
10
|
+
"files": [
|
|
11
|
+
"**/*.{ts,tsx,js,jsx,mjs,cjs,py,rb,php,go,java,kt,cs,rs,dart,swift,vue,svelte,astro}",
|
|
12
|
+
"**/.env*",
|
|
13
|
+
"**/app.json",
|
|
14
|
+
"**/app.config.*",
|
|
15
|
+
"**/eas.json",
|
|
16
|
+
"**/vercel.json",
|
|
17
|
+
"**/netlify.toml"
|
|
18
|
+
],
|
|
19
|
+
"exclude": [
|
|
20
|
+
"**/*.test.*",
|
|
21
|
+
"**/*.spec.*",
|
|
22
|
+
"**/__tests__/**",
|
|
23
|
+
"**/test/**",
|
|
24
|
+
"**/tests/**",
|
|
25
|
+
"**/fixtures/**"
|
|
26
|
+
],
|
|
27
|
+
"pattern": "\\b(?:NEXT_PUBLIC|VITE|EXPO_PUBLIC|REACT_APP|NUXT_PUBLIC|PUBLIC|GATSBY|STORYBOOK)_[A-Z0-9_]*(?:SERVICE_ROLE|SECRET|PRIVATE|PASSWORD|PASSWD)[A-Z0-9_]*\\b",
|
|
28
|
+
"note": "a secret is named with a prefix the framework copies into the browser or app bundle",
|
|
29
|
+
"not_applicable_reason": "no source or environment file"
|
|
30
|
+
},
|
|
31
|
+
"on_true": "NOT ASSESSED: NEEDS BUILD",
|
|
32
|
+
"on_false": "FAIL",
|
|
33
|
+
"fixtures": {
|
|
34
|
+
"pass": "test/fixtures/checks/no-secret-in-public-env/pass",
|
|
35
|
+
"fail": "test/fixtures/checks/no-secret-in-public-env/fail"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "check.storage.firebase-rules-not-open",
|
|
3
|
+
"sec_ids": [
|
|
4
|
+
"SEC-DATA-019"
|
|
5
|
+
],
|
|
6
|
+
"applies_when": {},
|
|
7
|
+
"op": "regex_absent",
|
|
8
|
+
"params": {
|
|
9
|
+
"files": [
|
|
10
|
+
"**/storage.rules"
|
|
11
|
+
],
|
|
12
|
+
"pattern": "allow\\s+[\\w\\s,]+:\\s*if\\s+true\\s*;|allow\\s+[\\w\\s,]+\\s*;|request\\.time\\s*<\\s*timestamp\\.date",
|
|
13
|
+
"note": "storage rule open to every caller (Firebase)",
|
|
14
|
+
"not_applicable_reason": "no Firebase Storage rules file"
|
|
15
|
+
},
|
|
16
|
+
"on_true": "NOT ASSESSED: NEEDS DYNAMIC TEST",
|
|
17
|
+
"on_false": "FAIL",
|
|
18
|
+
"fixtures": {
|
|
19
|
+
"pass": "test/fixtures/checks/storage-rules-not-open/pass",
|
|
20
|
+
"fail": "test/fixtures/checks/storage-rules-not-open/fail"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "check.supply.no-untrusted-event-in-run",
|
|
3
|
+
"sec_ids": [
|
|
4
|
+
"SEC-SUPPLY-032"
|
|
5
|
+
],
|
|
6
|
+
"applies_when": {},
|
|
7
|
+
"op": "regex_absent",
|
|
8
|
+
"params": {
|
|
9
|
+
"files": [
|
|
10
|
+
".github/workflows/*.yml",
|
|
11
|
+
".github/workflows/*.yaml"
|
|
12
|
+
],
|
|
13
|
+
"pattern": "^(?![ \\t]*-?[ \\t]*[A-Za-z_][\\w-]*:[ \\t]*[\"']?\\$\\{\\{)[^\\n]*\\$\\{\\{\\s*github\\.(?:event\\.(?:issue|pull_request|comment|review|review_comment|discussion|discussion_comment|head_commit|commits|pages|workflow_run|pull_request_target)\\b[\\w.\\[\\]*]*\\.(?:title|body|message|name|label|ref|email|login|page_name|default_branch|head_branch)\\b|head_ref\\b)[^}]*\\}\\}",
|
|
14
|
+
"note": "text an outside person controls is expanded straight into a workflow script",
|
|
15
|
+
"not_applicable_reason": "no GitHub Actions workflow"
|
|
16
|
+
},
|
|
17
|
+
"on_true": "PASS (static)",
|
|
18
|
+
"on_false": "FAIL",
|
|
19
|
+
"fixtures": {
|
|
20
|
+
"pass": "test/fixtures/checks/no-untrusted-event-in-run/pass",
|
|
21
|
+
"fail": "test/fixtures/checks/no-untrusted-event-in-run/fail"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "check.web.cors-no-reflected-origin",
|
|
3
|
+
"sec_ids": [
|
|
4
|
+
"SEC-WEB-022"
|
|
5
|
+
],
|
|
6
|
+
"applies_when": {},
|
|
7
|
+
"op": "regex_absent",
|
|
8
|
+
"params": {
|
|
9
|
+
"files": [
|
|
10
|
+
"**/*.{ts,tsx,js,jsx,mjs,cjs,py,rb,php,go,java,kt,cs,rs,dart,swift,vue,svelte,astro}"
|
|
11
|
+
],
|
|
12
|
+
"exclude": [
|
|
13
|
+
"**/*.test.*",
|
|
14
|
+
"**/*.spec.*",
|
|
15
|
+
"**/__tests__/**",
|
|
16
|
+
"**/test/**",
|
|
17
|
+
"**/tests/**",
|
|
18
|
+
"**/fixtures/**"
|
|
19
|
+
],
|
|
20
|
+
"pattern": "Access-Control-Allow-Origin[\"']?\\s*[,:=]\\s*(?:req|request|r|ctx|c|event)?\\.?(?:headers?\\.get\\(\\s*[\"']origin[\"']\\)|origin\\b|headers\\[[\"']origin[\"']\\])|Access-Control-Allow-Origin[\"']?\\s*[,:=]\\s*origin\\b|\\borigin\\s*:\\s*true\\b|CORS_(?:ORIGIN_)?ALLOW_ALL(?:_ORIGINS)?\\s*=\\s*True|SetIsOriginAllowed\\(\\s*\\w+\\s*=>\\s*true\\s*\\)|AllowOriginFunc:\\s*func\\([^)]*\\)\\s*bool\\s*\\{\\s*return\\s+true|\\$_SERVER\\[[\"']HTTP_ORIGIN[\"']\\]",
|
|
21
|
+
"ignore_case": true,
|
|
22
|
+
"note": "the response allows whatever origin the request names",
|
|
23
|
+
"not_applicable_reason": "no source file"
|
|
24
|
+
},
|
|
25
|
+
"on_true": "NOT ASSESSED: NEEDS DYNAMIC TEST",
|
|
26
|
+
"on_false": "FAIL",
|
|
27
|
+
"fixtures": {
|
|
28
|
+
"pass": "test/fixtures/checks/cors-no-reflected-origin/pass",
|
|
29
|
+
"fail": "test/fixtures/checks/cors-no-reflected-origin/fail"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "ai",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "anthropic-sdk", "deps": {"npm": ["@anthropic-ai/sdk"], "pypi": ["anthropic"]}, "imports": {"js": ["@anthropic-ai/sdk"], "python": ["anthropic"]}},
|
|
5
|
+
{"id": "aws-bedrock", "deps": {"npm": ["@aws-sdk/client-bedrock-runtime", "@ai-sdk/amazon-bedrock"]}, "signals": [{"files": ["*.py"], "regex": "boto3\\.client\\(\\s*['\"]bedrock-runtime['\"]"}]},
|
|
6
|
+
{"id": "azure-openai", "deps": {"npm": ["@azure/openai"], "nuget": ["Azure.AI.OpenAI"]}},
|
|
7
|
+
{"id": "chromadb", "deps": {"npm": ["chromadb"], "pypi": ["chromadb"]}},
|
|
8
|
+
{"id": "cohere-sdk", "deps": {"npm": ["cohere-ai"], "pypi": ["cohere"]}},
|
|
9
|
+
{"id": "google-gemini-sdk", "deps": {"npm": ["@google/generative-ai", "@google/genai"], "pypi": ["google-generativeai", "google-genai"]}, "imports": {"python": ["google.generativeai", "google.genai"]}},
|
|
10
|
+
{"id": "groq-sdk", "deps": {"npm": ["groq-sdk"], "pypi": ["groq"]}},
|
|
11
|
+
{"id": "huggingface", "deps": {"npm": ["@huggingface/inference", "@huggingface/transformers"], "pypi": ["transformers", "huggingface-hub"]}},
|
|
12
|
+
{"id": "langchain", "deps": {"npm": ["langchain", "@langchain/*"], "pypi": ["langchain", "langchain-*", "langgraph"]}},
|
|
13
|
+
{"id": "llamaindex", "deps": {"npm": ["llamaindex"], "pypi": ["llama-index", "llama-index-*"]}},
|
|
14
|
+
{"id": "mcp-server", "deps": {"npm": ["@modelcontextprotocol/sdk"], "pypi": ["mcp", "fastmcp"]}, "imports": {"js": ["@modelcontextprotocol/sdk/server"], "python": ["mcp.server"]}},
|
|
15
|
+
{"id": "mistral-sdk", "deps": {"npm": ["@mistralai/mistralai"], "pypi": ["mistralai"]}},
|
|
16
|
+
{"id": "ollama", "deps": {"npm": ["ollama"], "pypi": ["ollama"]}},
|
|
17
|
+
{"id": "openai-sdk", "deps": {"npm": ["openai"], "pypi": ["openai"], "go": ["github.com/openai/openai-go*", "github.com/sashabaranov/go-openai"]}, "imports": {"js": ["openai"], "python": ["openai"]}},
|
|
18
|
+
{"id": "pgvector", "deps": {"npm": ["pgvector"], "pypi": ["pgvector"]}, "signals": [{"files": ["*.sql"], "regex": "create\\s+extension\\s+(if\\s+not\\s+exists\\s+)?\"?vector\"?", "ignore_case": true, "confidence": "high"}]},
|
|
19
|
+
{"id": "pinecone", "deps": {"npm": ["@pinecone-database/pinecone"], "pypi": ["pinecone", "pinecone-client"]}},
|
|
20
|
+
{"id": "qdrant", "deps": {"npm": ["@qdrant/js-client-rest"], "pypi": ["qdrant-client"]}},
|
|
21
|
+
{"id": "replicate", "deps": {"npm": ["replicate"], "pypi": ["replicate"]}},
|
|
22
|
+
{"id": "vercel-ai-sdk", "deps": {"npm": ["ai", "@ai-sdk/*"]}},
|
|
23
|
+
{"id": "weaviate", "deps": {"npm": ["weaviate-client", "weaviate-ts-client"], "pypi": ["weaviate-client"]}}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "auth",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "auth0", "deps": {"npm": ["@auth0/*", "auth0", "express-openid-connect"], "pypi": ["auth0-python"], "pub": ["auth0_flutter"]}},
|
|
5
|
+
{"id": "aws-cognito", "deps": {"npm": ["amazon-cognito-identity-js", "@aws-sdk/client-cognito-identity-provider"]}, "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"aws_cognito_user_pool\"", "confidence": "high"}, {"files": ["*.yaml", "*.yml", "*.json", "*.template"], "regex": "AWS::Cognito::UserPool\\b", "confidence": "high"}]},
|
|
6
|
+
{"id": "better-auth", "deps": {"npm": ["better-auth"]}},
|
|
7
|
+
{"id": "clerk", "deps": {"npm": ["@clerk/*"], "pypi": ["clerk-backend-api"]}},
|
|
8
|
+
{"id": "devise", "deps": {"rubygems": ["devise"]}},
|
|
9
|
+
{"id": "django-auth", "imports": {"python": ["django.contrib.auth"]}},
|
|
10
|
+
{"id": "firebase-auth", "deps": {"pub": ["firebase_auth"], "npm": ["@react-native-firebase/auth"]}, "imports": {"js": ["firebase/auth", "firebase-admin/auth"], "python": ["firebase_admin.auth"]}},
|
|
11
|
+
{"id": "flask-login", "deps": {"pypi": ["flask-login"]}},
|
|
12
|
+
{"id": "jwt", "deps": {"npm": ["jsonwebtoken", "jose", "express-jwt", "passport-jwt"], "pypi": ["pyjwt", "python-jose", "flask-jwt-extended"], "go": ["github.com/golang-jwt/jwt*"], "rubygems": ["jwt"], "maven": ["io.jsonwebtoken*"], "composer": ["firebase/php-jwt", "lcobucci/jwt"]}, "deps_confidence": "medium"},
|
|
13
|
+
{"id": "keycloak", "deps": {"npm": ["keycloak-js", "keycloak-connect"], "pypi": ["python-keycloak"]}},
|
|
14
|
+
{"id": "kinde", "deps": {"npm": ["@kinde-oss/*"]}},
|
|
15
|
+
{"id": "laravel-auth", "deps": {"composer": ["laravel/sanctum", "laravel/passport", "laravel/breeze", "laravel/fortify", "laravel/jetstream"]}},
|
|
16
|
+
{"id": "lucia", "deps": {"npm": ["lucia"]}},
|
|
17
|
+
{"id": "microsoft-entra", "deps": {"npm": ["@azure/msal-*"], "pypi": ["msal"], "nuget": ["Microsoft.Identity.Web", "Microsoft.Identity.Client"]}, "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"(azuread_|azurerm_aadb2c_)", "confidence": "high"}]},
|
|
18
|
+
{"id": "nextauth", "deps": {"npm": ["next-auth", "@auth/*"]}},
|
|
19
|
+
{"id": "okta", "deps": {"npm": ["@okta/*"], "pypi": ["okta"]}},
|
|
20
|
+
{"id": "passport", "deps": {"npm": ["passport"]}},
|
|
21
|
+
{"id": "password-hashing", "deps": {"npm": ["bcrypt", "bcryptjs", "argon2", "@node-rs/argon2", "@node-rs/bcrypt"], "pypi": ["bcrypt", "argon2-cffi", "passlib"], "rubygems": ["bcrypt"]}, "deps_confidence": "medium", "imports": {"go": ["golang.org/x/crypto/bcrypt", "golang.org/x/crypto/argon2"]}},
|
|
22
|
+
{"id": "spring-security", "deps": {"maven": ["org.springframework.security*", "org.springframework.boot:spring-boot-starter-security"]}},
|
|
23
|
+
{"id": "stytch", "deps": {"npm": ["stytch", "@stytch/*"], "pypi": ["stytch"]}},
|
|
24
|
+
{"id": "supabase-auth", "deps": {"npm": ["@supabase/auth-helpers-*", "@supabase/auth-ui-react"]}, "signals": [{"files": ["*.ts", "*.tsx", "*.js", "*.jsx", "*.mjs", "*.vue", "*.svelte", "*.dart", "*.py"], "regex": "\\bsupabase\\w*\\.auth\\.\\w+"}]},
|
|
25
|
+
{"id": "workos", "deps": {"npm": ["@workos-inc/*"], "pypi": ["workos"]}}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "ci",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "aws-codebuild", "signals": [{"files": ["buildspec.yml", "buildspec.yaml"]}]},
|
|
5
|
+
{"id": "azure-pipelines", "signals": [{"files": ["azure-pipelines.yml", "azure-pipelines.yaml", ".azure-pipelines/*.yml", ".azure-pipelines/*.yaml"]}]},
|
|
6
|
+
{"id": "bitbucket-pipelines", "signals": [{"files": ["bitbucket-pipelines.yml"]}]},
|
|
7
|
+
{"id": "bitrise", "signals": [{"files": ["bitrise.yml"]}]},
|
|
8
|
+
{"id": "buildkite", "signals": [{"files": [".buildkite/*.yml", ".buildkite/*.yaml"]}]},
|
|
9
|
+
{"id": "circleci", "signals": [{"files": [".circleci/config.yml", ".circleci/config.yaml"]}]},
|
|
10
|
+
{"id": "codemagic", "signals": [{"files": ["codemagic.yaml", "codemagic.yml"]}]},
|
|
11
|
+
{"id": "drone", "signals": [{"files": [".drone.yml"]}]},
|
|
12
|
+
{"id": "expo-eas", "signals": [{"files": ["eas.json"]}]},
|
|
13
|
+
{"id": "github-actions", "signals": [{"files": [".github/workflows/*.yml", ".github/workflows/*.yaml"]}]},
|
|
14
|
+
{"id": "gitlab-ci", "signals": [{"files": [".gitlab-ci.yml", ".gitlab-ci.yaml"]}, {"files": ["*.gitlab-ci.yml", "*.gitlab-ci.yaml"], "regex": "^(stages|include|[A-Za-z0-9_-]+):\\s*$", "confidence": "medium"}]},
|
|
15
|
+
{"id": "google-cloud-build", "signals": [{"files": ["cloudbuild.yaml", "cloudbuild.yml", "cloudbuild.json"]}]},
|
|
16
|
+
{"id": "jenkins", "signals": [{"files": ["Jenkinsfile", "Jenkinsfile.*"]}]},
|
|
17
|
+
{"id": "travis-ci", "signals": [{"files": [".travis.yml"]}]}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "containers",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "docker-compose", "signals": [{"files": ["docker-compose.yml", "docker-compose.yaml", "docker-compose.*.yml", "docker-compose.*.yaml", "compose.yml", "compose.yaml", "compose.*.yml", "compose.*.yaml"]}]},
|
|
5
|
+
{"id": "dockerfile", "signals": [{"files": ["Dockerfile", "Dockerfile.*", "*.dockerfile", "Containerfile"]}]},
|
|
6
|
+
{"id": "devcontainer", "signals": [{"files": [".devcontainer.json", ".devcontainer/devcontainer.json"]}]}
|
|
7
|
+
]
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "data_stores",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "aws-rds", "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"aws_(db_instance|rds_cluster)\"", "confidence": "high"}]},
|
|
5
|
+
{"id": "azure-cosmos-db", "deps": {"npm": ["@azure/cosmos"], "pypi": ["azure-cosmos"], "nuget": ["Microsoft.Azure.Cosmos"]}, "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"azurerm_cosmosdb_", "confidence": "high"}]},
|
|
6
|
+
{"id": "azure-database-mysql", "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"azurerm_mysql_", "confidence": "high"}]},
|
|
7
|
+
{"id": "azure-database-postgres", "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"azurerm_postgresql_", "confidence": "high"}]},
|
|
8
|
+
{"id": "azure-sql", "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"azurerm_(mssql|sql)_(server|database)\"", "confidence": "high"}]},
|
|
9
|
+
{"id": "dynamodb", "deps": {"npm": ["@aws-sdk/client-dynamodb", "@aws-sdk/lib-dynamodb", "dynamoose"]}, "signals": [
|
|
10
|
+
{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"aws_dynamodb_table\"", "confidence": "high"},
|
|
11
|
+
{"files": ["*.py"], "regex": "boto3\\.(resource|client)\\(\\s*['\"]dynamodb['\"]"},
|
|
12
|
+
{"files": ["*.yaml", "*.yml", "*.json", "*.template"], "regex": "AWS::DynamoDB::Table", "confidence": "high"}]},
|
|
13
|
+
{"id": "elasticsearch", "deps": {"npm": ["@elastic/elasticsearch"], "pypi": ["elasticsearch"]}},
|
|
14
|
+
{"id": "firebase-realtime-database", "deps": {"pub": ["firebase_database"], "npm": ["@react-native-firebase/database"]}, "imports": {"js": ["firebase/database", "firebase-admin/database"]}, "signals": [{"files": ["database.rules.json"]}]},
|
|
15
|
+
{"id": "firestore", "deps": {"pub": ["cloud_firestore"], "pypi": ["google-cloud-firestore"], "npm": ["@react-native-firebase/firestore", "@google-cloud/firestore"]}, "imports": {"js": ["firebase/firestore", "firebase-admin/firestore"]}, "signals": [{"files": ["firestore.rules", "firestore.indexes.json"]}]},
|
|
16
|
+
{"id": "google-cloud-sql", "deps": {"npm": ["@google-cloud/cloud-sql-connector"], "pypi": ["cloud-sql-python-connector"]}, "signals": [{"files": ["*.tf"], "regex": "^\\s*resource\\s+\"google_sql_database_instance\"", "confidence": "high"}]},
|
|
17
|
+
{"id": "mongodb", "deps": {"npm": ["mongodb", "mongoose"], "pypi": ["pymongo", "motor", "mongoengine"], "go": ["go.mongodb.org/mongo-driver*"], "rubygems": ["mongo", "mongoid"], "maven": ["org.mongodb*"], "nuget": ["MongoDB.Driver"]}, "signals": [
|
|
18
|
+
{"files": ["docker-compose*.yml", "docker-compose*.yaml", "compose.yml", "compose.yaml"], "regex": "^\\s*image:\\s*['\"]?mongo(:|['\"]?\\s*$)"},
|
|
19
|
+
{"files": ["*.prisma"], "regex": "provider\\s*=\\s*\"mongodb\"", "confidence": "high"}]},
|
|
20
|
+
{"id": "mssql", "deps": {"npm": ["mssql", "tedious"], "nuget": ["Microsoft.Data.SqlClient", "System.Data.SqlClient"], "pypi": ["pymssql"]}, "signals": [{"files": ["*.prisma"], "regex": "provider\\s*=\\s*\"sqlserver\"", "confidence": "high"}]},
|
|
21
|
+
{"id": "mysql", "deps": {"npm": ["mysql", "mysql2"], "pypi": ["pymysql", "mysqlclient", "mysql-connector-python", "aiomysql"], "go": ["github.com/go-sql-driver/mysql"], "rubygems": ["mysql2"], "maven": ["mysql:mysql-connector-java", "com.mysql:mysql-connector-j"], "nuget": ["MySql.Data", "MySqlConnector"]}, "signals": [
|
|
22
|
+
{"files": ["docker-compose*.yml", "docker-compose*.yaml", "compose.yml", "compose.yaml"], "regex": "^\\s*image:\\s*['\"]?(mysql|mariadb)(:|['\"]?\\s*$)"},
|
|
23
|
+
{"files": ["*.prisma"], "regex": "provider\\s*=\\s*\"mysql\"", "confidence": "high"}]},
|
|
24
|
+
{"id": "neon", "deps": {"npm": ["@neondatabase/serverless"]}},
|
|
25
|
+
{"id": "oracle-database", "deps": {"npm": ["oracledb"], "pypi": ["oracledb", "cx-oracle"]}},
|
|
26
|
+
{"id": "planetscale", "deps": {"npm": ["@planetscale/database"]}},
|
|
27
|
+
{"id": "postgres", "deps": {"npm": ["pg", "postgres", "pg-promise", "@vercel/postgres"], "pypi": ["psycopg2", "psycopg2-binary", "psycopg", "asyncpg"], "go": ["github.com/lib/pq", "github.com/jackc/pgx*"], "rubygems": ["pg"], "maven": ["org.postgresql:postgresql"], "nuget": ["Npgsql"], "cargo": ["tokio-postgres", "postgres"], "hex": ["postgrex"]}, "imports": {"python": ["psycopg2", "psycopg", "asyncpg"]}, "signals": [
|
|
28
|
+
{"files": ["docker-compose*.yml", "docker-compose*.yaml", "compose.yml", "compose.yaml"], "regex": "^\\s*image:\\s*['\"]?(postgres|postgis/postgis)(:|['\"]?\\s*$)"},
|
|
29
|
+
{"files": ["*.prisma"], "regex": "provider\\s*=\\s*\"(postgresql|postgres|cockroachdb)\"", "confidence": "high"}]},
|
|
30
|
+
{"id": "redis", "deps": {"npm": ["redis", "ioredis", "@upstash/redis"], "pypi": ["redis"], "go": ["github.com/redis/go-redis*", "github.com/go-redis/redis*"], "rubygems": ["redis"], "maven": ["redis.clients:jedis", "io.lettuce:lettuce-core"], "nuget": ["StackExchange.Redis"]}, "signals": [
|
|
31
|
+
{"files": ["docker-compose*.yml", "docker-compose*.yaml", "compose.yml", "compose.yaml"], "regex": "^\\s*image:\\s*['\"]?(redis|valkey/valkey)(:|['\"]?\\s*$)"}]},
|
|
32
|
+
{"id": "sqlite", "deps": {"npm": ["sqlite3", "better-sqlite3", "sqlite", "expo-sqlite"], "pypi": ["aiosqlite"], "go": ["github.com/mattn/go-sqlite3", "modernc.org/sqlite"], "rubygems": ["sqlite3"], "maven": ["org.xerial:sqlite-jdbc"], "nuget": ["Microsoft.Data.Sqlite"], "cargo": ["rusqlite"], "pub": ["sqflite"]}, "imports": {"python": ["sqlite3"]}, "signals": [
|
|
33
|
+
{"files": ["*.prisma"], "regex": "provider\\s*=\\s*\"sqlite\"", "confidence": "high"},
|
|
34
|
+
{"files": ["*.sqlite", "*.sqlite3"], "confidence": "medium"}]},
|
|
35
|
+
{"id": "supabase", "deps": {"npm": ["@supabase/supabase-js", "@supabase/ssr"], "pypi": ["supabase"], "pub": ["supabase_flutter"]}, "signals": [{"files": ["**/supabase/config.toml"]}, {"files": ["**/supabase/migrations/*.sql"]}]},
|
|
36
|
+
{"id": "turso", "deps": {"npm": ["@libsql/client"], "pypi": ["libsql-client", "libsql"]}}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "frameworks",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "actix-web", "deps": {"cargo": ["actix-web"]}, "imports": {"rust": ["actix_web"]}},
|
|
5
|
+
{"id": "adonisjs", "deps": {"npm": ["@adonisjs/core"]}},
|
|
6
|
+
{"id": "aiohttp", "deps": {"pypi": ["aiohttp"]}, "imports": {"python": ["aiohttp"]}},
|
|
7
|
+
{"id": "angular", "deps": {"npm": ["@angular/core"]}, "imports": {"js": ["@angular/core"]}, "signals": [{"files": ["angular.json"]}]},
|
|
8
|
+
{"id": "apollo-server", "deps": {"npm": ["@apollo/server", "apollo-server", "apollo-server-express"]}},
|
|
9
|
+
{"id": "aspnet-core", "deps": {"nuget": ["Microsoft.AspNetCore"]}, "imports": {"csharp": ["Microsoft.AspNetCore"]}, "signals": [{"files": ["*.csproj"], "regex": "Sdk=\"Microsoft\\.NET\\.Sdk\\.Web\"", "confidence": "high"}]},
|
|
10
|
+
{"id": "astro", "deps": {"npm": ["astro"]}, "signals": [{"files": ["astro.config.*"]}]},
|
|
11
|
+
{"id": "axum", "deps": {"cargo": ["axum"]}, "imports": {"rust": ["axum"]}},
|
|
12
|
+
{"id": "bottle", "deps": {"pypi": ["bottle"]}, "imports": {"python": ["bottle"]}},
|
|
13
|
+
{"id": "cakephp", "deps": {"composer": ["cakephp/cakephp"]}},
|
|
14
|
+
{"id": "chi", "deps": {"go": ["github.com/go-chi/chi"]}, "imports": {"go": ["github.com/go-chi/chi"]}},
|
|
15
|
+
{"id": "codeigniter", "deps": {"composer": ["codeigniter4/framework", "codeigniter/framework"]}},
|
|
16
|
+
{"id": "dart-frog", "deps": {"pub": ["dart_frog"]}},
|
|
17
|
+
{"id": "diesel", "deps": {"cargo": ["diesel"]}},
|
|
18
|
+
{"id": "django", "deps": {"pypi": ["django"]}, "imports": {"python": ["django"]}, "signals": [{"files": ["manage.py"], "regex": "DJANGO_SETTINGS_MODULE", "confidence": "high"}]},
|
|
19
|
+
{"id": "drizzle-orm", "deps": {"npm": ["drizzle-orm"]}},
|
|
20
|
+
{"id": "drupal", "deps": {"composer": ["drupal/core", "drupal/core-recommended"]}},
|
|
21
|
+
{"id": "echo", "deps": {"go": ["github.com/labstack/echo*"]}, "imports": {"go": ["github.com/labstack/echo*"]}},
|
|
22
|
+
{"id": "ecto", "deps": {"hex": ["ecto", "ecto_sql"]}},
|
|
23
|
+
{"id": "electron", "deps": {"npm": ["electron"]}},
|
|
24
|
+
{"id": "ember", "deps": {"npm": ["ember-source"]}},
|
|
25
|
+
{"id": "entity-framework", "deps": {"nuget": ["Microsoft.EntityFrameworkCore"]}},
|
|
26
|
+
{"id": "express", "deps": {"npm": ["express"]}, "imports": {"js": ["express"]}},
|
|
27
|
+
{"id": "falcon", "deps": {"pypi": ["falcon"]}, "imports": {"python": ["falcon"]}},
|
|
28
|
+
{"id": "fastapi", "deps": {"pypi": ["fastapi"]}, "imports": {"python": ["fastapi"]}},
|
|
29
|
+
{"id": "fastify", "deps": {"npm": ["fastify"]}, "imports": {"js": ["fastify"]}},
|
|
30
|
+
{"id": "fiber", "deps": {"go": ["github.com/gofiber/fiber*"]}, "imports": {"go": ["github.com/gofiber/fiber*"]}},
|
|
31
|
+
{"id": "flask", "deps": {"pypi": ["flask"]}, "imports": {"python": ["flask"]}},
|
|
32
|
+
{"id": "gatsby", "deps": {"npm": ["gatsby"]}, "signals": [{"files": ["gatsby-config.*"]}]},
|
|
33
|
+
{"id": "gin", "deps": {"go": ["github.com/gin-gonic/gin"]}, "imports": {"go": ["github.com/gin-gonic/gin"]}},
|
|
34
|
+
{"id": "gorilla-mux", "deps": {"go": ["github.com/gorilla/mux"]}, "imports": {"go": ["github.com/gorilla/mux"]}},
|
|
35
|
+
{"id": "gorm", "deps": {"go": ["gorm.io/gorm"]}, "imports": {"go": ["gorm.io/gorm"]}},
|
|
36
|
+
{"id": "gradio", "deps": {"pypi": ["gradio"]}, "imports": {"python": ["gradio"]}},
|
|
37
|
+
{"id": "grape", "deps": {"rubygems": ["grape"]}},
|
|
38
|
+
{"id": "graphql", "deps": {"npm": ["graphql"], "pypi": ["graphene", "strawberry-graphql", "ariadne"], "rubygems": ["graphql"]}},
|
|
39
|
+
{"id": "hanami", "deps": {"rubygems": ["hanami"]}},
|
|
40
|
+
{"id": "hapi", "deps": {"npm": ["@hapi/hapi", "hapi"]}},
|
|
41
|
+
{"id": "hibernate", "deps": {"maven": ["org.hibernate*"]}},
|
|
42
|
+
{"id": "hono", "deps": {"npm": ["hono"]}, "imports": {"js": ["hono"]}},
|
|
43
|
+
{"id": "javalin", "deps": {"maven": ["io.javalin"]}},
|
|
44
|
+
{"id": "knex", "deps": {"npm": ["knex"]}},
|
|
45
|
+
{"id": "koa", "deps": {"npm": ["koa"]}, "imports": {"js": ["koa"]}},
|
|
46
|
+
{"id": "ktor", "deps": {"maven": ["io.ktor"]}, "imports": {"jvm": ["io.ktor"]}},
|
|
47
|
+
{"id": "laravel", "deps": {"composer": ["laravel/framework"]}, "signals": [{"files": ["artisan"], "regex": "Illuminate", "confidence": "high"}]},
|
|
48
|
+
{"id": "litestar", "deps": {"pypi": ["litestar"]}, "imports": {"python": ["litestar"]}},
|
|
49
|
+
{"id": "loopback", "deps": {"npm": ["@loopback/core", "loopback"]}},
|
|
50
|
+
{"id": "micronaut", "deps": {"maven": ["io.micronaut*"]}},
|
|
51
|
+
{"id": "mikro-orm", "deps": {"npm": ["@mikro-orm/core"]}},
|
|
52
|
+
{"id": "nestjs", "deps": {"npm": ["@nestjs/core"]}, "imports": {"js": ["@nestjs/core"]}},
|
|
53
|
+
{"id": "nextjs", "deps": {"npm": ["next"]}, "imports": {"js": ["next"]}, "signals": [{"files": ["next.config.*"]}]},
|
|
54
|
+
{"id": "nuxt", "deps": {"npm": ["nuxt"]}, "signals": [{"files": ["nuxt.config.*"]}]},
|
|
55
|
+
{"id": "objection", "deps": {"npm": ["objection"]}},
|
|
56
|
+
{"id": "peewee", "deps": {"pypi": ["peewee"]}},
|
|
57
|
+
{"id": "phoenix", "deps": {"hex": ["phoenix"]}},
|
|
58
|
+
{"id": "preact", "deps": {"npm": ["preact"]}},
|
|
59
|
+
{"id": "prisma", "deps": {"npm": ["prisma", "@prisma/client"]}, "signals": [{"files": ["schema.prisma"]}]},
|
|
60
|
+
{"id": "pyramid", "deps": {"pypi": ["pyramid"]}},
|
|
61
|
+
{"id": "quarkus", "deps": {"maven": ["io.quarkus*"]}},
|
|
62
|
+
{"id": "quart", "deps": {"pypi": ["quart"]}, "imports": {"python": ["quart"]}},
|
|
63
|
+
{"id": "rails", "deps": {"rubygems": ["rails", "railties"]}, "signals": [{"files": ["**/config/application.rb"], "regex": "Rails::Application", "confidence": "high"}]},
|
|
64
|
+
{"id": "react", "deps": {"npm": ["react"]}, "imports": {"js": ["react"]}},
|
|
65
|
+
{"id": "remix", "deps": {"npm": ["@remix-run/*"]}},
|
|
66
|
+
{"id": "rocket", "deps": {"cargo": ["rocket"]}},
|
|
67
|
+
{"id": "roda", "deps": {"rubygems": ["roda"]}},
|
|
68
|
+
{"id": "sanic", "deps": {"pypi": ["sanic"]}, "imports": {"python": ["sanic"]}},
|
|
69
|
+
{"id": "sequelize", "deps": {"npm": ["sequelize"]}, "imports": {"js": ["sequelize"]}},
|
|
70
|
+
{"id": "shelf", "deps": {"pub": ["shelf"]}},
|
|
71
|
+
{"id": "sinatra", "deps": {"rubygems": ["sinatra"]}},
|
|
72
|
+
{"id": "slim", "deps": {"composer": ["slim/slim"]}},
|
|
73
|
+
{"id": "socket.io", "deps": {"npm": ["socket.io"]}},
|
|
74
|
+
{"id": "solid", "deps": {"npm": ["solid-js"]}},
|
|
75
|
+
{"id": "spring", "deps": {"maven": ["org.springframework"]}, "imports": {"jvm": ["org.springframework"]}},
|
|
76
|
+
{"id": "spring-boot", "deps": {"maven": ["org.springframework.boot"]}, "signals": [{"files": ["build.gradle", "build.gradle.kts"], "regex": "org\\.springframework\\.boot", "confidence": "high"}]},
|
|
77
|
+
{"id": "sqlalchemy", "deps": {"pypi": ["sqlalchemy", "flask-sqlalchemy"]}, "imports": {"python": ["sqlalchemy"]}},
|
|
78
|
+
{"id": "sqlx", "deps": {"cargo": ["sqlx"]}},
|
|
79
|
+
{"id": "starlette", "deps": {"pypi": ["starlette"]}},
|
|
80
|
+
{"id": "streamlit", "deps": {"pypi": ["streamlit"]}, "imports": {"python": ["streamlit"]}},
|
|
81
|
+
{"id": "svelte", "deps": {"npm": ["svelte"]}},
|
|
82
|
+
{"id": "sveltekit", "deps": {"npm": ["@sveltejs/kit"]}, "signals": [{"files": ["svelte.config.*"]}]},
|
|
83
|
+
{"id": "symfony", "deps": {"composer": ["symfony/framework-bundle", "symfony/http-kernel"]}},
|
|
84
|
+
{"id": "tornado", "deps": {"pypi": ["tornado"]}, "imports": {"python": ["tornado"]}},
|
|
85
|
+
{"id": "tortoise-orm", "deps": {"pypi": ["tortoise-orm"]}},
|
|
86
|
+
{"id": "trpc", "deps": {"npm": ["@trpc/server"]}},
|
|
87
|
+
{"id": "typeorm", "deps": {"npm": ["typeorm"]}},
|
|
88
|
+
{"id": "vapor", "deps": {"swiftpm": ["github.com/vapor/vapor"]}, "imports": {"swift": ["Vapor"]}},
|
|
89
|
+
{"id": "vue", "deps": {"npm": ["vue"]}, "imports": {"js": ["vue"]}},
|
|
90
|
+
{"id": "warp", "deps": {"cargo": ["warp"]}},
|
|
91
|
+
{"id": "wordpress", "signals": [{"files": ["wp-config.php", "wp-config-sample.php"]}]},
|
|
92
|
+
{"id": "yii", "deps": {"composer": ["yiisoft/yii2"]}}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "hosting",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "alibaba-cloud", "attrs": {"kind": "cloud"}, "deps": {"terraform": ["alicloud"]}},
|
|
5
|
+
{"id": "aws", "attrs": {"kind": "cloud"},
|
|
6
|
+
"deps": {"terraform": ["aws"], "npm": ["@aws-sdk/*", "aws-sdk", "aws-cdk-lib", "aws-amplify", "@aws-amplify/*"], "pypi": ["boto3", "botocore", "aws-cdk-lib"], "go": ["github.com/aws/aws-sdk-go*"], "maven": ["com.amazonaws*", "software.amazon.awssdk*"], "nuget": ["AWSSDK*"], "rubygems": ["aws-sdk*"], "composer": ["aws/aws-sdk-php"]},
|
|
7
|
+
"deps_confidence": {"terraform": "high", "*": "medium"},
|
|
8
|
+
"imports": {"js": ["@aws-sdk/*", "aws-sdk"], "python": ["boto3"]},
|
|
9
|
+
"signals": [
|
|
10
|
+
{"files": ["serverless.yml", "serverless.yaml"], "regex": "^provider:\\s*\\n(?:\\s+.*\\n)*?\\s+name:\\s*aws\\b", "confidence": "high"},
|
|
11
|
+
{"files": ["*.yaml", "*.yml", "*.json", "*.template"], "regex": "AWSTemplateFormatVersion", "confidence": "high"},
|
|
12
|
+
{"files": ["samconfig.toml", "cdk.json", "amplify.yml", "buildspec.yml", "appspec.yml", "Dockerrun.aws.json", ".ebextensions/*"]},
|
|
13
|
+
{"files": [".github/workflows/*.yml", ".github/workflows/*.yaml"], "regex": "uses:\\s*aws-actions/"}]},
|
|
14
|
+
{"id": "azure", "attrs": {"kind": "cloud"},
|
|
15
|
+
"deps": {"terraform": ["azurerm", "azuread", "azapi"], "npm": ["@azure/*"], "pypi": ["azure-*"], "nuget": ["Azure*", "Microsoft.Azure*"], "maven": ["com.azure*", "com.microsoft.azure*"]},
|
|
16
|
+
"deps_confidence": {"terraform": "high", "*": "medium"},
|
|
17
|
+
"signals": [
|
|
18
|
+
{"files": ["*.bicep", "azure.yaml", "staticwebapp.config.json"]},
|
|
19
|
+
{"files": ["*.json"], "regex": "schema\\.management\\.azure\\.com/schemas/[^\"]*deploymentTemplate", "confidence": "high"},
|
|
20
|
+
{"files": ["host.json"], "regex": "\"extensionBundle\"|\"version\"\\s*:\\s*\"2\\.0\""},
|
|
21
|
+
{"files": [".github/workflows/*.yml", ".github/workflows/*.yaml"], "regex": "uses:\\s*azure/", "ignore_case": true},
|
|
22
|
+
{"files": ["serverless.yml", "serverless.yaml"], "regex": "^provider:\\s*\\n(?:\\s+.*\\n)*?\\s+name:\\s*azure\\b", "confidence": "high"}]},
|
|
23
|
+
{"id": "cloudflare", "attrs": {"kind": "platform"}, "deps": {"terraform": ["cloudflare"], "npm": ["wrangler", "@cloudflare/*"]}, "signals": [{"files": ["wrangler.toml", "wrangler.json", "wrangler.jsonc"]}]},
|
|
24
|
+
{"id": "digitalocean", "attrs": {"kind": "cloud"}, "deps": {"terraform": ["digitalocean"]}, "signals": [{"files": [".do/app.yaml", ".do/deploy.template.yaml"]}, {"files": [".github/workflows/*.yml", ".github/workflows/*.yaml"], "regex": "uses:\\s*digitalocean/"}]},
|
|
25
|
+
{"id": "firebase", "attrs": {"kind": "platform"}, "deps": {"npm": ["firebase", "firebase-admin", "firebase-functions", "@react-native-firebase/*"], "pypi": ["firebase-admin"], "pub": ["firebase_core"]}, "deps_confidence": "medium", "signals": [{"files": ["firebase.json", ".firebaserc"]}]},
|
|
26
|
+
{"id": "fly", "attrs": {"kind": "platform"}, "signals": [{"files": ["fly.toml"]}]},
|
|
27
|
+
{"id": "google-cloud", "attrs": {"kind": "cloud"},
|
|
28
|
+
"deps": {"terraform": ["google", "google-beta"], "npm": ["@google-cloud/*"], "pypi": ["google-cloud-*"], "go": ["cloud.google.com/go*"], "maven": ["com.google.cloud*"], "nuget": ["Google.Cloud*"]},
|
|
29
|
+
"deps_confidence": {"terraform": "high", "*": "medium"},
|
|
30
|
+
"signals": [
|
|
31
|
+
{"files": ["cloudbuild.yaml", "cloudbuild.yml", "cloudbuild.json"]},
|
|
32
|
+
{"files": ["app.yaml"], "regex": "^runtime:\\s*\\S+"},
|
|
33
|
+
{"files": [".github/workflows/*.yml", ".github/workflows/*.yaml"], "regex": "uses:\\s*google-github-actions/"},
|
|
34
|
+
{"files": ["serverless.yml", "serverless.yaml"], "regex": "^provider:\\s*\\n(?:\\s+.*\\n)*?\\s+name:\\s*google\\b", "confidence": "high"}]},
|
|
35
|
+
{"id": "heroku", "attrs": {"kind": "platform"}, "deps": {"terraform": ["heroku"]}, "signals": [{"files": ["heroku.yml"]}, {"files": ["Procfile"], "confidence": "medium"}, {"files": ["app.json"], "regex": "\"(buildpacks|formation|stack)\"\\s*:"}]},
|
|
36
|
+
{"id": "ibm-cloud", "attrs": {"kind": "cloud"}, "deps": {"terraform": ["ibm"]}},
|
|
37
|
+
{"id": "netlify", "attrs": {"kind": "platform"}, "deps": {"terraform": ["netlify"], "npm": ["@netlify/*", "netlify-cli"]}, "signals": [{"files": ["netlify.toml"]}]},
|
|
38
|
+
{"id": "oracle-cloud", "attrs": {"kind": "cloud"}, "deps": {"terraform": ["oci"]}},
|
|
39
|
+
{"id": "railway", "attrs": {"kind": "platform"}, "signals": [{"files": ["railway.json", "railway.toml"]}]},
|
|
40
|
+
{"id": "render", "attrs": {"kind": "platform"}, "signals": [{"files": ["render.yaml"]}]},
|
|
41
|
+
{"id": "supabase", "attrs": {"kind": "platform"}, "deps": {"npm": ["@supabase/supabase-js", "@supabase/ssr"], "pypi": ["supabase"], "pub": ["supabase_flutter"]}, "deps_confidence": "medium", "signals": [{"files": ["**/supabase/config.toml"]}, {"files": ["**/supabase/functions/**"], "confidence": "high"}]},
|
|
42
|
+
{"id": "vercel", "attrs": {"kind": "platform"}, "deps": {"terraform": ["vercel"], "npm": ["@vercel/analytics", "@vercel/functions", "@vercel/node", "@vercel/postgres", "@vercel/kv", "@vercel/blob", "vercel"]}, "deps_confidence": {"terraform": "high", "*": "medium"}, "signals": [{"files": ["vercel.json"]}, {"files": [".github/workflows/*.yml", ".github/workflows/*.yaml"], "regex": "\\bvercel\\s+(deploy|--prod|build)|amondnet/vercel-action"}]}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "iac",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "arm", "signals": [{"files": ["*.json"], "regex": "schema\\.management\\.azure\\.com/schemas/[^\"]*deploymentTemplate", "confidence": "high", "attrs": {"clouds": "azure"}}]},
|
|
5
|
+
{"id": "bicep", "signals": [{"files": ["*.bicep"], "attrs": {"clouds": "azure"}}]},
|
|
6
|
+
{"id": "cdk", "deps": {"npm": ["aws-cdk-lib", "@aws-cdk/*", "aws-cdk"], "pypi": ["aws-cdk-lib"]}, "signals": [{"files": ["cdk.json"], "attrs": {"clouds": "aws"}}]},
|
|
7
|
+
{"id": "cdktf", "deps": {"npm": ["cdktf"], "pypi": ["cdktf"]}, "signals": [{"files": ["cdktf.json"]}]},
|
|
8
|
+
{"id": "cloudformation", "signals": [
|
|
9
|
+
{"files": ["*.yaml", "*.yml", "*.json", "*.template"], "regex": "AWSTemplateFormatVersion", "confidence": "high", "attrs": {"clouds": "aws"}},
|
|
10
|
+
{"files": ["*.yaml", "*.yml", "*.json", "*.template"], "regex": "^\\s*\"?Type\"?\\s*:\\s*['\"]?AWS::[A-Za-z0-9]+::", "all": ["^\\s*\"?Resources\"?\\s*:"], "confidence": "high", "attrs": {"clouds": "aws"}}]},
|
|
11
|
+
{"id": "docker-compose", "signals": [{"files": ["docker-compose.yml", "docker-compose.yaml", "docker-compose.*.yml", "docker-compose.*.yaml", "compose.yml", "compose.yaml", "compose.*.yml", "compose.*.yaml"]}]},
|
|
12
|
+
{"id": "helm", "signals": [{"files": ["Chart.yaml"], "regex": "^apiVersion:\\s*v[12]", "all": ["^name:"], "confidence": "high"}]},
|
|
13
|
+
{"id": "kubernetes", "signals": [{"files": ["*.yaml", "*.yml"], "regex": "^kind:\\s*(Deployment|Service|Pod|StatefulSet|DaemonSet|Ingress|ConfigMap|Secret|Job|CronJob|Namespace|Role|ClusterRole|RoleBinding|ClusterRoleBinding|ServiceAccount|NetworkPolicy|PersistentVolumeClaim|HorizontalPodAutoscaler|ReplicaSet|PodDisruptionBudget)\\s*$", "all": ["^apiVersion:\\s*\\S+"], "confidence": "high"}]},
|
|
14
|
+
{"id": "kustomize", "signals": [{"files": ["kustomization.yaml", "kustomization.yml", "Kustomization"]}]},
|
|
15
|
+
{"id": "opentofu", "signals": [{"files": ["*.tofu"]}]},
|
|
16
|
+
{"id": "pulumi", "deps": {"npm": ["@pulumi/*"], "pypi": ["pulumi", "pulumi-*"], "go": ["github.com/pulumi/pulumi*"]}, "signals": [
|
|
17
|
+
{"files": ["Pulumi.yaml", "Pulumi.yml"]},
|
|
18
|
+
{"files": ["package.json"], "regex": "\"@pulumi/aws(x)?\"", "confidence": "high", "attrs": {"clouds": "aws"}},
|
|
19
|
+
{"files": ["package.json"], "regex": "\"@pulumi/azure(-native)?\"", "confidence": "high", "attrs": {"clouds": "azure"}},
|
|
20
|
+
{"files": ["package.json"], "regex": "\"@pulumi/gcp\"", "confidence": "high", "attrs": {"clouds": "google-cloud"}}]},
|
|
21
|
+
{"id": "sam", "signals": [
|
|
22
|
+
{"files": ["*.yaml", "*.yml", "*.json", "*.template"], "regex": "Transform\"?\\s*:\\s*\\[?\\s*['\"]?AWS::Serverless", "confidence": "high", "attrs": {"clouds": "aws"}},
|
|
23
|
+
{"files": ["samconfig.toml"], "attrs": {"clouds": "aws"}}]},
|
|
24
|
+
{"id": "serverless-framework", "signals": [
|
|
25
|
+
{"files": ["serverless.yml", "serverless.yaml", "serverless.ts", "serverless.js"]},
|
|
26
|
+
{"files": ["serverless.yml", "serverless.yaml"], "regex": "^provider:\\s*\\n(?:\\s+.*\\n)*?\\s+name:\\s*aws\\b", "confidence": "high", "attrs": {"clouds": "aws"}},
|
|
27
|
+
{"files": ["serverless.yml", "serverless.yaml"], "regex": "^provider:\\s*\\n(?:\\s+.*\\n)*?\\s+name:\\s*azure\\b", "confidence": "high", "attrs": {"clouds": "azure"}},
|
|
28
|
+
{"files": ["serverless.yml", "serverless.yaml"], "regex": "^provider:\\s*\\n(?:\\s+.*\\n)*?\\s+name:\\s*google\\b", "confidence": "high", "attrs": {"clouds": "google-cloud"}}]},
|
|
29
|
+
{"id": "terraform", "signals": [
|
|
30
|
+
{"files": ["*.tf", "*.tf.json", ".terraform.lock.hcl"]},
|
|
31
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"aws(_|\")", "confidence": "high", "attrs": {"clouds": "aws"}},
|
|
32
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"(azurerm|azuread|azapi)(_|\")", "confidence": "high", "attrs": {"clouds": "azure"}},
|
|
33
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"google(-beta)?(_|\")", "confidence": "high", "attrs": {"clouds": "google-cloud"}},
|
|
34
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"alicloud(_|\")", "confidence": "high", "attrs": {"clouds": "alibaba-cloud"}},
|
|
35
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"oci(_|\")", "confidence": "high", "attrs": {"clouds": "oracle-cloud"}},
|
|
36
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"ibm(_|\")", "confidence": "high", "attrs": {"clouds": "ibm-cloud"}},
|
|
37
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"digitalocean(_|\")", "confidence": "high", "attrs": {"clouds": "digitalocean"}},
|
|
38
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"cloudflare(_|\")", "confidence": "high", "attrs": {"clouds": "cloudflare"}},
|
|
39
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"heroku(_|\")", "confidence": "high", "attrs": {"clouds": "heroku"}},
|
|
40
|
+
{"files": ["*.tf"], "regex": "^\\s*(provider|resource|data)\\s+\"vercel(_|\")", "confidence": "high", "attrs": {"clouds": "vercel"}}]},
|
|
41
|
+
{"id": "terragrunt", "signals": [{"files": ["terragrunt.hcl"]}]}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"category": "languages",
|
|
3
|
+
"entries": [
|
|
4
|
+
{"id": "astro", "extensions": ["astro"]},
|
|
5
|
+
{"id": "c", "extensions": ["c"]},
|
|
6
|
+
{"id": "clojure", "extensions": ["clj", "cljs", "cljc", "edn"]},
|
|
7
|
+
{"id": "cpp", "extensions": ["cc", "cpp", "cxx", "hpp", "hh", "hxx"]},
|
|
8
|
+
{"id": "csharp", "extensions": ["cs", "cshtml", "razor"]},
|
|
9
|
+
{"id": "css", "extensions": ["css", "scss", "sass", "less", "styl"]},
|
|
10
|
+
{"id": "dart", "extensions": ["dart"]},
|
|
11
|
+
{"id": "elixir", "extensions": ["ex", "exs", "heex"]},
|
|
12
|
+
{"id": "erlang", "extensions": ["erl", "hrl"]},
|
|
13
|
+
{"id": "fsharp", "extensions": ["fs", "fsx", "fsi"]},
|
|
14
|
+
{"id": "go", "extensions": ["go"]},
|
|
15
|
+
{"id": "graphql", "extensions": ["graphql", "gql"]},
|
|
16
|
+
{"id": "groovy", "extensions": ["groovy"]},
|
|
17
|
+
{"id": "haskell", "extensions": ["hs", "lhs"]},
|
|
18
|
+
{"id": "hcl", "extensions": ["tf", "tofu"], "signals": [{"files": ["*.hcl"]}]},
|
|
19
|
+
{"id": "html", "extensions": ["html", "htm", "hbs", "handlebars", "ejs", "pug", "njk", "jinja", "jinja2", "erb", "twig", "liquid", "mustache"]},
|
|
20
|
+
{"id": "java", "extensions": ["java", "jsp"]},
|
|
21
|
+
{"id": "javascript", "extensions": ["js", "jsx", "mjs", "cjs"]},
|
|
22
|
+
{"id": "julia", "extensions": ["jl"]},
|
|
23
|
+
{"id": "kotlin", "extensions": ["kt", "kts"]},
|
|
24
|
+
{"id": "lua", "extensions": ["lua"]},
|
|
25
|
+
{"id": "nim", "extensions": ["nim"]},
|
|
26
|
+
{"id": "objective-c", "extensions": ["mm"], "signals": [{"files": ["*.m"], "regex": "^\\s*(#import|@interface|@implementation)\\b", "confidence": "high"}]},
|
|
27
|
+
{"id": "ocaml", "extensions": ["ml", "mli"]},
|
|
28
|
+
{"id": "perl", "extensions": ["pl", "pm"]},
|
|
29
|
+
{"id": "php", "extensions": ["php", "phtml"]},
|
|
30
|
+
{"id": "powershell", "extensions": ["ps1", "psm1", "psd1"]},
|
|
31
|
+
{"id": "prisma", "extensions": ["prisma"]},
|
|
32
|
+
{"id": "protobuf", "extensions": ["proto"]},
|
|
33
|
+
{"id": "python", "extensions": ["py", "pyi", "pyx"]},
|
|
34
|
+
{"id": "r", "extensions": ["r", "rmd"]},
|
|
35
|
+
{"id": "ruby", "extensions": ["rb", "rake", "gemspec"], "signals": [{"files": ["Gemfile", "Rakefile"]}]},
|
|
36
|
+
{"id": "rust", "extensions": ["rs"]},
|
|
37
|
+
{"id": "scala", "extensions": ["scala", "sc", "sbt"]},
|
|
38
|
+
{"id": "shell", "extensions": ["sh", "bash", "zsh", "fish"]},
|
|
39
|
+
{"id": "solidity", "extensions": ["sol"]},
|
|
40
|
+
{"id": "sql", "extensions": ["sql", "psql", "plsql"]},
|
|
41
|
+
{"id": "svelte", "extensions": ["svelte"]},
|
|
42
|
+
{"id": "swift", "extensions": ["swift"]},
|
|
43
|
+
{"id": "typescript", "extensions": ["ts", "tsx", "mts", "cts"], "signals": [{"files": ["tsconfig.json", "tsconfig.*.json"]}]},
|
|
44
|
+
{"id": "visual-basic", "extensions": ["vb", "vbs"]},
|
|
45
|
+
{"id": "vue", "extensions": ["vue"]},
|
|
46
|
+
{"id": "zig", "extensions": ["zig"]}
|
|
47
|
+
]
|
|
48
|
+
}
|