Habilidades x402socks Histórico de auditoria
📦

Histórico de auditoria

x402socks - 7 auditorias

Comparação de versões

Alterações de capacidades e constatações entre versões auditadas, mais recentes primeiro.

VersãoDataResultadoItens de revisãoMudança vs anterior
v7 Mais recente28 de nov. de 2026, 07:40 8 confirmado47Sem mudança de capacidade
v6 10 de nov. de 2026, 01:50 1 confirmado9Sem mudança de capacidade
v5 8 de nov. de 2026, 23:05 1 confirmado4Sem mudança de capacidade
v4 5 de nov. de 2026, 09:58 1 confirmado6Sem mudança de capacidade
v3 3 de nov. de 2026, 03:15 1 confirmado14Sem mudança de capacidade
v2 3 de nov. de 2026, 02:13 4 confirmado11Sem mudança de capacidade
v1 2 de nov. de 2026, 17:06 3 confirmado13Base

28 de nov. de 2026, 07:40

Most alerts were documentation, protocol parsing, or routine local operations. Confirmed risks include unencrypted proxy authentication, inherited settings, and disclosure of the direct public IP. Source review also found gaps in payment and recovery consent, browser destination controls, and handling of untrusted output.

10
Arquivos analisados
3,797
Linhas analisadas
59
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (8)

