# Direct Pump project guide [README](../README.md) · [Contributing](#contributing) · [Security](#security) · [Architecture](#architecture) · [Pro setup](#pro-setup) · [Pro operations](#pro-operations) · [Maintenance](#releases-and-maintenance) · [License](#copyright-and-license) ## Contributing Direct Pump is a WXT / vanilla TypeScript Chrome MV3 extension with an optional self-hosted Pro server. Start with [README](../README.md) and the [public architecture](#architecture). Use Node.js 24 LTS and `npm ci`. ### Changes and verification 1. Open an issue for a substantial feature, new provider, dependency or schema change before implementation. Small fixes can go directly to a pull request. 2. Keep one concrete change per PR. Include the problem, resulting behavior, affected site/mode and actual verification. Preserve unrelated edits. 3. Run `npm run verify`. Run the affected regression tests before broad rewrites. Include stale-response, navigation and recovery cases when relevant. 4. Shared behavior must cover GMGN, Axiom and FOMO; Axiom pages bind a pool, not an interchangeable mint. Site-specific parsing belongs in `src/sites/`. 5. Selector changes require the Brave fixture gate and applicable live read-only checks. Network tests are opt-in. Report skipped or unavailable checks honestly. 6. UI changes must follow existing design tokens and include screenshots at real side-panel widths. Preserve keyboard focus, reduced motion and error states. ### Financial and privacy boundaries - Basic trades retain explicit Phantom approval, frame/document checks, immutable targets, prepared-call cancellation and wallet-wide unresolved locks. - Pro keys stay in the private signer. Native extension views cannot upload a private key or request arbitrary-transaction signing. Keep private signer reservations authoritative and engine reservations a separate mirror. - Preserve exact recorded-byte recovery. Never unlock an uncertain transaction using elapsed time, fabricate a balance/price, silently retarget an order, or resend a transaction merely to test a patch. - Tests and screenshots use synthetic data and unfunded test identities. Never sign/trade with funded accounts, deploy services or send live alerts for CI. - Do not submit secrets, encrypted keystores, wallet databases, session tokens, pairing codes, provider keys or diagnostic exports containing private details. - Do not add runtime dependencies, frameworks or financial schema migrations without explicit maintainer agreement. Security-sensitive changes to signing, recovery, policy, storage, withdrawal or CI require independent review. Normal PR CI has no production credentials and runs on GitHub-hosted runners, never on a personal signer host. ### License and authorship Contributions to original application code are accepted under **GPL-3.0-only**. You retain copyright in your contribution. Confirm that you have the right to submit it and identify any copied code, assets, generated material or additional license obligations. Third-party materials retain their original licenses. No copyright assignment or unrelated commercial licensing rights are implied. When a dependency changes, update the lockfile, run `node scripts/third-party-notices.mjs --write`, review the generated license inventory and provenance, then run `npm run check:publication`. Do not hide an unknown license or missing attribution through an allowlist. Ordinary bugs belong in GitHub Issues. Vulnerabilities follow [SECURITY](#security). Participation follows the [code of conduct](#community-conduct). ## Community conduct Direct Pump welcomes constructive participation across backgrounds and experience levels. Discuss evidence and behavior, credit others' work and respect privacy. Critique code and decisions without attacking people. Harassment, discrimination, threats, impersonation, scams, unsolicited financial promotion, doxxing and posting another person's credentials or wallet records are not acceptable. Do not present a fork, paid service or third-party trading result as endorsed by this project without permission. Maintainers may remove content, close discussions, restrict participation or block accounts when necessary. Responses should be proportionate and consider impact, context and repeated behavior. Maintainers follow the same rules. Report abuse involving GitHub accounts or content through [GitHub's private abuse report](https://github.com/contact/report-abuse). Maintainers can also moderate repository content through GitHub's reporting and blocking tools. A project-specific private contact may be added when the maintainer publishes one; do not expose personal details in a public issue. Security vulnerabilities and credentials use the separate [security policy](#security). This conduct policy applies to repository issues, pull requests, discussions and other spaces explicitly maintained by Direct Pump. It does not claim authority over unrelated communities or private trading activity. ## Security ### Supported versions Before the first tagged release, security reports are accepted for the current `main` commit on a best-effort basis; include the affected commit SHA. Once tagged releases are published, the latest tagged release is the security-maintenance target. Older releases may receive fixes at maintainer discretion; this is not an LTS commitment. Development code and previews are not a production-safety commitment. An open-source license is not a security audit, custody guarantee, execution guarantee or promise of investment returns. ### Private vulnerability reports Use **Security → Advisories → Report a vulnerability** in [superb43/direct_pump](https://github.com/superb43/direct_pump/security/advisories) when private vulnerability reporting is enabled. This channel must be enabled immediately after the repository becomes public and before inviting reports. If the form is unavailable, do not publish exploit details, wallet information or credentials in an issue; wait for a confirmed private reporting channel. Report affected versions, Basic/Pro mode, platform/site, reproducible steps using synthetic data, expected/actual behavior and potential impact. Remove private keys, mnemonics, API keys, pairing codes, authentication envelopes, wallet databases and unrelated personal data. A maintainer may request additional redacted evidence through the private report. The project aims to acknowledge reports within seven days, subject to maintainer availability. Remediation and coordinated disclosure depend on severity and a verified fix; there is no paid bounty or guaranteed response SLA. ### Safe research Research on your own isolated environment and unfunded test identities is welcome. Do not access other users' systems, execute funded trades, move assets, bypass wallet approval or send live alerts. Report discovered credentials privately; the owner must revoke or rotate them before relying on history removal. Basic preserves manual Phantom approval. Pro is a separate server-wallet path: the signer owns keys and reservations, and signed/unknown attempts remain tracked. Do not delete journals, create compensating orders or reset uncertainty locks as an incident shortcut. Follow [Pro recovery](#orders-and-recovery). CI and public tests must never have access to a funded wallet, production signer, deployment credentials or private provider accounts. Security fixes require independent review and relevant regression evidence before release. ### Known dependency findings — 2026-10-13 Both `npm audit --json` and `npm audit --omit=dev --json` returned exit code 1: 18 affected dependency entries (11 High, 7 Moderate, 0 Critical). These counts include downstream SDKs affected by the same transitive advisory; the reports identify seven distinct advisories, listed below. No dependency versions or audit suppressions were changed during source-publication preparation. | Locked package | npm-reported severity | Advisory | | --- | --- | --- | | bigint-buffer@1.1.5 | High | [GHSA-3gc7-fjrx-p6mg](https://github.com/advisories/GHSA-3gc7-fjrx-p6mg) | | stream-json@1.9.1 | Moderate | [GHSA-528h-pc64-c93x](https://github.com/advisories/GHSA-528h-pc64-c93x) | | stream-json@1.9.1 | Moderate | [GHSA-hqr4-qq8f-hg3x](https://github.com/advisories/GHSA-hqr4-qq8f-hg3x) | | stream-json@1.9.1 | Moderate | [GHSA-mjw6-4jj6-33hc](https://github.com/advisories/GHSA-mjw6-4jj6-33hc) | | toml@3.0.0 | High | [GHSA-82x6-q7mm-w9cf](https://github.com/advisories/GHSA-82x6-q7mm-w9cf) | | toml@3.0.0 | High | [GHSA-v5mp-jgw5-2x6j](https://github.com/advisories/GHSA-v5mp-jgw5-2x6j) | | uuid@8.3.2 | Moderate | [GHSA-w5hq-g745-h8pq](https://github.com/advisories/GHSA-w5hq-g745-h8pq) | The Pro build explicitly selects bigint-buffer's existing JavaScript browser implementation and asserts that no native bigint implementation enters or loads in that bundle (`scripts/build-pro-server.mjs`). This is a scoped native-path mitigation; it does not clear the package audit or resolve the other advisories. Direct execution of unbundled source has not received the same guarantee. ### 0.8.0 bundled-release dependency disposition Reviewed on **2026-10-14** by independent automated code/security and architecture review lanes, with evidence recorded in the release PR. Both current audits still report the 18 affected entries above; no dependency, lockfile resolution or audit suppression was changed. Package remediation remains open. The following advisory-specific exceptions apply only to the packaged extension and `server-dist/cli.mjs` produced by the reviewed build, not direct execution of unbundled TypeScript, custom bundles, or an assurance of funded execution safety. | Advisory | Reviewed runtime evidence and bounded disposition | Re-review trigger | | --- | --- | --- | | GHSA-3gc7-fjrx-p6mg | Pro build aliases bigint-buffer to its existing pure-JS browser implementation, asserts the exact metafile input, and smoke-checks that native bigint loading is never attempted. The extension uses the browser implementation. The vulnerable native path is excluded from these binaries. | SDK, dependency, bundler, alias, entrypoint or native-loading changes. | | GHSA-82x6-q7mm-w9cf | TOML is retained through Anchor, but the identified parse call is its local Anchor.toml workspace getter. Application and reviewed SDK execution do not access Anchor workspace; no request or provider data is parsed as TOML. | Any workspace use, TOML configuration/input, Anchor or bundle/import changes. | | GHSA-v5mp-jgw5-2x6j | Same isolated local Anchor workspace parser path; no application TOML parse or remote TOML input was found. | Any workspace use, TOML configuration/input, Anchor or bundle/import changes. | | GHSA-528h-pc64-c93x | stream-json is absent from the reviewed Pro bundle inputs and is not used by the browser application's RPC client. The package remains in the installed SDK dependency tree. | Adding streaming JSON, changing SDK/RPC imports, dependencies or bundler. | | GHSA-hqr4-qq8f-hg3x | No stream-json/JSONC parser runtime path in the reviewed binaries. | Adding JSONC/streaming parsing or changing SDK/bundle imports. | | GHSA-mjw6-4jj6-33hc | No stream-json Assembler runtime path in the reviewed binaries. | Adding stream-json assembly or changing SDK/bundle imports. | | GHSA-w5hq-g745-h8pq | The reviewed Web3/jayson browser RPC client uses uuid.v4(), not the affected v3/v5/v6 caller-supplied-buffer APIs. | UUID call-site, RPC client, dependency or bundle/import changes. | Re-run both audits and reassess each exception on these triggers and before the next release. New Critical findings, reachable High findings or unresolved signing/key-authority exposure still block publication under [the release policy](#routine-maintenance-and-dependency-decisions). ## Architecture Direct Pump is a standalone WXT / vanilla TypeScript Chrome MV3 extension. It supports GMGN, Axiom and FOMO Family Solana token pages through fixed typed readers and one shared controller/worker. It also includes an optional self-hosted Pro API/engine/private-signer path. No hosted wallet service is implied. | Boundary | Responsibility | Regression location | | --- | --- | --- | | `src/sites/` | Fixed URL identities and DOM facts; site differences stay here | `tests/sites/`, shared `tests/fixtures/` | | `src/page-context.ts`, content/side-panel relay | Verified tab/frame/document and current-page lifetime | `tests/panel/` | | `src/panel/` | Shared controls, immutable captured intent and owned async responses | `tests/panel/` | | `src/ui/` | Shared tokens, fonts, controls, icons and presentation helpers | `tests/ui/`, offline browser previews | | `src/worker/` | Sender authorization, pending wallet locks, shared read/price lifetimes | `tests/worker/` | | Root execution/builders/simulation modules | On-chain identity, actual instructions, limits and unsigned validation | `tests/core/` | | `src/portfolio/` | Position/portfolio calculations and projections; no DOM-reader runtime imports | `tests/portfolio/` | | `src/receipts/`, root `src/ledger.ts` | Receipt presentation, fee summaries and existing financial persistence | `tests/receipts/` | | `src/chart/` | Verified entry projection, bounded trusted relay and owned drawing lifetime | `tests/chart/` | | `src/diagnostics/` | Sanitization, operational event storage and diagnostic display | `tests/diagnostics/` | | `src/pro/` | Native-view-only Pro contracts, client/worker and views | `tests/pro/` | | `server/` API/engine/private signer | Durable intent, observation, independent keys/authorization and private reservations | `tests/pro/` server/engine/signer cases | Root `src/` retains cross-feature types, amounts, settings, protocol builders and wallet/recovery interfaces. Existing `sites/`, `worker/`, `pro/`, `vendor/` and `server/` boundaries stay distinct; server reuse of pure shared code does not introduce browser or site-DOM authority. Tests are grouped by feature/mode and keep their filenames. `tests/architecture.test.ts` checks dependency boundaries; `tests/fixtures/` remains the shared fixture location. `pageKey` controls page mount lifetime. `targetKey` binds trades and route-dependent caches to page identity and mint/pool hints. Axiom's pool URL never becomes a mint assertion. Hint drift invalidates trading until revalidation; old async callbacks cannot mutate a new target or mounted view. Basic requires manual Phantom approval. Unresolved wallet transactions survive navigation/restarts and retain locks until actual chain/bridge evidence settles them. Pro has a separately funded private wallet and independent signer authority; keys and arbitrary signing requests never enter site DOM or browser storage. Unsigned Pro recovery checks current order/device/signer authority and fresh conditions for every order version. Already-signed recovery preserves recorded bytes. Confirmed entry fills control protective exits and shared split inventory. Withdrawals and trades share private reservations; API state cannot authorize spending. Timeouts alone never release uncertainty. Price display jobs, chart overlays and USD conversion remain separate from signing. Only verified display projections cross permitted content bridges. Missing prices, unknown fees and incomplete basis stay explicit. Financial receipts and schemas remain separate from operational diagnostics, whose sanitization precedes storage. Review/pending-intent helpers, trigger/exit calculations and risk policy are pure modules. The engine and signer apply shared policies to independently owned facts. The daily buy cap covers a rolling 24 hours plus older unsettled attempts. State and reservation changes retain their atomic/durable recovery boundaries. Use [CONTRIBUTING](#contributing) for change gates and [Pro operations](#pro-operations) for deployment and recovery constraints. Internal agent instructions and local planning records are not public build dependencies. ## Pro setup [← README](../README.md) · [Operations and recovery](#pro-operations) Pro uses **your own server and a separate trading wallet**. You review and register orders in the panel; the server signs and executes them when their conditions are met. Basic's Phantom wallet and manual approvals remain available. A managed subscription service is not available yet. The Pro setup section targets a personal Linux server. Complete the [extension installation](../README.md#quick-start) first. You can browse Pro without a server; preview mode does not execute orders or read remote balances. ### Pro mode screenshots All images in this guide show **Pro mode with synthetic sample data**, not actual trading results. Basic screenshots are in the [README](../README.md).
| Pro · Limit buy | Pro · Orders |
|---|---|
![]() |
![]() |
> This sample screen is already paired. `https://pro.example.com`, the wallet, and all displayed values are examples.
### 6. Unlock and enable Pro
Run this on the private signer console. Enter the passphrase in the terminal, never in the browser.
```sh
sudo -u dp-signer node /opt/direct-pump/server-dist/cli.mjs unlock \
--state-dir /srv/direct-pump-signer
```
Explicitly select **Enable Pro** or the paired **Pro ON** control in the panel. Confirm the signer is `READY` and engine is `RUNNING`. Unlocking alone does not resume the engine.
After a restart or signer lock, unlock again and explicitly resume the engine. Previously paused individual orders require a separate resume in **Orders**.
### 7. Deposit and register your first order
Open **Wallet → Deposit** to inspect the server wallet's full address and QR. It is separate from your Phantom balance. Compare the address with your trusted confirmation screen, fund it separately, and wait for the panel to show the confirmed balance. Allow for network fees and account setup costs.
In **Trade**, choose Buy/Sell and an order type, then enter the quantity and MC conditions. Inputs such as `250K` and `1.2M` are supported. Select **Review** and inspect the token, wallet, quantity, conditions, slippage, network budget, and expiry. Use **Confirm & register** to register the reviewed order.
Page MC is provisional. The server verifies MC using the executable quote price and on-chain supply. Relative percentages become an absolute MC target when entered; subsequent market movement does not rewrite that target.
#### Split exits and entry protection
An exit strategy attached to a buy activates using the **actual confirmed fill quantity**. Its protection lifetime starts at confirmed entry, rather than when the buy order was registered. Entry and protection can reserve separate network budgets; check the total upfront reserve in the review.
The sample split strategy takes profit on 25% at MC 525K and another 25% at 630K, then stops out the remaining quantity at 336K. These are illustrative conditions, not trading recommendations. Strategy percentages refer to the original strategy quantity; **All remaining** refers to that strategy's residual quantity.
The **Orders** screen shown at the top of this guide exposes edit, pause, and cancel actions. Review changes before confirming them. Uncertain execution continues to retain its reservation.
### 8. Save a recipient and withdraw
1. Open **Settings → Pro · Personal server → Withdrawal Whitelist** and enter a name and full receiving address.
2. Click **Review recipient** and compare the full address with the receiving screen of your trusted wallet.
3. Check the confirmation box and select **Save reviewed recipient**. To change an address, add a new recipient instead of overwriting the old one.
4. In **Wallet → Withdraw**, select the saved recipient, SOL or a supported token, and an amount.
5. Review the full destination, asset, amount, and costs before approving.
Only unreserved funds are available for withdrawal. **Max** accounts for existing reservations and the reviewed fee/account rent. A withdrawal does not automatically cancel orders or globally pause the engine.
### Optional routing and alerts
| Server environment variable | Purpose | Process |
| --- | --- | --- |
| `DP_JUPITER_API_KEY` | Jupiter key for routed venues | Signer and API |
| `DP_TELEGRAM_TOKEN` | Telegram bot token | API |
| `DP_TELEGRAM_CHAT_ID` | Destination chat ID | API |
| `DP_TELEGRAM_THREAD_ID` | Optional topic ID | API |
Use your service manager's private environment configuration. Keep secrets out of documentation, screenshots, Git, and CLI arguments. Basic's Jupiter setting is separate from the server environment. Supported direct SOL routes do not require a Jupiter key.
Enable Chrome notifications in Settings and grant notification access. Telegram delivery runs on the server and can continue after browser closure. Alerts may be delayed or duplicated during retries; an alert is not final execution evidence.
### Stop, restart, and troubleshoot
Closing the browser does not stop Pro orders. **Pro OFF** takes effect after the server acknowledges pausing unsubmitted orders. If that response is uncertain, the panel does not report a completed stop. Already signed or uncertain attempts remain tracked.
Lock the signer from its private console:
```sh
sudo -u dp-signer node /opt/direct-pump/server-dist/cli.mjs lock \
--state-dir /srv/direct-pump-signer
```
For pairing failures, unavailable servers, process locks and uncertain results,
use [Troubleshooting](#troubleshooting) and [Orders and recovery](#orders-and-recovery).
Never delete or edit financial journals to release reservations or submit a
replacement transaction to compensate for an uncertain result.
## Pro operations
### Trading controls and accounting
Market orders submit directly by default; Limit orders require confirmation by
default. Settings → Trading preferences controls those options independently and
saves up to eight execution profiles. Attached exit strategies, standalone exit
strategies, edits and recovery retries retain explicit review. A review checkbox
changes future confirmation policy only; the current order still needs Confirm.
Hotkeys are disabled until enabled in the mounted Trade panel and are not restored
after closing it or changing the server wallet. Native panel shortcuts use Space
with configured keys. Browser commands use the registered extension shortcuts
(four suggested defaults: Alt+Shift+1–4); configure others at
`chrome://extensions/shortcuts`. Browser commands require an open, armed Trade
panel and the matching focused token page. Input editing, ambiguous windows,
expired gestures and changed documents do not submit an order.
Portfolio reads require `portfolio-v1`; Sell Initials requires
`recover-initials-preview-v1`. Old servers retain existing orders and hide the new
controls. The portfolio covers known Pro journal assets and the current token,
not an indexed scan of every externally deposited asset. History is reconstructed
in bounded reads. Missing history, external token movement and unresolved fills
remain unavailable. Actual SOL fees and rent enter accounting; current USD values
are current conversions rather than historical dollar returns.
Sell Initials uses outstanding fee-inclusive SOL outlay and unreserved tokens.
Its liquidation estimate conservatively subtracts the full selected network
budget. Insufficient inventory blocks recovery instead of silently selling all;
price changes can leave a remainder and no follow-up sell is automatic. Existing
order specs, signer authorization, journals, reservations and receipt schemas are
compatible; updating these controls never releases financial uncertainty.
[← README](../README.md) · [Server setup](#pro-setup)
Pro uses a separate server wallet. Basic retains manual Phantom approval. Pro is
disabled by default, but registered orders can continue while the browser is closed.
For installation, OS permissions, HTTPS, pairing and initial unlock, follow the
[setup guide](#pro-setup).
### Orders and recovery
The daily buy cap uses the preceding 24 hours, including older unsettled attempts.
Recent failed attempts still count conservatively. The engine and private signer
enforce the same policy over their separate journals. Resuming the engine does not
resume an individually paused order, including unsigned version-one recovery.
Missing signed transactions stay locked until finalized expiry and covered wallet
history prove non-execution through repeated signature/transaction reads. RPC gaps
or insufficient history keep the result unresolved. This recovery path never
resubmits or re-signs the expired transaction.
Review the token, wallet, quantity, conditions, slippage, network budget and expiry
before registering or changing an order. Changing the paired server, device or
wallet invalidates an unsent review.
- Buys use a fixed SOL amount. Percentage sells freeze a token quantity from the
fresh confirmed available balance. Input, network fees and account setup costs
consume reservations.
- MC conditions use verified quote price multiplied by on-chain mint supply.
Page prices are provisional. Relative percentages become fixed absolute targets
when entered; later prices do not retarget the order. Slippage is separate from
the trigger, and neither a trigger nor a stop guarantees a fill or price.
- Market and Limit support buys and sells. Take profit, stop loss, TP/SL brackets
and trailing exits apply to sells. Trailing observations are sampled; a gap
preserves the watermark and pauses tracking until an explicit resume.
- Split strategies contain up to ten exit steps sharing one original quantity.
Percentages refer to that quantity; **All remaining** means the strategy's own
residual. Additional buys are not automatically included. External balance
reductions block execution rather than silently shrinking orders.
- Buy-attached exits activate from the actual confirmed fill. Their protection
lifetime starts at that confirmation, with a 24-hour default. Review the separate
entry and protection network caps and total upfront SOL reserve. Later exit
steps retain the remaining cumulative network budget after earlier costs.
- Older servers may lack current features. Update the extension and server
together. Existing legacy USD orders retain their original meaning; cancel and
review a new MC order to replace them rather than converting them in place.
**An UNKNOWN result keeps funds reserved.** A lost response is not evidence that
an order failed. Inspect the saved intent and server state in Trade/Orders before
retrying or cancelling. A locally saved intent clears only after acknowledged
cancellation; signed or uncertain attempts remain tracked.
Recovery reconciles chain evidence and, when appropriate, rebroadcasts the exact
recorded transaction bytes. It does not authorize a newly signed replacement.
Never place a compensating order, delete journals, edit SQL or clear state to free
an uncertain reservation. Confirmation continues to finalization; inconsistent
or insufficient chain evidence remains unresolved.
### Pausing and restarting
**Pro OFF** pauses unsubmitted orders only after server acknowledgement. A lost
acknowledgement leaves the stop unconfirmed. Already signed or uncertain attempts
continue to be reconciled. Closing the browser does not stop the server.
The signer starts locked. After a restart or lock, unlock it on the private console
and explicitly enable Pro or resume the engine. Unlocking alone does not resume
execution. Individually paused orders need their own resume in Orders. See
[unlock and enable](#6-unlock-and-enable-pro) and
[stop and restart](#stop-restart-and-troubleshoot) for commands.
If a signer process lock remains after an unclean stop, inspect its PID and verify
that no signer is running before manually removing the lock. Never remove a live
signer's lock or start a second signer against the same state.
### Withdrawals and saved recipients
Register recipients from a trusted wallet's receive screen and compare the full
address before saving. Clipboard replacement can occur before registration; a
valid address does not establish that it belongs to the intended recipient.
Addresses are immutable: add a new recipient and deactivate the previous one to
change a destination. These controls do not protect a compromised device or host.
Select a saved recipient, SOL or a supported token, and an amount. Review the full
destination, asset, amount and costs before approving. Approval binds the reviewed
recipient version, amount, fee budget and request ID. Changes to the destination,
costs or available balance require another review. Unsafe token extensions are
rejected; an older server without withdrawal support hides the controls.
Only unreserved funds are available. **Max** subtracts existing reservations and
the reviewed fee and destination account rent. The network budget is a cost ceiling,
not an extra amount withheld. Orders and withdrawals share the private signer's
reservation ledger and execution queue. A withdrawal does not automatically
cancel orders, pause the engine or lock an unlocked signer.
Repeated approval of the same request is idempotent. An uncertain withdrawal stays
UNKNOWN and retains its reservation while the same recorded transaction is
reconciled. Do not submit another withdrawal to compensate for it. Financial
journals remain separate from diagnostic retention; public responses and exports
exclude transaction bytes and private keys.
### Alerts and diagnostics
Chrome alerts are optional. Server-side Telegram delivery can continue after
browser closure. Alerts may be delayed or duplicated after delivery timeouts and
are not final execution evidence. Configure routing and Telegram credentials only
through the [server environment](#optional-routing-and-alerts).
Basic's Jupiter setting is separate from the server setting.
Settings and the receipt dashboard export sanitized browser diagnostics; Pro also
provides server events/logs. Correlate request nonce, order ID, attempt ID and
signature. Keys, passphrases, credentials and signed transaction bytes are excluded.
Browser diagnostics retain up to 7 days / 5 MiB; server diagnostics retain up to
30 days / 250 MiB. Debug capture expires within 60 minutes. These limits never
remove unresolved financial evidence or authorization journals. Optional logging
failure does not change a trade result; failed durable authorization prevents signing.
### State, backups and access
Keep the signer keystore, admin socket and signing/authentication journals private.
The API needs only its configuration copy and access to the shared signer socket;
it must not receive the keystore or passphrase. Expose the loopback API only through
HTTPS with a valid certificate and request/time limits. Never expose Unix sockets
publicly or put server-wallet keys in browser storage.
Keep runtime state and backups outside the source checkout or in its ignored
`.private/` directory. Runtime `config.json` can contain RPC credentials; treat it
as private even though the API needs a copy.
Keep encrypted backups and passphrases separately. Restoring a keystore preserves
wallet identity; preserve financial state and journals for recovery as well. Do not
rerun setup in an existing state directory or recreate state to release reservations.
### Dependency limits
The installed Solana SDK dependency tree still reports upstream security
advisories. The supported extension and Pro builds use `bigint-buffer`'s existing
pure-JS implementation; the Pro build checks that native bigint code is excluded.
Use the bundled `server-dist/cli.mjs`; custom bundles or direct TypeScript execution
are outside that build check. See the [native bigint advisory](https://github.com/advisories/GHSA-3gc7-fjrx-p6mg).
Anchor's affected TOML parser is present in the server dependency tree but is not
called by this application. The affected `stream-json` path is not included in the
current server bundle, and the RPC client does not call the affected UUID
v3/v5/v6 buffer APIs. These are observations about the current build, not a claim
that every SDK feature or deployment is safe. Dependency changes require a new
review. See the [TOML advisories](https://github.com/advisories/GHSA-v5mp-jgw5-2x6j)
and [UUID advisory](https://github.com/advisories/GHSA-w5hq-g745-h8pq).
### Troubleshooting
| Situation | Check |
| --- | --- |
| Pairing fails | HTTPS certificate/origin, extension permission, a fresh single-use code within five minutes, signer/admin socket |
| Signer locked | Private-console unlock, followed by explicit engine resume |
| Engine paused | Enable Pro or Resume engine; individually PAUSED orders require separate resume |
| Server unavailable | Signer/API processes, socket ownership and permissions, HTTPS proxy and event stream |
| Feature unavailable | Matching extension/server versions and actual signer support |
| Insufficient funds | Available balance and reservations for orders, protection and withdrawals |
| UNKNOWN or uncertain result | Saved intent and chain evidence; retain state and avoid a replacement transaction |
Offline tests use mocks and test keys. They do not establish live provider, TLS,
OS permission or funded execution behavior.
## Repository publication
The preparation files are local proposals. They do not change GitHub visibility,
permissions, releases, billing or credentials. As inspected during preparation,
`superb43/direct_pump` was PRIVATE with ADMIN access; the ruleset/protection API
returned HTTP 403 requiring GitHub Pro or public visibility. Private vulnerability
reporting was unavailable through its API. Those responses do not prove that all
remote security settings are disabled.
### Local readiness
- [ ] Review commercial GPL-3.0-only licensing and the third-party/source notices.
- [ ] Review private-data scans and publication paths. Revoke any discovered real
credential; history rewrite or deletion needs a separate decision.
- [ ] Review source files, images and existing private issues, PRs, discussions,
wiki, workflow logs/artifacts and other metadata before changing visibility.
A Git source scan does not inspect those external surfaces.
- [ ] Commit only reviewed, named files and preserve intentional internal-doc
removals. Verify a fresh clone with Node.js 24, npm ci and the documented checks.
- [ ] Review security/community contact routes and supported-version policy.
- [ ] Review the locally prepared preview artifacts; they are not official releases.
### GitHub activation — explicit approval required
1. Obtain approval for the particular source commit/push and for making this
repository public. Public copies/forks can persist after a later visibility
change. Do not treat local preparation as authorization to publish.
2. Apply the reviewed settings proposal in `.github/publication-settings.json`
only once the repository is eligible. It contains no visibility-change field
and requests no paid private-security entitlement.
3. GitHub enables **Private vulnerability reporting** for public repositories.
Enable it immediately after the visibility change and before inviting
participation. Confirm the security advisory reporting form is
available; the presence of a security policy alone does not activate it.
4. Let the new CI workflows run. Confirm the actual GitHub Actions check names and
GitHub Actions app ID before applying `.github/publication-ruleset.json`.
The proposed required contexts are `verify` and `Secret scan`; CodeQL runs only
on a public repository and should be confirmed separately.
5. The maintainer operates this repository alone. The proposed ruleset requires
a PR, successful strict CI checks and resolved conversations, with no bypass
actors. It blocks force pushes and branch deletion. Mandatory reviewer count
is zero; code-owner and last-push approvals are disabled because an author
cannot approve their own PR. CODEOWNERS still routes sensitive changes to the
maintainer. This configuration does not provide an independent human approval
gate. Keep evidence of independent review for security-sensitive changes;
do not describe self-review as independent. When a trusted second reviewer is
approved and has write access, add them to all protected CODEOWNERS entries and
explicitly enable the one-approval, owner-review and last-push requirements.
6. Confirm ruleset enforcement, blocked force/deletion pushes, Dependabot, private
reporting, secret scanning/push protection and public CodeQL results. Prefer
hosted ephemeral CI; never add the personal signer host as a public PR runner.
Prepared API payloads can be applied by an authorized maintainer with `gh api`
after the above review. They are intentionally not executed by any repo script
or CI workflow. No release, store upload, deployment or live alert is part of
repository activation; those each need their own authorized delivery step.
Use [release policy](#releases-and-maintenance) for versioned binaries and matching source.
GitHub documents the public-repository requirement for this reporting channel in
[private vulnerability reporting](https://docs.github.com/en/code-security/how-tos/report-and-fix-vulnerabilities/configure-vulnerability-reporting).
## Releases and maintenance
The latest tagged release is the supported security target. `main` is development
code, and preview packages are review artifacts. No trading return, custody,
execution price, SLA or independent security audit is implied.
The maintenance and delivery procedure below incorporates official guidance
checked on **2026-10-13**. GitHub settings described as proposals are not enabled
by these files; verify the actual repository configuration before relying on them.
### Before opening the repository
1. Review this guide's license/copyright sections, the dependency inventory and
third-party notices. Binary archives retain standalone LICENSE/COPYRIGHT texts.
Keep GPL/LGPL source obligations and all upstream notices with distributed
artifacts. Some publishers ship only SPDX declarations/README notices; those
entries are explicitly identified in `Docs/licenses/upstream-evidence.json` and
require maintainer review, not an invented copyright grant.
2. The unused locked `chain` dependency has no reviewed license grant. It is not
included in the application graph and must not be redistributed wholesale.
Any future import must resolve its license before a release can pass.
3. Review vendored IDL and asset provenance in the vendored schema provenance below, font/icon
license files and the third-party notices. Names/logos do not imply endorsement.
4. Scan all reachable Git history and the candidate source tree with redacted
secret output. Check runtime/key/database/browser files and attachments. A
scanner cannot prove the absence of every credential or proprietary key format.
Revoke exposed credentials before considering an approved history rewrite.
5. Commit the reviewed source and preparation files with named staging. Preserve
intentional removals of internal docs; do not add ignored local state.
6. Apply the proposed GitHub settings in [publication checklist](#repository-publication)
only after approval. Enable private vulnerability reporting immediately after
public visibility becomes available and before inviting participation.
Confirm all required checks are available on the actual repository plan.
### Build review artifacts locally
Use Node.js 24 LTS, `npm ci`, then:
```sh
npm run check:publication
npm run prepare:release -- --preview
```
The preview command checks publication inputs/notices, runs `npm run verify` and
builds extension/server archives, accompanying source and SHA-256 checksums in
ignored `output/releases/`. Preview names and metadata identify the uncommitted
working tree; never label them as an official release.
The source package includes project source, lockfile, build instructions, and
dependency source/notices for the conservative distribution closure. This
includes WXT's injected runtime even when its npm package is marked development,
and the production closure to retain modules prebundled inside upstream SDKs.
Versioned upstream source-map modules must match reviewed lock/source coverage.
Verify that
the preferred source for every GPL/LGPL component is complete, including any
needed build scripts. Keep equivalent source access beside binary downloads for
as long as required; a source link to an unrelated branch is insufficient.
GPL/LGPL upstream repositories are included as full pinned source archives,
verified against `Docs/licenses/preferred-sources.json`. Raydium's 0.2.73-alpha source
was matched against all 129 distributed TypeScript source files; rpc-websockets
uses its published version/gitHead. A dependency update must review and update
this evidence rather than silently package a different upstream revision.
### Official release
- Review a clean committed tree, version change, changelog and relevant recovery
regressions. Check actual supported-site/browser behavior separately; live
network tests stay opt-in and no funded signing/trading is a release test.
- Create a version tag matching `package.json` through the authorized maintainer
workflow. Run the manual **Release build** workflow for that existing tag, or
`npm run prepare:release` from the clean exact-tag checkout.
- The workflow only uploads build artifacts for review. It does not publish a
GitHub Release, change visibility, deploy Pro or upload to a browser store.
- Inspect archives and checksums, licenses/source pairing, build metadata and
limitations. Run a clean-source rebuild before publication. Publish only with
explicit approval, retaining the matching source archive and notices.
- Release notes identify the commit, version, changes, supported environments,
known provider limits, security fixes and skipped checks. Do not include real
wallet balances, keys, pairing data or private diagnostics.
Maintainers may decline features outside the three supported sites or protected
financial architecture. Dependabot/security updates are reviewed rather than
automatically merged; SDK and financial changes need regression evidence.
Release version changes update both package.json and package-lock.json version
fields. Extension/server operational diagnostics use the shared build-time
application version; publication gates reject version drift before packaging.
### Routine maintenance and dependency decisions
Routine version-update PRs are disabled; security alerts and security-update PRs remain enabled. Review ordinary version migrations separately.
Triage ordinary issues and PRs weekly; handle vulnerability reports privately
under the security section. Keep one concrete change per PR, with compatibility notes,
regression evidence and actual skipped checks. Follow the contribution section and the
existing site, wallet, target-binding and recovery boundaries.
Review dependency updates in bounded batches, keeping the manifest and lockfile
together. Inspect changed install/build scripts and licensing before installation.
At release time and after dependency changes, collect both reports:
```sh
npm audit --json
npm audit --omit=dev --json
```
An audit exit code can reflect inherited findings; it is not permission to ignore
them or proof of app exploitability. New Critical findings, reachable High findings
and unresolved signing/key-authority exposure block release. Accepted exceptions
record advisory, affected build/runtime path, mitigation, reviewer, review date
and re-review trigger in the release review. Keep residual findings visible in
release notes; do not use forced fixes or broad allowlists to hide them.
[npm audit guidance](https://docs.npmjs.com/cli/v11/commands/npm-audit/).
### Version and release sequence
1. Prepare a scoped candidate PR: code, tests, numeric version, lockfile root entry,
user-visible release notes and required notice/source updates. Before 1.0, this
project's convention is PATCH for compatible fixes and MINOR for features or
compatibility changes. Explicitly disclose breaking changes; 0.x is not a
stability promise. After 1.0, apply normal SemVer.
2. Merge only after the configured checks and resolved conversations. Solo
operation requires PR/CI gates with zero mandatory approving reviewers.
Security-sensitive changes still require recorded independent review; the
platform settings alone do not prove that review occurred. Check actual CI
context names; do not label self-review as independent or bypass the ruleset.
3. Resolve the reviewed public commit SHA, create its annotated `vX.Y.Z` tag within
release authorization, and build from a clean exact-tag checkout. `npm ci`
installs the locked tree; a dirty preview is never an official candidate.
4. Run the existing build/publication gates and affected browser checks. Verify
package, lockfile, manifest and application version displays agree. API v1/v2
paths and persisted schema versions are separate contracts. Chrome's manifest
stays numeric; mark candidates through GitHub's prerelease flag.
5. Inspect the final extension/server/source archives, paired licenses and source,
`*-SHA256SUMS` and `*-PREPARATION.json`. Confirm version, commit, clean-tree state,
toolchain and archive contents. Do not zip the whole working directory or
redistribute node_modules wholesale. Rebuild the accompanying source in isolation.
6. Create a GitHub draft release for the existing verified tag and attach all assets
before publication. Review changes, fixes, client/server and data compatibility,
update steps, verification, skipped checks and dependency exceptions. Publish
only within existing task-specific authorization; do not ask again when that
authorization already covers the step. Passing CI alone does not grant it.
7. Keep published tags and assets unchanged; enable GitHub immutable releases when
approved and available. Corrections use a new version. Keep matching source
accessible while distributing binaries. Initial history/visibility migration,
browser-store submission, npm publication and funded Pro deployment remain
separate delivery decisions. Keep package.json private; no store channel is
implied by WXT's packaging capability.
[SemVer](https://semver.org/spec/v2.0.0.html),
[Chrome version fields](https://developer.chrome.com/docs/extensions/reference/manifest/version),
[npm ci](https://docs.npmjs.com/cli/v11/commands/npm-ci/),
[GitHub draft and immutable releases](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository).
For covered binaries, check the required Corresponding Source rather than assuming
any source ZIP is sufficient; see [GNU distribution guidance](https://www.gnu.org/licenses/gpl-faq.en.html#SourceAndBinaryOnDifferentSites).
### CI trust and artifact provenance
Ordinary PR verification uses read-only credentials and GitHub-hosted runners.
Never execute fork code with privileged tokens, publish/deploy secrets or access
to a signer host. Review workflow changes as code. Keep Actions pinned to verified
upstream full SHAs with readable version comments until supported dependency
lockfiles are explicitly adopted. Expand permissions only in trusted jobs that
need them; the current Release build workflow is artifact-only.
[GitHub secure-use guidance](https://docs.github.com/en/actions/reference/security/secure-use).
If a future workflow generates artifact attestations, verify them against this
repository/workflow before publishing. Checksums detect changed bytes but do not
establish provenance or software safety. Attestation and immutable-release settings
must be verified, never inferred from documentation. No attestation workflow is
claimed to exist today.
[GitHub artifact attestations](https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/use-artifact-attestations).
### Pro upgrades, incidents and rollback
Server maintenance requires deployment authorization. Obtain acknowledged pause
of new orders, lock the signer on its private console, and stop the API/signer
gracefully before replacing code or taking a consistent full-state backup. Keep
encrypted wallet backups/passphrases separate. Preserve signing/authentication
journals and SQLite recovery files; confirm no live signer before touching a
process lock. Signed/UNKNOWN attempts retain reservations and recorded bytes.
Install the reviewed artifact only after checking its digest and compatibility.
Retain OS-user/socket separation, HTTPS and wallet identity. Start locked,
reconcile existing attempts, and explicitly unlock/resume only when authorized
by the operator. Individually paused orders still require their own resume.
On incidents, privately triage and rotate exposed credentials with the owner.
Never erase journals, restore old financial snapshots over newer attempts or send
compensating trades. Roll back code only after checking schema/API compatibility;
do not silently downgrade data. Fix extensions with a higher numeric version and
reload the existing installation rather than uninstalling its receipts/settings.
Preserve matching source and mark bad releases clearly instead of overwriting them.
Follow [Pro recovery](#orders-and-recovery) and [private security reporting](#security).
## Copyright and license
~~~text
Copyright (C) 2026 Direct Pump contributors.
The original Direct Pump application code is licensed under the GNU General
Public License, version 3 only (SPDX-License-Identifier: GPL-3.0-only).
The complete, unmodified license text accompanies this project and its distributions.
Commercial use and redistribution are permitted under that license. Recipients
of covered distributions must retain the applicable notices and receive the
Corresponding Source as required by the GPL.
Each contributor retains copyright in their contributions. This statement does
not claim ownership of third-party software, vendored protocol schemas, fonts,
icons, logos or other third-party assets. Their original terms and provenance
remain applicable; see the accompanying third-party notices and vendored schema provenance.
Direct Pump's name and branding do not imply endorsement of third-party forks.
~~~
## Vendored protocol schemas
~~~text
# Jupiter instruction schema
`jupiter-idl.ts` pins route/shared-account exact-input v1/v2 and types from the
Anchor IDL stored by the deployed Jupiter program
`JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4`, read through
`Program.fetchIdl` on 2026-10-07. Snake-case instruction/account/field names are
converted to camelCase without changing discriminators, types or enum order.
Unknown layouts fail closed. Source raw JSON SHA-256: `12a0856158b2b6927d683a2ba21566f82e39989aca476e23c02d845fc38cdca8`.
Reference: https://developers.jup.ag/docs/swap/build
Earlier decoder: https://github.com/jup-ag/instruction-parser
Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
# Meteora DLMM pool identity schema
`dlmm-idl.ts` preserves only `LbPair` and its transitive type definitions from
Meteora's official IDL at commit `2f540c2107988e0f97efa5917100bb912c96c17a`.
Documentation fields are omitted; names, discriminator, field order and types
are unchanged. The pinned layout is 904 bytes including the discriminator.
This schema only identifies pool assets; it does not build DLMM swaps.
Source: https://github.com/MeteoraAg/dlmm-sdk/blob/2f540c2107988e0f97efa5917100bb912c96c17a/idls/dlmm.json
Raw source SHA-256: `045c0f4af044be046b6a14b350077e4242e8ac026b64a855803dab30fcdd8b35`.
~~~
## Font provenance
### Geist
Official release: https://github.com/vercel/geist-font/releases/download/v1.7.2/geist-font-v1.7.2.zip
Version: 1.7.2
Archive file: geist-font/GeistMono/webfonts/GeistMono[wght].woff2
SHA-256: fba8f577f38a2bbcbe818efa6348dd58f36303a10b8737c42fefad275be563ab
License: SIL Open Font License 1.1; original notice retained in Docs/licenses/assets/GEIST-LICENSE.txt and in the third-party distribution notices.
### Inter
Official release: https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip
Version: 4.1
Archive file: web/InterVariable.woff2
SHA-256: 693b77d4f32ee9b8bfc995589b5fad5e99adf2832738661f5402f9978429a8e3
License: SIL Open Font License 1.1; original notice retained in Docs/licenses/assets/INTER-LICENSE.txt and in the third-party distribution notices.
## App icon source
`assets/icon/source.png` is the original icon. The extension uses the 16, 32, 48 and 128 pixel
PNG files in `public/icon/`, resized from that source with Lanczos resampling.
Keep the source for future icon updates; generation notes are stored privately.
## GPL license text
~~~text
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.