turbodocx-sdk skill: identityAssertion on non-external_idv recipients is rejected, not ignored
Evaluación
Este issue todavía no se ha evaluado.
Descripción
What's wrong
The JavaScript and Go references say an identity assertion passed for an OTP, override, or no-verification recipient is ignored. The backend rejects it: createSigningUrl returns a 400 with type IdentityModeConflict ("An identity assertion is not valid for this recipient").
Evidence
skills/turbodocx-sdk/references/javascript.md:423: "OTP, override, and no-verification recipients ignore it."skills/turbodocx-sdk/references/go.md:496: same sentence.- RapidDocxBackend
src/handlers/TurboSign/createSigningUrl.ts:299-303throwsIdentityModeConflictwhenmode !== external_idv && params.identityAssertion. The code comment says this is deliberate: silently ignoring it would let an integrator believe the vendor check ran. Covered bycreateSigningUrl.test.ts:256and:668. - The Python, PHP, Java and Ruby references don't make this claim.
Impact
An agent following the skill may pass the same assertion for every recipient, thinking it's harmless, and every signing-URL mint for an OTP, override, or plain recipient then fails with a 400.
Suggested fix
In both files, replace the sentence with: "Pass it only for external_idv recipients. Sending it for an OTP, override, or no-verification recipient is rejected with a 400 IdentityModeConflict error." Optionally add the same line to the other four language references and an eval assertion.
Severity: S3. Found while auditing claims for the YouTube how-to series (external IdV video), verified against backend origin/master.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 3
- Forks
- 0
- Merge medio
- 4 d 17 h
- PR fusionados (30 d)
- 5
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TurboDocx/quickstart
-
test(turbodocx-sdk): getRecipients has eval coverage for only 2 of 6 languagesPosiblemente ocupada @nicolasiscoding la tomó hace 65 días. Abierto
TurboDocx/quickstart#19 · 1 comentario · 1 asignado ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
TurboDocx/quickstart#13 ·