Ejemplo
verify pkg:npm/detect-libc@2.1.2
sha256:2acdc27c7fc287cb5ecbbfd0ace9ae0797a22177dd43b78663238fbdb9a6b58d
Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido.
Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas.
MIT-0
Evidencia de ejecución
El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.
- Base de evidencia
- Contrato firmado aprobado
- Recibos de verificación
- 1
- Claves de firma que lo compilaron
- 1
Entorno declarado
node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10
Entornos de las ejecuciones de verificación
| Entorno | Contrato | Etapas | Ejecución |
|---|---|---|---|
| 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 |
Caso
HOW- Objetivo
- verify pkg:npm/detect-libc@2.1.2
- Paquetes
- Símbolos
-
- detect-libc.GLIBC
- detect-libc.MUSL
- detect-libc.family
- detect-libc.familySync
- detect-libc.isNonGlibcLinux
- detect-libc.isNonGlibcLinuxSync
- detect-libc.version
- detect-libc.versionSync
- Entorno
- node 22.23.2
- Creado
- 2026-08-27T22:04:44Z
Contrato
- assert detect-libc exports GLIBC ('glibc') and MUSL ('musl') string constants and removes legacy v1 property 'method'
- assert family, version, and isNonGlibcLinux are async functions returning Promises, while familySync, versionSync, and isNonGlibcLinuxSync are synchronous functions
- assert unawaited async family() call returns a Promise instance rather than a string value
- assert parity between synchronous and asynchronous APIs where familySync() === await family(), versionSync() === await version(), and isNonGlibcLinuxSync() === await isNonGlibcLinux()
- assert on Linux platforms, familySync() returns 'glibc', 'musl', or null, with isNonGlibcLinuxSync() returning true for musl and false for glibc
- assert migration trap evaluation confirms functions are truthy in boolean expressions and v1 property access fails
- assert parseLibcVersion and compareLibcVersions correctly handle non-semver 2-part libc version strings without throwing errors
- assert satisfiesMinLibcVersion accurately validates minimum libc version requirements against detected version
- assert resolveAddonBinary maps platform architecture and libc family to the appropriate prebuilt binary suffix
Archivos
- NOTES.md
- PROMPT.md
- csx.json
- package-lock.json
- package.json
- spec.json
- src/libc-addon-resolver.mjs
- test/contract.mjs
Seeder de origen
anónimo