Este relatório não está traduzido para o idioma solicitado. O relatório canônico em inglês é exibido no lugar.

Avaliação de segurança versionada

ID do relatório: SA-D63F0C2E

11/28/2026, 7:40:45 AM

x402socks avaliação de segurança v7

Relatório de Certificação de Segurança da Skill

Histórico de auditoria
Versão do scanner 3.0.0 Modelo de auditoria: codex Relatório publicado mais recente
Nome da skill
x402socks
Versão
v1.4.1
Mantenedor
x402socks
Cobertura
10 Arquivos analisados · 3,797 Linhas analisadas
Versão da política
skillstore-security-audit-policy-v1

Current license

MIT

Maior gravidade de descoberta confirmada

Alto

8 constatações de segurança confirmadas requerem atenção.

Contexto de instalação

Confira a página atual de Habilidades

Esta página resume apenas as evidências do relatório. A página da Skill fornece o aviso canônico de instalação.

Abra a página atual do Skill

Este relatório não bloqueia nem autoriza o manifesto ou o ZIP.

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.

Posição do relatório

Relatório publicado mais recente

Mais recente refere-se à sequência do relatório, não à atualidade do artefato.

Atestado de auditoria

Atestação ativa

Uma atestação pública está disponível para este relatório exato.

Verificação humana

Não verificado

Nenhuma verificação humana está registrada para este relatório.

Cobertura

10 Arquivos analisados · 3,797 Linhas analisadas

55 itens exibidos para revisão

Limitações

Este relatório não alega execução em runtime ou sandbox e não prova a ausência de efeitos colaterais.

Cadeia de evidências

Siga as evidências desde a vinculação à origem até o contrato de instalação. As evidências disponíveis oferecem suporte à verificação; não são uma garantia de segurança.

  1. Fonte

    Commit e caminho vinculados

  2. Artefato

    Hashes de conteúdo e árvore vinculados

  3. Auditoria

    Concluído

  4. Contrato de instalação

    Abra o manifesto para verificar

    Abra o manifesto

Recursos observados

Observado significa que este relatório registrou evidências de suporte. Não registrado não prova que uma capacidade está ausente.

Contém scripts

Pode executar código incluído com o Skill.

Não registrado por esta auditoria

Acesso à rede

Pode conectar-se a serviços externos.

Observado em 64 locais de evidência

Acesso ao sistema de arquivos

Pode ler ou gravar arquivos locais.

Observado em 47 locais de evidência

Variáveis de ambiente

Pode ler valores do ambiente do processo.

Observado em 14 locais de evidência

Comandos externos

Pode invocar comandos ou programas fora do Skill.

Observado em 51 locais de evidência

Itens de revisão de capacidade (47)
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.

Descobertas de risco

As preocupações de segurança confirmadas são separadas dos itens que ainda precisam de revisão.

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

RISK-001 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.
RISK-002 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.
RISK-003 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.
RISK-004 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.
RISK-005 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.
RISK-006 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.
RISK-007 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.
RISK-008 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.

Medidas corretivas

As correções sugeridas foram registradas por esta auditoria. Aplicá-las é responsabilidade da pessoa responsável pela manutenção.

  1. FIX-001
    Alto
    Payment clients can use terms from a record other than the one verified.
    Have an operator-controlled broker verify and claim the exact record used by the signer. Reject mismatched or expired terms at signing time.
  2. FIX-002
    Alto
    Caller settings influence the approval verifier and claim store.
    Pin the verifier, signer identity, and replay state outside the agent process. Give helpers only the environment settings they need.
  3. FIX-003
    Alto
    Recovery does not enforce the documented approval policy.
    Require a separately signed recovery decision that binds the operation, transaction, paying wallet, and expiry. Verify it before requesting a recovery signature.
  4. FIX-004
    Alto
    Proxy authentication can cross an unencrypted or unauthenticated hop.
    Require an encrypted, authenticated connection to the proxy. Disable plaintext and certificate bypass options in production, and rotate credentials that may have been exposed.
  5. FIX-005
    Alto
    The browser allowlist omits traffic that HTTP routing does not control.
    Apply an independent outbound network policy. Block unneeded protocols and test that unapproved destinations receive no traffic from the browser.
  6. FIX-006
    Médio
    Browser output can overwrite a caller-selected file.
    Restrict output to an operator-approved directory. Create a new private file without following symbolic links or overwriting existing files.
  7. FIX-007
    Médio
    Remote content can be mistaken for agent instructions.
    Keep remote bodies and provider descriptions in untrusted data channels. Do not let returned text control payment, credentials, or destinations.
  8. FIX-008
    Médio
    The baseline workflow can disclose the operator's public IP.
    Distinguish IP measurement from target reachability in the documentation. Use an operator-provided baseline and avoid printing the direct IP by default.

Evidência especializada

Identidade imutável do sujeito, metadados do scanner, correspondências descartadas e evidências no nível da origem.

Sujeito do artefato

Commit do Marketplace
d63f0c2ee28c795ea2a2a2169816dc52bdbef4df
Hash do conteúdo
b83dd94501077b4be4d787a0a91358f9fe54fd331911a5eb7adda48452025ba6
Hash da árvore
10e6bafff66438b7dee71d970a2d0e6956d615c86947dc0178ec548dae626bd1
Caminho do Skill
skills/x402socks/x402socks
Hash da carga de auditoria
a1dcc02d8f1c5fd921c7cbd620c1b1dd

Metadados da análise

Modelo de auditoria: codex

Estado da análise: Concluído

O escopo limita-se aos arquivos, linhas, métodos e evidências registrados. Nenhuma execução em runtime ou sandbox é alegada.

Verificar e exportar

O manifesto e o arquivo de bloqueio vinculam os artefatos de instalação a hashes criptográficos. Esta alegação de integridade é separada da avaliação de segurança.

Atestado de auditoria: active