Skip to content
We manage your security to weather the AI storm →

Offchain security review · October 2026

APIs and AWS Infrastructure for Manifest

Guardian's review of APIs and AWS Infrastructure for Manifest, published October 2026. The report records 82 findings, including 2 high and 48 medium.

See how Guardian runs a web3 pentest.

Published
Review window
October 12 to 29, 2026
Language
TypeScript
Chains
Ethereum
Sector
Real-world assets
  • 0 Critical
  • 2 High
  • 48 Medium
  • 31 Low
  • 1 Informational

65 resolved · 2 partially resolved · 15 acknowledged

Scope

243 files in scope · 179,149 nSLOC
FilenSLOCLines
infra/.terraform.lock.hcl6265
infra/.tflint.hcl33
infra/addresses.tf4653
infra/api-gateway.tf341403
infra/appconfig.tf88103
infra/betterstack-incident-alerting.tf403436
infra/bot-eoa.tf185209
infra/config.tf3744
infra/definitions/daily-operations.asl.json18631863
infra/definitions/demo-reseed.asl.json6666
infra/definitions/deposit-workflow.asl.json447447
infra/definitions/tranche-distribution.asl.json253253
infra/definitions/withdraw-workflow.asl.json601601
infra/dynamodb.tf101126
infra/environments/demo/config.tfbackend66
infra/environments/demo/terraform.tfvars4552
infra/environments/development/config.tfbackend66
infra/environments/development/terraform.tfvars9299
infra/environments/production/config.tfbackend66
infra/environments/production/terraform.tfvars94100
infra/environments/testing/config.tfbackend66
infra/environments/testing/terraform.tfvars7076
infra/ethena-relay.tf332376
infra/flex-remediation.tf105122
infra/lambda.tf397425
infra/log-error-alerting.tf191213
infra/main.tf2022
infra/modules/.gitkeep00
infra/modules/step-functions/main.tf135156
infra/modules/step-functions/outputs.tf2429
infra/modules/step-functions/variables.tf102120
infra/modules/step-functions/versions.tf910
infra/monitoring.tf513585
infra/outputs.tf89111
infra/providers.tf1619
infra/resting-usdc.tf100116
infra/runtime.tf5259
infra/s3.tf187234
infra/scripts/tf.js126154
infra/secrets.tf3845
infra/sqs.tf273317
infra/state.tf3946
infra/step-functions-alerting.tf601662
infra/step-functions.tf348404
infra/variables.tf151180
infra/versions.tf2224
infra/yield-delivery.tf5366
openapi.yaml6062760627
src/api/analyst/analystFactory.ts245380
src/api/analyst/analystService.ts9051163
src/api/analyst/apiCatalog.json14221422
src/api/analyst/apiCatalog.ts164225
src/api/analyst/apiDispatch.ts4265
src/api/analyst/apiTool.ts220271
src/api/analyst/blocks.ts393499
src/api/analyst/calculator.ts82101
src/api/analyst/chain.ts678877
src/api/analyst/contracts.ts88144
src/api/analyst/conversationRow.ts4865
src/api/analyst/decimal.ts5993
src/api/analyst/docs.ts136188
src/api/analyst/docsLive.ts175231
src/api/analyst/documentTool.ts171209
src/api/analyst/errors.ts90167
src/api/analyst/inflight.ts3453
src/api/analyst/instant.ts1012
src/api/analyst/learning.ts166221
src/api/analyst/phrases.ts369455
src/api/analyst/prompt.ts101142
src/api/analyst/rational.ts199234
src/api/analyst/referenceTool.ts210290
src/api/analyst/repoTool.ts286337
src/api/analyst/runner.ts82172
src/api/analyst/runners/agentSdkRunner.ts635819
src/api/analyst/runners/apiRunner.ts131175
src/api/analyst/sqlValidator.ts771939
src/api/analyst/style.ts263329
src/api/analyst/tokens.ts9181179
src/api/analyst/tools.ts481618
src/api/analyst/trace.ts238317
src/api/analyst/transactionTool.ts159185
src/api/analyst/view.ts17122139
src/api/contracts/AuthManager.ts105178
src/api/contracts/contractRegistry.ts4178
src/api/contracts/HubDepositHelper.ts282398
src/api/contracts/HubWithdrawHelper.ts470653
src/api/contracts/pausable.ts3870
src/api/contracts/USHToken.ts128223
src/api/controller/agreementController.ts106145
src/api/controller/analystController.ts793958
src/api/controller/assetNavController.ts188231
src/api/controller/asyncJobController.ts218263
src/api/controller/authController.ts637731
src/api/controller/baseController.ts305387
src/api/controller/controllerRegistry.ts143182
src/api/controller/dailyOpsController.ts582642
src/api/controller/demoController.ts5279
src/api/controller/depositController.ts18022004
src/api/controller/documentController.ts605687
src/api/controller/eligibilityController.ts176203
src/api/controller/emergencyPauseController.ts215281
src/api/controller/evolutionController.ts8490
src/api/controller/featureFlagController.ts722915
src/api/controller/flexController.ts241351
src/api/controller/formController.ts6370
src/api/controller/internalController.ts856990
src/api/controller/kycController.ts128162
src/api/controller/ledgerController.ts318335
src/api/controller/movementsController.ts608645
src/api/controller/operationsController.ts29363633
src/api/controller/operatorIdentity.ts37127
src/api/controller/paramController.ts379440
src/api/controller/pendingLossController.ts220245
src/api/controller/portfolioController.ts86102
src/api/controller/propertyController.ts350442
src/api/controller/propertyNavController.ts380456
src/api/controller/resourceController.ts356402
src/api/controller/rewardController.ts401456
src/api/controller/trancheScheduleController.ts192237
src/api/controller/userController.ts560619
src/api/controller/validationAgreementController.ts96137
src/api/controller/walletActivityController.ts622739
src/api/controller/webhookController.ts564718
src/api/controller/withdrawController.ts23322560
src/api/helper/httpClient.ts340509
src/api/helper/jwt/decode.ts4670
src/api/helper/jwt/encode.ts4359
src/api/helper/jwt/expiry.ts1016
src/api/helper/operationsHelper.ts100149
src/api/helper/parseAlchemyYieldEvent.ts3153
src/api/helper/safeAlertForward.ts4671
src/api/helper/verifyWebhookSender.ts132247
src/api/middleware/automationOnly.ts50166
src/api/middleware/cognitoAuth.ts318575
src/api/middleware/cognitoJwt.ts92145
src/api/middleware/directInvokeAuth.ts1647
src/api/middleware/genericCrudHandler.ts97249
src/api/middleware/parseJsonBody.ts2429
src/api/middleware/rateLimit.ts2739
src/api/middleware/rawBodyCapture.ts2640
src/api/middleware/requireUsdcWithinTolerance.ts1017
src/api/middleware/requireUsdeWithinTolerance.ts4455
src/api/middleware/walletAuth.ts96147
src/api/middleware/webhookAuth.ts280345
src/api/router/index.ts3865
src/api/router/internalRouter.ts10411317
src/api/router/privateRouter.ts180268
src/api/router/publicRouter.ts232291
src/api/schemas/controllers/analyst.schemas.ts246319
src/api/schemas/controllers/auth.schemas.ts128178
src/api/schemas/controllers/deposit.schemas.ts208259
src/api/schemas/controllers/document.schemas.ts111163
src/api/schemas/controllers/emergencyPause.schemas.ts132178
src/api/schemas/controllers/evolution.schemas.ts5563
src/api/schemas/controllers/form.schemas.ts92114
src/api/schemas/controllers/kyc.schemas.ts1119
src/api/schemas/controllers/operations.schemas.ts11501657
src/api/schemas/controllers/resource.schemas.ts2434
src/api/schemas/controllers/user.schemas.ts159212
src/api/schemas/controllers/walletActivity.schemas.ts256407
src/api/schemas/controllers/webhook.schemas.ts3752
src/api/schemas/controllers/webhooks.schemas.ts85125
src/api/schemas/controllers/withdraw.schemas.ts134158
src/api/schemas/schemaRegistry.ts159175
src/api/schemas/services/alchemy.schemas.ts223294
src/api/schemas/services/depositRefund.schemas.ts1637
src/api/schemas/services/document.schemas.ts4063
src/api/schemas/services/elliptic.schemas.ts92141
src/api/schemas/services/evolution.schemas.ts3941
src/api/schemas/services/persona.schemas.ts222244
src/api/schemas/services/safeAlert.schemas.ts4163
src/api/schemas/services/tenderly.schemas.ts2636
src/api/schemas/services/walletActivity.schemas.ts10611778
src/api/schemas/services/webhook.schemas.ts103163
src/api/service/alchemyService.ts19132608
src/api/service/alchemyWebhookService.ts742998
src/api/service/apyCalculations.ts112262
src/api/service/assetNavService.ts11821832
src/api/service/asyncJobService.ts526869
src/api/service/baseService.ts1018
src/api/service/blockchainService.ts18612836
src/api/service/chainalysisService.ts6391
src/api/service/cognitoAuthService.ts143184
src/api/service/dailyOpsService.ts456627
src/api/service/depositRefundEvidence.ts144232
src/api/service/depositRefundService.ts546867
src/api/service/depositService.ts48906944
src/api/service/distributionScheduleService.ts9521823
src/api/service/documentService.ts501692
src/api/service/ellipticService.ts170274
src/api/service/emergencyPauseService.ts501741
src/api/service/eventBridgeService.ts123205
src/api/service/evolutionService.ts241338
src/api/service/featureFlagCatalog.ts284525
src/api/service/featureFlagService.ts159207
src/api/service/flexDonationService.ts527709
src/api/service/flowOfFundsService.ts9981296
src/api/service/formService.ts123155
src/api/service/gasReconciliationService.ts9801456
src/api/service/ledgerService.ts46548230
src/api/service/movementService.ts14902107
src/api/service/operationsService.ts679410041
src/api/service/paramService.ts550888
src/api/service/personaService.ts230304
src/api/service/portfolioNavService.ts13762281
src/api/service/portfolioService.ts216368
src/api/service/propertyNavService.ts11981974
src/api/service/propertyService.ts285430
src/api/service/recoveryService.ts8891461
src/api/service/resourceService.ts422659
src/api/service/rewardService.ts13791818
src/api/service/safeAlertEmbedService.ts536616
src/api/service/safeService.ts27384242
src/api/service/serviceRegistry.ts311339
src/api/service/sqsService.ts88128
src/api/service/stepFunctionsService.ts325489
src/api/service/userAgreementService.ts175271
src/api/service/userService.ts222359
src/api/service/valuationService.ts10701741
src/api/service/walletActivityChecksService.ts10381441
src/api/service/walletActivityClassifierService.ts35495117
src/api/service/walletActivityDescribe.ts105138
src/api/service/walletActivityExportService.ts12761851
src/api/service/walletActivityIngestionService.ts8951312
src/api/service/walletActivityPoolIngestionService.ts420602
src/api/service/walletActivityPricingService.ts7661234
src/api/service/walletActivityRoles.ts375701
src/api/service/walletActivityService.ts18782675
src/api/service/walletAuthService.ts254417
src/api/service/walletAuthTerms.ts3973
src/api/service/withdrawService.ts59337910
src/app.ts207319
src/common/config.schemas.ts32944579
src/common/settings.ts24454320
src/common/storage/index.ts1933
src/common/storage/localStorageClient.ts80119
src/common/storage/s3StorageClient.ts6882
src/common/storage/storageClient.ts1951
src/db/tableRegistry.ts7389
src/db/tables.ts31924950
src/handlers/directInvokeHandler.ts162231
src/handlers/sqsBatchHandler.ts121166
src/handlers/sqsRecordProcessor.ts12061580