Alto
Payment clients do not bind signing terms to the verified record
Both client examples verify and claim one approval through the helper, then separately read payment terms from a different configuration setting. Neither compares the payment record hash with the hash authenticated by the helper.
The helper returns only a status flag. Both clients independently recompute an unkeyed hash over their own record without validating its signature.
Alto
Local approval claim depends on caller-controlled trust settings
The helper obtains the approval signer, verifier, and claim directory from its environment. An agent controlling those settings can undermine the local approval check unless a separate broker enforces them.
The helper checks directory ownership and permissions, not operator control. The documentation recognizes this prerequisite but the local code cannot establish it.
Alto
Recovery is not bound to operation-specific operator consent
The reference requires fresh approval for credential recovery, but the helper accepts a transaction hash and wallet signature without checking that approval. The approval template does not identify the recovery transaction.
The recovery handler builds and sends the request without consulting local approval state. The provider wallet signature is a separate authorization check.
Alto
Browser allowlist does not cover all browser traffic
The runner checks routed HTTP requests and redirects, but it does not block or separately check WebSockets. The documentation describes the route handler as a boundary for all browser traffic.
Playwright handles WebSockets separately from HTTP routing. The runner enables page scripts and registers no WebSocket policy.
Médio
Remote text reaches the agent without a reliable trust boundary
The shell and browser helpers can emit raw target content. Provider summaries also carry free text, and printable ASCII checks do not prevent instructions from appearing in it.
These paths return remote text to callers. No evidence was found of a review-directed injection in the bundled files or an observed live attack.
Médio
Troubleshooting blurs public IP testing and direct target access
The guide suggests a direct reachability test using settings meant for a public IP baseline. An agent could mistake consent to check its public IP for permission to contact the target directly.
The troubleshooting wording mentions reaching the target directly. The implemented consent gate instead controls a request to a public IP service.
Médio
A signed payment approval has no enforced expiry
The approval template records when the operator approved, but the verifier only checks that the timestamp is safe text. An unused approval can remain valid after the intended job ends.
The exclusive marker prevents repeat claims in one directory. The verifier does not parse the approval timestamp or compare it against a deadline.
Baixo
System reconnaissance
[ "$ip" != "$direct" ] || die "egress IP did not change ($ip); the proxy was bypassed"
The comparison may include an IP in its diagnostic. The same test reports both the direct and proxy addresses in its normal output.
Itens de revisão de capacidade (47)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
SOCKS proxy
Both SOCKS5 and CONNECT TLS are native transports. Prefer SOCKS5 when the client
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
- **Transport:** all traffic goes through the proxy. Prefer SOCKS5, then CONNECT
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
Both SOCKS5 and CONNECT TLS are native proxy transports. The helper and browser
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
1. SOCKS5 on `socks5://<exit>.x402socks.com:1080` when the client supports it
The SOCKS5 path uses reusable proxy credentials without encryption on that hop when authentication succeeds. Target HTTPS does not protect those credentials.
Alto
SOCKS proxy
`X402SOCKS_PROXY_TRANSPORT=socks5|tls|plaintext` forces a single hop for
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
operator-trusted copy. It passes the token as proxy credentials on SOCKS5 when
The SOCKS5 path uses reusable proxy credentials without encryption on that hop when authentication succeeds. Target HTTPS does not protect those credentials.
Alto
SOCKS proxy
Start with the agent-first chain: SOCKS5 on `1080` when available, CONNECT + TLS
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
`X402SOCKS_PROXY_TRANSPORT=socks5|tls|plaintext` to isolate one hop. Every hop
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
// Agent-first transport order: use SOCKS5 when available, then CONNECT + TLS,
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
{ name: "socks5", server: (exitId) => `socks5://${exitId}.x402socks.com:1080` },
The SOCKS5 path uses reusable proxy credentials without encryption on that hop when authentication succeeds. Target HTTPS does not protect those credentials.
Alto
SOCKS proxy
agent-first chain: SOCKS5 1080 when available,
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
X402SOCKS_PROXY_TRANSPORT socks5 (preferred), tls, or plaintext; forces one
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
# Proxy dialects are tried in an agent-first order. Use SOCKS5 when available,
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
socks5|tls|tls-insecure|plaintext) return 0 ;;
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
socks5|tls|plaintext) printf '%s\n' "$forced"; return ;;
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
printf '%s\n' socks5 tls plaintext
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
socks5) printf 'socks5h://%s.x402socks.com:1080' "$exit_id" ;;
The SOCKS5 path uses reusable proxy credentials without encryption on that hop when authentication succeeds. Target HTTPS does not protect those credentials.
Alto
SOCKS proxy
--socks5) X402SOCKS_PROXY_TRANSPORT=socks5 ;;
The SOCKS5 path uses reusable proxy credentials without encryption on that hop when authentication succeeds. Target HTTPS does not protect those credentials.
Alto
SOCKS proxy
description: Use this skill when an agent needs a different source IP, rotating or geo-specific egre
The skill advertises source IP rotation, which can undermine IP-based controls if misused. The same description explicitly requires target authorization.
Alto
SOCKS proxy
Both SOCKS5 and CONNECT TLS are native transports. Selection order is SOCKS5 on
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
Then let the helper select SOCKS5, TLS CONNECT, or plaintext CONNECT in that
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Alto
SOCKS proxy
# Helper: SOCKS5 when available, then CONNECT + TLS, then plaintext last resort
This transport policy enables credentialed SOCKS5 or plaintext CONNECT. Those choices do not encrypt authentication between the client and the proxy.
Médio
Hidden file access
export KEYSTORE="$HOME/.foundry/keystores/x402socks"
The optional wallet recipe keeps signer material and its unlock file under the agent user's home. Mode 0600 does not isolate secrets from same-user processes.
Médio
Hidden file access
export KEYPASS="$HOME/.config/x402socks/keystore.pass" # mode 600
The optional wallet recipe keeps signer material and its unlock file under the agent user's home. Mode 0600 does not isolate secrets from same-user processes.
Médio
Synchronous file operations
writeFileSync(output, capped, { mode: 0o600 });
The runner writes remote content to a caller-selected path and can overwrite existing files. The requested mode does not protect an existing destination.
Médio
Shell command substitution
direct="$(curl -q -sS --max-time "${X402SOCKS_TIMEOUT:-30}" --noproxy '*' https://api.ipify.org)" \
This substitution performs an opt-in direct public IP lookup. It discloses the caller's source address to a third party.
Médio
Python file write/append
with open(staging, "w") as fh:
The staging operation uses a pathname rather than the original reserved descriptor. Its checks do not cover all concurrent changes by another same-user process.
Médio
Python os file operations
os.unlink(staging)
The staging operation uses a pathname rather than the original reserved descriptor. Its checks do not cover all concurrent changes by another same-user process.
Baixo
Environment variable object
env: { ...process.env, X402SOCKS_ALLOWED_HOSTS: "example.com:443" },
This example forwards the full environment to a child helper. Unrelated secrets and settings can cross into that process instead of being filtered.
Baixo
Python environment access
env={**os.environ, "X402SOCKS_ALLOWED_HOSTS": "example.com:443"},
This example forwards the full environment to a child helper. Unrelated secrets and settings can cross into that process instead of being filtered.
Baixo
Environment variable access (dot notation)
const approvalPath = process.env.X402_APPROVAL_FILE;
The client selects its payment record independently of the helper. The records are not bound together, so verification need not cover the terms later used for signing.
Baixo
Environment variable object
input: `${signature}\n`, encoding: "utf8", env: process.env,
The verifier child inherits the full environment. That exposes unrelated values to the child and lets the caller influence security-sensitive settings.
Baixo
Environment variable object
const approvalPath = process.env.X402_APPROVAL_FILE;
The client selects its payment record independently of the helper. The records are not bound together, so verification need not cover the terms later used for signing.
Baixo
Python environment access
input=signature + "\n", text=True, capture_output=True, env=os.environ,
The verifier child inherits the full environment. That exposes unrelated values to the child and lets the caller influence security-sensitive settings.
Baixo
Python environment access
path = os.environ.get("X402_APPROVAL_FILE")
The client selects its payment record independently of the helper. The records are not bound together, so verification need not cover the terms later used for signing.
Baixo
Hardcoded URL
export BASE_RPC=https://mainnet.base.org
A public RPC operator can associate the queried wallet address with the caller IP. The wallet reference explicitly discloses this privacy tradeoff.
Baixo
Hardcoded URL
{ name: "plaintext", server: (exitId) => `http://${exitId}.x402socks.com:3128` },
The HTTP proxy candidate uses the same reusable token as the encrypted candidate. An observer can read the credential on the plaintext hop.
Baixo
Environment variable access (dot notation)
const raw = process.env.X402SOCKS_ALLOWED_HOSTS ?? "";
The caller supplies the entire browser allowlist through the environment. It is not an independent authorization boundary when the agent controls the launch.
Baixo
Environment variable access (dot notation)
const forced = process.env.X402SOCKS_PROXY_TRANSPORT;
The caller can force the browser onto an unencrypted proxy transport. This setting is not tied to a separate operator consent check.
Baixo
Environment variable object
const raw = process.env.X402SOCKS_ALLOWED_HOSTS ?? "";
The caller supplies the entire browser allowlist through the environment. It is not an independent authorization boundary when the agent controls the launch.
Baixo
Environment variable object
const forced = process.env.X402SOCKS_PROXY_TRANSPORT;
The caller can force the browser onto an unencrypted proxy transport. This setting is not tied to a separate operator consent check.
Baixo
Hardcoded URL
tls|tls-insecure) printf 'https://%s.x402socks.com:3129' "$exit_id" ;;
The same endpoint is used for the opt-in retry that disables proxy certificate checks. That retry can expose the reusable token to an impersonating proxy.
Baixo
Hardcoded URL
plaintext) printf 'http://%s.x402socks.com:3128' "$exit_id" ;;
This is the plaintext CONNECT endpoint. An observer on the proxy hop can read the reusable proxy credential.
Baixo
Hardcoded URL
direct="$(curl -q -sS --max-time "${X402SOCKS_TIMEOUT:-30}" --noproxy '*' https://api.ipify.org)" \
The consent-gated direct baseline sends a request to a public IP service outside the proxy. That service receives the operator's direct source IP.
Baixo
Python environment access
for raw in os.environ.get("X402SOCKS_ALLOWED_HOSTS", "").split(","):
The shell helper reads its destination policy from the caller environment. It cannot distinguish an operator-approved list from one supplied by the agent.
Baixo
Hardcoded URL
example `https://mainnet.base.org`, `https://base-rpc.publicnode.com`,
A public RPC operator can associate the queried wallet address with the caller IP. The wallet reference explicitly discloses this privacy tradeoff.
Baixo
Hardcoded URL
`https://1rpc.io/base`, or `https://base.drpc.org`. USDC on Base is
A public RPC operator can associate the queried wallet address with the caller IP. The wallet reference explicitly discloses this privacy tradeoff.

