Repository navigation
Commit 1b1639c
authored
fix(release): host_not_allowed for refused hosts, internal-JWT-only secret release, and final release-audit cleanups (#9870)
* fix(api): tell a missing key owner from an owner whose ban state is null
user.banned is nullable, so a real owner with banned = NULL had every
personal key refused as orphaned. Select the joined user id and test that
instead; the ban and suspension checks are unchanged.
* fix(credentials): report a refused connection host as host_not_allowed
- egress validation names its refusal (dns or policy) instead of callers
inferring it from a missing cause; an empty DNS answer is ENOTFOUND
- the token check judges every DNS record when an environment proxy will
carry the request, so a mixed public/private host is refused up front
rather than failing in the transport as a retryable 502; the transport's
own refusal is a typed EgressRefusedError and maps the same way
- new host_not_allowed code (400) with its own connect-modal message
- Flow and GitLab personal-token verification classify a refused or
missing host the same way
- the typed-URL scheme guard is shared and ignores the tabs and newlines
the URL parser drops
* fix(credentials): report an oversized Databricks token success as a 502
An oversized 2xx token reply carried status 200 into provider_unavailable
and its logs. A refusal keeps its own status.
* docs(api): say v2 execute options need a full-access key or api:write
run.version, async and waitTimeoutSeconds refuse read-only keys; the meta
example lists search:read with the full-access scopes.
* chore(scripts): scope the payload-param allowlist to internal operations
Every listed tool is an internal operation, so the probed-request fallback
no longer builds or consults it.
* fix(redaction): keep Infisical secret names visible; redact only deployKey
* docs(networking): the SSRF guard matches NO_PROXY like curl, not like Bun
* fix(api-keys): never echo an internal key-creation failure to the caller
The unauthenticated CLI poll route and the settings routes returned the
raw error message for an internal failure. Return a fixed message and keep
the cause in the server log; a conflict still names the existing key. The
CLI's comment now says a 400 can also be a refused key creation.
* chore: log a failed route-cache clear and spell out the read-only key rollback
The route-cache clear stays non-fatal but warns when it fails for any
reason other than a missing build id or cache. The api-key-read-only flag
says to revoke or replace read-only keys before rolling back.
* fix(credentials): release saved secrets only to internal-JWT callers
The token route refused only session callers; any other auth type would
have been handed a saved secret. Allow internal JWT and refuse the rest.
Tools never execute in the browser (the registry boundary keeps the tool
registry out of every workspace client graph, and nothing else imports the
executor), so the browser-only token fetch through the route is deleted.
* fix(firecrawl): treat a blank maxDiscoveryDepth as unset
A cleared field arrived as '' and was sent as 0, a crawl of the start page
only. It now follows the blank maxDepth handling.
* chore(credentials): log a broken JWKS and keep the successor map out of credential display
The JWKS route still answers 404 when the signing key is broken, but warns
with the error. The GitLab personal-token display reads its block type
from the catalog entry instead of importing the generated successor map
into a client-imported module.
* test: drop or tighten assertions that could not fail
- delegation: the read-only replacement case decided its filter by
scanning bound params in a fake DB; no real-boundary check exists, so
it is dropped with the fake's filter
- Twilio: assert how many recordings requests were sent, so an empty
loop cannot pass
- Pi: the removed-model case restated the absent-from-catalog case
* fix(security): ignore a malformed CIDR NO_PROXY entry
10.0.0.0/8/junk parsed as /8. An entry with extra segments is dropped like
any other unparseable entry, and the TSDoc says IP entries match within
their address family.
* chore(workflows): scope the paused-row read to its workflow and reuse the mutability guard
- the execution-status paused-row read filters by workflowId as well
- delete-workflow uses requireMutableWorkflow instead of an inline copy
- polling webhook logs carry the webhook id in metadata
* fix(credentials): never name a sibling credential in a trust-setup refusal
The caller may not be able to see the credential that holds or blocks the
subject, so both refusals name only the workspace or organization. The
uniqueness check documents its limits.
* docs: correct the Helm readOnlyRootFilesystem note and the deployed-run variables TSDoc
* test(credentials): rely on the shared env reset in the proxy validator tests
* chore(helm): bump the chart version for the README correction
* fix(redaction): keep prefixed secret keys masked while leaving Infisical's bare secretKey visible
* fix(release): keep bare secretKey redacted, leave the proxy every-address rule to the transport, and report unknown GitLab hosts as input errors1 parent a17b8a8 commit 1b1639c
54 files changed
Lines changed: 451 additions & 226 deletions
File tree
- apps
- docs
- content/docs/platform/self-hosting
- sim
- lib
- api-key/orchestration
- api
- contracts/v2
- openapi
- server/routes
- core
- config
- network
- security
- egress
- utils
- credentials
- __integration__
- token-service-accounts
- validators
- workload-identity
- integrations
- mothership/chat
- oauth
- webhooks/polling
- workflows
- application
- executor
- persistence
- providers
- scripts
- tools
- firecrawl
- twilio_voice
- helm/sim
- packages
- security/src
- sim-cli/src
- auth
- generated
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4986 | 4986 | | |
4987 | 4987 | | |
4988 | 4988 | | |
4989 | | - | |
| 4989 | + | |
4990 | 4990 | | |
4991 | 4991 | | |
4992 | 4992 | | |
| |||
18677 | 18677 | | |
18678 | 18678 | | |
18679 | 18679 | | |
18680 | | - | |
| 18680 | + | |
18681 | 18681 | | |
18682 | 18682 | | |
18683 | 18683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14928 | 14928 | | |
14929 | 14929 | | |
14930 | 14930 | | |
14931 | | - | |
| 14931 | + | |
14932 | 14932 | | |
14933 | 14933 | | |
14934 | 14934 | | |
| |||
15006 | 15006 | | |
15007 | 15007 | | |
15008 | 15008 | | |
15009 | | - | |
| 15009 | + | |
15010 | 15010 | | |
15011 | 15011 | | |
15012 | 15012 | | |
| |||
15016 | 15016 | | |
15017 | 15017 | | |
15018 | 15018 | | |
15019 | | - | |
| 15019 | + | |
15020 | 15020 | | |
15021 | 15021 | | |
15022 | 15022 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
266 | 267 | | |
267 | 268 | | |
268 | 269 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 270 | + | |
| 271 | + | |
273 | 272 | | |
| 273 | + | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
1942 | | - | |
| 1942 | + | |
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1508 | 1508 | | |
1509 | 1509 | | |
1510 | 1510 | | |
1511 | | - | |
| 1511 | + | |
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| |||
1599 | 1599 | | |
1600 | 1600 | | |
1601 | 1601 | | |
1602 | | - | |
| 1602 | + | |
1603 | 1603 | | |
1604 | 1604 | | |
1605 | 1605 | | |
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
1631 | | - | |
| 1631 | + | |
1632 | 1632 | | |
1633 | 1633 | | |
1634 | 1634 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
202 | 222 | | |
203 | 223 | | |
204 | 224 | | |
| |||
209 | 229 | | |
210 | 230 | | |
211 | 231 | | |
| 232 | + | |
212 | 233 | | |
213 | 234 | | |
214 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
87 | | - | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments