Repository navigation
ci(deps): bump trufflesecurity/trufflehog from 3.90.6 to 3.91.0 - #162
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [trufflesecurity/trufflehog](https://github.com/trufflesecurity/trufflehog) from 3.90.6 to 3.91.0. - [Release notes](https://github.com/trufflesecurity/trufflehog/releases) - [Changelog](https://github.com/trufflesecurity/trufflehog/blob/main/.goreleaser.yml) - [Commits](trufflesecurity/trufflehog@v3.90.6...v3.91.0) --- updated-dependencies: - dependency-name: trufflesecurity/trufflehog dependency-version: 3.91.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Contributor
Author
|
Superseded by #164. |
dependabot
Bot
deleted the
dependabot/github_actions/trufflesecurity/trufflehog-3.91.0
branch
November 24, 2025 03:38
aidandaly24
added a commit
that referenced
this pull request
Aug 18, 2026
* feat(payments): add MPP (Machine Payments Protocol) support (#162) Add MPP alongside the existing x402 protocol in ProcessPayment. MPP servers answer 402 with WWW-Authenticate: Payment challenges; the SDK selects the one challenge the payment instrument can satisfy and mints an Authorization header. Core: - mpp.py: parse WWW-Authenticate challenges and select one (charge intent, unexpired, method the instrument satisfies: evm/tempo->ETHEREUM, solana->SOLANA; ordered by NETWORK_PREFERENCES, tiebroken on soonest expiry then server order). The selected challenge is forwarded verbatim so the challenge HMAC stays valid, and unknown auth-params are preserved per the spec's "unknown parameters must be ignored by clients" rule. - generate_payment_header auto-detects the protocol from the 402 and returns {"Authorization": "Payment <token>"} for MPP; the x402 path is unchanged. When a 402 advertises both protocols and no MPP challenge is satisfiable, it falls back to a usable x402 requirement rather than failing the payment. The fallback is limited to selection failures (pre-submission); a failure after the payment was submitted propagates, so a buyer is never charged twice. - Optional buyer_pays_gas_fees passthrough (MPP buyerPaysGasFees). Requires None or an actual bool and forwards it unchanged — values are not coerced, since bool("false") is True and would silently authorize wallet charges. Integrations: - Strands plugin and LangGraph middleware detect MPP 402s (WWW-Authenticate) and settle them; buyer_pays_gas_fees is exposed on the shared config. - has_mpp_challenge delegates to the parser so detection and parsing cannot disagree (a prefix check missed "Bearer ..., Payment ..." and falsely matched a hypothetical PaymentXYZ scheme). Notes: - Submitting MPP requires a botocore release that models the MPP ProcessPayment shapes. On an older release botocore rejects the request client-side with 'Unknown parameter in paymentInput: "mpp"'. The integ tests surface this dependency explicitly so it is diagnosed as an out-of-date botocore rather than an SDK bug. - Solana localnet is intentionally not aliased to solana-testnet: it is a distinct local RPC/Surfpool environment, and aliasing let a local-only challenge outrank a payable devnet challenge. Unmapped networks are unranked rather than misranked — still selectable when they are the only option. Tests: unit coverage for parsing, selection, manager routing, dual-protocol fallback, gas-fee validation, and both integrations; integ tests gated on TEST_* env vars, including live checks against the mpp.dev endpoint. Verified against the live mpp.dev 402 and prod ProcessPayment (request shape accepted; end-to-end settlement pending account MPP entitlement). Co-authored-by: Raju Ansari <[email protected]> * feat(payments): support permit2_allowance_limit for the x402 upto scheme Adds an opt-in permit2_allowance_limit knob so the Strands plugin and LangGraph middleware can grant a Permit2 allowance for the x402 "upto" scheme. When set, ProcessPayment submits the one-time on-chain approve to the Permit2 contract before signing; when unset (default), the exact-scheme flow is unchanged. - manager.generate_payment_header: new optional permit2_allowance_limit param, injected at the cryptoX402 level (sibling of version/payload) only when set. - integrations config: new permit2_allowance_limit field (decimal string in the asset's smallest denomination) with positive-integer validation in __post_init__; None by default. - Strands plugin + LangGraph middleware: thread config.permit2_allowance_limit into generate_payment_header. - Tests: manager injection + omission cases; config validation (valid 1 USDC / uint256-max unlimited, reject 0/-1/1.5/abc/empty/non-string). upto + permit2AllowanceLimit are already merged on the service and public model mainline. This mirrors the buyer_pays_gas_fees config-knob pattern. * chore: format payments changes * fix(payments): preserve config positional compatibility * ci: update twine for metadata 2.5 * ci: isolate twine distribution check * feat(payments): add provision_mode (QUICK_CREATE) to create_payment_connector Thread a provision_mode arg through PaymentClient.create_payment_connector to the CreatePaymentConnector request (provisionMode), and surface the authorizationUrl the service returns for a QUICK_CREATE connector in PENDING_AUTHENTICATION. Add the PaymentConnectorProvisionMode enum (MANUAL/QUICK_CREATE) and the QUICK_CREATE connector statuses (PENDING_AUTHENTICATION, PROVISIONING, AUTHENTICATION_EXPIRED, AUTHENTICATION_FAILED) to constants, exported from the package. MANUAL behaviour is unchanged: provisionMode is omitted from the request when provision_mode is not supplied, and authorizationUrl is only added to the result when present. Signed-off-by: ykas11 <[email protected]> * fix(payments): preserve connector positional compatibility * fix(payments): address GA review findings --------- Signed-off-by: ykas11 <[email protected]> Co-authored-by: Raju Ansari <[email protected]> Co-authored-by: Raju Ansari <[email protected]> Co-authored-by: Peter Jiang <[email protected]> Co-authored-by: ykas11 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps trufflesecurity/trufflehog from 3.90.6 to 3.91.0.
Release notes
Sourced from trufflesecurity/trufflehog's releases.
... (truncated)
Commits
cb6aeefshadow context (#4549)bb3464eAdded tests for new .msg and .doc file types to skipArchiverMimeTypes (#4546)f1ccb39Fix Github Wiki Page Links (#4538)fca9545Added .msg and .doc to skipArchiverMimeTypes, in line with THOG fix (#4544)20dccb6Scan all images under a namespace for Docker remote registries (#4514)112f48fRemove gh-actions approval workflows in favor of new repo setting (#4525)f15cb8bAdd source type label to chunk size metric (#4543)75056d9Updated GDrive proto to support On-Prem Scanning (#4539)fa512d5chore: fix feature support to append user agent suffix (#4520)daf7e56Implemented Graphql requests for Github PR's, Issues and comments scanning (#...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)