Fatores de risco

🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (50)
⚙️ Comandos externos (50)
🔑 Variáveis de ambiente (19)

Padrões detectados

System reconnaissance
Auditado por: codex

10 de nov. de 2026, 01:50

Most static matches are Markdown, local signing, private token storage, or disclosed HTTPS service requests. Confirmed transport risks expose credentials when plaintext proxy modes or insecure API overrides are enabled; newline handling also permits curl configuration injection. No evidence found of malicious exfiltration intent or prompt injection.

8
Arquivos analisados
1,677
Linhas analisadas
14
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (1)

Médio
Newlines Can Inject Curl Configuration Options
cfg_escape escapes quotes and backslashes but leaves line breaks intact. Environment-supplied tokens or endpoint URLs can therefore inject additional curl options through generated configuration. If attacker-controlled, these values could disable TLS checks or attach local files to requests.
The source preserves environment-token newlines and interpolates them into curl configuration without rejection. A local curl parser check accepted an injected configuration line; exploitation requires control of a token or endpoint environment value.
Itens de revisão de capacidade (9)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
SOCKS proxy
| SOCKS5 | `socks5h://<exit>.x402socks.com:1080` | Every exit |
The documented legacy transport sends proxy authentication in cleartext. Explicit opt-in and trusted-network warnings reduce exposure but do not encrypt the reusable token.
Alto
SOCKS proxy
The helper exposes both under `test --plaintext` / `test --socks5` with
The documented legacy transport sends proxy authentication in cleartext. Explicit opt-in and trusted-network warnings reduce exposure but do not encrypt the reusable token.
Alto
SOCKS proxy
--socks5) mode="socks5" ;;
This reachable opt-in mode sends the reusable proxy token without transport encryption. A network observer can steal and reuse the credential.
Alto
SOCKS proxy
plaintext|socks5)
This reachable opt-in mode sends the reusable proxy token without transport encryption. A network observer can steal and reuse the credential.
Alto
SOCKS proxy
proxy="socks5h://$exit_id.x402socks.com:1080"
This reachable opt-in mode sends the reusable proxy token without transport encryption. A network observer can steal and reuse the credential.
Alto
SOCKS proxy
For SOCKS5 use `socks5h://<exit>.x402socks.com:1080` so the exit resolves DNS.
The documented socks5h transport protects remote DNS placement, not proxy authentication. The reusable token remains visible on the client-to-proxy network.
Baixo
Hardcoded URL
http://*)
The explicit insecure-API override permits credential-bearing HTTP requests. Network observers can capture tokens or recovery signatures when this override is enabled.
Baixo
Hardcoded URL
http://*) proto=(--proto '=http,https' --proto-redir '=http,https') ;;
The explicit insecure-API override permits credential-bearing HTTP requests. Network observers can capture tokens or recovery signatures when this override is enabled.
Baixo
Hardcoded URL
proxy="http://$exit_id.x402socks.com:3128"
The opt-in HTTP proxy URL carries reusable proxy credentials without TLS. HTTPS for the target request does not protect proxy authentication.

