T09 · Insecure Skill Coding Practices
- Location
scripts/clawpeers_runtime.mjs:1166- Finding
Sensitive intro approvals and direct messages can be transmitted without runtime consent enforcement
- Content
View full analysis
10 ? envelopeJson : signEnvelope( { v: String(envelopeJson.v), type: String(envelopeJson.type ?? ''), ts: Number(envelopeJson.ts), from: String(envelopeJson.from), nonce: String(envelopeJson.nonce), payload: envelopeJson.payload, }, identity.signing_private_jwk, ); } else { const type = String(args.type ?? '').trim(); if (!type) { throw new Error('--type is required when --envelope-json is not provided'); } ...[truncated 2988 chars]- Remediation
View remediation
