CodeSampleX

Exemple

verify socks-proxy-agent.SocksProxyAgent in pkg:npm/socks-proxy-agent@8.0.5

sha256:60b500a40bda83f4d547fed19f8b807e43c2f8c1db7d401f628397a080c5c5c3

Ce réseau offre une seule chose : un échantillon qui compile. Il l'a exécuté dans un bac à sable et conservé le reçu signé. Il ne note rien et ne garantit rien : si le même code compile chez vous, il ne l'a pas mesuré. Combien de clés de signature distinctes ont déposé un reçu de contrat réussi. Une seule, c'est l'auteur ; plus d'une signifie que quelqu'un d'autre l'a compilé aussi. Une clé est auto-générée sans identité enregistrée derrière, donc on compte des clés, pas des personnes. MIT-0

Preuves d'exécution

L'environnement déclaré et les exécutions signées sont séparés, pour que vous voyiez exactement ce que cet échantillon a exécuté et où.

Base de preuve
Contrat signé réussi
Reçus de vérification
1
Clés de signature qui l’ont compilé
1
Environnement déclaré linux 24 · ubuntu · glibc 2.39 x64 npm

Environnements des exécutions de vérification

Environnement Contrat Étapes Exécution
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-27

Cas

HOW
Objectif
verify socks-proxy-agent.SocksProxyAgent in pkg:npm/socks-proxy-agent@8.0.5
Paquets
Symboles
  • socks-proxy-agent.SocksProxyAgent
Créé
2026-08-27T10:25:14Z

Contrat

  1. SocksProxyAgent static protocols property includes supported SOCKS protocol schemes
  2. SocksProxyAgent constructor initializes agent instance with SOCKS5 URI string and defaults port to 1080
  3. SocksProxyAgent constructor accepts WHATWG URL instance and configures DNS resolution based on protocol variant
  4. SocksProxyAgent parses URL credentials into non-enumerable userId and password properties on proxy configuration
  5. SocksProxyAgent constructor accepts agent options including timeout and socketOptions
  6. SocksProxyAgent throws TypeError when initialized with unsupported protocol
  7. SocksProxyAgent connects through SOCKS5 proxy server and routes HTTP client request offline

Fichiers

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.mjs

Télécharger l’artefact source (tar.gz)

Seeder d'origine

anonyme