Fatores de risco

⚙️ Comandos externos (50)
🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (50)
🔑 Variáveis de ambiente (17)
Auditado por: codex

8 de nov. de 2026, 23:05

Most flags describe intended proxy operations, Markdown, or protected credential handling; no evidence found of credential harvesting or prompt injection. The opt-in legacy transport branch exposes reusable tokens without encryption. Rotation also invalidates the old token before local storage checks, risking loss of paid access.

7
Arquivos analisados
1,367
Linhas analisadas
9
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (1)

Médio
Rotation Invalidates Access Before Local Storage Is Validated
Rotation invalidates the old token before the writer checks directory ownership, permissions, symlinks, or writability. A storage failure discards the one-time replacement and interrupts paid access until wallet-based recovery.
The remote rotation request precedes all writer checks, and the documented API immediately invalidates the old token. Writer errors exit without preserving the replacement.
Itens de revisão de capacidade (4)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
Hardcoded URL
proxy="http://$exit_id.x402socks.com:3128"
This branch selects an HTTP proxy that receives the reusable authentication token without encryption. Explicit opt-in limits activation but cannot prevent network interception.
Alto
SOCKS proxy
--socks5) mode="socks5" ;;
The opt-in legacy branch sends the reusable proxy token without transport encryption. A network observer can capture it and consume paid access.
Alto
SOCKS proxy
plaintext|socks5)
The opt-in legacy branch sends the reusable proxy token without transport encryption. A network observer can capture it and consume paid access.
Alto
SOCKS proxy
proxy="socks5h://$exit_id.x402socks.com:1080"
The opt-in legacy branch sends the reusable proxy token without transport encryption. A network observer can capture it and consume paid access.

