[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78FGQNK1W285ZYZPF5HTFFT":3,"skill-same:01M78FGQNK1W285ZYZPF5HTFFT":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78FGQNK1W285ZYZPF5HTFFT","secrets-security",null,"Zero hardcoded secrets, automated pre-commit scanning, centralized secret managers, ephemeral tokens, and automated log redaction","poppyTM\u002Foride","poppyTM","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F339400917?v=4","01M78F6YNKFR5S5JQR27X9F09Z","Poppy Team","01M78F6YP8ZZTRES9X8Q2ZAD21",1,"MIT","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: secrets-security\ndescription: Zero hardcoded secrets, automated pre-commit scanning, centralized secret managers, ephemeral tokens, and automated log redaction\n---\n# Secrets & Credential Protection\n\n## 1. Zero Hardcoded Secrets Invariant\nEnforce an absolute ban on plaintext secrets (API keys, private keys, database passwords, webhook signing secrets) in source code, commit history, configuration files, and container images.\n\n## 2. Automated Secret Scanning Gates\nRun automated secret detection tools (Gitleaks, TruffleHog) in local git pre-commit hooks and as blocking CI gates. Analyze commit diffs for high-entropy strings and known vendor token patterns.\n\n## 3. Environment Separation & Scoped Injection\nIsolate credentials strictly across development, staging, and production environments. Follow Twelve-Factor App principles by injecting secrets via environment variables or mounted tmpfs files at runtime.\n\n## 4. Centralized Secrets Management\nRetrieve production secrets dynamically from centralized managers (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager). Use short-lived, rotatable credentials instead of static long-lived strings.\n\n## 5. Secret Rotation Playbooks\nDesign application systems to support zero-downtime secret rotation. Support dual-key verification windows during rotation (accepting both old and new signing keys while tokens migrate).\n\n## 6. Ephemeral Developer Tokens\nProvide developers with scoped, short-lived development tokens (validity \u003C 30 days) rather than production-grade credentials. Enforce immediate revocation upon employee or collaborator offboarding.\n\n## 7. Memory & Core Dump Protection\nOverwrite sensitive byte buffers with zeros immediately after use where supported by the language runtime. Disable automatic core dumps in production environments to prevent credential extraction from memory.\n\n## 8. Automated Log & Trace Redaction\nConfigure log formatters and OpenTelemetry exporters to automatically scrub patterns resembling JWTs, Bearer tokens, private keys, and passwords before persisting records to disk or central logging systems.\n\n## 9. Compromise Response & History Scrubbing\nIn the event of an accidental secret commit, treat the secret as compromised immediately and revoke it at the provider first. Only after revocation, rewrite git history using git-filter-repo to purge the artifact.\n\n## 10. Supply Chain & CI Secret Isolation\nUse GitHub Actions encrypted repository secrets or OIDC Workload Identity Federation instead of long-lived cloud access keys. Restrict secret visibility to protected branches and prevent pull requests from forks from accessing secrets.\n","# Secrets & Credential Protection\n\n## 1. Zero Hardcoded Secrets Invariant\nEnforce an absolute ban on plaintext secrets (API keys, private keys, database passwords, webhook signing secrets) in source code, commit history, configuration files, and container images.\n\n## 2. Automated Secret Scanning Gates\nRun automated secret detection tools (Gitleaks, TruffleHog) in local git pre-commit hooks and as blocking CI gates. Analyze commit diffs for high-entropy strings and known vendor token patterns.\n\n## 3. Environment Separation & Scoped Injection\nIsolate credentials strictly across development, staging, and production environments. Follow Twelve-Factor App principles by injecting secrets via environment variables or mounted tmpfs files at runtime.\n\n## 4. Centralized Secrets Management\nRetrieve production secrets dynamically from centralized managers (HashiCorp Vault, AWS Secrets Manager, GCP Secret Manager). Use short-lived, rotatable credentials instead of static long-lived strings.\n\n## 5. Secret Rotation Playbooks\nDesign application systems to support zero-downtime secret rotation. Support dual-key verification windows during rotation (accepting both old and new signing keys while tokens migrate).\n\n## 6. Ephemeral Developer Tokens\nProvide developers with scoped, short-lived development tokens (validity \u003C 30 days) rather than production-grade credentials. Enforce immediate revocation upon employee or collaborator offboarding.\n\n## 7. Memory & Core Dump Protection\nOverwrite sensitive byte buffers with zeros immediately after use where supported by the language runtime. Disable automatic core dumps in production environments to prevent credential extraction from memory.\n\n## 8. Automated Log & Trace Redaction\nConfigure log formatters and OpenTelemetry exporters to automatically scrub patterns resembling JWTs, Bearer tokens, private keys, and passwords before persisting records to disk or central logging systems.\n\n## 9. Compromise Response & History Scrubbing\nIn the event of an accidental secret commit, treat the secret as compromised immediately and revoke it at the provider first. Only after revocation, rewrite git history using git-filter-repo to purge the artifact.\n\n## 10. Supply Chain & CI Secret Isolation\nUse GitHub Actions encrypted repository secrets or OIDC Workload Identity Federation instead of long-lived cloud access keys. Restrict secret visibility to protected branches and prevent pull requests from forks from accessing secrets.\n",{"name":5,"description":7},"main","1cd515630b8ceb57777d466bee4970fe7c2e30e0",".ai\u002Fskills\u002Fsecrets-security",0,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride","https:\u002F\u002Fgithub.com\u002FpoppyTM","https:\u002F\u002Fpoppy.lat","Construímos linguagens de programação e ferramentas para quem lê código com o mesmo cuidado com que escreve.","2026-09-30 10:15:52",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add poppyTM\u002Foride --skill secrets-security",{"tool":39,"command":40},"bunx","bunx skills add poppyTM\u002Foride --skill secrets-security",{"tool":42,"command":43},"pnpm","pnpm dlx skills add poppyTM\u002Foride --skill secrets-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002FSKILL.md",true,[47,53,57,61,65,71,75],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"checks\u002Fsecrets-security-checklist.md","REFERENCE","参考文档",658,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Fchecks\u002Fsecrets-security-checklist.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"examples\u002Faws_secrets_manager_usage.md",2479,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Fexamples\u002Faws_secrets_manager_usage.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"manifest.json",1727,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Fmanifest.json",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fsecrets-management.md",1916,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Freferences\u002Fsecrets-management.md",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Fscan_secrets.sh","SCRIPT","脚本",57,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Fscripts\u002Fscan_secrets.sh",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fverify.sh",4077,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Fscripts\u002Fverify.sh",{"path":76,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":77,"sourceHtmlUrl":78},"templates\u002Fsecrets-security-report.md",1107,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fsecrets-security\u002Ftemplates\u002Fsecrets-security-report.md",[80,86,92,99,106,113],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M78FHQN254KEH0DETXT5JM29","zoom-reflow","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fzoom-reflow\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M78FHP1880S695V8GQEE0RXK","wireframe-styleguide","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fwireframe-styleguide\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M78FHHYM6AN2H819FABW01DZ","visual-regression","Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fvisual-regression\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M78FHE53D8DD0QVRY5C37DA4","ui-implementation","Component-driven UI implementation, multi-state matrix (default, hover, focus-visible, active, disabled, loading, empty, error), DTCG design tokens, responsive layout contracts, and accessibility tree mapping.","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fui-implementation\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M78FHBJ1KXFF734GFE509TBJ","tui-editor-engine","Text buffer and editing semantics for a terminal code editor — index conversion, transaction-first editing, multi-cursor invariants, undo grouping, and large-file behaviour.","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftui-editor-engine\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M78FH9X6CPJX1H61ZDWTTVW8","tree-sitter-context-indexing","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftree-sitter-context-indexing\u002FSKILL.md",[],[]]