evernote-security-basics

Featured

Implement security best practices for Evernote integrations. Use when securing API credentials, implementing OAuth securely, or hardening Evernote integrations. Trigger with phrases like "evernote security", "secure evernote", "evernote credentials", "evernote oauth security".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Evernote Security Basics ## Overview Security best practices for Evernote API integrations, covering credential management, OAuth hardening, token storage, data protection, and secure logging patterns. ## Prerequisites - Evernote SDK setup - Understanding of OAuth 1.0a - Basic cryptography concepts (AES encryption, hashing) ## Instructions ### Step 1: Credential Management Store `consumerKey`, `consumerSecret`, and access tokens in environment variables or a secrets manager (AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault). Never commit credentials to source control. Add `.env` to `.gitignore`. ```javascript // Load from environment, fail fast if missing const requiredVars = ['EVERNOTE_CONSUMER_KEY', 'EVERNOTE_CONSUMER_SECRET']; for (const v of requiredVars) { if (!process.env[v]) throw new Error(`Missing required env var: ${v}`); } ``` ### Step 2: Secure OAuth Flow Add CSRF protection with a state parameter stored in the session. Validate the callback URL matches your registered domain. Use HTTPS-only for all OAuth endpoints. Set secure cookie flags for session tokens. ```javascript // Generate CSRF token for OAuth state const csrfToken = crypto.randomBytes(32).toString('hex'); req.session.oauthCsrf = csrfToken; // Verify on callback if (req.query.state !== req.session.oauthCsrf) { return res.status(403).send('CSRF validation failed'); } ``` ### Step 3: Encrypted Token Storage Encrypt access tokens at rest using AES-256-GCM before storing in your d...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category