Fatores de risco

🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (41)
⚙️ Comandos externos (50)
🔑 Variáveis de ambiente (15)
Auditado por: codex

5 de nov. de 2026, 09:58

Most static matches are Markdown syntax, expected HTTPS requests, local signing, or protected token storage. Confirmed legacy transport paths expose reusable credentials despite explicit opt-in, and malformed credential responses can leak tokens through stdout. No evidence found of prompt injection, unrelated secret harvesting, or intentional malicious exfiltration.

7
Arquivos analisados
1,318
Linhas analisadas
11
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (1)

Médio
Malformed credential responses can expose tokens in logs
The rotation and recovery parser prints malformed responses unchanged. A response truncated after the token value can disclose the complete reusable credential in logs or transcripts.
The JSON parsing failure handler directly writes the raw response to stdout. Token disclosure depends on the malformed response retaining its credential value.
Itens de revisão de capacidade (6)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
SOCKS proxy
| SOCKS5 | `socks5h://<exit>.x402socks.com:1080` | Every exit |
The documented socks5h address uses unencrypted SOCKS5 authentication with a reusable paid token. Remote DNS does not prevent credential interception.
Alto
SOCKS proxy
The helper exposes both under `test --plaintext` / `test --socks5` with
These instructions enable legacy plaintext transports that transmit the reusable token without encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
Hardcoded URL
proxy="http://$exit_id.x402socks.com:3128"
The http proxy URL enables unencrypted CONNECT authentication with the reusable token. Opt-in permits operation but leaves credentials exposed to network observers.
Alto
SOCKS proxy
--socks5) mode="socks5" ;;
This option selects SOCKS5, which sends the reusable proxy credential unencrypted after opt-in. A network observer can steal paid access.
Alto
SOCKS proxy
plaintext|socks5)
This executable branch permits plaintext authentication when X402SOCKS_ALLOW_PLAINTEXT is set. The warning and opt-in do not encrypt the reusable token.
Alto
SOCKS proxy
proxy="socks5h://$exit_id.x402socks.com:1080"
The socks5h proxy configuration transmits the reusable authentication token without transport encryption. Proxy-side DNS resolution does not protect those credentials.

Fatores de risco

🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (41)
⚙️ Comandos externos (50)
🔑 Variáveis de ambiente (15)
Auditado por: codex

3 de nov. de 2026, 03:15