Findings 82

  1. H-01 High Ethena deposit settlement omitted from revenue deduplication Business logic errors Resolved

    Description

    Manifest accepts USDC deposits and converts Treasury-held USDC into USDe before issuing USH to the depositor. When the Ethena feature is enabled, the deposit exceeds its configured size threshold, and the required on-chain permissions are available, the conversion can use Ethena. Ethena's settlement pulls USDC and mints USDe to the Treasury Safe. Manifest stores that settlement transaction in the deposit's ethenaSettleTxHash field. The resulting USDe backs the user's deposit; it is not separate revenue. A different workflow watches USDe arrivals to Treasury and can mint USH to the Accrual Vault for genuine revenue.

    The Ethena USDe mint emits a Transfer from the zero address to Treasury. The revenue workflow treats that sender as unrecognized and asks whether the transaction hash belongs to a deposit. Its chain-qualified lookup checks the initiation, ordinary swap, completion, and bridge-redeem hashes but omits ethenaSettleTxHash. This check returns false even after the deposit row stores the Ethena settlement hash. If the transfer reaches the revenue workflow, passes its confirmation and uncategorized-receipt controls, and its USH mint executes, the same USDe backing causes an extra USH mint to the Accrual Vault alongside the legitimate deposit mint. This is a persistent omission, not a callback-order race.

    For example, Mallory deposits USDC above the Ethena threshold. Ethena converts Treasury's USDC into USDe, and Manifest records the settlement hash. The revenue workflow misses that hash and can mint an additional, similar-sized amount of USH to the Accrual Vault. Mallory receives only the ordinary deposit USH. Mallory can then withdraw that ordinary USH, which burns those user tokens and returns an output stablecoin after fees; the erroneous vault mint remains. Repeating eligible deposit and withdrawal cycles across later rate-limit windows can accumulate protocol-held USH without matching backing. Alice and other holders do not receive those tokens, yet Manifest's circulating-supply calculation includes them when computing USH NAV and its backing gap.

    Impact and limits: The default protocol fee is 0.1% on deposits and 0.1% on withdrawals, plus variable conversion, gas, and other costs. Thus a cycle can leave an amount-proportional supply discrepancy at a potentially much smaller cost to Mallory, although an exact cost or profitable cycle was not measured. The default uncategorized-receipt limit quarantines the fourth receipt from the same sender within 24 hours; Ethena mints share the zero-address sender, so this slows rather than permanently prevents accumulation. Uncategorized ledger entries are excluded from automatic distribution until an operator recategorizes them, and Mallory cannot directly redeem the extra vault-held USH. The condition can lower calculated NAV and trigger backing-integrity controls; it does not prove direct theft or a production incident. This scenario applies only where Ethena is enabled and the revenue mint succeeds.

    Recommendation

    Include ethenaSettleTxHash in the existing chain-qualified deposit transaction lookup, keeping it separate from swapTxHash because that field also drives gas accounting. A settlement event can arrive before the deposit row stores its hash, so hold zero-address USDe mints into Treasury out of the automatic revenue-mint path until they can be checked against pending Ethena conversions; release them as revenue only when that check excludes a deposit. If the check is unavailable, leave the receipt pending for retry. Test both event orders and replayed settlements.

    Resolution

    Manifest Team: Fixed, with one deliberate difference from the recommendation. The uncategorized revenue intake's deposit lookup now includes the Ethena settlement transaction hash. A zero-address USDe receipt is held only while a deposit's Ethena conversion of a matching amount (within 1%) has been claimed but not yet settled, which closes the window where the mint notification arrives before the settlement hash is stored. We do not release unmatched zero-address receipts as revenue. They are quarantined for operator review, alerted on and never minted, because a settlement whose deposit record ended failed without its hash would otherwise be minted again. Only our own Ethena mint orders produce zero-address USDe into Treasury, so no legitimate revenue flow is affected. Regression tests reproduce the original double mint, the ordering race and an unmatched late settlement.

  2. H-02 High IAM roles grant excessive or unused access Access Control Acknowledged
    Location
    AWS account 891377361887

    Description

    The mf-gbl-test-gitlaboidc-iam role grants administrator access to jobs from any branch of six GitLab projects.

    A protected apply role also has administrator access, while an unprotected planning role can decrypt application parameters and read a database secret.

    Application and build roles retain broader secret, parameter, workflow, and email grants than their recorded work needs.

    Eleven roles have no recorded use, including two unreferenced valuation roles and three roles linked to empty Cognito groups.

    A misused job or service could use these grants to read credentials or customer data, change resources, or send trusted-looking email.

    Recommendation

    CI roles: Restrict mf-gbl-test-gitlaboidc-iam to protected deployment refs and replace AdministratorAccess with the actions its jobs need. Replace AdministratorAccess on the protected mf-gbl-test-gitlaboidc-apply-iam role after mapping and testing its deployment actions. For mf-gbl-test-gitlaboidc-infraplan-iam, restrict branch trust or remove database-secret and parameter-decryption grants from unprotected branch plans after checking a plan still works.

    Application roles: Remove ssm:GetParameter, ssm:GetParameters, kms:Decrypt, and kms:DescribeKey from the workflow role's mf-use2-test-sf-base policy. On the API role, remove ssm:GetParametersByPath, secretsmanager:ListSecrets, and ses:SendRawEmail; scope remaining SSM reads to named parameters and ses:SendEmail to the no-reply@manifest.finance identity. Keep secretsmanager:BatchGetSecretValue and kms:GenerateDataKey, which the application uses or documents. Test the API, KYC email, and four workflows.

    Build roles: For mf-gbl-test-amplify-iam, remove the unused kms:Decrypt, ssm:GetParameter, and ssm:GetParameters grants and scope ssm:GetParametersByPath to its /amplify/d13q5horn9g6bo/test/ path. For mf-gbl-test-madmin-amplify-iam, retain access to /madmin/origin-lock-secrets; remove ssm:GetParameters and the other four named secret paths after confirming no less frequent build uses them. Test both builds.

    Inactive roles: Retire both valuation-engine roles and their inline policies if that workflow is retired. Remove the three empty Cognito groups and their paired roles if those access paths are no longer planned. The other six roles still have identity-pool, monitoring, operator-group, or SSO ties; confirm each owner and disconnect or replace that tie before deleting a role.

    Resolution

    Manifest Team: Acknowledged; confirmed, and the same CI role configuration exists in our production account. The role split (read-only plan role, protected apply role) is already built; we are moving every pipeline onto it, then deleting the original any-branch administrator role, then replacing administrator access on the protected apply role with a scoped policy. We will separately scope the API, workflow and Amplify build roles to the parameters, secrets and email identity they use, and retire or disconnect the unused roles after confirming their owners.

  3. M-01 Medium Lower trust CI pipelines can replace the dependency image used by protected jobs Configuration Resolved
    Location
    .gitlab-ci.yml:398

    Description

    The build:deps job creates a Docker image containing the API server's Node tooling and dependencies. Its purpose is to let later jobs reuse a verified build instead of running npm ci every time. A protected release or deployment should consume an image produced by a trusted pipeline, or an immutable image digest whose provenance has been checked.

    The current cache key is deps-${LOCK_HASH}, derived only from package-lock.json and ci/Dockerfile.deps. The job publishes that tag to the project-wide GitLab Container Registry and, when the tag already exists, skips the build after a docker manifest inspect check. The tag is mutable and does not identify the pipeline or ref that produced it. build:deps has no protected-ref restriction, while release:cut, deploy:migrate, and deploy use the emitted DEPS_IMAGE as their job image. If a lower-trust same-project pipeline can publish or replace this registry tag, the protected pipeline accepts its image without verifying its digest or origin.

    For example, Alice maintains the CI configuration and Bob merges a legitimate change into a protected branch. Mallory is a contributor who can run a same-project branch or merge-request pipeline and write the project's dependency-image tag, but cannot access protected release or AWS credentials directly. Before Bob's protected pipeline starts, Mallory publishes a modified image under the predictable deps-${LOCK_HASH} tag, leaving the hashed files unchanged. Bob's build:deps sees the tag and reports a cache hit. The release, migration, or deployment job then starts inside Mallory's image, where image-provided tools or dependencies can run with that job's authority.

    This is a privilege escalation from registry write access on a lower-trust pipeline to code execution in protected CI jobs. Depending on which job consumes the image and which credentials are configured, the result could include unauthorized release changes, database actions, or changes to the deployed Lambda. Exploitation depends on Mallory being able to publish or replace that tag in the project's registry.

    Recommendation

    Keep lower-trust refs and CI credentials from publishing dependency images or cache entries that protected jobs can consume, enforcing this in registry permissions or a separate protected registry rather than in job rules alone. On a protected ref, build the dependency image from the reviewed checkout or accept a cache hit only after verifying its producer and provenance; then pass its immutable sha256 digest, rather than the mutable deps-${LOCK_HASH} tag, to release:cut, deploy:migrate, and deploy. Fail if no trusted digest is available, and test the boundary by publishing a distinct image from a lower-trust ref before running a protected pipeline with unchanged hash inputs.

    Resolution

    Manifest Team: Fixed. On protected refs (the dev, test and prod branches, plus the demo source branch), the dependency image is now always built from the reviewed checkout, never from the shared cache. It is pushed under a pipeline-unique tag and handed to the release, migration and deploy jobs by its immutable sha256 digest, and the pipeline fails if no valid digest is reported. The application image build on protected refs no longer reads the shared registry build cache either. Unprotected refs keep the shared tag cache, which protected jobs no longer consume, so an image published from a lower-trust pipeline can no longer reach a protected job. Regression tests cover the cache-hit path and the digest handoff.

  4. M-02 Medium Read scoped service token can overwrite runtime configuration Access Control Resolved
    Location
    src/api/middleware/cognitoAuth.ts:430

    Description

    Manifest's internal API accepts Cognito access tokens for human operators and for a configured service client. The documented custom scopes include "manifest-api/internal.read" and "manifest-api/internal.write". A token carrying only the read scope should not authorize a runtime configuration change if these scopes are intended to distinguish read from write access. The runtime update endpoint, PUT /internal/params/runtime, accepts schema-valid changes and writes them to AWS SSM, where they affect the API after configuration reload.

    The service-client branch of the shared authorization middleware checks whether any token scope starts with "manifest-api/" and then bypasses the operator and MFA checks. The runtime update route performs no subsequent check for "manifest-api/internal.write". As a result, a valid token bound to the configured service client and carrying only "manifest-api/internal.read" can update runtime configuration. This establishes that the API does not enforce the read/write distinction on this route. The repository does not contain the production Cognito app-client grants or an explicit policy stating whether all service-client tokens are deliberately intended to have write access; consequently, the extent of any escalation beyond the token's declared scope depends on that deployment policy.

    For example, Alice administers runtime settings, and Bob's integration obtains a service-client token containing only "manifest-api/internal.read". Mallory obtains that bearer token, without obtaining Bob's client secret or a write-scoped token, and submits a valid maintenance-mode update to PUT /internal/params/runtime. The API accepts the token and stores the change in SSM. After reload, public and private API routes return 503 until Alice restores the setting. If Bob's client credentials are already authorized to request a write token, this does not increase Bob's overall client privileges, but compromise of a read-scoped bearer token still permits an unauthorized write.

    Recommendation

    Confirm and document whether service-client access is intended to distinguish read from write. If it is, require the exact "manifest-api/internal.write" scope on PUT /internal/params/runtime and other mutating routes, while retaining the current operator and MFA requirements for human callers; treat the "manifest-api/" prefix only as part of identifying an eligible service client, never as authorization to perform a write. Add a regression test showing that a service token with only "manifest-api/internal.read" cannot change maintenance mode, while an appropriately authorized caller can. If every token from this service client is intentionally allowed to write regardless of scope, document that policy and issue an accurately named privileged scope rather than presenting "internal.read" as a restricted credential.

    Resolution

    Manifest Team: Fixed. Service-client tokens must now carry the exact manifest-api/internal.write scope for any request to the internal API other than GET, HEAD or OPTIONS, so a token holding only internal.read can no longer change runtime configuration or make any other internal write. The deployed service integration already requests the write scope, and operator access is unchanged. A regression test confirms that a read-scoped service token receives 403 on PUT /internal/params/runtime, and the scope rule is documented in our authentication architecture notes.

  5. M-03 Medium Public webhook messages can fail unrelated asynchronous jobs Access Control Resolved
    Location
    src/handlers/sqsRecordProcessor.ts:426

    Description

    Deposit and withdrawal workflows use database-backed asynchronous jobs and Step Functions callbacks. A public webhook should only supply the provider event it is meant to carry; only messages from the internal jobs queue should be able to execute or fail an internal job.

    The webhook ingress lets a caller choose the SQS message type, and the webhook queue invokes the same worker as the internal jobs queue. The worker dispatches on the message's type without binding an "asyncJob" message to its trusted source queue or checking that the supplied job type matches the stored job. For an unsupported job type, it looks up the named job, marks it failed without requiring an eligible current state, and may send a failure through its saved Step Functions task token. A public deposit lookup can expose the current job UUID needed to target that path.

    For example, Alice has a deposit waiting for its mint job, and Bob is an operator expecting the normal workflow to finish. Mallory has no operator account or access to the internal queue. Mallory reads Alice's public deposit status, obtains its job UUID, and submits a public webhook message labelled "asyncJob" with that UUID and an unsupported job type. The shared worker treats the message as an internal job notification, fails Alice's job, and may signal failure to her waiting workflow. Bob then has to recover a transfer that the genuine job should have completed.

    An unauthenticated caller can therefore disrupt another user's deposit or withdrawal and, where a target UUID is known, interfere with other queued work such as whitelist revocation. Failing the database job does not itself cancel a pending Safe proposal.

    Recommendation

    Bind message trust to its actual queue of origin: process asyncJob messages only from the configured internal jobs queue, or move public webhook and internal job traffic to separate workers. For accepted internal messages, validate the supplied job ID and type against the stored job, atomically claim only an eligible lifecycle state, and send a Step Functions failure callback only for a transition the worker actually owns. Public status responses should omit internal job IDs and task tokens, and regression tests should cover forged webhook type attributes, mismatched jobs, completed jobs, and callback races.

    Resolution

    Manifest Team: Fixed. Messages that claim to be asynchronous jobs are now processed only when they arrive from the dedicated async-jobs queue; a message forged through the public webhook ingress is logged and dropped without reading or changing any job. A job is claimed only when both its ID and its stored job type match the message, and an unknown-type job can be failed only through an atomic pending-to-failed transition, which is the only path that sends the workflow failure callback. The public deposit and withdrawal endpoints no longer return the internal job ID, task token or execution ARN. Regression tests cover forged messages from the webhook queue, type-mismatched claims and the trimmed public responses.

  6. M-04 Medium CTE name resolution bypasses Analyst relation restrictions Clear storage of sensitive information Resolved

    Description

    Manifest Analyst is an internal chat tool for operators. When it is enabled, an operator can ask a question and the AI assistant runs read-only SQL queries to prepare an answer. Before running a query, the API checks it against a list of tables that Analyst must not read. That list includes users, which contains wallet addresses and eligibility information. The check should reject any query that would read that table.

    The problem is how the check handles a CTE: a temporary, named result defined inside a SQL query. If a CTE is named users, the check assumes every unqualified mention of users in the query refers to that temporary result. PostgreSQL does not always interpret it that way. In a nonrecursive CTE's own definition, a reference to users can resolve to the real manifest.users table. The check therefore approves a query that PostgreSQL executes against a blocked table. The addr and eligibility columns are not blocked separately, so their values can appear in the query result.

    For example, Alice is a Manifest user whose wallet address and eligibility are stored in users. Mallory is an authenticated operator with access to Analyst and guides the assistant toward a query that defines a CTE called users while reading from users inside that definition. The API mistakes the inner reference for the temporary result, but PostgreSQL reads Alice's row from the real table. The result can be returned to the model and saved in the conversation trace, which Bob later reviews.

    This can expose restricted user information to the AI model and stored traces, even though the query is read-only; read-only access prevents changes, not disclosure. The impact is limited to data the application database role can read and to Analyst's query limits. Analyst is currently disabled by its feature flag, and the chat route requires an MFA-authenticated operator, so this is not an anonymous or public data leak.

    Recommendation

    As an immediate fix, reject Analyst queries that define a CTE with the same name as a blocked table, such as users. Then update the SQL validator to check what each table name actually refers to at that point in the query: a CTE should count only where PostgreSQL makes it visible, and any reference that resolves to a real blocked table must be rejected. Add tests for CTEs defined inside other queries and for a CTE that refers to a table with its own name. Finally, run Analyst queries with a dedicated read-only database user that has no permission to read blocked tables, so a future validator mistake cannot expose them.

    Resolution

    Manifest Team: Fixed. The Analyst SQL validator now resolves each CTE name only within the scope PostgreSQL gives it, so an unqualified reference inside a nonrecursive CTE's own definition is checked against the real table. Any CTE named after a restricted relation is rejected outright. Besides Guardian's example, this closes three related bypasses from the same flaw: a reference in a later sibling CTE, a CTE inside a subquery, and a quoted, differently-cased name such as "USERS". Regression tests cover all four forms.

  7. M-05 Medium Service-client tokens accepted for human-attributed ledger-gap and refund decisions Access Control Resolved

    Description

    The internal API lets operators acknowledge unresolved distribution-ledger gaps and propose refunds for failed deposits. These decisions should require a verified human operator and preserve meaningful attribution; a gap should remain in live alerting until properly cleared or acknowledged. A service-client token is intentionally admitted to the internal router without operator-group membership, but these two routes add no human-only guard. Their shared identity helper accepts the token's machine subject despite its missing email and substitutes unknown@unknown. The caller can terminalize a live gap, removing it from live-gap scans, or, when refunds are enabled and a deposit is eligible, record and submit a Safe refund proposal under degraded attribution. Safe signatures are still required for payment.

    For example, Alice is the operator responsible for resolving a genuine ledger gap, while Bob runs a machine integration with a valid service-client token. Mallory obtains Bob's token and calls the gap-resolution endpoint before Alice investigates. The API records a resolution attributed to unknown@unknown and removes the gap from the live list. If a failed deposit is eligible and refunds are enabled, the same token can submit a refund proposal; Safe owners must still sign before any payment.

    A holder of the privileged service-client credential can falsely acknowledge currently live distribution gaps across known business dates, removing those records from live-gap alerting until a new record is opened, and can submit degraded-attribution proposals for otherwise eligible deposits when refunds are enabled. The code does not itself transfer Treasury funds.

    Recommendation

    Make these two decisions human-only at both the route and controller boundary. Require a validated Cognito session with a subject, nonempty email, human username, and madmin-operators membership; never substitute placeholder attribution on these actions. Keep the existing strict request schemas, refund eligibility checks, and Safe threshold. If machine recovery is needed, expose a separate explicitly authorized operation that records a verified machine principal.

    Resolution

    Manifest Team: Fixed as recommended. Ledger-gap resolution and failed-deposit refund proposals are now human-only at both the route and the controller. The route requires operator-group membership, and the controller requires a validated human operator session with a verified identity and operator-group membership. A service-client token now receives 403 on both actions, and no placeholder attribution is ever recorded: the unknown@unknown fallback is gone from these paths. Request schemas, refund eligibility checks and the Safe signing threshold are unchanged. Regression tests confirm a service token is refused on both routes and that a human operator is still accepted with correct attribution.

  8. M-06 Medium Manual expense can offset a reviewed pending-loss burn Business logic errors Resolved

    Description

    The ledger records protocol expenses and distributes their financial effects. A pending loss should enter that process only through the loss workflow, which creates a positive synthetic absorption entry tied to an open loss and later marks the loss absorbed after its burn. An MFA-authenticated operator can instead post pending_loss_absorption through the general expense API. That API creates a negative, unlinked entry. If posted for the same distribution period as a real loss, it reduces the signed-net burn target. With a partial offset, distribution can finish and mark the real loss absorbed even though less USH was burned than its recorded amount. The operator can also create an orphan absorption-type expense without any open loss.

    For example, Alice approves a 10-USH pending loss and Bob prepares its distribution. Mallory, who has an operator account with MFA, posts a manual pending_loss_absorption expense of −4 for the same period. The calculation targets a burn of 6, yet the completion path marks Alice's 10-USH loss absorbed. Mallory needs operator privileges; an external wallet user cannot post this expense.

    Given an open loss and a same-period partial manual offset, token holders and protocol accounting can show that loss as absorbed after a burn smaller than its recorded face. The shortfall is bounded by the offset amount; the route requires an MFA-authorized operator and a successful later distribution.

    Recommendation

    Reserve pending_loss_absorption for PendingLossService. Exclude it from the manual schema and reject it in postExpense as defense in depth. Keep the canonical pending-loss ID, generation and amount in the loss workflow; before marking a loss absorbed, reconcile its linked entry against confirmed burn accounting rather than relying only on claim-level completion.

    Resolution

    Manifest Team: Fixed. The manual expense endpoint now rejects pending_loss_absorption with a message that it is reserved for the pending-loss workflow, and the ledger service also refuses it before writing anything. A loss is now marked absorbed only when its own live entry matches the loss amount, the burn recorded against that entry reaches that amount, and no entry outside the loss workflow shared that burn. A loss that falls short stays open, and the next distribution burns the remainder. Tests cover the rejected request, a same-period negative entry netting the burn, partial and completed burns across runs, voided or mismatched entries, and an earlier burn shared with an entry the loss workflow did not create.

  9. M-07 Medium Stale allowlist authorization permits parameter writes after revocation Access Control Resolved

    Description

    The internal parameter API lets MFA-authenticated operators set or restore selected AWS SSM configuration values. An infrastructure-owned allowlist is intended to restrict which parameters they may edit. After a name is removed, a warm Lambda still returns its previously allowed entry from a 60-second process cache. Both the set and revert operations check that result only once, before further reads and the final write. If the Lambda's separately applied IAM policy still permits the name, an operator whose parameter-level grant was removed can create a persistent SSM version anyway. For a formerly allowed secrets parameter, an invalid replacement can be rejected during subsequent settings loads, disrupting API invocations. The same check-before-write gap also permits an in-flight request to finish after revocation.

    For example, Alice removes /manifest/secrets from the operator-editable allowlist, while Bob still has a valid MFA-authenticated operator session. Mallory controls Bob's session during a warm Lambda's 60-second cache window and submits a version-correct update before IAM write permission is removed. The server uses the old cached grant and persists the change. The impact depends on the affected parameter and the deployment's IAM change order.

    A still-authenticated operator can overwrite a formerly delegated managed SSM parameter while a warm worker retains its grant and the old Lambda IAM write permission remains effective. If that parameter is /manifest/secrets and the deployment reads it without an override, a malformed replacement is persisted and subsequent settings loads can fail, disrupting API invocations until an administrator restores the value.

    Recommendation

    Use the cached allowlist only to display which parameters appear editable. For both PUT /internal/params and POST /internal/params/revert, read /manifest/ssm-allowlist directly from SSM before writing, and reject the request if that read fails or the parameter is no longer listed. Perform this check as close as possible to the final PutParameter call, and add tests showing that removing a parameter from the list blocks both operations even when a Lambda previously cached the old list.

    Resolution

    Manifest Team: Fixed as recommended. The cached allowlist now only drives which parameters are shown as editable. Parameter set and revert requests, and single-key secret saves, are authorized by a fresh, uncached read of the allowlist, taken before acquiring the lock and again immediately before the SSM write. A parameter removed from the allowlist is therefore refused (403) even inside the old 60-second cache window and even if it was removed while the request was in flight, and a failed allowlist read also refuses the write. Regression tests cover a stale cache, a revocation in the middle of a request and a read failure.

  10. M-08 Medium One-chain contract-wallet proof grants an address-global wallet session Authentication & Session flaws Resolved

    Description

    The API lets investors sign in with an externally owned wallet or EIP-1271 contract wallet to read private profile and financial history, manage activity records, and request eligibility screening. Contract-wallet authority is chain-specific: the same Safe address can have different owners after ownership changes on different chains. Login checks a contract signature only on the chain named in the signed SIWE message, but issues a JWT containing only the address. If Mallory controls that address on one configured chain while Alice controls it on another, Mallory's valid signature is treated as Alice's address-global identity. Mallory can read Alice's compliance identifiers and financial history and cancel her submitted activity records. A changed AML screening result can also queue a grant or revocation for protocol chains, subject to job and on-chain execution. This does not authorize an on-chain transfer.

    For example, Alice owns a Safe at an address on one chain, while Mallory controls a contract at the same address on another. Bob's login service accepts Mallory's valid signature on her chain and issues an address-only session. Mallory can then read Alice's address-keyed profile.

    Impact: When different people control the same contract-wallet address on configured chains, the controller of one chain can obtain the other controller's address-keyed compliance identifiers and private financial history and cancel their SUBMITTED activity records. A changed AML result plus successful asynchronous execution can additionally alter whitelist state on protocol chains. No on-chain asset transfer is established.

    Recommendation

    Choose and enforce a single designated chain for EIP-1271 contract-wallet identity at login, and bind the issued session to the contract authority verified on that chain. Reject contract-wallet login proofs from other chains as account-wide credentials, and document that this chain controls the address-keyed Manifest account. Test an address whose contract owners differ across chains so a signature valid only on a non-designated chain cannot access the account.

    Resolution

    Manifest Team: Fixed in the API. A contract-wallet (EIP-1271) sign-in is now accepted only when the SIWE message names the protocol (hub) chain, and the signature is verified only against that chain. A proof that names any other chain is rejected with a distinct 401 (CONTRACT_WALLET_CHAIN_REQUIRED) before any other chain is queried, and its nonce is left unused. Because the session is keyed by address, the hub chain is now the single source of control for a contract-wallet account. Control of the same address on another chain no longer grants that account's session. EOA sign-in is unchanged. Regression tests cover a proof that is valid only on a non-hub chain (rejected, with no provider call), a hub-chain proof (verified on the hub provider) and an EOA signature that names another chain (still accepted).

  11. M-09 Medium Superseded AML jobs can restore a rejected wallet's whitelist access Business logic errors Resolved

    Description

    Manifest uses Elliptic to assess a wallet's AML risk. A favorable result from the private eligibility flow queues an asynchronous job to add that wallet to the protocol's on-chain whitelist; a later adverse monitoring result should supersede it and leave the wallet rejected. The queued grant contains the address and action but no identifier for the assessment that authorized it. A newer adverse result can therefore arrive while the grant is still pending. If the wallet has not yet been whitelisted, revocation has no on-chain change to make and records REJECTED; the older grant can subsequently run without checking the latest assessment, add the wallet to the whitelist, and write ACCEPTED.

    For example, Mallory's wallet passes an initial Elliptic check at 10:00, and Bob's API queues a grant that has not executed. At 10:01, Elliptic sends a newer adverse result; Alice sees Mallory rejected, and the revoke path finds no existing whitelist entry. At 10:02, Bob's worker processes the grant queued at 10:00. It grants access and changes the database state to ACCEPTED despite the newer adverse report. Mallory need not control the worker or the timing for this race to occur.

    Impact: A wallet rejected by the latest AML assessment can regain whitelist status on configured protocol chains and database eligibility ACCEPTED. If no independent ban or sanction applies and the remaining checks pass, its deposits or withdrawals can avoid the intended eligibility hold. The finding does not establish direct theft or that a wallet holder can force Elliptic to change its assessment.

    Recommendation

    Record a new per-wallet AML decision version and desired eligibility whenever a screening result arrives, including when the user's completed eligibility has not changed yet, and include that version in every queued grant or revoke job. Before a job changes a chain or the user row, compare its version with the latest decision and skip it if superseded. If a previously submitted chain operation completes after a newer decision, reconcile that chain back to the latest desired whitelist state. Test the order where an old grant finishes after a newer rejection.

    Resolution

    Manifest Team: Fixed in the API. Every AML screening result now records a new per-wallet decision version and the eligibility it calls for, including when the wallet's eligibility is unchanged, and each queued whitelist grant or revoke carries the version that authorized it. Before a job changes a chain or the user row, it compares its version with the latest decision under a row lock. A superseded job never grants: if the latest decision rejects the wallet, it revokes instead, which also repairs a partial write left by an earlier failed attempt. If a rejection arrives while a grant's chain write is in flight, the job revokes again under the newer decision. A monitoring result analysed before the latest recorded decision is refused. Jobs queued before this release carry no version and are applied as before. At release, production had no queued whitelist jobs, so no unversioned job remained to apply. Regression tests cover the order Guardian described (an old grant finishing after a newer rejection), a rejection landing during the grant's chain write, an old revoke after a newer approval, and a stale revoke after an operator revoke.

  12. M-10 Medium Ambiguous withdrawal transfer status permits duplicate Treasury funding Business logic errors Resolved

    Description

    Manifest lets an eligible USH holder request a withdrawal by calling the on-chain WithdrawHelper. The helper receives the user's USH and emits WithdrawInitiated; the API records that event, verifies the request, and starts an automated workflow. For a USDe payout, the workflow must fund the helper once by transferring the approved USDe amount from the Treasury Safe. The helper subsequently completes the withdrawal and pays the user. The user cannot call the internal funding endpoint or directly control the Treasury Safe.

    The funding job broadcasts the Treasury-to-helper transaction, saves its hash, and waits for confirmation. A confirmation timeout does not cancel the transaction: it may still mine. On retry, the API asks its RPC provider for the saved hash's receipt and transaction. If both lookups return null, preflight labels the hash not_found. Unlike pending, that result does not stop the executor, so it submits the full transfer again. The LiquidityModule transfer has no withdrawal-specific replay key. If the first transfer mined but was temporarily invisible to the RPC provider, the retry can use a new sender nonce and execute a second Treasury-to-helper transfer for the same withdrawal.

    For example, Mallory requests an otherwise valid withdrawal with a net payout of 99 USDe. Bob represents Manifest's automated withdrawal worker, not a human operator: it sends 99 USDe from Treasury to the helper. The transaction mines, but confirmation times out and the RPC temporarily finds neither the receipt nor the transaction. Bob retries and sends another 99 USDe. Alice is another USH holder whose withdrawal depends on Treasury liquidity. Treasury has sent 198 USDe for Mallory's 99 USDe withdrawal, while the helper has received the excess 99 USDe.

    Impact and limits: The duplicate transfer overfunds the protocol-controlled helper and reduces the USDe immediately available in Treasury, creating a funding and reconciliation discrepancy that can affect later withdrawals. It does not establish that Mallory is paid twice, can take the excess, or can force the RPC condition.

    Recommendation

    When a withdrawal already has a saved Treasury-to-helper transaction hash, treat both pending and not_found RPC results as unresolved and do not send the funds again. Keep the job retryable while checking the original transaction, its sender nonce or any replacement, and whether the helper was funded; submit a replacement only once the original is definitively unable to execute and no funding occurred. Cover the case of a mined transaction temporarily missing from RPC lookups in the retry tests.

    Resolution

    Manifest Team: Fixed in the API. When a withdrawal's saved Treasury transfer hash is reported not_found by the RPC, the service no longer sends a second transfer. The withdrawal is held at its pending transfer state with the saved hash kept, and the job is returned as a retryable confirmation timeout. A later retry that sees the receipt completes from the saved hash. A reverted transfer, which moved nothing, is still replaced. The hold raises a critical alert, because whether Treasury funded the helper is unknown at that point. If the original transaction never mines, an operator confirms that on chain and re-drives the withdrawal; nothing re-sends automatically. The guard covers all three routes that persist the hash on a timeout: the USDe transfer, the Velora swap batch and the post-Ethena transfer. Regression tests show that the not_found cases previously sent a second transfer and no longer do.

  13. M-11 Medium Deposit Transfer can be minted as revenue before deposit classification Business logic errors Resolved

    Description

    Manifest accepts USDe deposits through its deposit helper. A user's on-chain deposit moves USDe into the Treasury Safe and emits DepositInitiated in the same transaction. One callback handles that helper event, creates the deposit record, and later mints the user's corresponding USH. Separately, a revenue workflow watches USDe Transfer events into Treasury and can mint USH to the protocol's Accrual Vault for genuine revenue. A deposit must be excluded from revenue because its USDe already backs the user's deposit mint.

    The revenue workflow confirms that the USDe transfer occurred on-chain, but it decides whether the transfer is a deposit by looking for an existing deposit row in the database. It does not use the DepositInitiated event in the confirmed transaction receipt for this classification. The two callbacks are independent, so the transfer can be processed before the callback that creates the deposit row. In that order, a qualifying deposit from an unrecognized revenue sender can enter the uncategorized-revenue path and trigger an additional USH mint once the configured aggregation threshold is met. The later deposit callback still creates the record and allows the ordinary deposit mint.

    For example, Mallory deposits 100 USDe through the helper. Its transaction both transfers 100 USDe to Treasury and emits DepositInitiated. Bob represents Manifest's automated callback processors: the revenue processor sees the confirmed transfer first, finds no deposit row yet, and treats the 100 USDe as uncategorized revenue. It can mint corresponding USH to the Accrual Vault. The deposit processor then records Mallory's deposit, and the normal workflow mints Mallory's USH, less any applicable fees. Mallory does not directly receive the extra vault mint. Alice, an existing USH holder, faces dilution because the protocol issued USH through two paths against one Treasury arrival.

    Impact and limits: Yield-first processing of a qualifying hub-chain deposit can create an unbacked revenue mint in addition to the legitimate deposit mint. The attacker need not forge a webhook, but control over callback ordering was not established.

    Recommendation

    When validating a USDe Transfer into Treasury for revenue, inspect its confirmed transaction receipt for DepositInitiated or WithdrawInitiated events from configured Manifest helpers. If either event is present, exclude that transfer from revenue minting even if the deposit or withdrawal database row has not been created yet; if the receipt cannot be checked, do not mint it as revenue. Keep the existing database check as a second safeguard and test both callback orders so a helper deposit cannot be classified as revenue before its own record arrives.

    Resolution

    Manifest Team: Fixed as recommended. Revenue validation now inspects the confirmed transaction receipt itself. Any USDe transfer into Treasury whose transaction also emits a deposit-helper DepositInitiated event (hub or spoke) or a hub WithdrawInitiated event is rejected as revenue, whichever callback runs first. The existing database deduplication stays as a second check. A deposit that reaches the revenue workflow before its deposit record exists can therefore no longer be minted as uncategorized revenue. Regression tests reproduce the yield-first ordering for a transfer with no deposit row yet and confirm it is now declined.

  14. M-12 Medium One USDe transfer can support multiple revenue mints Business logic errors Resolved

    Description

    Manifest lets an authenticated internal operator record a confirmed USDe transfer as revenue through POST /internal/ledger/post-revenue. The API reads the transfer receipt, records the earning, and requests a matching USH mint into the protocol's Accrual Vault. A particular transfer should be recognized only once, even if an operator changes its revenue category or the capitalization of its transaction hash. Manual entries without a transaction hash are a separate, intended path for off-chain revenue.

    The on-chain path checks that the transaction is confirmed and contains a USDe Transfer event, but it uses the first such event without checking its sender or recipient. More importantly, its duplicate key includes the operator-selected revenue category and the hash exactly as supplied. The automated yield path uses a different key. Therefore, a second request can create a new ledger earning and request another mint against the same transfer, even though the underlying USDe did not arrive twice.

    For example, Alice records one confirmed USDe transfer as revenue. Mallory, who already has internal operator access and MFA, submits the same transaction with another permitted category or with different capitalization in the hash. Bob, Manifest's ledger service, sees a different duplicate key and processes it as another earning. This does not give Mallory new access to the mint function: operators also have an intended manual revenue path. The security issue is that the receipt-based path fails to enforce its one-transfer-one-earning rule, allowing duplicate accounting and potentially duplicate USH issuance into the Accrual Vault. If those mints execute, USH supply rises without a corresponding second asset receipt and the backing of other holders is weakened.

    Recommendation

    For revenue backed by an on-chain transfer, identify the specific USDe Transfer log that actually delivers funds to the expected protocol address and use its chain, token, normalized transaction hash, and log index as a unique persisted receipt identity. Apply that identity across the operator and automated yield paths before recording revenue or requesting a mint, so changing the revenue category or hash capitalization cannot reuse the same receipt; on a retry, return or reconcile the existing entry. Keep the existing manual path for genuine off-chain revenue separate from this receipt check.

    Resolution

    Manifest Team: Fixed as recommended. On-chain revenue now rests on the specific USDe Transfer log that delivers funds to a Treasury address. Each such log is claimed once in a new receipt table, keyed on chain, token, lowercased transaction hash and log index, and bound to a single ledger entry. The automated yield path claims the same identity, so both paths share one rule. Re-posting a recognized transfer under a different category returns 409, a re-cased hash returns the existing entry, and transfers recognized before this change are refused through the existing receipt and ledger rows. Manual off-chain revenue without a transaction hash is unchanged. Regression tests reproduce the second-category and re-cased-hash duplicates and confirm both are now refused.

  15. M-13 Medium Concurrent cross-date reconciliations can double-book operation gas Business logic errors Resolved

    Description

    Manifest sends on-chain operations from its automation wallet, which pays network gas in ETH or AVAX. POST /internal/operations/start-reconciliation converts each successful operation's gas cost into a protocol expense and links that expense to the operation. One paid transaction should create one live gas expense, regardless of how many reconciliation dates include it. The separate wallet-refill process may happen later; until it settles, the operation can remain visible to another reconciliation.

    Before booking an expense, the service checks whether the operation already has a live operation_fee link. It protects that check and the write with a database advisory lock keyed by the reconciliation ID. Different business dates create different reconciliation IDs and therefore take different locks. If two such runs overlap, both can check the same operation before either link commits, then each create and link its own expense. Their date-specific ledger deduplication keys do not collide, and the detail table does not reject both links.

    For example, Alice starts an authorized reconciliation for October 13 while Mallory, an authenticated operator with MFA, starts one for October 14 using the supported business-date override. A successful automation-wallet transaction paid the equivalent of $20 in gas, exceeds the configured booking minimum, and has not yet been linked to a gas expense. Both runs see it as unbooked and each records a $20 expense. Bob, reviewing the accounts, now sees $40 reserved for gas that Manifest paid only once. Mallory does not receive those funds; the immediate security impact is incorrect financial state that reduces the Accrual balance treated as available and can distort later expense or distribution decisions. The duplicate entry does not itself cause a second on-chain refill, transfer, or burn.

    Recommendation

    Use one date-independent lock for the gas-expense booking section of reconciliation, while keeping the existing transaction around the lock, live-link check, expense insert, and operation-link insert. After acquiring that lock, recheck which operation transactions already have a live operation_fee link and book only the remainder; keep the existing date-specific ledger key for retries of the same run. Add a concurrent test with two business dates to confirm that one paid operation produces only one live expense.

    Resolution

    Manifest Team: Fixed. Gas-expense booking was serialized by a lock keyed to the reconciliation, so runs for different business dates held different locks and could each expense the same operation. Booking now takes one lock that does not depend on the business date, and after acquiring it the transaction re-reads which operations already carry a live gas-expense link and expenses only the rest. A concurrent integration test runs two reconciliations for different business dates against one paid operation and confirms a single live expense entry and a single link for that operation.

  16. M-14 Medium Partial-claim recovery falsely completes unrelated and unpaid ledger obligations Business logic errors Resolved

    Description

    Manifest records protocol revenue, staker yield, expenses, and pending-loss absorption in ledger rows. A row in DISTRIBUTING tracks both its total amount and the amount actually settled; it should become COMPLETED only when its own delivery or burn has been recorded. The daily distribution has a separate claim that tracks two possible USH burns, one from the Accrual Vault and one from sUSH backing. If a burn fails or remains pending, POST /internal/operations/recover-partial-claims retries that side. Completing the claim's burns does not establish that every older ledger row has been paid.

    When both burn sides are executed or legitimately skipped, recovery marks the claim complete and then calls completeDistributingThrough(claimDate). That method updates every DISTRIBUTING ledger row dated on or before the claim date, regardless of source type, claim membership, prior settlement progress, or operation evidence. It sets distributed_amount = amount and status COMPLETED. This includes partially delivered staker yield, unpaid expenses, review-held revenue, and voided pending-loss absorption rows. Later processing that selects open rows can omit these obligations because the database now reports them as fully settled.

    For example, Alice holds sUSH and a protocol yield row of 100 USH is intended to fund staking rewards in tranches. Only 20 USH has been credited to that row so far; 80 remains open. Separately, Bob's daily distribution claim is partial because one of its two burn operations failed. Mallory has internal operator access and MFA and invokes the recovery route while this partial claim and the open yield row exist; the scheduled recovery could also run without Mallory. Once the remaining burn is recorded as done, the recovery sweep changes the unrelated yield row to COMPLETED with 100 USH recorded as distributed, although only 20 was evidenced. Mallory receives no funds directly, but Manifest's ledger can stop presenting the remaining 80 as due. The same broad update can hide unpaid expense or loss-absorption obligations and can interfere with the supported reopening of an unburned pending loss.

    Open yield, expenses, review-held receipts, and pending losses may be falsely closed, hiding outstanding amounts and preventing a loss from being reopened. This requires a recoverable partial claim and older open ledger rows; it does not give the caller a direct withdrawal or a way to force the original burn failure.

    Recommendation

    Remove the date-wide completeDistributingThrough update from partial-claim recovery. When both burn sides are confirmed or legitimately skipped, mark only that claim complete; leave each ledger row's status and distributed_amount unchanged until its own existing operation or distribution-detail evidence supports settlement. If recovery encounters ambiguous bookkeeping, use the saved claim plan and operation records for operator reconciliation rather than marking unrelated rows paid, and test recovery with older unpaid rows present.

    Resolution

    Manifest Team: Fixed. Partial-claim recovery no longer runs the date-wide update, and the function that performed it has been removed. Recovery now marks only the recovered claim complete. Where a retried burn has executed, recovery records that burn once, against the ledger entries in the claim's own stored funding plan, and no other entry's status or distributed amount changes. If a planned entry is missing, voided or already settled, or the claim has no stored plan, recovery writes nothing and leaves the claim partial for reconciliation. Tests run recovery alongside an older partly settled entry, a voided entry, an excluded entry and an unplanned unpaid expense, and confirm all four are unchanged.

  17. M-15 Medium Direct deposit-mint gas omitted from reimbursement accounting Business logic errors Resolved

    Description

    For a valid deposit, Manifest automation first mints the user's and protocol's USH to a deposit helper, then sends a separate completeDeposit transaction that delivers those tokens. The automation wallet pays network gas for both transactions. The deposit quote estimates both costs when calculating the user's USH, and the completed deposit should record both actual costs so the automation expense is reimbursed and the protocol fee is measured correctly.

    DepositService.completeDeposit derives mintCost only from the receipt of the second transaction. It does not add the direct mint transaction's paid gas. The resulting gas reimbursement obligation is too small, while the deposit-fee ledger entry is too large by the omitted amount. Completing more deposits repeats this accounting error; the direct mint is an ordinary part of each eligible flow.

    For example, Mallory makes a valid deposit. The direct mint costs the equivalent of 2 USDe in gas and completeDeposit costs 1. Bob's completion worker records 1 as the mint-stage cost instead of 3, so Alice's finance view overstates protocol fee revenue and leaves the automation wallet under-reimbursed by 2. Mallory does not receive an additional USH mint from this issue.

    Impact: Repeated eligible deposits can accumulate unreimbursed bot gas and overstate distributable fee revenue. If the shortfall becomes large enough, the automation wallet may lack native gas for later customer operations. The depositor still bears the quoted cost estimate, so this is a protocol accounting and operational-availability issue without providing a cheap way to extract USH.

    Recommendation

    Record the direct-mint transaction hash alongside the completion hash and, when completing the deposit, calculate actual gas from both confirmed receipts in the same unit before writing mintCost, the fee entry, and the reimbursement obligation. If either receipt is temporarily unavailable, keep the accounting step pending for retry instead of silently treating its cost as zero; reconcile already completed deposits once the hashes are available.

    Resolution

    Manifest Team: Fixed. The direct-mint transaction hash is stored on the deposit alongside the completion hash, and the recorded mint cost is the gas paid on both confirmed receipts. Before the mint is sent, the deposit now records whether it is a direct mint or an Operations Safe proposal. If the hash then cannot be saved, the write is retried and repeated at later steps. If it is still not recorded, completion books nothing and is held until an operator records the hash, instead of pricing the mint at zero. Retries now treat the mint and the completion as separate transactions. A recorded mint is never sent again or overwritten, a confirmed mint proceeds to completion only, and a reverted mint fails the deposit for review instead of minting again. Regression tests cover the two-receipt cost, a lost hash holding completion, the operator repair and each retry case.

  18. M-16 Medium Gas reimbursement settlement can repeat completed on-chain legs Business logic errors Resolved

    Description

    Manifest records the gas it paid while processing deposits and withdrawals as pending reimbursement obligations. Daily distribution settles a selected batch in two on-chain steps: burn matching protocol-owned USH from the Accrual Vault, then transfer matching USDe from Treasury to the Expense Holding Safe. Each obligation should drive each leg once and be marked settled only after both legs have been confirmed.

    The service selects pending rows before either transaction, but it does not reserve them for one settlement attempt or persist the completed leg as a retry guard. It marks rows settled only after both transactions and the final database update succeed. If the burn executes but the transfer fails or its outcome is uncertain, a retry selects the same rows and burns again. Two authorized runs that select the batch concurrently can also submit the same burn and transfer twice. A fallback Safe proposal can remain executable without being stored in the settlement state.

    For example, Alice's completed deposit leaves a 5-USDe gas reimbursement obligation. Bob's daily run burns 5 USH, then its Treasury transfer fails. Mallory has credentials authorized to start an overlapping or retry distribution run; that run still sees Alice's obligation as pending and can burn another 5 USH. If both runs overlap before settlement is recorded, both on-chain legs can repeat when the vault, Treasury, module permissions, and per-call limits permit them.

    Impact: The same batch can consume protocol USH or move Treasury USDe more than once while its ledger rows record only one settlement. The destination is a protocol expenses wallet, and no direct payout to a depositor or public ability to force the failure is established. The attack requires an authorized workflow invoker or a natural partial-failure retry and enough permitted on-chain balances, so the risk remains medium rather than an unrestricted fund drain or double mint.

    Recommendation

    For this gas-settlement path, prevent an untracked Safe proposal from remaining executable after a reported failure, and durably reserve the selected obligations for one attempt before submitting either leg. Keep that reservation when execution is uncertain; check the burn and transfer transaction or proposal evidence and retry only the missing leg. Mark the obligations settled after both are confirmed, and cover concurrent runs and partial-failure retries in tests.

    Resolution

    Manifest Team: Resolved after the reviewed commit. The daily settlement path Guardian describes (operationsService.settleGasReimbursements, which ran the burn and the transfer as separate unguarded legs) was removed on 2026-10-02 in 290f6440c and 0d6abc471. Gas reimbursement is now settled only at refill time by a single service that already applies the recommended controls. Before either leg runs, it reserves the claimed ledger rows in one operation record, and a unique index allows only one open payout per chain, so a concurrent run is refused. The burn and transfer intents are recorded before broadcast. On resume, each leg is resolved from its queue record, then its on-chain Transfer log, then a lease, so only a leg that is actually missing is retried. Neither leg can fall back to an untracked Safe proposal, and rows are marked settled only after the burn confirms. Existing tests cover concurrent runners, a lost burn found by its log, a queued leg past its lease and a reverted leg.

  19. M-17 Medium Deposit retry can replace an unresolved Treasury swap Business logic errors Resolved

    Description

    A valid USDC deposit must be converted to USDe from Treasury before Manifest finishes the deposit and mints the user's USH. The conversion is tracked by an asynchronous swap job and may execute directly or remain as a Safe proposal awaiting signatures. POST /internal/deposits/{depositId}/retry is intended to resume a deposit whose earlier workflow stopped, while preserving the outcome of any conversion that can still settle.

    When the old workflow is terminal, the retry marks its non-terminal jobs failed, clears the deposit's job references, and starts a new workflow. The swap-submission step can then create another job because the latest one is marked failed. This check does not establish that an earlier on-chain swap did not complete before its hash was saved, or that an earlier Safe proposal is no longer signable. A late callback for the failed job can be ignored, leaving the first conversion outside the new deposit state.

    For example, Mallory makes a normal USDC deposit and its first Treasury swap is proposed to Safe owners. The workflow times out; Alice, an authorized operator, retries the deposit. Bob's service marks the old job failed and prepares another swap. If Safe owners later execute the first proposal and the replacement also executes, Treasury performs two conversions for one deposit. Mallory cannot trigger the internal retry merely by depositing.

    Impact: A duplicate or unrecorded conversion of pooled Treasury funds can cause slippage, gas costs, and deposit or accounting recovery work. This does not by itself prove that Mallory receives two USH mints or can steal the second conversion's output. The dangerous window requires a still-executable or already-settled first conversion plus an authorized retry before its outcome is reconciled.

    Recommendation

    Before a retry replaces a deposit's swap job, check the previous transaction and any Safe proposal associated with that job. If the first conversion is confirmed, pending, or still signable, keep the deposit unresolved and reconcile that outcome; create a replacement only once it is clear the earlier conversion cannot execute or has been safely accounted for. Apply the same rule after a workflow timeout or a failed database write.

    Resolution

    Manifest Team: Fixed. The remaining gap was a Safe swap proposal whose hash and nonce were saved only after posting, so a failed write left a signable proposal untracked. The proposal's identity is now recorded on the deposit before it is posted. A retry, replacement or redelivered job first settles it from the Safe's on-chain events and finalized nonce: an executed proposal becomes the deposit's conversion and the deposit completes without converting again; otherwise the proposal counts as dead only once the finalized nonce has passed it unexecuted, or the Transaction Service refused it and holds no record, and the retry is refused until then. The deposit's own proposals no longer count as proof at a tracked nonce. An untracked executed deposit swap raises a critical alert. Integration tests cover each case.

  20. M-18 Medium Unbounded receipt-history sweeps defeat USDe sender quarantine DoS Resolved

    Description

    Manifest records confirmed USDe transfers into Treasury from senders it does not recognize. It places a sender's receipts in quarantine after too many arrive within a rolling window, so unusual traffic can be reviewed without consuming unbounded intake work. An external USDe holder can create genuine small transfers that reach this intake through the webhook path.

    For every new receipt, the service loads and parses all receipts for that sender in the window. Once the limit is crossed, it rewrites older non-minted rows again, including rows already quarantined. The sender lock serializes this work but does not cap it or skip the repeated history scan. Each additional transfer therefore causes more database work instead of a cheap held-state check.

    For example, Mallory sends many distinct small USDe transfers from one wallet. After the wallet is quarantined, Bob's worker still reads the growing history and rewrites held rows when each new transfer arrives. Alice's unrelated receipt can wait behind the shared database and webhook workload. Mallory must fund the transfers and pay network fees, but does not need internal API credentials.

    Impact: Sustained valid transfers can amplify reads and writes on shared infrastructure and delay other revenue intake. The sender's paid on-chain costs and the need for sustained volume limit the practical attack; a complete production outage or fund theft has not been established. The security issue is that the quarantine does not bound the work it was meant to contain.

    Recommendation

    Keep a durable per-sender quarantine state under the existing sender lock. Once a sender is held, record each new verified receipt as held without reloading or rewriting the sender's prior receipts; before the threshold, read at most the configured limit plus one recent indexed rows. Update existing pending rows only on the first transition into quarantine, and preserve an audit record for every new transfer.

    Resolution

    Manifest Team: Fixed in the API. An unrecognized sender's USDe receipt now costs a bounded amount of database work, however many receipts that sender has already sent. The intake reads at most the per-sender limit plus one of the sender's most recent rows in the window, through a new partial index, and once the sender is quarantined it writes only the new receipt's row. Rows already quarantined, minting or minted are no longer rewritten. Only the first transition into quarantine updates the sender's other pending rows, and every receipt still gets its own audit row. Once a sender is held, the hold persists until an operator releases it (see M-40), so it no longer lapses when the window falls back under the limit. Regression tests pin the bounded read, show that held rows are not rewritten, and cover the first-transition sweep.

  21. M-19 Medium Final bot transaction gas and fee caps are not enforced Business logic errors Resolved

    Description

    Manifest uses an automation wallet to sign transactions that complete eligible customer deposits. Operators configure limits for gas units and gas price so an over-budget transaction should stop or use the supported Safe proposal path. The deposit quote and preflight estimate costs earlier, but final fees and gas limits are selected again when the transaction is actually signed.

    At that final signing step, module execution adds a buffer to a fresh gas estimate and reads current fee values without rechecking the configured caps. Direct execution also uses newly fetched fees without a final price-cap check. A transaction that passed the earlier estimate can therefore be broadcast with a gas limit or maximum fee above policy. The actual gas paid may differ from the limit, but an above-cap fee creates a real spending exposure if the transaction executes.

    For example, Mallory makes a valid deposit while network fees rise after Bob's preflight. Alice configured a 200-gwei maximum, but the final signer obtains a 250-gwei fee and broadcasts instead of stopping. A buffered module estimate can similarly take a previously acceptable gas limit above its configured ceiling. Mallory cannot cheaply choose the network fee, but the ordinary time gap between preflight and signing creates the window.

    Impact: The protocol's automation wallet can pay more gas than its policy permits for a deposit whose USH output was already priced. That reduces net fee revenue and can consume native gas needed for later customer operations. This is a conditional cost and availability issue, not a double mint or direct user payout; no reliable low-cost way for Mallory to force a fee spike is established.

    Recommendation

    At the final signing boundary, compare the exact buffered gas limit and chosen maximum fee against maxGasPerOperation and maxGasPriceGwei for both module and direct execution. Refuse an over-cap broadcast or use the existing Safe proposal fallback, and ensure the maximum possible fee fits the wallet's available native balance. Keep the earlier quote and preflight checks, but do not rely on their older estimates as the final policy decision.

    Resolution

    Manifest Team: Fixed. The final transaction-sending step now checks the exact gas limit and maximum fee about to be signed against the configured per-operation gas limit and maximum gas price, in both module and direct execution, and also refuses when the worst-case fee exceeds the automation wallet's native balance. The fee compared is the maximum fee per gas the transaction authorizes, not the current market price. A refusal broadcasts nothing; callers that permit the Safe proposal fallback receive a proposal, and callers that disallow it receive a failed execution. Tests cover values within and exactly at the caps, an over-cap fee, gas limit or legacy gas price, insufficient balance, and routing to the proposal path.

  22. M-20 Medium Unauthenticated APY requests grow an unbounded warm-instance cache DoS Resolved

    Description

    POST /public/evolution/apy lets website visitors request yield estimates for specified phases. To avoid repeating a calculation for the same request, Manifest stores successful results in an in-memory cache on each warm API instance. A cache with a 60-second expiry should also remove old entries or enforce a capacity limit so public requests cannot keep growing process memory.

    The cache key includes each caller-supplied phase ID. An anonymous caller can send valid requests with a new ID each time. Expired entries are checked only when their exact key is requested again; a stream of unique IDs never revisits those keys. The Map has no size limit, so its keys and responses accumulate for the lifetime of the warm instance, and every miss also invokes the underlying calculation.

    For example, Mallory sends many valid APY requests with distinct phase IDs. Bob's API instance retains each result even after its 60-second expiry has passed. If that instance runs out of memory, an unrelated request from Alice can fail or be interrupted. Mallory needs no account or on-chain funds, but must sustain enough successful requests against the same finite set of warm instances; API Gateway throttling and instance replacement limit the effect.

    Impact: A public caller can grow memory and calculation work until an affected API instance fails, then continue causing disruption with repeated traffic. This does not establish a permanent or guaranteed fleet-wide outage, so the supported severity remains medium.

    Recommendation

    Give the APY cache a fixed entry limit and evict expired entries during normal cache activity rather than waiting for the same key to return. Cap the length of caller-supplied phase IDs so each entry is also bounded in size; a targeted request-rate or cost limit can supplement these bounds. Preserve caching for repeated legitimate phase configurations.

    Resolution

    Manifest Team: Fixed. The APY response cache now holds at most 256 entries and evicts the least recently used entry when full. Every cache miss also removes all expired entries, so an expired entry no longer persists until the same request arrives again. Phase IDs longer than 64 characters are rejected with a 422 validation error. Identical requests are still served from the cache for 60 seconds. Tests cover a stream of unique requests never exceeding the bound, least-recently-used eviction, removal of expired entries on a miss for a different key, recomputation after expiry, and acceptance of a 64-character phase ID with rejection of a longer one.

  23. M-21 Medium UNKNOWN classification can satisfy the period-close gate Business logic errors Resolved

    Description

    Manifest operators classify wallet transactions before generating an accounting evidence pack for a period. Each transaction needs a usable accounting and tax treatment; items still classified as UNKNOWN should remain unresolved and stop the period from receiving a passing attestation. POST /internal/wallet-activity/{id}/classify records an operator's choice, and the period-close process later checks whether unresolved items remain.

    The classify route accepts UNKNOWN, which leaves the underlying GAAP and tax treatments as pending_classification, but marks the transaction group as operator-classified. Period close counts groups still marked NEEDS_REVIEW and does not independently reject pending treatment in the exported rows. If its other gates pass, a group with UNKNOWN can therefore appear in a stored ATTESTED pack despite lacking a usable statutory classification. The pending treatment remains visible in the CSV; the false assurance is the passing attestation.

    For example, Alice cannot determine how a wallet movement should be classified and selects UNKNOWN. Bob's close process sees an operator-classified group and passes its review-status gate. Mallory, an accountant or reviewer relying on the attestation, receives a pack labelled complete even though that transaction still cannot be folded into GAAP or tax totals.

    Impact: An authorized operator can cause an accounting period to be certified with an unresolved transaction when the other close checks are green. This compromises the integrity of the evidence pack and financial review; it does not move tokens or create an external withdrawal path.

    Recommendation

    Keep UNKNOWN available as an unresolved triage choice, but do not let selecting it mark a group complete for period close. At the authoritative classify write or close check, treat UNKNOWN and any missing or pending_classification GAAP or tax treatment as unresolved; refuse a passing attestation until those in-period rows receive a usable treatment. Apply the check to the rows actually included in the pack.

    Resolution

    Manifest Team: Fixed. A wallet-activity period close now refuses to attest while any group dated in the period, or undated, has a pending treatment: classification UNKNOWN, or a movement with no assigned role, whatever its review status. The count is reported in the attestation and on the export's attestation line, and any nonzero count fails the close and writes no evidence pack. An operator can still select UNKNOWN during triage, but such a group no longer satisfies the close. Tests cover an operator-classified UNKNOWN group with USH-only movements, an undated UNKNOWN group, a classified group with a role-less movement, and an UNKNOWN group in another period, which does not block the close.

  24. M-22 Medium Unbounded shared transaction-queue admission can time out other users' settlements DoS Partially resolved

    Description

    After a confirmed customer USDC deposit, Manifest creates a conversion job and queues the bot-signed transaction. Jobs sharing a signer and chain run serially through a DynamoDB-backed queue, while the deposit workflow waits for its own result for up to 270 seconds. A normal deposit should remain safely pending if queue congestion outlasts that wait, because the queued transaction can still execute later.

    The queue accepts a fresh pending item for each eligible deposit without bounding outstanding work for that signer and chain. A funded, KYC-approved depositor can create distinct valid deposits that enter this queue through authenticated blockchain callbacks. Enough earlier jobs can place another customer's job beyond the workflow's wait window. When its poll times out, the waiting swap can fail even though the queued transaction remains pending and may execute later.

    For example, Mallory makes multiple valid same-chain USDC deposits. Alice's unrelated deposit then enters the same signer queue behind them. Bob's worker waits 270 seconds for Alice's conversion, times out, and marks its workflow failed; the queued conversion can still execute afterward. Alice's on-chain deposit and the late conversion then require reconciliation before a safe retry. Mallory must pass KYC and fund the deposits, and cannot directly take Alice's funds.

    Impact: One customer's valid traffic can delay other customers' deposits and create uncertain settlement states on the shared queue. Permanent fund loss or an inexpensive unlimited denial of service is not established; capital, fees, KYC, and queue timing constrain the attacker.

    Recommendation

    If a queued transaction has not executed when the workflow's result poll expires, leave its conversion obligation unresolved and retriable rather than declaring the underlying transaction failed. Before submitting any replacement, reconcile the original queue item and any later execution; alert when queue age approaches the 270-second wait limit. Test a customer job that executes after its caller has timed out.

    Resolution

    Manifest Team: Partially fixed. A conversion whose 270-second result poll expires is no longer recorded as failed. The deposit stays pending and the job is retried; the retry first waits on and settles the original queue item, from queue and chain evidence, before anything new is sent. Deposit conversions are now admitted to a signer and chain's queue only while fewer than five items are open, enforced under a lock, and a refused deposit is held and retried. Alarms fire when an item waits more than 180 seconds, a poll times out or admission is refused. Withdrawal conversions and system transactions remain unbounded. Tests cover a conversion that executes after its caller timed out, and admission at the limit.

    Guardian: The client reports that timed-out deposit conversions now stay pending, are reconciled before retry, and have bounded queue admission. Withdrawal conversions and system transactions still enter the shared signer queue without an admission bound, so that congestion path remains open.

  25. M-23 Medium Concurrent distribution bookkeeping can corrupt ledger progress and detail provenance Business logic errors Resolved

    Description

    After an on-chain distribution executes, Manifest links its transfers and burns to ledger detail rows and updates how much of each obligation was settled. PUT /internal/operations/record-distribution and recovery flows may repeat that bookkeeping after an uncertain failure. A retry should reverse each previous detail at most once and should never leave a credited detail pointing to an operation record that was deleted.

    The reversal path reads an unlocked snapshot of matching details and subtracts their amounts before deleting them. Two overlapping retries can read the same detail and both subtract it even though only one deletion actually consumes it. In another interleaving, a writer can add a credited detail after a compensation pass takes its snapshot, and the compensation then deletes the parent operation without removing that newer detail. Database transactions around individual calls do not serialize these competing operations on a shared parent.

    For example, Alice and Bob start authorized bookkeeping retries for the same distribution operation while Mallory is a staker whose payout depends on the ledger's remaining balance. Both retries read one 5-USH detail before either consumes it and each reverses 5. The ledger can now show 5 USH less settled than its surviving detail records support; a later distribution decision may be sized from that false progress. The separate writer-versus-compensation race can leave a credited detail with no live operation behind it.

    Impact: Overlapping authorized calls can corrupt settlement progress or its proof, potentially making later distribution and closeout decisions too large or too small. No end-to-end second payout or attacker-controlled double mint was established, and exploiting the race requires access to internal bookkeeping or recovery calls and a suitable in-flight distribution. These limits support medium severity.

    Recommendation

    Serialize detail linking, reversal, and parent deletion for the same distribution operation within a database transaction, using the parent operation as the common lock. Reverse progress only for detail rows that the transaction actually consumes, and refuse parent deletion while credited details remain. Add concurrent retry and compensation tests for the two observed interleavings.

    Resolution

    Manifest Team: Fixed. Distribution bookkeeping is now serialized under one database lock held for the whole recording call, covering detail linking, the retry's detail reversal and the compensating operation deletion, which run in separate transactions. The lock is shared across business dates; a second recorder waits up to 20 seconds, otherwise fails and is retried. The reversal now deletes the detail rows first and reduces each ledger row's distributed progress only by the amounts of the rows it actually deleted, using a relative update. Deleting an operation record is refused while any credited detail still references it. Tests cover overlapping reversals, overlapping retries, a compensating run against a concurrent retry, and the lock wait and timeout.

  26. M-24 Medium Period close can attest incomplete activity without verified chain coverage Business logic errors Acknowledged

    Description

    Finance operators use wallet-activity exports to close an accounting month and store an attested evidence pack. A passing close should prove that each configured chain has passed the UTC cutoff, its pinned in-period block is sufficiently final, and every required wallet feed has swept through that block. The current close can accept an RPC head that still predates the cutoff or pin a boundary block that ingestion is withholding for confirmations. It also treats failed or stale sweep health as metadata rather than a blocking condition. A stored balance snapshot can still match an incomplete set of captured ERC-20 movements, while native transfers are outside that balance check.

    For example, Mallory sends a token to a monitored company wallet near month end. Bob starts the export while the RPC view is behind, the boundary block is not yet final, or a required feed has failed to sweep it. Alice receives a pack labelled ATTESTED even though Mallory's transfer is absent from its CSV.

    The result is a durable, certified accounting record that can omit real in-period movements and mislead finance review. Mallory can choose when to send a transfer but has no established control over the provider failure or operator close; the finding does not imply a change to on-chain custody. The broader failed-sweep case supports medium severity because the same coverage gap can persist beyond the short confirmation window.

    Recommendation

    Before attesting a period, require the configured RPC to show a block after the UTC cutoff, pin only sufficiently final in-period blocks, and confirm successful checkpoints for every required current-roster feed through its chain pin. Require balance evidence refreshed after those completed sweeps where the balance gate is used. If any provider view, feed, or balance evidence is incomplete, leave the close unattested and show the missing coverage to the operator.

    Resolution

    Manifest Team: Acknowledged; confirmed for the reviewed version. Since then, the close fails when any required wallet feed on a pinned chain has not swept through that chain's period-end block, which also covers a boundary block still inside the confirmation window and a failed or held sweep. The evidence pack lists native transfers as outside the balance check. One gap remains: the close does not confirm that the block provider has observed a block after the UTC cutoff before pinning. We will require that evidence for each chain and leave the close unattested, naming the missing coverage, when it is absent.

  27. M-25 Medium Noncanonical withdrawal IDs permit duplicate Treasury funding workflows Business logic errors Resolved

    Description

    The API records an on-chain withdrawal and starts a workflow that verifies it, calculates its payout, and funds a withdrawal helper from Treasury. Internal operators and event handlers refer to the same withdrawal by its bytes32 ID, so valid spellings of that ID must resolve to one record and one funding workflow. The request schema accepts mixed-case hex, however, and the service uses that text unchanged for its database lookup, lock, and Step Functions execution name. Distinct case variants become separate rows. Verification checks that the initiation transaction succeeded but does not bind each row to a unique event, and the transfer stage can fund the helper for each row before the later on-chain processed check.

    For example, Mallory has operator access and submits several upper- and lower-case spellings of one genuine withdrawal ID. Bob's automated workers treat the spellings as separate withdrawals and transfer the calculated amount from Treasury to the helper for each row. Alice's unrelated withdrawal may then face less immediately available Treasury liquidity.

    An operator can repeatedly move Treasury liquidity into the protocol-controlled helper for one genuine withdrawal, subject to the available balance and module controls. This can disrupt later withdrawals and require reconciliation, but the duplicate funding does not establish a second payout to Mallory or direct theft. The repeatability and direct Treasury movement justify medium severity despite the operator-access prerequisite.

    Recommendation

    Validate withdrawal IDs as canonical bytes32 values at the service boundary, normalize valid hex to lowercase before locking, lookup, insertion, or execution naming, and use that normalized value in event-handler lookups. Enforce uniqueness of the normalized ID in the database after resolving existing case variants, and refuse to fund a canonical withdrawal ID that has already been funded.

    Resolution

    Manifest Team: Fixed. Every spelling of a withdrawal's bytes32 ID now resolves to one record and one funding workflow. The ID is validated as a 0x-prefixed bytes32 and lowercased before the lookup, the advisory lock, the insert and the workflow execution name, so a mixed-case resubmission returns the existing withdrawal instead of creating a second one, and a malformed ID is rejected with 400. Swap and transfer job matching, retries and the withdrawal summary use the stored lowercase ID, and a database check constraint keeps every stored ID lowercase, so the existing unique index allows one row per withdrawal. Regression tests cover a mixed-case resubmission, which created a second row and workflow before the fix.

  28. M-26 Medium Referral skip permits repeated attribution of historical points Business logic errors Resolved

    Description

    Wallet users apply another user's referral code so that user receives a bonus on their token-holding and liquidity points. A referral should be attributed once; skipping should not erase an established attribution. On the wallet-authenticated referral route, a user who has already applied a code can submit ZZZZZ, which unconditionally clears referredBy. They can then apply a different code. Historical back-calculation credits the new referrer, while recipient-keyed reward rows leave the first referrer's bonuses intact. The public leaderboard and total points supply count both sets, allowing one user's historical activity to inflate multiple wallets' points. No on-chain payout from these points was established.

    For example, Alice owns referral code A and has already earned a bonus from Mallory's historical activity. Mallory submits the special skip value, clearing the relationship, then applies Bob's code B. Bob receives a back-calculated bonus while Alice's prior bonus remains in the rewards table. Repeating the change can inflate multiple accounts' points from the same activity; no token payout from those points was demonstrated.

    A wallet user can repeat this sequence to award multiple referrers bonus points for the same historical activity, inflating private rewards balances, the public leaderboard, and total points supply. The user controls the repetition through the in-scope referral route; no token redemption or on-chain payout from those points is established. Because this is repeatable reward-accounting manipulation, the severity is medium.

    Recommendation

    Accept the skip marker only before a real referrer has been recorded, and make referral assignment a one-time conditional update. If a legitimate reassignment is needed, reverse the old bonus rows before attributing historical activity to the new referrer; reconcile bonus rows already duplicated by earlier changes.

    Resolution

    Manifest Team: Fixed. The skip value is now accepted only while no referrer is recorded. Both the skip and a referral code are written by a single conditional update that applies only when the user has no referrer, so a second attempt, including a concurrent one, is rejected with a 409 and the original referrer is kept. Historical bonuses are calculated only after that update succeeds. A first-time skip, and applying a code after skipping, still work. A review of stored records found no referral bonus records duplicated by a referrer change, so no correction was required. Tests cover skip after a referrer is set, skip followed by a second code, first-time skip, a code after skipping, and two concurrent codes.

  29. M-27 Medium External sender gas is attributed as a company ETH disposal Business logic errors Acknowledged

    Description

    The wallet-activity ledger tracks ETH received by company wallets and the ETH those wallets spend on transaction gas. Operators use its tax lots, expense figures, and discrepancies to review and close reporting periods. Normally, an outside account sending ETH to the company executor creates a company receipt, but the outside sender pays its own gas. The classifier correctly recognizes the receipt as a gas refill, then incorrectly attributes the sender's transaction fee to that company group: its company-payer check covers only transactions without legs. The lot rebuild treats the outside address as a company ETH-disposal wallet, records a shortfall because it has no company lot there, and books the fee to the group. An open discrepancy can prevent a clean close until corrected. This requires an enabled wallet-activity deployment; the feature defaults off.

    For example, Mallory sends ETH from her own wallet to a monitored company executor and pays the transaction gas herself. Bob's classifier correctly records the company receipt but also attaches Mallory's gas fee to it. Alice's tax-lot rebuild then reports a company disposal from Mallory's address.

    Impact: On a deployment with wallet activity enabled and a monitored executor, an outside sender can make the company ledger include that sender's fee and record an open ETH-lot discrepancy, impairing reporting integrity and potentially blocking a clean close for a period in which the discrepancy is detected until an operator corrects and rebuilds it.

    Recommendation

    Enforce a chain- and transaction-time company fee-payer predicate before any gas attribution, including first attribution, reattribution, and operator regrouping. Apply the same predicate when building ETH gas payments and group expense figures so existing bad attributions cannot remain effective. Clear historical third-party gas attributions and rebuild amounts, lots, and discrepancies. Keep external ETH receipts as valid acquisitions and preserve genuine company-initiated E2 swaps.

    Resolution

    Manifest Team: Acknowledged; confirmed for the reviewed version. Current code applies the payer check to transactions with token legs as well, so gas on a transaction sent by a non-company address is no longer attributed to a company group, existing attributions of that kind are released on the next classification pass unless an operator assigned the group, and the tax-lot rebuild ignores gas paid by a non-company sender. We will apply the same check to operator regrouping, operator-assigned groups and group expense figures, evaluate it per chain at the transaction time, and rebuild affected amounts, lots and discrepancies.

  30. M-28 Medium Historical catch-up snapshot selects the wrong HEI realization date Business logic errors Resolved

    Description

    Daily operations stores historical, current, and forecast portfolio NAV snapshots, then records property-equity (HEI) gains or losses and updates today’s USH supply. An operator can backfill a historical property NAV, and the automated portfolio run should still bind its live supply change to the intended business date. Instead, historical gaps sort first and the service uses the first snapshot for its HEI guard, delta, ledger date, and supply refresh. A historical gain previously included in a later date’s ledger entry can receive a second date-keyed mint; today’s HEI movement is not evaluated in that run. The refresh rejects the historical row, leaving today’s recorded supply stale. This can misstate protocol yield and backing and interrupt later daily operations when an eligible mint executes.

    For example, Alice backfills an old property NAV while Bob's daily run is due for today's HEI change. Bob's service selects the historical gap first and submits a mint for gain already represented later. Mallory, a USH holder, bears the resulting supply or backing mismatch if that mint executes.

    Impact: Where active HEIs, a calculable historical portfolio gap, and successful guarded mint execution coexist, the protocol can record and mint an overlapping historical gain into its accrual vault while failing to realize the current date’s movement in that run. USH holders and protocol accounting bear the resulting yield/backing mismatch; the later backing gate can halt subsequent daily operations, but cannot undo an executed mint.

    Recommendation

    Select and require the snapshot matching getBusinessDate() before any HEI guard or write. Pass that same row—not the snapshot array’s first element—to delta computation, ledger realization, and today’s column-limited supply refresh. Keep historical snapshot persistence separate from live supply changes. Historical HEI catch-up needs an explicit interval-level reconciliation against previously recognized ledger amounts before any mint or burn; reconcile affected ledger entries and chain supply before retrying existing data.

    Resolution

    Manifest Team: Fixed. HEI processing in the daily run now reads only the snapshot for the current business date: the NAV-step guard, the per-property delta, the ledger date, the mint or burn and the post-mint supply refresh all use that row. Historical gap dates filled in the same run are stored and nothing else, and their supply columns are not refreshed. The HEI realization step refuses any snapshot other than the business date before reading or writing the ledger, so a historical catch-up cannot mint or burn. Each run that stores gap dates logs a warning naming them for reconciliation. Tests cover a catch-up run, a negative catch-up burn, supply refresh on today's row only and the historical-row refusal.

  31. M-29 Medium Tranche plans can be seeded before required day-level settlement Business logic errors Resolved

    Description

    Daily distribution first settles reserve transfers and required burns, then schedules staker-yield tranches. The dated claim should prove those funding obligations completed before a plan can release yield. A competing or retried call instead receives a successful NOOP when another call holds an unfinished claim; the planner sees skipped burn states and seeds from that claim's yield snapshot. Separately, a proposal-only or simulation-only reserve result can be successful without transferring reserves, yet the claim's completion test checks only burn states. A tranche plan can therefore begin while required day-level work remains unsettled.

    For example, Alice's day-level distribution claim has unfinished reserve work. Bob starts a competing run that receives a successful NOOP and then seeds a tranche plan from the claim snapshot. Mallory, a staker, may receive scheduled yield before the required reserve obligation settles.

    Impact: With IAM-authorized invocation, a competing unfinished claim or a successful non-executed reserve result can cause an active yield-tranche plan to be created before required day-level obligations settle; later scheduled fires may move the affected day's staker yield while those obligations remain outstanding.

    Recommendation

    Make claim-to-plan transition atomic and conditional on the exact dated claim and durable proof of every required leg. Persist reserve execution state separately from burn states; do not mark a claim complete for a proposal, simulation, failed, or ambiguous reserve transfer. Treat claim conflicts and transient NOOP results as pending, not successful settlement. Recheck the same invariant when a tranche is claimed for firing, and make plan insertion one-winner and idempotent.

    Resolution

    Manifest Team: Fixed. A tranche plan is now created only from a distribution claim that the same run acquired and completed. A run that finds another run's unfinished claim, a claim it left claimed, partial or released, or a claim created by another run while it found nothing to distribute, defers plan creation. A run that does not execute creates no plan. The claim now records the reserve delivery's outcome, and the claim completes only when both burns and the reserve delivery have executed, or had nothing to send. A simulated, failed or pending delivery keeps the claim open, including in recovery. Tests cover each deferral case, every delivery state and claim retention after a submitted delivery.

  32. M-30 Medium Manual ledger idempotency conflates distinct events and permits duplicate expenses Business logic errors Resolved

    Description

    Operators manually record revenue and expenses in a ledger that controls later minting, burns and distribution. Each underlying event should have a stable identity: an exact retry should reuse its row, while a distinct event should be recorded separately or explicitly aggregated. Instead, both manual routes build an idempotency key from source type and day. A second same-source, same-day event can collide with the first and return success without recording or minting its amount. Conversely, the same expense resubmitted under another accepted date or source receives a new key and can become a second distribution obligation. This can understate genuine revenue or expenses and double-count a cost.

    For example, Alice records the first expense for a source on a given day, and Bob records a separate real expense for that source later that day. The API returns Alice's existing row to Bob without recording his amount. Mallory, an MFA-authorized operator, can also repost Alice's cost under another accepted date or source and create a second live obligation. Both outcomes distort the ledger used for later distributions.

    Impact: For MFA-authorized manual posting, a distinct same-source, same-day receipt or expense can be silently omitted while the API returns success; a cost submitted under a different accepted day or source can instead become a second live obligation. The affected amount is the omitted or duplicated synthetic event, with downstream minting and distribution consequences.

    Recommendation

    Require a stable, validated source-event or expense-document identity for manual posts and enforce uniqueness independently of source and date. At the ledger write, bind that identity to canonical amount, chain, source, earning date, metadata and mint mode; return a conflict on mismatched replay. Preserve exact retries, support genuinely distinct same-day events, and handle source types intentionally aggregated by day through an explicit aggregation or adjustment workflow.

    Resolution

    Manifest Team: Fixed. Both manual posting routes now require a caller-supplied external reference, such as an invoice, statement line or receipt number. The idempotency key is derived from that reference alone, shared by both routes and independent of source type and date. Each entry stores the reference and a fingerprint of the request. An exact retry returns the existing entry, a distinct reference records a distinct entry, and a replay of a reference that differs in amount, source type, earning date, metadata or mint mode is refused with a conflict. A post without a reference is rejected. Tests cover two distinct events for the same source and day, each conflicting field, and one reference reused across both routes.

  33. M-31 Medium Tax-lot rebuild can remove an unresolved defect from its period-close gate Business logic errors Resolved

    Description

    Finance operators classify wallet movements and publish monthly evidence packs for accountants. An unresolved tax-lot or basis defect already detected during a month should continue to block that month’s close until corrected. Classification changes, gas-exclusion changes, detachment, and the daily sync rebuild the full tax-lot ledger. A rebuild marks all open rows of several defect types resolved and inserts still-present defects with the rebuild’s current detectedAt. After month-end, the close counts only open rows detected by that month’s end. An operator can therefore obtain a passing, stored pack for a month whose previously detected inventory or basis defect remains unresolved. The live ERC-20 balance invariant does not establish tax-basis correctness.

    For example, Alice sees a September tax-lot shortfall, then Bob reruns the tax-lot rebuild in October. The rebuild resolves the old flag and recreates the same shortfall with an October timestamp. Mallory, reviewing September's evidence pack, sees a passing close even though the defect persists.

    Impact: An authorized operator or routine post-month-end sync can cause an unresolved, previously detected inventory or tax-basis defect to disappear from a completed month’s close gate; an accountant can then receive a stored passing evidence pack for that affected month, provided the other attestation gates are green.

    Recommendation

    Give each discrepancy a stable source identity, affected business date, and immutable first-detection time. Reconcile rebuild results by source, preserving an open obligation while it persists and resolving it only after correction. Scope the close by the affected period, not the timestamp of a replacement row; fail closed for undated open obligations. Until that migration is complete, a conservative close gate should count every unresolved discrepancy rather than silently excluding re-dated ones.

    Resolution

    Manifest Team: Fixed. Each tax-lot discrepancy now records a stable source identity, the movement or transaction that produced it. A rebuild reconciles its findings against open discrepancies by type, wallet, chain, token and that identity: a defect that persists keeps its original row and detection time, a changed magnitude is updated in place, a new defect opens a new row, and an open discrepancy is resolved only when the rebuild no longer reports it. The period close now fails on any open lot shortfall, unbacked relocation or internal-transfer basis discrepancy regardless of detection time. Tests cover a defect persisting across rebuilds, each type detected after the period end, and a resolved discrepancy.

  34. M-32 Medium Wallet-balance invariant compares ERC-20 movements with an unpinned daily snapshot Business logic errors Resolved

    Description

    Finance operators use a wallet-balance invariant before approving a monthly wallet-activity evidence pack. It should compare movements and the wallet's actual ERC-20 balance at the same sufficiently recent finalized block, reporting unknown if they cannot be aligned. Instead, the service sums captured movements and compares them with the latest stored daily balance row without checking its age or block. Mallory can send a token to a monitored wallet without API privileges. If the transfer is not yet captured, a stale balance and stale movement sum can falsely agree, allowing an incomplete pack. If the transfer is captured after the snapshot, the same mismatch creates a false discrepancy and prevents a valid close until data is realigned.

    For example, Mallory sends a token to a monitored wallet after its daily balance snapshot. Bob's movement sweep and Alice's period close run at different times. Depending on which data updates first, Alice's invariant can either miss the transfer or flag a false discrepancy.

    Impact: With wallet activity enabled, an external inbound transfer to an anchored monitored token can make the company's ERC-20 close gate falsely approve an incomplete period pack or temporarily reject a valid one, depending on whether the movement sweep or daily balance snapshot updates first. The affected asset is accounting evidence and close availability for the monitored wallet/token, not custody of the tokens.

    Recommendation

    State clearly in the reconciliation summary and period evidence that the current ERC-20 check compares captured movements with a stored daily snapshot, not a live balance at the period cutoff. Do not label that comparison as complete chain coverage or use it alone to certify a current balance; show the snapshot time and block if available, and require operator review when the snapshot and movement capture are visibly out of sync. Add tests for a transfer arriving before and after the daily snapshot.

    Resolution

    Manifest Team: Fixed. The ERC-20 invariant compared all captured movements with the latest stored daily balance, regardless of the block at which that balance was read. Each token scope now counts only movements at or before its snapshot's block, and reports unknown when the snapshot has no block, predates the opening anchor, or is ahead of movement capture. The period close fails when a compared snapshot predates the period-end block, records the snapshot blocks it compared, and describes the check as a stored-snapshot comparison rather than a live balance. Tests cover transfers before, at and after the snapshot block.

  35. M-33 Medium Queued expense transfers can fund a retired expenses wallet Business logic errors Resolved

    Description

    The API funds operational expenses by moving Treasury USDe to the wallet currently assigned the expenses role. Operators can request an ad-hoc transfer, and daily automation can request the same transfer; both should fail or be rebuilt if that role changes before funds move. Instead, each workflow encodes the resolved wallet into LiquidityModule calldata and queues the immutable operation. The later executor checks neither the current role nor its binding generation. If a handover occurs while the old wallet remains an enabled on-chain transfer recipient, the queued payment can reach that retired wallet. The ad-hoc workflow then records the payment against the daily target, potentially suppressing replacement funding to the new wallet.

    For example, Alice changes the expenses role from an old wallet to a new one while Bob's transfer is queued. Mallory still controls the former wallet, which remains an allowed on-chain recipient. Bob's queued transaction pays that old address, leaving Alice's current expense wallet unfunded.

    Impact: During a role handover, a pending expense payment can move its full planned USDe amount from Treasury to the retired expenses wallet if that wallet remains whitelisted and the normal bot/Safe execution prerequisites hold. The current expense account is left unfunded; a former custodian who still controls the retired wallet could retain the misdirected funds, and the ad-hoc daily tally may prevent automatic replacement funding.

    Recommendation

    Before executing or proposing a queued expense transfer, compare its encoded recipient with the wallet currently assigned the expenses role. If the role has changed, stop that queued transfer and rebuild it for the current recipient after operator review; do not count the stale transfer toward the day's funded amount. During handover, remove the former wallet from permitted recipients once its legitimate pending payments are resolved, and test a role change while a transfer waits in the queue.

    Resolution

    Manifest Team: Fixed. Both the ad-hoc and the daily expense transfer now store the intended recipient and the expenses role with the queued transaction. Immediately before sending, the executor resolves the role again and fails the transaction without sending it if the role now belongs to another account or to none. No Safe proposal is created in that case, so the stale recipient cannot reach a signer by that route either; synchronous executions apply the same check. The daily expense tally counts only transfers to the current expenses wallet. Tests cover a transfer queued before a role change and executed after it, an unreadable guard, and the tally ignoring a former wallet.

  36. M-34 Medium Delayed flex-zero event claims donations from a replacement wallet Business logic errors Resolved

    Description

    Flex recovery records USH transfers into a hook's flex wallet and, after a flex-zero burn, claims the burned donations for recovery. Operators can migrate a hook to another wallet, while burn events arrive asynchronously. Recovery should bind each burn to its event-time wallet and only claim transfers that preceded it. Instead, a delayed old-wallet event is interpreted using the current hook-to-wallet setting. If a transfer reaches the replacement wallet after the old burn but before its event is processed, the service marks that unburned transfer recovered under the old event. The later correct burn cannot automatically recover the already-claimed row, and the service also attempts to mint its amount prematurely.

    For example, Alice migrates a hook from one flex wallet to another. Mallory sends a donation to the replacement wallet after an old-wallet burn, and Bob's delayed event worker resolves the hook using the new mapping. Mallory's donation is claimed against the earlier burn.

    Impact: For a configured hook migration and delayed historical event, an attacker-funded transfer into the replacement wallet can be durably recorded as recovered against a burn that preceded it. The affected wallet's later genuine burn will not automatically recover that row; the service also submits a premature mint, whose on-chain success depends on normal mint controls.

    Recommendation

    At reconciliation, fetch and verify the canonical burn receipt and log. Bind the hook to a wallet mapping proven valid at that block, or reject the event if historical binding is unavailable. Claim only canonical donation logs strictly before the burn position, and preserve the same event-time checks on retries. Keep current settings for policy and destination checks, not historical correlation.

    Resolution

    Manifest Team: Fixed. Each flex-zero event is now verified against its transaction receipt before anything is claimed. The transaction must have succeeded, the event position must be the hook's first log in it, and every hook burn must follow a token burn by the hook of the same amount, all from one wallet. The wallet is taken from that burn, not from the current hook mapping. Only unreconciled donations positioned strictly before the burn, and outside the burn's own transaction, are claimed. Events that cannot be bound claim and mint nothing, and the checks repeat on every retry. Tests cover same-block and later-block ordering, a hook migration, a post-burn donation and nine unbindable cases.

  37. M-35 Medium Ungrouped captured movements can be omitted from an attested period close Business logic errors Resolved

    Description

    Wallet activity records transfers involving monitored company wallets, classifies each captured movement into a business transaction, and lets finance operators publish a period CSV and attested evidence pack. An in-scope movement should be classified or prevent attestation. A holder can transfer a monitored token into a roster wallet near period end. Ingestion stores the leg before classification; the settling gate can leave it ungrouped, and a failed classification pass can do the same. Export selects only business groups, while its review and consistency gates do not count ungrouped legs. Balance reconciliation still counts the leg, so it may remain clean. An operator's subsequent period close can therefore publish an ATTESTED pack that omits the captured transfer.

    For example, Mallory sends a token to a monitored company wallet just before month end. Bob's ingester captures the movement, but classification has not grouped it. Alice's export selects only groups and can attest a CSV that omits Mallory's captured transfer.

    Impact: In a deployment with wallet activity enabled, one or more externally initiated, in-scope token receipts can be absent from a period's published ATTESTED CSV and evidence pack if an operator closes it before those captured legs are grouped. The demonstrated harm is integrity of the finance evidence, not direct theft or control of company wallets.

    Recommendation

    At the authoritative period-close gate, count every captured, monitored, environment-scoped ERC-20 leg with a null businessTxId whose chain transaction falls in the period and at or below the same chain pin used by export. Include the count in the CSV and attestation JSON, and fail attestation while it is nonzero. Reuse the classifier's monitored-token and environment-scope rules rather than maintaining divergent definitions. Require a successful, sufficiently current sync before close, and add regression tests for settling, failed classification, out-of-scope tokens, and out-of-pin legs.

    Resolution

    Manifest Team: Fixed. The period close now counts captured, monitored, in-scope ERC-20 legs that belong to no business transaction and are not declared excluded, whose chain transaction falls in the period at or below that chain's pinned block. The count uses the classifier's own monitored-token and environment-scope rules. It is printed on the CSV's attestation line and in the attestation record, and the close refuses to attest while it is nonzero. Tests cover a leg held by the settling window, legs at the period end and in other monitored tokens, unmonitored tokens, another environment's legs, legs after the pin, on an unpinned chain or in another period, exclusions and native legs, and counting across pages.

  38. M-36 Medium Concurrent HEI burn and tranche delivery double-spend Accrual availability Business logic errors Acknowledged

    Description

    The Accrual vault holds USH for reward delivery, property-loss burns, and booked gas reimbursements. Tranche delivery and negative-HEI burns should spend only the balance left after gas obligations. Each path independently reads that available balance, and the burn preflight now subtracts outstanding gas claims. Neither path reserves its planned draw. If both finish their checks before either on-chain operation settles, each can pass against the same capacity and their combined draw can consume USH reserved for gas.

    For example, Accrual holds 50 USH, including 10 reserved for gas, so 40 is available. Alice's tranche job and Bob's HEI-loss job each plan to spend 25 and complete their checks before either transaction settles. The tranche transfers 25 and the burn then consumes the remaining 25, leaving nothing for the 10 USH gas claim generated by Mallory's unrelated deposit. Expense Holding, rather than Mallory, is owed that reimbursement. No attacker control over the job timing has been demonstrated.

    Impact: Overlapping tranche and loss-burn operations can leave booked gas reimbursements underfunded. Expense Holding may remain unpaid until Accrual is replenished, delaying settlement and requiring operator recovery. The issue does not establish an arbitrary withdrawal or direct theft.

    Recommendation

    Serialize tranche deliveries and HEI loss burns against the same Accrual balance. Before each draw is dispatched, re-read the balance available after booked gas claims and any earlier unresolved draw, then refuse a draw that would consume the gas reserve. Keep that reservation until the transaction succeeds or is safely ruled out, and test two overlapping draws that each fit individually but exceed the available balance together.

    Resolution

    Manifest Team: Acknowledged. Confirmed that the tranche delivery and the loss-absorption burn each read Accrual availability independently and neither reserves its draw, so two runs that overlap can both pass against the same capacity. The statement that the burn's pre-flight considers only the raw token balance does not hold for the current code: that pre-flight now subtracts outstanding gas claims from the Accrual balance. This narrows the exposure to runs whose availability reads both precede either transfer. We will serialize Accrual draws so that each one reads availability only after any earlier draw has settled, and refuse a draw that would leave booked gas claims underfunded.

  39. M-37 Medium Period close can omit pending company-paid gas after wallet-activity regrouping Business logic errors Acknowledged

    Description

    Finance operators group and classify monitored wallet movements so accountants can export token legs, company gas expenses, and native-ETH tax dispositions in a monthly evidence pack. Gas that the company paid should either be attributed to a group or block a passing close while attribution is pending. The classifier intentionally leaves gas unattributed when the chain transaction’s first monitored leg is ungrouped. Detaching and then classifying another grouped leg does not fill that null attribution. The tax-lot builder, group amounts, and CSV read only attributed gas, while the close checks no pending company-gas condition. If the pack is requested before a repairing classifier pass, it can pass while omitting the real expense and ETH disposal.

    For example, Bob detaches one leg of a company-paid transaction and classifies another leg into a group. Its gas attribution remains null. Alice closes the period before the classifier repairs it, and Mallory, reviewing the pack, sees the token movement but not the company's gas expense.

    Impact: If a company-paid, in-period chain transaction has grouped monitored activity but null gas attribution, an authorized operator can obtain a passing stored period pack before the classifier repairs it; the pack and tax-lot ledger omit that transaction’s gas expense and native-ETH disposition.

    Recommendation

    Keep detachment’s no-invention rule, but make pending company-paid, non-excluded gas for an in-scope grouped transaction an explicit close blocker. Run the canonical classifier attribution before allowing a close, or fail the export when attribution remains pending. Surface pending gas in list/detail/export status; do not treat null as zero. Scope the check to genuine company payers and monitored transactions so investor-paid AMM gas and excluded gas are not falsely booked.

    Resolution

    Manifest Team: Acknowledged; confirmed. When the first monitored leg of a company-paid transaction is ungrouped, its gas attribution is deferred, and operator regrouping intentionally does not fill a deferred attribution. The period close does not check for such pending gas, so a pack can pass while omitting the expense and native ETH disposal. Some deferrals are not transient, because a first leg that no classification pass groups withholds the gas indefinitely. We will add a close gate that counts company-paid, non-excluded, in-period transactions with grouped monitored activity and no gas attribution, report it in the attestation, and fail the close while it is nonzero, scoped so investor-paid and excluded gas are not counted.

  40. M-38 Medium Unbounded historical consistency scan can leave an attested period unchecked Business logic errors Resolved

    Description

    In an enabled deployment, wallet-activity sync classifies captured transactions and checks their linked ledger tags before operators close an accounting period. A successful close should require that this check completed over the data being attested. Ordinary deposits and withdrawals create persistent, source-keyed business groups. The consistency pass reloads all historical eligible groups, then uses unbounded source-ID and ledger-ID parameter lists. Sufficient accumulated activity makes the pass fail at the database parameter limit or worker resource limit; retries revisit the same history. Although sync status and export metadata disclose failure, the close predicate only counts existing mismatch flags. Under otherwise-green gates, it can still issue an attested evidence pack without a completed current classification check.

    For example, Mallory's ordinary deposits add many historical business groups. Bob's consistency scan later exceeds its database parameter limit and writes no completed check. Alice can still close a period because the gate sees no stored mismatch flags and does not require a successful scan.

    Impact: In an opt-in wallet-activity deployment after substantial historical activity, ledger-classification reconciliation can repeatedly fail. Under otherwise-green close conditions, an accounting-period evidence pack can nevertheless be attested without a completed check over current data; failure remains visible in sync status and export metadata.

    Recommendation

    Read historical consistency inputs in bounded database pages and keep each query's ID list below the database parameter limit. Make the period-close gate require a successful consistency pass covering the period data being attested; a failed or incomplete pass should leave the pack unattested even when no mismatch flags were written. Show the failed check and its last completed coverage to operators, and test the large-history case.

    Resolution

    Manifest Team: Fixed. The ledger consistency pass now reads historical groups in pages of 1,000, comparing and writing each page before loading the next, and splits ledger identifier lists into chunks below the database parameter limit. The related mint-justification check also chunks its reads and writes. The period close now requires both checks to have succeeded on the last finished sync, and that sync to have started after the period ended; otherwise the pack is not attested. The result, its coverage time and any failed check are shown in the attestation and export header. Tests cover a 70,000-group history and the close gate's pass and failure cases.

  41. M-39 Medium Internal configuration view discloses secrets embedded in resolved RPC URLs Clear storage of sensitive information Resolved

    Description

    The internal configuration view helps operators inspect settings while masking secret values, and the managed-parameter writer treats secret parameters as write-only. Manifest resolves ${secrets.*} templates in RPC URLs before GET /internal/config serializes settings, but that response masks only settings.secrets and leaves resolved RPC URLs visible. An operator allowed to edit an RPC URL can therefore copy a write-only secret into a readable field without direct SecureString access.

    For example, Alice holds a bot signing secret that Bob may not read directly. Mallory controls a parameter-editing operator session and writes a schema-valid RPC URL containing a ${secrets.*} reference to that secret. After configuration reload, Manifest substitutes the secret into the URL. Mallory calls GET /internal/config and reads the resolved URL, bypassing the masking applied only to settings.secrets.

    Impact: This discloses a credential across the intended write-only boundary. If the referenced field is the bot private key and the deployment accepts that template, exposure could enable unauthorized signing outside the API.

    Recommendation

    Mask credentials and secret-derived content in every configuration response, including RPC URLs after template substitution. Reject ${secrets.*} references in operator-editable fields unless each reference is explicitly approved for that destination and cannot be read back through a lower-trust route; apply the restriction when parameters are written and when settings load. Add a regression test that inserts a synthetic secret template through an allowed config edit and confirms GET /internal/config never returns the resolved value.

    Resolution

    Manifest Team: Fixed. The configuration view now replaces every resolved secret value, wherever it appears in the configuration, with its ${secrets.*} reference, including values inside arrays, so RPC URLs and subgraph URLs no longer disclose provider keys. Secret references are now allowed only in specific fields for the specific secret each needs (chain RPC URLs for the RPC provider key, subgraph URLs for the subgraph key); a configuration write that places any other reference is rejected with 422, and configuration load refuses one, so an operator can no longer template an arbitrary secret into a readable field. Regression tests cover a templated RPC URL and the rejected references.

  42. M-40 Medium Sender quarantine does not persist beyond the receipt-count window Business logic errors Resolved

    Description

    The API records genuine USDe transfers from unrecognized senders to Treasury as uncategorized revenue. It aggregates small receipts and quarantines a sender's receipts when their count exceeds a limit; the documented control says subsequent receipts remain held until operator review. An external sender can make enough real transfers to trigger quarantine, wait for those rows to age out of the rolling count, and send another transfer. The intake checks only in-window rows, so it records the new transfer as pending and can realize it as an earning without release. This bypasses review and may initiate a backed USH mint to the protocol Accrual Vault; it does not give the sender the minted tokens.

    For example, Mallory sends enough genuine USDe receipts to trigger a quarantine. Alice expects further receipts from that sender to remain held for review, and Bob runs the normal intake. After the original rows leave the rolling count window, Mallory sends another real transfer. Bob's intake sees a low current count and can recognize the new receipt despite Alice never releasing the quarantine.

    Impact: An external sender who makes genuine USDe transfers can cause later receipts to be recognized as uncategorized earnings despite an outstanding quarantine and no operator review. If ordinary mint execution succeeds, backed USH is minted to the protocol Accrual Vault; the sender does not receive it.

    Recommendation

    Under the existing sender advisory lock, check a durable sender quarantine independently of the rolling count before allowing a newly inserted receipt to aggregate or mint. Existing quarantined receipt state can serve as that hold if it is queried without a time cutoff; keep later receipts quarantined until an authenticated operator explicitly clears the hold after review. Preserve on-chain validation, internal-sender exclusion, and the rolling count as the trigger. Add an integration test spanning window expiry and release.

    Resolution

    Manifest Team: Fixed. While a sender has any quarantined receipt, of any age, every new receipt from that sender is also quarantined and nothing from it mints, so the hold no longer expires with the receipt-count window. A partial index keeps the check to a single lookup. Releasing a held sender is an operator action that moves that sender's quarantined receipts out of quarantine. Regression tests cover a hold that outlives the window and a release that frees only that sender.

  43. M-41 Medium Unbooked hub-deposit gas cover is spendable from Accrual Business logic errors Resolved

    Description

    Depositors receive USH while a protocol portion enters the Accrual vault; part of that portion must remain there to fund a later gas reimbursement to the Expense Holding Safe. Tranche delivery and negative-HEI loss burns should spend only USH not owed to gas settlement. For a hub-chain deposit, the on-chain completion places protocol USH in Accrual before a separate event handler posts the gas-obligation ledger row. During that gap, the availability check sees the new balance but not its gas claim. A coincident tranche can transfer it, or an HEI burn can consume it—even if the obligation is posted after its initial check, because burn preflight uses raw balance. Settlement then refuses the short balance, delaying the protocol's gas reimbursement until Accrual is replenished.

    For example, Mallory completes an ordinary hub deposit that adds protocol USH to Accrual. Before Bob's event handler records its gas claim, Alice's tranche job spends the newly visible balance. The later gas-settlement job can find too little unencumbered USH to reimburse Expense Holding.

    Impact: A hub deposit coinciding with a tranche or negative-HEI draw can leave Accrual below the later booked deposit-gas claim, delaying the protocol's reimbursement to Expense Holding and requiring an operator top-up. The demonstrated result is a bounded financial-accounting shortfall and settlement disruption, not attacker withdrawal of the reserved USH.

    Recommendation

    For a hub deposit whose completion has been submitted but whose gas reimbursement row is not yet recorded, subtract a conservative estimate of its gas cover from the Accrual availability used by unrelated draws. Replace that estimate with the actual claim after confirmed completion, or release it only after definitive failure; keep uncertain cases unavailable for spending and visible to operators. Document how to reconcile and replenish Accrual if an earlier race has already delayed settlement.

    Resolution

    Manifest Team: Fixed together with M-43. The gas earmark now covers every completed hub deposit whose gas obligation has not been booked, for as long as it stays unbooked, instead of dropping it after 24 hours. The daily gas reconciliation books any missing obligation before distribution runs. It uses the same idempotency key as deposit completion, so a failed write is repaired once and never booked twice. A deposit still unbooked after 24 hours raises a warning. Every burn from Accrual, including the HEI and tranche paths, re-checks the balance available after earmarks when it is dispatched, and is refused if it would reach earmarked USH. Deposits completed before obligation booking began on 2026-05-13 are outside the earmark; production has four such hub deposits, all from April and May 2026. Regression tests cover the unbooked-deposit window, the hand-off to the booked obligation, the re-booking and the burn re-check.

  44. M-42 Medium Deferred USH mint can include a reorged-out USDe receipt Business logic errors Resolved

    Description

    The API holds small, verified USDe transfers to Treasury from unrecognized senders until their 24-hour total reaches a threshold, then mints matching USH into the Accrual Vault. Before minting, every included receipt should still represent a canonical, sufficiently final transfer. Initial intake instead waits for a configurable number of blocks and stores a chainVerified flag. If a previously stored sub-threshold transfer is removed by a later Ethereum reorganization, a second valid transfer from that sender can cross the threshold. Aggregation trusts the old flag without checking the earlier transaction again, so it requests USH for USDe Treasury no longer received.

    For example, Mallory's small USDe transfer is initially confirmed and stored below the mint threshold. A later chain reorganization removes that transfer. Mallory sends a second, still-valid transfer within the aggregation window; Bob's worker rechecks the new one but trusts the stale verified flag on the old one. Alice and other holders can then face USH issuance against funds Treasury no longer received. This requires an uncommon reorganization after the first validation.

    Impact: Following an uncommon post-validation Ethereum reorganization and a second transfer before the 24-hour window expires, a successful USH mint can include the removed transfer's value. Treasury lacks that USDe while the Accrual Vault receives the corresponding USH, overstating backing for holders by the removed amount.

    Recommendation

    Before adding stored pending USDe receipts to a threshold-crossing mint, recheck every contributing transfer against the chain with the existing receipt validator and required confirmation policy; verify that the transaction and its USDe Transfer log still match the recorded sender, Treasury recipient, and amount. Exclude or quarantine any receipt that is missing or changed, recalculate the total, and do not mint if the chain cannot be checked. Test a first receipt that disappears in a reorganization before a later transfer arrives.

    Resolution

    Manifest Team: Fixed. Before a deferred mint is reserved, each older receipt that contributes to it is re-validated against the chain, outside the sender lock. A receipt that is no longer found, reverted or no longer carries the matching USDe transfer is excluded from the mint and quarantined, which also holds the sender for review. If the chain cannot be read, nothing mints and the new receipt is recorded as pending, so a later receipt can mint the full sum once. Regression tests cover a reorged-out receipt, each unavailable-chain case and the rate-limit path.

  45. M-43 Medium Standalone Accrual burn can consume USH earmarked for gas settlement Business logic errors Resolved

    Description

    Operators use the internal burn endpoint to retire USH from an authorized protocol source. The Accrual vault also holds USH earmarked in the ledger for unsettled gas reimbursements; an unrelated burn should leave that amount intact. The endpoint accepts an operator-selected Accrual address, but its service compares the requested burn only with Accrual's raw token balance. Unlike the normal HEI burn caller, it does not subtract the gas earmark. An executed burn between the unencumbered and raw balances destroys reserved USH. Later gas settlement then refuses its underfunded burn, leaves reimbursement rows pending, and does not transfer the matching USDe to the Expense Holding Safe until funds are restored.

    For example, Alice has 50 USH in Accrual, including 30 earmarked for gas reimbursement. Mallory, an authorized operator, requests a 25 USH standalone burn, and Bob's service checks only the raw 50. The burn succeeds although only 20 was free, delaying the later gas settlement.

    Impact: An authenticated operator can execute an Accrual burn that destroys USH reserved for open gas-reimbursement obligations. Subsequent settlement leaves the affected rows pending and withholds their matching USDe transfer to the Expense Holding Safe until Accrual is replenished.

    Recommendation

    When OperationsService.burnUSH uses Accrual as its source, compare the requested burn with the existing unencumbered Accrual balance that subtracts open gas reimbursement claims, and reject a larger burn before dispatch. Keep the dedicated gas-settlement burn path able to consume its own earmark because that path discharges the claim. Test a burn amount between raw balance and available balance so reserved gas USH remains intact.

    Resolution

    Manifest Team: Fixed. A burn from the Accrual Vault is now checked against the balance available after gas earmarks, not the raw token balance, and is refused with an insufficient-balance error if it would consume earmarked USH; this applies to the operator burn endpoint and every other caller of the burn path. The gas-settlement payout, which is what consumes the earmark, burns through its own path and is unaffected. Regression tests cover a burn between the available and raw balance (refused) and a burn below the available balance (allowed).

  46. M-44 Medium Unbounded Analyst document reads can exhaust API instance memory DoS Resolved

    Description

    Manifest Analyst lets authenticated operators ask questions about published documents. A document read should limit the bytes fetched, cached, and passed to the model independently of the number of tool calls. When Analyst is enabled, an operator can publish distinct near-limit text documents and ask Analyst to read them. The document tool buffers each complete gateway response, caches full text across answers, and serializes it into tool output. Its 64-entry cache has no byte ceiling; tool-call and model-spend caps do not constrain these allocations. Repeated reads can exhaust a memory-limited API Lambda instance and interrupt its in-flight requests.

    For example, Mallory is an authenticated operator who publishes many distinct near-limit text documents. Bob's Analyst tool reads and caches each complete document across sessions. Alice's request on the same API instance can be interrupted if the process runs out of memory.

    Impact: With Analyst enabled and enough distinct near-limit published text documents, an authenticated operator can repeatedly exhaust an API Lambda instance's memory, interrupting Analyst and other in-flight requests handled by that instance. The code does not prove permanent service-wide unavailability.

    Recommendation

    Enforce a small byte ceiling while streaming gateway responses and cancel the reader immediately when exceeded. Apply the same limit to injected fetch results, transformed text, cache entries, and model output. Add a per-answer document-output budget before session storage. Return a coded ToolError rather than retaining or serializing an oversized body; retain the existing publication behavior.

    Resolution

    Manifest Team: Fixed. Analyst document reads now stream the response and stop past 1 MiB with a coded document-too-large error, so a large document can no longer be read into memory in full. Extracted text is cut at 60,000 characters with a visible truncation marker before it is cached or returned, and the cache is bounded by total characters as well as entry count; a document re-cached by concurrent reads is counted once. Regression tests cover an oversized and an endless body, truncation, cache eviction and concurrent reads.

  47. M-45 Medium Period evidence packs can attest rows from inconsistent database generations Business logic errors Resolved

    Description

    Finance operators use wallet-activity period exports to produce a monthly CSV and, when close checks pass, an evidence pack. The selected business groups, boundary flags, row limit, CSV, and close checks should describe one coherent ledger state. In an enabled deployment, wallet activity can be captured and classified while an operator's export job runs. The export instead performs separate database reads without a shared snapshot. A newly attached after-pin leg can be omitted while its group is stamped complete; a newly qualifying group can be missed; later row additions can evade the projected cap; or a classification change can make the CSV disagree with a passing close check. A passing pack can therefore misstate period activity.

    For example, Mallory's transfer attaches a new leg to a business group while Bob's export reads the ledger in several separate queries. Alice receives a passing pack built from some reads before and some after that change, so one leg can be absent without a matching incomplete-period flag.

    Impact: In an enabled wallet-activity deployment, a finance operator can receive a passing monthly evidence pack that omits or misclassifies activity from a concurrently changing ledger, potentially causing incorrect accounting decisions. The attacker-dependent case requires timed wallet activity and concurrent normal sync; the feature is disabled by default.

    Recommendation

    Build all database-derived export decisions from one repeatable-read snapshot: selected groups, straddle membership, counts, leg and gas rows, priced flags, metadata, and database-backed close gates. Pass the transaction handle through every helper rather than allowing helpers or other services to read the default pool. Keep the inherently live on-chain balance check explicitly separate, enforce the cap again on rendered records, and publish only the completed coherent result. Add deterministic interleaving tests for insertion, regrouping, gas changes, and operator classification.

    Resolution

    Manifest Team: Fixed. Each period export, including its row-cap check, metadata and every period-close gate, is now built inside one read-only repeatable-read database transaction, so all parts of the evidence pack read the same snapshot. The balance invariant, which reads live chain state and writes, runs before the snapshot, and a new gate fails the close if the snapshot exports a token movement the invariant did not cover. The row cap is re-checked against the rendered rows, and the pack is written after the transaction commits. Regression tests interleave grouping, classification and capture changes between reads and show the pack and CSV stay consistent.

  48. M-46 Medium API logs contain session tokens Clear storage of sensitive information Resolved
    Location
    AWS account 891377361887

    Description

    API Gateway data tracing is enabled for every method on the test stage. Its execution log contains five complete session JWTs returned by the API, each with a wallet address and session ID. The /internal/user route also returns a user's email and name, which could enter this same log when that route is called. Someone with log access could use a still-valid token or link a wallet address to a user's API session, putting their data at risk.

    Recommendation

    Turn off API Gateway data tracing for this stage while keeping request metadata and error logging. Restrict access to its execution log and set a finite retention period. Review the existing log for exposed tokens and revoke any sessions that are still active.

    Resolution

    Manifest Team: API Gateway data tracing is now off on every stage, so request and response headers and bodies, including session tokens, are no longer written to the execution log; request metadata, execution steps and errors are still logged. The execution log groups now have a 30-day retention. We are not adding further access restrictions to these logs. Session tokens are valid for 60 minutes and can be renewed only within three hours of expiry, so every token written before the change stopped being usable within four hours of the change. The signing key itself was never logged, so rotating it would not revoke any session that is still usable. Access to the logs is limited to our engineering staff's single-sign-on roles, our CI pipeline roles and our log-monitoring provider.

  49. M-47 Medium Data connections do not require TLS Configuration Partially resolved
    Location
    AWS account 891377361887

    Description

    The Aurora cluster has rds.force_ssl set to 0, and four S3 buckets do not reject requests without TLS. The monitoring EFS file system has no policy requiring encrypted mounts. Clients could send database records, bucket objects, or monitoring files over an unencrypted connection. Someone observing that network path could see sensitive information from the six affected assets listed above.

    Recommendation

    Confirm clients use TLS, then set rds.force_ssl to 1, deny S3 requests where aws:SecureTransport is false, and require TLS in the EFS file system policy. Move any CDN website origin to an HTTPS-capable S3 origin before enforcing the bucket policy. Test database, bucket, CDN, and file-system access after each change.

    Resolution

    Manifest Team: Partially fixed. The API now connects to the Aurora cluster over TLS and verifies the server certificate against the RDS certificate authority bundle. The CDN, CDN log, log backup and API output buckets deny any request not made over TLS, and the EFS file system named in the finding has a policy that refuses mounts, writes and root access without TLS. The Aurora cluster now uses a custom parameter group. Setting rds.force_ssl to 1 on it remains open: we will enable it once every client is confirmed to connect with TLS, and will update this finding then.

    Guardian: The client reports TLS controls for the API, S3 and EFS. Aurora still has rds.force_ssl disabled, so database clients are not yet required to use TLS.

  50. M-48 Medium Network access is broader than needed Access Control Resolved
    Location
    AWS account 891377361887

    Description

    The bastion security group allows SSH from every IPv4 address, although the instance is stopped and has no public IP. The Aurora security group allows PostgreSQL from three whole application subnets that also host monitoring workloads. The CDN bucket publicly serves fonts, icons, and two HTML pages directly, despite its CloudFront origin control; public access blocking is also off on its log bucket. The application VPC has no flow logs, while a future public bastion address or a compromised workload in those subnets could create a path toward the database. That may put customer data at risk, while direct bucket access could bypass CDN controls and missing flow logs could slow an investigation.

    Recommendation

    Remove the bastion's 0.0.0.0/0 SSH rule. If administrators still need access, enable Systems Manager Session Manager and confirm it works before removing SSH.

    Replace the Aurora group's three subnet CIDR rules with PostgreSQL access from the specific API security group and any confirmed administrative clients. Keep the existing bastion security group rule only if it is still needed, and test database connections before removing the CIDR rules.

    Remove the CDN bucket's AllowPublicRead statement and confirm its fonts and static pages still load through cdn.test.manifest.finance. Its CloudFront distribution already uses origin access control. Then enable all four S3 Block Public Access settings on the CDN and CDN log buckets and at the account level.

    Enable VPC Flow Logs for vpc-0fcd1a2f5a15e3301 to a protected destination with a defined retention period, and confirm records arrive.

    Resolution

    Manifest Team: Fixed in every environment, including production. The bastion no longer accepts SSH from any address. Administrative access now goes through an EC2 Instance Connect Endpoint in a private subnet, the only source allowed to reach the bastion on port 22; we chose this over Session Manager because it needs no agent or instance profile on the bastion. PostgreSQL ingress to the Aurora cluster is limited to the API's security group and the bastion. The CDN bucket's public-read statement is removed, so it is reachable only through CloudFront, and Block Public Access is enabled on the CDN and CDN log buckets and at the account level. The application VPC sends flow logs for all traffic, retained for 365 days in production.

  51. L-01 Low Receipt rollback can mint USH twice for one USDe transfer Business logic errors Resolved

    Description

    The API receives USDe transfers into Treasury, verifies them on-chain, and, once receipts from an unrecognized sender reach the configured threshold, mints the corresponding USH into the Accrual Vault. Each transfer should remain durably associated with its mint so that processing the same notification again cannot issue USH twice.

    In recordReceipt, the receipt is inserted inside a database transaction that stays open while realizeEarning uses a separate connection to commit a ledger entry and execute the mint. If the mint succeeds but the Lambda terminates or the receipt transaction rolls back before commit, the ledger entry and mint survive while the receipt disappears. A subsequent delivery or operator replay can then insert the same transfer under a new receipt ID. Because the mint deduplication key includes that ID, the existing ledger entry does not prevent a second mint.

    For example, Alice holds USH and Bob operates the intake worker. Mallory sends one genuine USDe transfer to Treasury that meets the mint threshold. Bob's worker verifies the transfer and completes the first mint, but an infrastructure failure then rolls back the still-open receipt transaction. If the notification is delivered again, the transfer receives a new receipt ID and mint key, and a second mint may execute against the same USDe. That would increase USH supply without increasing its backing, diluting holders such as Alice; the extra USH is minted to the Accrual Vault, not directly to Mallory.

    This sequence also requires a later delivery or operator replay. A normally caught database exception is skipped and does not itself trigger an SQS retry; an invocation timeout or independent redelivery is needed. No reliable method for the sender to force that narrow failure window has been established.

    Recommendation

    Commit a durable claim over the immutable chain transfer identity and every aggregated receipt before initiating a mint. Mark the selected receipts reserved in that same commit so a different later trigger cannot include them again. Give the claim a stable mint idempotency key and record execution evidence. On retry, reconcile the claim's prior on-chain outcome before any new issuance; only finalize receipt metadata and provenance after confirmed execution. Do not hold the receipt transaction open across the mint RPC.

    Resolution

    Manifest Team: Fixed as recommended. The uncategorized revenue intake now commits a durable mint claim before minting: every aggregated receipt is reserved under a stable key derived from the triggering transfer (chain, transaction hash and log index), the mint runs only after that claim commits, and the receipts are finalized only after the mint returns. The claim also records its chain, so a redelivery resumes the existing claim under the same key and chain instead of inserting a new receipt and minting again. A claim whose earlier attempt failed is held for operator review rather than reminted, and execution is serialized with a lock on the claim key. Regression tests reproduce a crash after the mint followed by redelivery, concurrent redeliveries, and redelivery of a receipt from another chain.

  52. L-02 Low Public nonce requests can repeatedly invalidate another wallet’s pending login DoS Resolved

    Description

    Wallet users obtain a server challenge, sign a SIWE message, and exchange it for a session used by private account features. A challenge should remain stable long enough for its owner to finish signing. The unauthenticated nonce endpoint accepts any public wallet address and unconditionally replaces that address’s only stored challenge. Another caller who knows the address can therefore request replacements while the owner signs. Login rejects the owner’s now-stale nonce and signed message, preventing new sessions for that wallet while replacement continues. Existing sessions are not revoked.

    For example, Alice requests a challenge and begins signing it, while Bob runs the login service. Mallory knows Alice's public wallet address and requests a fresh nonce for that address before Alice submits her signature. Bob now stores Mallory-triggered replacement, so Alice's correctly signed message fails. Mallory can repeat the replacement during new login attempts without knowing Alice's private key.

    An unauthenticated remote caller who knows a wallet’s public address can repeatedly prevent that wallet owner from obtaining a new session during normal signing. The disruption lasts while challenge replacement continues; existing sessions remain valid.

    Recommendation

    Keep a live, unused challenge stable: return it instead of replacing it for unauthenticated repeat requests. Use a short server-controlled lifetime, serialize issuance per address, rotate only a used or expired challenge, and reset its creation time on rotation. Require the same lifetime in the final atomic consume condition. Add route- and source-aware throttling as defense in depth without letting an attacker exhaust a target-address quota.

    Resolution

    Manifest Team: Fixed in the API. A nonce request for an address that already has a live nonce (unused and issued within the last 10 minutes) now returns that same nonce instead of replacing it. Concurrent requests serialize on a single row update, so a third party requesting nonces for someone else's wallet can no longer invalidate that wallet's pending login. A nonce is rotated only once it has been used or has expired, and login enforces the same 10-minute lifetime when it looks up and atomically consumes the nonce. Regression tests cover repeated and concurrent requests during a pending login.

  53. L-03 Low Stale bridge polls can reverse an operator rejection Business logic errors Resolved

    Description

    Manifest records cross-chain deposits and withdrawals as BRIDGE_PENDING while it waits for LayerZero delivery or a CCTP attestation. An operator can reject a pending attempt through bridge-resolve, marking its record FAILED so the API stops treating it as ready. A poll checks that the record is not terminal before calling the external provider, but its later database write uses only the record ID. If the operator rejects the attempt while that provider call is in flight, a delivered LayerZero response can overwrite FAILED with BRIDGE_COMPLETE; a ready withdrawal CCTP attestation can restore BRIDGE_PENDING and dispatch a redemption job. The poll should advance only the same attempt while it remains pending.

    For example, Bob's poll reads Mallory's deposit as BRIDGE_PENDING and asks LayerZero whether its message arrived. Before LayerZero answers, Alice rejects the deposit and Manifest records FAILED. LayerZero then answers DELIVERED. Bob's poll writes BRIDGE_COMPLETE without checking Alice's newer decision. If LayerZero instead answered still pending, this LayerZero path would not make that write; the failure requires a delivered response during the race.

    Impact: An operator's rejection can be erased from the database and a raced poll can report the bridge ready. In the withdrawal CCTP path, it can also queue a redemption job after rejection. Later settlement still depends on separate workflow and on-chain checks; this state change does not itself mint, burn, pay the user, or transfer assets. Exploitation requires an already-running provider lookup to overlap a manual rejection, and a wallet holder was not shown to control that timing reliably.

    Recommendation

    After a LayerZero or CCTP lookup, advance the record only with an atomic update that requires it still to be BRIDGE_PENDING for the same bridge attempt. If the condition no longer matches, treat the response as stale: do not report readiness or dispatch a CCTP redemption job. Apply this guard before creating the job and test responses that arrive after an operator rejects a deposit or withdrawal.

    Resolution

    Manifest Team: Fixed. The deposit and withdrawal bridge polls (LayerZero and CCTP), and the deposit's redeem-confirmed path, now write their result only if the record still has the status and bridge identity the poll observed when it started. A poll that returns after an operator has rejected the transfer, or after the record has moved on, changes nothing and is refused. The CCTP attestation is also recorded before any redeem job is created, so a stale attestation response can no longer dispatch a redeem. Integration tests cover each race between a poll and an operator decision.

  54. L-04 Low Transaction-level receipt keys discard distinct USDe Transfer logs Business logic errors Resolved

    Description

    Manifest receives blockchain notifications for USDe transferred into Treasury. It records each confirmed ERC-20 Transfer log as a receipt: receipts from unknown senders feed audit and sender quarantine, while receipts from allowlisted payers also support revenue recognition and prefund accounting. One verified transfer log should be recorded once, and replaying that exact log should have no effect.

    A single blockchain transaction can contain more than one USDe Transfer log. The recognized and unrecognized receipt stores currently identify a receipt by transaction hash and receipt type, without the log index. Once the first log is stored, a second genuine transfer in the same transaction looks like a replay and is discarded. This also means the count used for an unknown sender's quarantine can understate how many transfers that sender made.

    For example, Mallory, an external USDe holder, sends two separate USDe transfers to Treasury within one transaction. Alice's intake accepts the first log, but Bob's receipt store treats the second as a duplicate because it has the same transaction hash. Mallory can repeat this batching pattern to make the receipt audit and quarantine count omit genuine transfers. A separately allowlisted revenue payer who batches transfers could also lose recognition of later logs, but Mallory cannot force that payer to batch.

    Impact: The ledger and sender controls can have an incomplete view of real Treasury inflows. This is an audit and quarantine-bypass issue, not a double mint: the skipped transfer is not minted as extra USH, and the attacker must actually send the USDe. The direct attacker-controlled effect is omission of later logs from the same transaction.

    Recommendation

    Identify each receipt by the validated chain, USDe token, normalized transaction hash, and log index, and use that identity for both recognized and unknown-sender intake. Process each verified Transfer log once while keeping exact replays idempotent; use the validator's resolved log index rather than a caller-provided value. Reconcile existing split-transfer receipts before recognizing omitted revenue so historical transfers are not booked twice.

    Resolution

    Manifest Team: Fixed. Treasury USDe receipts now record the log index of the specific Transfer log, and are unique on chain, lowercased transaction hash and log index, using the index the on-chain validator resolved. A second genuine transfer in the same transaction is therefore recorded as its own receipt in both the recognized and unrecognized stores, and counts toward the sender's quarantine total, while replaying the exact same log still has no effect. The prefund-sender and retired-recipient checks now evaluate each log individually. Receipts recorded before this change, which have no log index, continue to stand for their whole transaction, so no history is booked twice. Regression tests cover two logs in one transaction, replay of old and new transactions, and the prefund-sender check.

  55. L-05 Low AML rejection can leave an approved wallet whitelisted when revoke queueing fails Access Control Acknowledged

    Description

    Manifest updates a wallet's AML eligibility after screening and queues a job to align its on-chain whitelist access with the new decision. An adverse result should revoke a previously approved wallet on each relevant chain, or leave a clear recovery task if the job cannot be queued. Here, the eligibility update and queue dispatch can diverge: a failed enqueue leaves the existing whitelist grant active, and the worker has no automatic work item to repair it.

    For example, Mallory's wallet was previously approved, and a new AML screening rejects it. The API stores the new report ID, but the queue call for the revoke fails. Mallory's database eligibility remains APPROVED and the wallet stays whitelisted on chain until a later refresh or operator intervention.

    An adversely screened wallet can retain its previous on-chain access when the revoke job cannot be queued. This requires a previously approved wallet, a new adverse result, and a dispatch failure; the wallet holder has no established way to cause that failure. The issue can delay enforcement of the AML decision, but does not itself transfer assets.

    Recommendation

    If dispatching an adverse wallet's revoke job fails, raise an operator alert that identifies the wallet and affected chains. Retry the existing idempotent revoke operation or revoke manually, then confirm the on-chain whitelist state before clearing the alert. Keep the failure visible so the new AML report cannot be mistaken for an enforced revocation.

    Resolution

    Manifest Team: We accept this risk. For a wallet that is already approved, this enqueue path runs only on an operator-forced refresh. In normal operation, adverse rescreens of approved wallets arrive through the Elliptic monitoring webhook, which revokes synchronously and is retried by SQS on failure. On the forced-refresh path, a queue send failure fails the request with HTTP 500 and logs an error that our log alerting delivers to the operations alert channel, so the operator sees that the revoke was not queued and can retry it.

  56. L-06 Low KYC starts lack an in-flight reservation and failure retry bound DoS Acknowledged

    Description

    The API starts a Persona identity-verification inquiry for a signed-in wallet and stores its inquiry ID so later starts are rejected. This protects the shared Persona integration while allowing each user to begin KYC once. A wallet can instead send concurrent starts, or repeat starts after an empty response, provider error, or failed database write. Every request can pass the empty-report check before any durable attempt is recorded. Persona receives requests using the application's shared API key; its key and environment rate limits can therefore be consumed by one wallet, temporarily preventing other users from starting KYC. An ambiguous successful creation can also leave an inquiry without a matching local ID. The gateway's global throttle does not impose a per-wallet bound.

    For example, Mallory signs into one valid wallet and sends three KYC-start requests together. Bob's API workers all see no saved inquiry and each calls Persona. Alice's later KYC start can then encounter a depleted shared provider allowance if failures or ambiguous responses keep this pattern repeatable.

    Impact: During repeated failed or ambiguous starts, one authenticated wallet can consume the application's shared Persona request allowance and temporarily prevent other users from starting KYC. If creation succeeds but the response or local write fails, the same wallet can also cause duplicate provider inquiries without matching local report IDs. Sustained disruption requires such failures; the gateway still imposes a global throughput ceiling.

    Recommendation

    Reserve one in-flight inquiry creation per wallet before calling Persona and use a stable idempotency key for retries of that attempt. Concurrent starts should reuse the pending attempt, and an uncertain provider outcome should be reconciled before allowing another creation; avoid automatic retries of the creation POST with a new request identity.

    Resolution

    Manifest Team: Acknowledged; we will fix the duplicate-inquiry race in a later release by sending Persona's idempotency key on inquiry creation and reserving the KYC start per wallet. We do not consider quota exhaustion specific to this flow: wallets are free to create, so a per-wallet bound would not limit an attacker using many wallets, and Persona enforces its own per-environment rate limits.

  57. L-07 Low Partial AML revocation is abandoned after a multi-chain failure Access Control Acknowledged

    Description

    The service keeps investor whitelist status aligned across protocol chains when Elliptic screening changes a wallet's eligibility. An already accepted wallet that becomes risky should be revoked on every chain, with unfinished legs retained for repair. Instead, revocation runs chain legs independently, then throws one ordinary error if any leg fails. The worker marks the whole job FAILED and acknowledges its SQS message. A chain where revocation failed can retain the wallet's whitelist bit, while the database retains ACCEPTED, until an operator or another screening request intervenes. The same aggregate-failure mechanism can strand a partial grant, but the security impact established here is incomplete revocation of a risky wallet.

    For example, Alice's AML review rejects Mallory's wallet across two chains. Bob's revoke worker succeeds on one chain but fails on the other, then acknowledges the job as failed. Mallory remains whitelisted on the failed chain until a separate repair occurs.

    Impact: If one chain's revoke leg fails after a risky decision, that previously accepted wallet can retain whitelist status on the failed protocol chain and remain ACCEPTED in the database until a later request or operator intervention repairs it.

    Recommendation

    When a revoke fails on one chain, keep the job retryable instead of treating the aggregate failure as final. On retry, use the existing on-chain state checks to skip chains already revoked and repeat only missing legs; if a chain still cannot be updated, alert an operator with the wallet and chain so the adverse decision remains visibly unenforced there.

    Resolution

    Manifest Team: Acknowledged; deferred. Production currently operates on a single chain, so a partial multi-chain revoke cannot occur there today. Each per-chain revoke failure logs an error that reaches our alert channel, webhook-driven revokes are retried by SQS, and a scheduled authorization reconciliation runs every six hours and pages when a wallet's whitelist state differs across chains. We will make queued revoke failures retryable before production adds a second chain.

  58. L-08 Low Whitelist job deduplication reuses completed and stranded decisions Access Control Resolved

    Description

    Authenticated wallets can request Elliptic AML screening. A changed result should queue work that makes the wallet's whitelist state match the current decision on every protocol chain. The refresh handler instead submits a job identified only by action and wallet address. The job service reuses a matching completed, pending, or processing row without checking whether it represents the current screening or can still execute. The controller treats that row as already queued and returns 202 without sending a message. After an intervening eligibility cycle, a new rejection can leave an earlier whitelist grant in place; expired messages or abandoned workers can similarly prevent required grant or revoke work until another independent reconciliation occurs.

    For example, Mallory's wallet was once revoked, then approved, then receives another adverse assessment. Bob's refresh finds the old completed revoke job and does not dispatch a new one. Alice sees a rejecting report while Mallory's current whitelist grant remains active.

    Impact: Given a prior completed same-action job or a stranded in-flight job, one wallet's newly required multi-chain whitelist change can be silently omitted. An adversely screened wallet may retain a whitelist grant on affected chains until a separate reconciliation succeeds; no broader asset theft or cross-wallet control is demonstrated.

    Recommendation

    Include the screening report or decision ID in the whitelist job's deduplication key, so a completed job from an earlier decision cannot satisfy a new grant or revoke. Reuse a job only while it still represents the same executable decision; surface stranded jobs for retry or operator reconciliation instead of returning success without dispatch.

    Resolution

    Manifest Team: Fixed by the remediation for M-09. Whitelist jobs are now deduplicated on the wallet's AML decision version as well as its address, and every screening result records a new version, so a job created for an earlier decision, whether completed or stranded, cannot satisfy a newer one. Before a job touches a chain or the user record, it checks its version against the latest decision under a row lock and is skipped if superseded.

  59. L-09 Low Retired revenue type permits minting a ledger row excluded from distribution Business logic errors Resolved

    Description

    Operators post revenue so the service can record an earning, mint corresponding USH into the Accrual Vault, and distribute it to its configured recipients. Posting may use a confirmed USDe transaction or a manually supplied amount. The posting schemas still accept the retired rebalance_revenue type in both modes. The ledger service does not reject that type before minting and marking the row distributing, although its distribution selectors exclude rebalance_revenue as non-cash. An operator who posts under this label can therefore create minted USH and an open earning that normal payout cannot settle. Intended recipients lose access to that value until privileged repair.

    For example, Alice posts genuine revenue using the retired rebalance_revenue label, and Bob's service mints its USH into Accrual. Mallory is an intended rewards recipient, but the distribution selector does not pick that ledger row. Its value remains unavailable through the normal payout path.

    Impact: A required operator-authenticated post, followed by successful mint execution, can leave the newly minted USH in Accrual and its earning row excluded from normal distribution, delaying the intended recipients' rewards until privileged repair.

    Recommendation

    Keep historical rebalance_revenue rows readable, but remove that retired type from both post-revenue request modes and reject it again in the ledger service before insertion or minting. Preserve the separate, intentional review hold for UNCATEGORIZED revenue.

    Resolution

    Manifest Team: Fixed. The revenue posting endpoint no longer accepts the retired rebalance_revenue type in either request mode and returns 422. The ledger service also refuses that type before it writes a row, claims a receipt or mints, so a caller that bypasses the request schema still cannot create the row. Historical rebalance_revenue rows remain readable and keep their revenue classification. Regression tests cover both request modes and the service-level refusal.

  60. L-10 Low Queued whitelist grant can outlive a stricter AML threshold Access Control Acknowledged

    Description

    The API screens an investor's wallet with Elliptic before granting whitelist access on protocol chains. A wallet user requests an eligibility refresh; a worker later executes the grant. A grant made after a policy change should satisfy the policy then in force. Instead, screening reduces the assessment to a Boolean, and the queued job retains only the wallet address. If an operator lowers the risk threshold while a passing grant waits, the worker does not recheck it. The wallet can be whitelisted on all configured protocol chains and marked ACCEPTED even though its unchanged score now fails the effective AML policy.

    For example, Mallory's score passes the threshold when Bob queues a grant. Alice then tightens the AML threshold before the worker runs. Because the job contains only Mallory's address, Bob's worker can grant access under the old decision.

    Impact: A wallet whose score passed an earlier threshold but fails an operator's stricter policy can be granted whitelist status across configured protocol chains and recorded as ACCEPTED, if its pending job executes after that policy change.

    Recommendation

    Immediately before executing an eligibility-driven whitelist grant, compare the wallet's latest screening score with the current AML threshold and skip a grant that no longer qualifies. Surface the skipped job for operator review, including any Safe proposal already submitted under the earlier policy, so policy changes do not silently leave queued grants valid.

    Resolution

    Manifest Team: We accept this risk. The threshold applies when a screening result is evaluated, and Elliptic re-screens monitored wallets on a regular cadence. Each re-screen result is evaluated against our current threshold and revokes whitelist access when the score exceeds it. A grant queued just before a threshold change therefore stands only until that wallet's next re-screen, the same exposure that applies to every wallet approved under the previous threshold, so a per-job threshold check would not materially narrow it.

  61. L-11 Low Untrusted ERC-20 symbols can inject content into or invalidate Safe activity alerts Validation Resolved

    Description

    The apiserver turns authenticated Safe Transaction Service notifications into Discord alerts so operators can review Safe account activity. An incoming ERC-20 transfer should produce an accurate, deliverable alert with token metadata treated as untrusted data. A token creator can choose the contract's symbol and transfer that token to a monitored Safe. The renderer reads symbol() from that contract and places the result, without formatting or length controls, in the alert's Amount field and title. The valid Safe webhook therefore carries attacker-chosen text into an application-authored alert. A sufficiently long symbol can exceed Discord's embed-field limit and prevent that transfer alert from being delivered. This does not itself sign a transaction or disclose credentials.

    For example, Mallory deploys a token with a very long symbol and transfers it to a Safe monitored by Bob. The webhook is authentic, but Bob's alert renderer copies Mallory's symbol into Discord fields beyond their limits. Alice may never receive that transfer alert.

    Impact: Where a Safe webhook integration and Discord alert destination are configured, a token creator can place misleading text or a link in the operator-facing alert for a transfer to a monitored Safe, or make that transfer's alert undeliverable with an oversized symbol. No direct loss of Safe assets, signing authority, or credentials is established.

    Recommendation

    Treat contract-provided ERC-20 symbols as untrusted display text: remove control characters and active mentions or formatting, and truncate the label so the alert title and amount field stay within Discord's limits. Keep links derived from trusted explorer URL templates, allowing the transfer alert to remain readable and deliverable.

    Resolution

    Manifest Team: Fixed. Safe activity alerts now treat a token's on-chain symbol as untrusted text. Before a symbol appears in an alert, every character except letters (including accent marks), digits, currency signs and '.', '-', '+' is removed, so a symbol can no longer add mentions, links or formatting to the alert, and it is capped at 32 characters. If nothing is left, the alert shows the token's address label instead. Regression tests cover an injection-style symbol, a 5,000-character symbol and a symbol with nothing left to display.

  62. L-12 Low Public deposit lookup exposes hold-review task token Business logic errors Resolved

    Description

    The API lets customers check the progress of their deposits through GET /public/deposits/{depositId}. When a deposit pauses for operator review, Step Functions supplies a callback token that the service stores as lastTaskToken. A public status response should expose the deposit's progress without disclosing that internal workflow credential. The lookup passes the complete database row through a response schema that does not remove lastTaskToken.

    For example, Alice's deposit is waiting for Bob's operator review. Mallory reads Alice's deposit ID from public on-chain activity and calls the public lookup. The response includes Alice's live callback token even though Mallory has no AWS identity. The same serialization pattern appears in the withdrawal lookup, but this finding's in-scope entry point is the deposit route.

    Impact: This discloses an internal workflow credential to an unauthenticated caller. The token alone does not let Mallory call the AWS Step Functions callback API: AWS authorization is still required.

    Recommendation

    Return a purpose-built response from GET /public/deposits/{depositId} that contains only approved public status fields and explicitly excludes lastTaskToken, internal job IDs, and other workflow credentials. Keep the complete deposit row for authenticated internal paths, remove callback tokens from trace logs, and test a held deposit against the public schema. Apply the same serialization rule to analogous public withdrawal lookups as defense in depth, while retaining Step Functions IAM checks.

    Resolution

    Manifest Team: Fixed by the remediation for M-03. The public deposit and withdrawal lookups now use a response schema that removes the workflow fields executionArn, lastTaskToken and lastJobId, and these are the only public read paths for those records. Completing a Step Functions task also requires AWS IAM credentials, which a public caller does not have.

  63. L-13 Low Unchunked wallet-activity page inserts can stall a feed checkpoint DoS Resolved

    Description

    The wallet-activity service imports blockchain transactions for configured company wallets so operators can classify and account for movements. A scheduled or operator-initiated sweep should commit each explorer page and advance its wallet, chain, and feed checkpoint. An external sender can create enough token transfers to a monitored wallet across multiple blocks for the explorer to return a 10,000-row page. The importer places all distinct parent transactions, and later all movement legs, into single PostgreSQL inserts without database-sized chunks. Either statement can exceed the Bind parameter limit. The page rolls back and the checkpoint remains unchanged, so retries encounter the same page and later activity in that feed remains unavailable until repaired. The issue applies only where wallet activity is enabled.

    For example, Mallory sends enough distinct token transfers across several blocks to fill one explorer page. Bob's ingester attempts one oversized database insert and rolls back. Alice's accounting view cannot see later transfers in that feed because the checkpoint never advances.

    Impact: Where wallet activity is enabled, an external sender who can generate a sufficiently large multi-block transfer page can keep one monitored wallet's chain-and-feed checkpoint stalled across retries. Later movements in that feed remain unavailable to classification and accounting until an operator or code change clears the oversized page; other feeds need not fail.

    Recommendation

    Inside the existing page transaction, chunk both parent and leg inserts to a size safely below PostgreSQL's parameter budget, using the actual number of bound columns. Chunk the unresolved-ID and collision-monitor queries as well, while preserving transaction-wide ID mapping, deduplication, conflict handling, and all-or-nothing page commit. Keep checkpoint advancement after successful completion of every page, and add full-page multi-block regression tests for both many-parent and many-leg shapes.

    Resolution

    Manifest Team: Fixed. A sweep page's transfer-leg insert, and the transaction insert and lookups beside it, now run in chunks sized well under the bind-parameter limit, inside the same page transaction, so the page still commits or rolls back as a whole and the checkpoint advances. Since the reviewed commit, history pages are capped at 100 transactions, but a transaction's transfer list is unbounded, so the leg insert was still reachable; a regression test with a page large enough to exceed the limit now commits.

  64. L-14 Low Unfinished wallet-activity sync can retain a clean reconciliation verdict Business logic errors Resolved

    Description

    The wallet-activity service ingests monitored-chain transfers and gives operators a reconciliation summary and CSV export. A clean verdict should mean the ledger has completed its latest capture and checks. Operator and scheduled syncs instead commit pages while their job remains pending or processing. A checkpoint changes to sweeping but retains its previous successful timestamp. Although job status exposes running, the health calculation ignores it and ignores sweeping checkpoints. An older successful run, recent timestamps, an existing anchor, and no open discrepancy can consequently produce ok health and a clean verdict while newer transactions are only partly ingested. An operator or export recipient may rely on an incomplete accounting view.

    For example, Mallory sends a monitored transfer while Bob's next wallet sweep has committed only its first page. Alice requests a reconciliation summary before Bob's job finishes. The previous successful timestamp can still make the partially ingested ledger appear clean.

    Impact: In a deployment with wallet activity enabled, operators and CSV recipients can be given a clean reconciliation claim for a monitored ledger whose latest sweep has committed only some transaction pages and has not completed its checks.

    Recommendation

    At the authoritative health fold, degrade an in-flight sync and any in-scope sweeping checkpoint regardless of its prior lastSweepAt. Keep the previous timestamp for display only. Treat abandoned work as non-clean until a bounded lease is reclaimed and a subsequent full sequence, including invariants, succeeds; tie clean claims to the successful job or checkpoint generation.

    Resolution

    Manifest Team: Fixed. The wallet-activity sync-health verdict no longer reads clean while a sync is running or a checkpoint is still sweeping; those states read as stale. A clean verdict now also requires the last finished sync's recorded balance-check outcome to have no unknown scopes and no open discrepancies, with nothing captured since that check. The summary and export metadata use the same verdict. Regression tests cover an in-flight sync, a sweeping checkpoint and a stale balance check.

  65. L-15 Low Incomplete wallet-activity sweeps are certified as fresh Business logic errors Resolved

    Description

    The optional wallet-activity system sweeps on-chain feeds so operators can classify transfers, reconcile accounts, and export period evidence. A sweep that has not verified its confirmed block target should remain incomplete, and grouping should wait for all relevant feeds. When an explorer feed lags or its probe returns no usable head, ingestion holds lastSyncedBlock behind the target but nevertheless stamps lastSweepAt as current and status as idle. Health checks and stale-checkpoint alerts then treat the attempt as fresh, while the settlement gate treats its timestamp as coverage. During this condition, a donation’s compensating Reserve mint can be suggested alone before the donation is indexed; later A5 matching excludes that grouped mint. This can leave incomplete or misgrouped accounting evidence for operator review, although it does not move on-chain assets.

    For example, Mallory sends a token to a monitored wallet while its explorer feed is lagging. Bob's sweep cannot reach its confirmed target but stamps a recent sweep time. Alice's summary or close can treat that feed as fresh despite the missing transfer.

    Impact: Where wallet activity is enabled and an explorer feed lags or returns no usable head, operators can receive a falsely fresh or clean accounting view and a period-close decision without verified feed coverage; a donation and its compensating mint can also remain split into a review group requiring manual repair. The affected asset is off-chain accounting integrity for the monitored chain and period.

    Recommendation

    Separate attempted sweep time from verified coverage. For a slice held below its confirmed target, preserve its last completed-coverage timestamp, mark the slice incomplete or failed, and propagate that state into sync health, alerts, settlement admission, reconciliation, and period attestation. Keep the held block and overlap retry semantics. The settlement gate must require completed coverage across relevant slices, not merely a recent attempt timestamp.

    Resolution

    Manifest Team: Fixed. A sweep held below its confirmed target is now marked incomplete, and its sweep timestamp records the time of the last block it actually covered rather than the time of the attempt; coverage never moves backwards. The staleness alert, the settling gate, sync health and the period close therefore see real coverage, and a period close fails while any live slice on a pinned chain has not reached its period-end block. We did not freeze the old timestamp, because one of our chains is routinely held a few blocks short; recording the held block's time keeps that lag at seconds of coverage while a persistent hold still ages out and alerts.

  66. L-16 Low 32-bit sender lock permits cross-sender revenue-processing delays DoS Resolved

    Description

    The API records genuine USDe transfers to Treasury, grouping unknown senders' receipts before minting revenue or quarantining excess receipts. Different senders should be processed independently. Alchemy's signed yield webhook and an on-chain receipt check authenticate each transfer, but the receipt service serializes work using PostgreSQL hashtext of the sender address as an exclusive transaction advisory-lock key. That key has only 32 bits. Mallory can precompute a wallet whose normalized address collides with Alice's, transfer enough USDe to trigger a mint, and hold the shared lock while the service simulates and waits for queued execution. Alice's unrelated receipt then cannot reach its mint or quarantine decision until the lock releases, potentially delaying processing or causing an invocation timeout. The transfer checks prevent fabrication but not this cross-sender contention.

    For example, Mallory computes a controlled address with the same 32-bit lock key as Alice's sender address and makes a real USDe transfer that starts a slow mint. Bob's worker holds that shared key while waiting, so Alice's unrelated receipt cannot be processed until it releases.

    Impact: Given a precomputed collision with an honest external sender, a real above-threshold USDe transfer, overlapping webhook processing, and a pending mint, Mallory can delay that sender's off-chain Treasury receipt decision for the mint/queue wait—up to roughly the 270-second default queue poll or an invocation timeout. The demonstrated effect is temporary revenue-processing unavailability, not theft or permanent on-chain loss.

    Recommendation

    Replace the 32-bit sender advisory-lock key with a domain-separated 64-bit cryptographic key derived from the normalized address, while retaining serialization for receipts from the same sender. Check that the revenue path consistently uses this key and add a regression case for two distinct addresses that collide under PostgreSQL hashtext. This sharply reduces avoidable cross-sender lock contention without changing the receipt workflow.

    Resolution

    Manifest Team: Fixed as a consequence of the remediation for L-01. The sender-scoped advisory lock now covers only a short database transaction that decides and claims the receipt. The mint runs after that transaction commits, under a separate non-blocking claim lock. A hash collision between two senders therefore serializes only that brief database step and no longer holds one sender behind another sender's mint or queue wait.

  67. L-17 Low An older clean balance check can resolve a newer discrepancy Business logic errors Resolved

    Description

    Wallet-activity exports compare recorded token movements with stored wallet-balance snapshots. A drift creates an open discrepancy for operators; a genuinely later clean check should resolve it. Period exports also disclose this check as a current-state attestation gate. Concurrent exports can read different snapshots while the normal blockchain-snapshot writer updates balances. If one check reads a clean old snapshot and another detects drift from the new snapshot, the old check's unversioned UPDATE can resolve the new discrepancy. Its cached clean result can then be used in a period close. The issue requires overlapping authorized jobs and a relevant balance change; it does not let an external actor invoke the guarded export.

    For example, Mallory's inbound transfer changes a monitored balance. Alice's newer export sees the drift and opens a discrepancy, while Bob's older export finishes afterward using a previously clean snapshot. Bob's stale write resolves Alice's newer discrepancy.

    Impact: In an enabled wallet-activity deployment, overlapping authorized checks around a normal snapshot update can falsely close a newer balance discrepancy for one monitored wallet, chain, and token. An operator may also receive a durable period evidence pack whose disclosed current-state invariant was evaluated on stale data. The demonstrated effect is accounting and alert-status integrity; later checks can reopen the discrepancy, and no direct asset loss is shown.

    Recommendation

    Bind discrepancy transitions to the observation that justified them. At minimum, record a database-time observation boundary and permit a clean run to resolve only rows last changed before that boundary; give later discrepancy writes a database-time version. Immediately before a period close is marked passed, check for any currently open balance discrepancy independently of the historical period cutoff. For stronger consistency, serialize each wallet-chain-token read/transition and the final close gate against relevant snapshot and movement writers.

    Resolution

    Manifest Team: Fixed. A clean balance check now resolves only discrepancies that were recorded before it began reading its inputs, using the database clock for both the check's start and the discrepancy's detection time, so a check that read an older snapshot can no longer resolve a newer discrepancy. Period close also fails while any balance discrepancy is open, whenever it was detected, and the open count is recorded in the attestation.

  68. L-18 Low Unbounded donation rows can stall one flex wallet's recovery DoS Acknowledged

    Description

    The API records genuine USH transfers into a managed flex wallet, then recovers their burned value when a flex-zero event arrives. A token holder can create many distinct small transfers, each recorded as a pending row. Recovery should make bounded, resumable progress while preserving the exact total. Instead, automatic and operator recovery load every pending amount into application memory, then update and return every row in one database transaction. The configured mint cap limits the sum, not the number of rows. If enough transfers accumulate before a burn, the finite Lambda budget can be exhausted; the transaction rolls back and retries encounter the same rows, delaying recovery for that wallet until intervention.

    For example, Mallory makes many small genuine USH donations to one managed flex wallet. Bob's recovery job later tries to load and update all rows in a single transaction. If that batch exceeds its worker or database budget, Alice must repair or rerun recovery while the rows remain pending.

    Impact: When flex remediation is configured and enough distinct genuine transfers accumulate before a burn, automatic and operator recovery for that managed wallet can repeatedly exhaust the API worker budget, leaving its burned donations unrecovered until an operator reduces the workload or a bounded recovery implementation is deployed.

    Recommendation

    Calculate the pending-donation count and exact total in the database instead of loading every amount into the worker, and avoid returning every updated row when marking donations claimed. Bound the database work per recovery attempt; if a wallet exceeds that bound, leave recovery pending with a clear operator alert rather than repeatedly timing out and retrying the same page. Document the current high-row-count limitation until this targeted path is deployed.

    Resolution

    Manifest Team: Acknowledged; we will fix this before flex-wallet remediation is enabled in production, where it is not configured today. We agree the rows are cheap to create, since zero-value transfers are accepted. The effect is a delayed recovery for the affected wallet; no funds are lost. We will ignore zero and dust-value donations and bound the size of each recovery claim.

  69. L-19 Low Sybil wallet profile creation can exhaust profile and referral-code capacity DoS Resolved

    Description

    Wallet users sign in with a signed message and read their profile through GET /private/user. The read should not let one actor create unlimited persistent profiles or consume shared registration capacity. Instead, a first read for any new wallet creates a users row and generates a unique five-character referral code. Mallory can sign in with many independently generated wallets; the login limiter is keyed by wallet as well as IP, and no creation quota protects the GET. Repeated first reads grow shared storage and referral-code lookup work. Once the finite code space is exhausted, its retry loop cannot finish, preventing new profiles from being created.

    For example, Mallory creates many valid wallets and signs in to each. Bob's profile endpoint creates a user row and referral code on each first read. Alice's later new account can fail to obtain a code if the finite namespace is eventually exhausted; this requires very large registration volume.

    Impact: With sustained creation of many valid wallet sessions, one actor can consume shared users-table storage and referral-code lookup capacity; after the finite code namespace is filled, first-time users cannot create profiles. Existing profiles remain readable unless the resulting database load also degrades them. Full namespace exhaustion requires millions of distinct successful registrations.

    Recommendation

    Put a finite retry limit on unique referral-code generation and return a controlled error if no code can be allocated, so a collision cannot trap profile creation in an endless loop. Monitor new-profile volume and referral-code collision rates, and document that a first GET /private/user creates a persistent profile. Add a test that forces repeated code collisions and confirms the request exits within the chosen bound.

    Resolution

    Manifest Team: Fixed. Referral-code allocation now makes at most 10 attempts, retries only when a concurrent insert takes the same code, and otherwise returns a coded, retryable 503 instead of looping, so profile creation can no longer hang on code exhaustion. The OpenAPI description documents first-read profile creation and the new error. Regression tests cover exhaustion and the concurrent-insert retry.

  70. L-20 Low Wallet-activity coverage verdict can reuse checkpoints from an obsolete roster Business logic errors Resolved

    Description

    Wallet activity sweeps a configured roster of company wallets, chains, and feeds, then provides finance operators with reconciliation summaries and period exports. A clean or attested result should require current-roster capture coverage, not merely healthy rows left by an older roster. The freshness check filters checkpoints that exist but does not require a row for each current wallet-chain-feed; a partial chain misconfiguration is also omitted, and the last successful sync is not tied to a roster version. After an ordinary roster change, Mallory can transfer a token to an affected wallet while that scope is unswept. An operator may then see clean reconciliation or receive a passing period evidence pack assembled only from captured scopes, even though the transfer is absent from the accounting data.

    For example, Alice adds a company wallet to the roster while Bob's existing checkpoints cover only the old wallets. Mallory sends a token to the new wallet. The freshness and close checks can still report a clean result from the old checkpoints, so Alice's pack omits that transfer.

    Impact: In a wallet-activity-enabled deployment during a roster or chain-configuration transition, finance operators can receive a clean summary or passing period evidence pack that omits transfers involving an unswept current wallet. The demonstrated loss is integrity of the company's accounting evidence; the code does not prove a direct transfer or loss of on-chain assets.

    Recommendation

    At freshness and period close, enumerate the wallet, chain, and feed checkpoints required by the current roster. Mark reconciliation unverified and block a complete attestation whenever a required checkpoint is missing, unconfigured, or has not completed the relevant sweep; report the missing scope to operators. Test a newly added wallet or chain with no checkpoint so older roster results cannot appear to cover it.

    Resolution

    Manifest Team: Fixed. The summary and export metadata now compare coverage against the current roster's checkpoints, so a roster slice with no checkpoint reads as never swept rather than clean, and a declared roster chain that is not configured degrades the summary and fails the period close. Period close already checked the current roster's coverage. Regression tests cover a newly added slice and a partially configured roster.

  71. L-21 Low Pool-to-company swap output receives arrival-order-dependent accounting direction Business logic errors Resolved

    Description

    Wallet-activity ingestion combines token transfers seen by company-wallet explorer feeds with receipts from a configured public pool. It deduplicates the same physical transfer and uses its stored direction to calculate signed USD activity. For a public swap whose output is delivered from PoolManager to a company wallet, the roster writer labels the transfer in, while the pool writer labels it out, even though both endpoints are treated as company endpoints elsewhere. Both writers use the same content identity and preserve the first inserted row. A timely explorer feed therefore produces the opposite signed accounting result from a lagged feed that lets the pool receipt arrive first. An external trader can influence off-chain reports by directing swap output to a company recipient; the trader must pay for that output, and no on-chain fund loss is shown.

    For example, Mallory pays for swap output sent from PoolManager to a company wallet. Bob's pool feed records the leg as outbound first; Alice's later wallet feed recognizes the same transfer as inbound but keeps the first row. The reported signed amount depends on arrival order.

    Impact: Where wallet-activity ingestion and the Manifest pool are configured, an external trader who pays for output sent to a company wallet can cause that one off-chain movement to contribute opposite signed USD amounts depending on explorer-feed timing. No on-chain balance change beyond the trader-funded swap is established.

    Recommendation

    Use the same chain-scoped company-endpoint set in the roster and pool writers when assigning transfer direction, without adding PoolManager to the explorer sweep roster. Classify a PoolManager-to-company output consistently as internal regardless of which feed arrives first; correct only identified rows with conflicting direction and their affected rollups. Add a regression test that ingests the same transfer in both orders.

    Resolution

    Manifest Team: Fixed. The pool feed, which is the only writer that reads the receipt, now decides the direction of PoolManager to company legs for transactions attributed to the Manifest pool: they are stored as internal, and if the roster sweep stored the same leg first as in or out, the pool feed updates it to internal. The final direction is now the same in either arrival order. We did not put the PoolManager in the roster writer's company set, because it is shared by every V4 pool and a company wallet trading in another pool pays it a real outflow. Legs stored before the fix were repaired on our non-production environments; production had no affected legs.

  72. L-22 Low Public form rejection exposes reCAPTCHA score and active cutoff Validation Resolved

    Description

    The public contact and signup form accepts unauthenticated submissions, assesses a reCAPTCHA token, and forwards a form to the contact webhook only when its action and risk score pass the server-side gate. A rejected submission should receive a generic result without revealing the gate's internal scoring feedback. Instead, when a valid token scores below the configured cutoff, the service puts both numeric values in its failure message. The controller returns that message in the public 422 response. An anonymous caller can measure scores for tokens they submit and learn the active cutoff, improving their ability to calibrate automated submissions. This disclosure does not itself forward a rejected form.

    For example, Mallory sends a low-scoring valid reCAPTCHA token with a public form submission. Bob's gate rejects it but returns the numeric score and cutoff. Alice's form remains protected, while Mallory gains feedback to tune later automated submissions.

    Impact: An anonymous caller with valid low-scoring tokens can learn the precise risk score for each submitted token and the active form cutoff, exposing feedback from the anti-automation gate. Rejected forms remain blocked.

    Recommendation

    Keep the server-side score comparison, but return a fixed public message for every below-threshold result. Retain numeric score and cutoff only in access-controlled diagnostics; do not place them in the service result passed to the controller.

    Resolution

    Manifest Team: Fixed. Every reCAPTCHA rejection on the public form endpoint, whether for a low score, an invalid or duplicate token, an action mismatch or an assessment error, now returns one fixed 422 message with a stable error code. The score, threshold and failure reason are logged server-side only. Regression tests cover each rejection path and assert the exact response body.

  73. L-23 Low Wallet-activity summary can label unchecked captured balances clean Business logic errors Resolved

    Description

    Wallet activity captures company-wallet token transfers so finance operators can compare recorded movements with on-chain balances. A clean reconciliation summary should mean every active captured token scope passed a check against the current capture. An external party can transfer an ERC-20 token to a monitored wallet, creating a scope with no balance anchor. The invariant returns UNKNOWN, but the sync treats that finding as a successful step, and the summary substitutes the existence of any historical anchor plus no open discrepancy for a scoped clean result. An operator-run standalone backfill can also advance capture after the last check without invalidating that result. The list summary and ordinary CSV metadata may therefore say clean while current movements remain unverified, misleading accounting review.

    For example, Mallory sends an ERC-20 token to a company wallet that has no balance anchor for that token. Bob's invariant reports UNKNOWN, but Alice's summary still says clean because another token had a historical anchor and no discrepancy is open.

    Impact: In an enabled wallet-activity deployment, a finance operator can receive a clean reconciliation summary for a captured company-wallet token scope that was never successfully checked against its current balance, or for transfers captured after the last validation. The demonstrated harm is misleading accounting review, not a proven on-chain asset change.

    Recommendation

    Derive the summary's clean label from the existing per-wallet, per-chain, per-token invariant outcomes rather than from the mere presence of an anchor and absence of open discrepancies. If an active captured scope is UNKNOWN, has no completed check, or has new capture since its last check, report its state as unverified and identify that scope for operator review. Keep the period-close gate from treating that summary label as proof of coverage.

    Resolution

    Manifest Team: Fixed. A clean wallet-activity verdict now requires the last finished sync's recorded balance check to have no unknown scopes and no discrepancies, and requires that no movements were captured after that check; a token without an anchor therefore keeps the summary and export metadata from reading clean. Period close already required zero unknown scopes. Regression tests cover a missing anchor and a capture after the check.

  74. L-24 Low Unchanged adverse AML decisions skip repair of partial chain grants Access Control Resolved

    Description

    Wallet screening should keep each protocol chain's whitelist aligned with the latest Elliptic result. The wallet refresh compares a new result only with the user's database eligibility. If both say REJECTED, it updates the report and returns without checking the chain. A grant that succeeded on one chain but failed on another can leave the database REJECTED while one chain remains whitelisted, so a fresh adverse screening does not queue the revocation needed to repair that partial grant.

    For example, Bob's partial grant leaves Mallory whitelisted on one chain but REJECTED in the database. Alice's next negative screening returns the same database decision, so the refresh queues no revoke. Mallory's on-chain grant survives the newer review.

    A wallet with an adverse screening result can retain access on an affected chain after a partial grant, even when it is screened again and remains REJECTED in the database. This requires a prior partial chain operation; it does not grant control over other wallets or establish asset theft.

    Recommendation

    When a fresh adverse screening still yields REJECTED, check the wallet's actual whitelist state on configured chains and queue the existing idempotent revoke path for any chain that remains granted. Return a visible pending or repair status until that reconciliation completes, so an unchanged database decision cannot be mistaken for an enforced on-chain decision.

    Resolution

    Manifest Team: Fixed. An operator-forced eligibility refresh compared a new adverse result only with the stored decision, so a wallet already marked rejected was saved again with no on-chain action. A rejected result now always queues the whitelist revocation under the new AML decision version, including when the stored decision is unchanged. The revocation reads each chain, revokes wherever the wallet is still whitelisted and does nothing elsewhere, so a partial grant is repaired on this path. An unchanged approved result still completes without on-chain work. Tests cover a rejected wallet screened adverse again, confirming that the revocation is queued and that the grant surviving on one chain is revoked.

  75. L-25 Low Other V4 pool settlements are attributed to Manifest-pool activity Business logic errors Resolved

    Description

    The wallet-activity service reconciles trades in Manifest's configured Uniswap V4 pool. It should use that pool's events and settlement evidence to record only its own token movements before classifying investor trades for operators and accounting. A permitted trader can combine a Manifest-pool swap with a second pool action using the same currency in one transaction. The sweep filters events by Manifest pool ID but scans the entire transaction receipt for currency Transfers touching the shared PoolManager. It stores the second pool's transfer as a Manifest-pool leg; the classifier then groups it under the Manifest swap marker and may assign it an accounting role. This contaminates durable company activity and can misstate trade or asset-movement reports without changing on-chain balances.

    For example, Mallory submits one transaction that swaps in Manifest's pool and another V4 pool using the same currency. Bob's ingester selects Manifest's swap event but collects both pools' PoolManager transfers. Alice's accounting group can contain the unrelated settlement leg.

    Impact: When wallet activity and the Manifest pool are configured, a permitted trader can make a second V4 pool's settlement appear in durable Manifest-pool legs and, for a compatible leg shape, an automatically classified investor-trade group. Operators and accounting exports can therefore overstate or misattribute that transaction's asset movement until the hash is identified and repaired; on-chain balances are unaffected.

    Recommendation

    When a receipt contains settlement activity for more than the configured Manifest pool, do not attribute every PoolManager currency transfer to the Manifest swap. Mark that transaction ambiguous and send it to operator review unless its legs can be tied to the configured pool with the data already available. Test a single transaction containing a Manifest-pool swap and another V4 pool swap so unrelated legs never receive automatic Manifest classification.

    Resolution

    Manifest Team: Fixed. Pool ingestion now checks each receipt and flags the transaction for review, excluding it from automatic classification, when any PoolManager Swap, ModifyLiquidity or Donate event names another pool, when a Manifest swap and a liquidity change share one transaction, or when the PoolManager's gross receipts or payouts in either pool currency differ from what the Manifest Swap events account for. The check uses gross amounts so an event-less take and settle of equal size cannot pass.

  76. L-26 Low Stored messages, backups and streams lack configured encryption Clear storage of sensitive information Acknowledged
    Location
    AWS account 891377361887

    Description

    Seven SNS topics have no KMS key configured for stored messages. Two retained rwadashboard-quality RDS snapshots report encryption disabled. The active DirectPut Firehose streams better-stack-logs and better-stack-metrics both report DeliveryStreamEncryptionConfiguration.Status=DISABLED in us-east-2. Operational logs and metrics in those streams lack the additional stream-level SSE control, although AWS encrypts interim storage separately. Access to the topic messages or snapshots could expose operational or customer data; the absent Firehose SSE removes an additional key-based protection for stream records.

    Recommendation

    Enable KMS encryption on the seven SNS topics and allow their existing publishers and subscribers to use the key. Test alert delivery. Delete either database backup if it is no longer needed; otherwise make an encrypted copy, confirm it restores, and remove the unencrypted original. Enable Firehose server-side encryption on both DirectPut streams with an appropriate KMS key using StartDeliveryStreamEncryption; validate producer writes and downstream delivery after activation. Assess destination encryption separately.

    Resolution

    Manifest Team: Acknowledged. We will enable KMS encryption on the alert topics and grant their publishers and subscribers the key, then test delivery, and enable server-side encryption on both Firehose delivery streams and validate delivery. The two unencrypted backups are old test-environment snapshots; production has none, and we will delete them.

  77. L-27 Low Support data lacks point-in-time recovery Configuration Acknowledged
    Location
    AWS account 891377361887

    Description

    Point-in-time recovery is disabled for four DynamoDB tables that hold transaction, alerting, or deployment state. A mistaken or unauthorized write or deletion could be difficult to reverse. That may disrupt transaction processing or reduce the accuracy of alerts. Affected assets are mf-use2-test-tx-queue-ddb, mf-use2-test-alerting-betterstack-dedupe, mf-use2-test-event-dedup-ddb, and feature-flag-deployment-locks-test.

    Recommendation

    Enable point-in-time recovery on the four DynamoDB tables. Restore a test table once to confirm the transaction and alert state can be recovered.

    Resolution

    Manifest Team: Acknowledged. We will enable point-in-time recovery on these tables in every environment and test a restore.

  78. L-28 Low AWS Config is not recording active regions Configuration Resolved
    Location
    AWS account 891377361887

    Description

    AWS Config has no resource recorder in us-east-2 or ca-central-1. A change to an application or relay API resource in either region may lack a configuration history in this service. That could make a security or privacy incident harder to reconstruct. Affected assets are Manifest resources in both active regions.

    Recommendation

    Start AWS Config recording in us-east-2 and ca-central-1 and deliver the history to a protected destination. Confirm resource changes appear in both regions.

    Resolution

    Manifest Team: Fixed. AWS Config now records all supported resource types in us-east-2 and ca-central-1 in every workload account, continuously in production and test. It delivers to a versioned S3 bucket in each account, with access restricted and a policy that denies object deletion to everyone, administrators included. Production history is kept for seven years.

  79. L-29 Low GuardDuty is disabled in active regions Configuration Resolved
    Location
    AWS account 891377361887

    Description

    GuardDuty has no detector in us-east-2 or ca-central-1. Suspicious activity affecting workloads in those regions may go without GuardDuty findings. That could delay investigation of access to services or customer data. Affected assets are Manifest workloads and API resources in both regions.

    Recommendation

    Enable GuardDuty in us-east-2 and ca-central-1, and send high-severity findings to the existing incident alert channel. Confirm the notifications reach responders.

    Resolution

    Manifest Team: Fixed. GuardDuty runs in us-east-2 and ca-central-1 in every workload account, with S3, RDS login and Lambda network protection enabled. Findings of severity 7 or higher notify the alerting fallback channel by email and Better Stack. Findings in ca-central-1 are forwarded to us-east-2 for the same notification.

  80. L-30 Low Log groups have no retention limit Clear storage of sensitive information Acknowledged
    Location
    AWS account 891377361887

    Description

    Five API, database, and telemetry log groups have no expiry policy, so their entries remain until deleted. Some API requests may carry personal information into execution logs. Keeping those records indefinitely could extend access to user or operational data beyond its intended life. Affected assets are API-Gateway-Execution-Logs_kfh5lvep9a/test, API-Gateway-Execution-Logs_aec5tss7vd/test, /aws/rds/cluster/mf-use2-test-apidb-rds/postgresql, /aws/rds/instance/manifest-db-testing/postgresql, and /aws/application-signals/data.

    Recommendation

    Set a finite retention period on the five log groups based on investigation and data needs, and limit access to people and services that need the logs.

    Resolution

    Manifest Team: Acknowledged. We will set finite retention on these log groups and turn off API Gateway data tracing in deployed environments, so request bodies are no longer written to execution logs.

  81. L-31 Low Deletion protection is disabled for stateful resources Configuration Acknowledged
    Location
    AWS account 891377361887

    Description

    Deletion protection is off for the mf-use2-test-apidb-rds database, the mf-use2-test-shared_cognito_pool user pool, and five DynamoDB support tables. A mistaken or unauthorized deletion could remove account and transaction state. This may interrupt sign-in or application processing and require recovery of customer data. Affected tables are mf-use2-test-tx-queue-ddb, mf-use2-test-alerting-betterstack-dedupe, mf-use2-test-event-dedup-ddb, mf-use2-test-alerting-state, and feature-flag-deployment-locks-test.

    Recommendation

    Enable deletion protection on the Aurora cluster, Cognito user pool, and five DynamoDB tables. Keep intentional deletion in a reviewed change process.

    Resolution

    Manifest Team: Acknowledged. Production's Aurora cluster and Cognito user pool already have deletion protection. We will enable it on the test cluster and pool and on the DynamoDB tables in every environment.

  82. I-01 Informational AWS hardening suggestion Suggestion Acknowledged
    Location
    AWS account 891377361887

    Description

    The management-events trail has no CloudWatch Logs connection and does not record S3 object access or Lambda invocations. The mf-use2-test-vpc network has no VPC Flow Logs. The mf-use2-test-monitoring-infra-rds-backup-failure alarm has no notification action, and actions are disabled on mf-use2-test-daily-operations-failures. Account changes, object access, function calls, network connections, or failed backups may therefore be harder to notice and investigate.

    The monitoring EFS file system mf-use2-test-ozmonitor-data (fs-0e4ea4c829075b7f8) has no backup. Versioning is off for the S3 buckets mf-use2-test-apiserver-output, mf-use2-test-cdn-logs, and better-stack-firehose-891377361887-us-east-2, and suspended for mf-use2-test-cdn. An accidental or unauthorized deletion or overwrite could be harder to recover, potentially affecting monitoring records, API output, or CDN content.

    The Cognito pre-token function mf-use2-test-shared_cognito_pool-pre-token-gen uses the deprecated nodejs20.x runtime. DKIM signing is disabled for the sending SES identities test.manifest.finance, engineering@manifest.finance, and no-reply@manifest.finance. A runtime weakness could affect identity processing, while unsigned email may be harder for recipients to verify as genuine Manifest mail.

    Recommendation

    Connect management-events to CloudWatch Logs, record data events for the four named S3 buckets and the 11 application Lambda functions, and enable VPC Flow Logs for mf-use2-test-vpc. Add a notification action to the backup-failure alarm and enable the daily-operations alarm’s actions. Confirm that logs arrive and notifications reach responders.

    Back up mf-use2-test-ozmonitor-data and test a restore. Enable or resume versioning on the four named S3 buckets, with lifecycle rules for older versions.

    Upgrade the Cognito pre-token function to a supported runtime and test sign-in and token claims. Enable DKIM for test.manifest.finance and manifest.finance, publish the SES DNS records, and verify messages from each affected identity.

    Resolution

    Manifest Team: Acknowledged. We are tracking each suggestion: CloudTrail delivery to CloudWatch Logs and data events, VPC flow logs, alarm actions, EFS backup, S3 versioning, the pre-token function's runtime, and DKIM signing for the domain identity. Most apply to production as well, and we will schedule them with our audit-logging work.

More from Manifest

  1. Hook

    40 findings 40 findings: 7 medium, 8 low, 25 informational
  2. Manifest Finance Protocol

    61 findings1 high 61 findings: 1 high, 6 medium, 26 low, 28 informational

Put your code through the same review.

This review started with a conversation about scope. Tell us what you are building and we will plan yours with you.

Get a quote