The Trust Boundary
An agent’s instructions are not an authorization boundary. An upstream service must reject calls that lack the required identity, current authority, audience, purpose, permission and human decision. A network boundary must independently restrict destinations. A stolen upstream credential can bypass an application gateway if the upstream still accepts that credential directly. Grantex supplies authorization and evidence primitives. It does not install an endpoint-detection agent, configure every cloud role, discover every exposed credential, adjudicate screening matches or satisfy a bank’s transaction policy.Control And Responsibility Matrix
No row is considered complete merely because a related feature exists. Record
the effective configuration, release revision, negative test and responsible
operator for each row. Unknown, untested and disabled controls remain open.
Restricted Gateway Profile
The following settings are source additions, not a statement that a published package or every hosted gateway already has them. Check release status before using an installed package. Compatibility defaults are unchanged:restrictedEgress and rejectRedirects are opt-in.
grantexApiKey; the CLI uses GRANTEX_API_KEY
for current-authority checks. Credential-reference configuration has its own
explicit credential requirements; do not assume an environment fallback where
the configuration loader does not support one.
Restricted mode requires a nonempty list of exact origins. Scheme, hostname and
port form the boundary. Wildcards, user information, fragments, paths or query
strings in allowlist entries are refused. Configured upstream, issuer API and
JWKS destinations must be listed. Redirects are refused rather than silently
following a new path or host. The issuer API transport also rejects redirects.
For synthetic loopback fixtures only, allowInsecureLoopback: true permits
HTTP to loopback origins; this setting is rejected under NODE_ENV=production.
Do not use workstation exceptions as a production egress policy.
For a direct TypeScript API client built from the updated source:
Network-Layer Enforcement
The Helm chart includes an opt-in policy:all-traffic routing alone is not destination denial.
Log Retention And Detection
Keep security-relevant request and audit logs for at least 180 days when this baseline applies. Verify the actual bucket, sink routing, exclusions, region, access policy and export path. CI artifact retention is not production log retention; tracing records and business evidence may have different policies. For an existing Google Cloud Logging bucket, first read its current policy:Privileged Access And Dormant APIs
Tenant-Owned SSO And MFA
Each tenant configures its own OIDC issuer, client, verified domain and group mappings using Enterprise SSO. Keep client secrets in the tenant’s approved secret store, never in the browser or a repository. Map the administrator scope only from the intended IdP group; do not give it to all domain users through a default scope. Test both an allowed administrator and a non-administrator before enabling enforcement. The service operator must first enableSSO_HUMAN_ENFORCEMENT_ENABLED; the
tenant then enables enforcement after a successful JIT-provisioned OIDC admin
login. A metadata connectivity test does not prove login, group mapping or MFA.
Require MFA in the tenant’s IdP application policy, test a session without the
required factor, and retain the IdP policy and sign-in event as evidence. For
decision approvals, configure the approved authentication context and freshness
requirements in the decision policy; an arbitrary amr string is not proof.
Tenant SSO does not grant platform-operator authority or replace protection
for ADMIN_API_KEY. Machine API keys retain programmatic management authority,
including the ability to change tenant SSO enforcement. Restrict, vault and
monitor these keys independently. No tenant or platform MFA policy is enabled
automatically by installing this release. Platform IAM/IAP changes are outside
this rollout; operators must protect that separate boundary before claiming
privileged administration is MFA-enforced.
Inventory public routes, internal APIs, test endpoints, service accounts and
third-party keys with an owner, last-use evidence and a removal decision.
Require private ingress and identity-provider-enforced MFA for administration.
Do not treat a bearer API key, an email string or a client-supplied MFA header
as proof of an authenticated human. Test direct-origin bypass, not just the
friendly domain. Patch exposed middleware and require a rollback-safe change
before decommissioning an endpoint that may still have consumers.
Preserve independent containment authority. An agent must not be able to disable
its own monitor, restore a revoked root, edit its network allowlist or approve
its own sensitive action. Exercise emergency containment using disposable
tenants, not real customer grants.
Payment Execution Is A Separate Boundary
A business application saying “approved” is insufficient if an attacker can invoke the bank or payment API directly. Require the executor to verify an approved record, beneficiary binding, amount, currency, expiry, replay status, required human decisions and aggregate ceilings immediately before execution. Reject fabricated references. Monitor new beneficiaries and reconcile provider statements with internal records. These checks must survive direct API calls, not just UI use. Product documentation is not evidence of implementation in a customer’s bank integration. Sandbox merchant evidence never authorizes a live transfer or merchant activation.Incident Procedure
- Stop the affected execution through independent operator controls; isolate the workload without destroying volatile evidence.
- Preserve original logs, timestamps, image digests, grant identifiers and configuration evidence. Restrict access and record custody and hashes.
- Revoke affected grants and rotate compromised credentials at every actual issuer. Add encountered third-party credentials to a reviewed suppression process; do not reuse them in another evaluation.
- Investigate root cause, adjacent accounts, direct-origin access and possible persistence. A clean code scan alone is not forensic clearance.
- Patch and retest the exact failure and sibling paths in isolation. Have an independent authorized party verify externally before restoring access.
- The incident commander assesses applicable CERT-In and other reporting requirements with the responsible legal/security team. Do not wait for a product vendor to decide the organization’s obligations.