Most detections are Markdown syntax, public service discovery, or expected authentication; no evidence found of prompt injection or unrelated credential exfiltration. Confirmed risks include optional plaintext proxy authentication, unsafe token-file replacement, and recovery signatures in process arguments. Some documented curl examples also print replacement tokens despite nearby secrecy warnings.

7
Arquivos analisados
1,296
Linhas analisadas
19
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (1)

Médio
Credential Examples Print Replacement Tokens
The rotation and recovery curl examples print raw responses containing replacement tokens. Running them in agent terminals can expose paid-access credentials in transcripts.
Both curl examples leave stdout unfiltered, and nearby text confirms successful responses contain tokens. Later warnings do not redact those commands.
Itens de revisão de capacidade (14)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
SOCKS proxy
| SOCKS5 (RFC 1929) | `socks5h://<exit>.x402socks.com:1080` | every exit
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
X402SOCKS_ALLOW_PLAINTEXT=1 scripts/x402socks.sh test --socks5 us-central1
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
`socks5h://<exit>.x402socks.com:1080` with the token as both username and
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
plaintext|socks5)
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
proxy="socks5h://$exit_id.x402socks.com:1080"
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
scripts/x402socks.sh test --socks5 eu-north1 # SOCKS5, requires X402SOCKS_ALLOW_PLAINTEXT=1
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
- `socks5h://<exit>.x402socks.com:1080` — SOCKS5 with RFC 1929 user/password, on every exit.
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Alto
SOCKS proxy
# socks5h://us-central1.x402socks.com:1080
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Médio
Shell command substitution
body="$(python3 -c 'import json, sys; print(json.dumps({"transaction": sys.argv[1], "signature": sys
The Python subprocess receives the recovery signature as a process argument. A process-list observer can reuse this ownership proof during its validity window.
Médio
Python file write/append
with os.fdopen(fd, "w") as fh:
The preceding os.open follows symlinks and truncates an existing destination. A substituted token path can overwrite another file or expose credentials through its target.
Médio
Python os file operations
os.chmod(path, 0o600)
chmod runs after writing and follows the path again. Symlinked or concurrently replaced destinations can expose token contents or change permissions on another file.
Baixo
Hardcoded URL
proxy="http://$exit_id.x402socks.com:3128"
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Baixo
Hardcoded URL
- `http://<exit>.x402socks.com:3128` — HTTP CONNECT without TLS, on every exit.
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.
Baixo
Hardcoded URL
# http://us-central1.x402socks.com:3128
This legacy transport sends the reusable proxy token without client-to-proxy encryption. Explicit opt-in reduces accidental use but cannot prevent network interception.

Fatores de risco

🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (40)
⚙️ Comandos externos (50)
🔑 Variáveis de ambiente (15)
Auditado por: codex

3 de nov. de 2026, 02:13

Most alerts concern benign documentation or expected credential handling; no evidence of malicious intent or prompt injection was found in the reviewed files. Confirmed risks include plaintext proxy authentication, incomplete payment authorization checks, and exit-identifier injection into curl configuration. Rotation and recovery also discard replacement responses, risking access loss.

7
Arquivos analisados
1,079
Linhas analisadas
19
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (4)

