T09 · Insecure Skill Coding Practices
- Location
scripts/nostr_auth.js:271- Finding
Authentication-Only Signing Scope Is Not Enforced
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly aligned with Nostr sign-in, but its helper can sign non-authentication events and send signed events to arbitrary callback URLs.
Review before installing. Use this only with challenges and callback URLs from services you trust, prefer dry-run inspection, avoid plaintext or local/private callback URLs, and do not pass arbitrary event templates unless you intentionally want this derived Nostr identity to sign them.
scripts/nostr_auth.js:271Authentication-Only Signing Scope Is Not Enforced
scripts/nostr_auth.js:213Unrestricted Callback URL Permits Internal Requests and Plaintext Submission
scripts/nostr_auth.js:160Existing Master-Key Files Are Used Without Permission or Symlink Validation
Without declared permissions the skill's intent is opaque and cannot be validated.