Alto
Payment Guard Does Not Bind the Full Authorization
The TypeScript guard checks only accepts[0] for network and amount, then returns all requirements unchanged. Asset, recipient, and the signer's selected requirement are not bound to approval, allowing substituted authorization terms.
The supplied guard has no asset or recipient policy and does not constrain remaining requirements. Exploitation depends on substituted server requirements and client selection.
Alto
Exit Identifier Can Inject Curl Configuration
The test command inserts an unchecked exit identifier into a quoted curl configuration entry. Quotes and newlines can introduce another proxy option, redirecting reusable proxy credentials to an attacker-controlled proxy.
exit_id comes directly from the command argument and is not escaped or validated before curl parses it. Credential values are escaped, but the proxy identifier is not.
Médio
Rotation and Recovery Discard Replacement Credentials
store_token_response uses stdin for a Python heredoc, leaving sys.stdin.read() empty instead of reading the piped response. Rotation can invalidate the existing token without saving its one-time replacement, disrupting access.
The heredoc replaces pipeline stdin for python3 -, so its later response read reaches EOF. Both rotation and recovery pipe responses into this function.
Baixo
Documented Status Configuration Does Not Escape JSON
The safer status example embeds serialized JSON directly inside a quoted curl configuration value. Unescaped JSON quotes break that value, so the documented credential-validation request does not reliably send the intended body.
json.dumps emits double quotes, and printf places them inside another quoted curl option without escaping. The helper script uses cfg_escape, but this example does not.
Itens de revisão de capacidade (11)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
SOCKS proxy
printf 'proxy = "socks5h://us-central1.x402socks.com:1080"\n'
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Alto
SOCKS proxy
"http": f"socks5h://{t}:{t}@us-central1.x402socks.com:1080",
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Alto
SOCKS proxy
"https": f"socks5h://{t}:{t}@us-central1.x402socks.com:1080",
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Alto
SOCKS proxy
server: "socks5://us-central1.x402socks.com:1080",
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Alto
SOCKS proxy
cfg="$(printf 'proxy = "socks5h://%s.x402socks.com:1080"\nproxy-user = "%s:%s"' \
The default egress test sends a reusable token through unencrypted SOCKS5 authentication. Destination HTTPS does not protect the client-to-proxy authentication exchange.
Alto
SOCKS proxy
SOCKS5 on TCP 1080, on every exit. The fleet is not fixed — nodes are added, retired, and toggled at
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Alto
SOCKS proxy
proxies = {"http": f"socks5h://{t}:{t}@us-central1.x402socks.com:1080",
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Alto
SOCKS proxy
"https": f"socks5h://{t}:{t}@us-central1.x402socks.com:1080"}
This routing example uses SOCKS5 with reusable credentials on an unencrypted client-to-proxy hop. Network observers can steal the token despite destination HTTPS.
Baixo
Python HTTP libraries
print(requests.get("https://api.ipify.org", proxies=proxies, timeout=30).text)
The requests example sends its reusable proxy token over unencrypted SOCKS5 authentication. HTTPS protects the destination connection, not this authentication hop.
Baixo
Hardcoded URL
# proxy = "http://us-central1.x402socks.com:3128"
The documented HTTP CONNECT alternative uses plaintext port 3128. Reusable proxy credentials can be intercepted on the client-to-proxy path, even with the trusted-network warning.
Baixo
Hardcoded URL
# http://us-central1.x402socks.com:3128 (plaintext, trusted networks only)
The documented HTTP CONNECT alternative uses plaintext port 3128. Reusable proxy credentials can be intercepted on the client-to-proxy path, even with the trusted-network warning.

Fatores de risco

🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (41)
⚙️ Comandos externos (50)
🔑 Variáveis de ambiente (7)
Auditado por: codex

2 de nov. de 2026, 17:06

All 143 static findings were adjudicated; most describe Markdown, local configuration, or expected service calls, with no evidence found of injection or deliberate exfiltration. Confirmed working proxy examples expose reusable authentication without transport encryption; the authenticated Chromium SOCKS5 example instead fails before connecting. Semantic findings identify token exposure through process arguments and command output, plus absent payment-budget checks in the automatic purchase example.

5
Arquivos analisados
728
Linhas analisadas
20
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (3)

Alto
Automatic Purchase Example Omits Approved Spending Limit
The TypeScript example configures automatic signing with a network restriction but no user-approved amount or budget policy. Following it provides no demonstrated check against an increased challenge amount, despite the main document requiring approval for a specific amount.
The shown configuration supplies no approved amount and performs no local quote comparison. Library defaults are not included, so their protections cannot be verified.
Médio
Environment Tokens Still Leak Through Child Process Arguments
The helper claims environment tokens avoid process listings, but expands them into Python arguments, curl request bodies, authorization headers, and proxy credentials. Local process inspection or command telemetry can expose reusable tokens even when callers avoid explicit token arguments.
Quoted shell expansion preserves argument boundaries but places the actual secret in child-process argv. Environment input does not prevent this explicit argument exposure.
Médio
Rotation and Recovery Print Newly Issued Secret Tokens
Rotation and recovery pipe complete responses through the generic formatter. Those documented responses contain replacement tokens, which can enter agent transcripts or logs. This contradicts the instruction to treat any token shown in output as compromised.
The formatter prints full JSON without redaction, and both helper commands send responses directly to it. Actual transcript exposure depends on execution context.
Itens de revisão de capacidade (13)

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
SOCKS proxy · 2 ocorrências
curl --proxy socks5h://us-central1.x402socks.com:1080 \
The example sends token authentication over ordinary SOCKS5 without a secure tunnel. Remote DNS resolution does not encrypt the authentication exchange.
Alto
SOCKS proxy
"http": f"socks5h://{t}:{t}@us-central1.x402socks.com:1080",
The Python proxy URL authenticates with the reusable token over unencrypted SOCKS5. An observer on the client-to-proxy path can capture it.
Alto
SOCKS proxy
"https": f"socks5h://{t}:{t}@us-central1.x402socks.com:1080",
Even for HTTPS destinations, SOCKS5 token authentication occurs before destination TLS. The example provides no encryption for that proxy authentication.
Alto
SOCKS proxy
| Works in curl, fails in browser | browser cannot do SOCKS5 auth
The workaround directs browsers to the plaintext HTTP CONNECT listener for credential authentication. This exposes the reusable token on an untrusted client-to-proxy path.
Alto
SOCKS proxy
ip="$(req --proxy "socks5h://${exit_id}.x402socks.com:1080" \
The egress test authenticates to ordinary SOCKS5 with a reusable token on the next line. No TLS proxy transport or secure tunnel protects authentication.
Alto
SOCKS proxy
An HTTP CONNECT variant also runs on **port 3128** for `us-central1`, `eu-central1`, and `asia-centr
The paragraph recommends a plaintext HTTP CONNECT connection for clients needing token authentication. Its explicit warning confirms that proxy credentials lack transport confidentiality.
Alto
SOCKS proxy
proxies = {"http": "socks5h://TOKEN:TOKEN@us-central1.x402socks.com:1080",
The Python example places token credentials in a SOCKS5 proxy URL without an encrypted proxy channel. Client-to-proxy observers can capture authentication.
Alto
SOCKS proxy
"https": "socks5h://TOKEN:TOKEN@us-central1.x402socks.com:1080"}
HTTPS destination traffic still authenticates to the SOCKS5 proxy before destination TLS begins. That reusable token exchange is unencrypted.
Baixo
Hardcoded URL
curl --proxy http://us-central1.x402socks.com:3128 \
The HTTP proxy connection is plaintext and receives the reusable token through proxy authentication. Destination HTTPS does not protect this authentication exchange.
Baixo
Hardcoded URL
uri: "http://us-central1.x402socks.com:3128",
The ProxyAgent uses an unencrypted HTTP proxy URI with a Basic token on the next line. Network observers can recover this reusable credential.
Baixo
Hardcoded URL
--proxy-server=http://us-central1.x402socks.com:3128
Chrome is configured to use a plaintext HTTP proxy, then supply the token in its credential dialog. Proxy authentication lacks transport confidentiality.
Baixo
Hardcoded URL
# http://us-central1.x402socks.com:3128 (token as username AND password)
The example directs clients to an unencrypted HTTP proxy and supplies the token as both credentials. The reusable secret lacks client-to-proxy transport protection.

Fatores de risco

⚙️ Comandos externos (50)
🌐 Acesso à rede (50)
📁 Acesso ao sistema de arquivos (7)
🔑 Variáveis de ambiente (10)
Auditado por: codex