[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADWR295KG651R7F3ST4BTW":3,"skill-same:01M7ADWR295KG651R7F3ST4BTW":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7ADWR295KG651R7F3ST4BTW","security-audit",null,"Use when the user wants to audit code, dependencies, or infrastructure for security issues. Covers SAST, dependency scanning, secret leak detection, and OWASP-style checks.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-audit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: security-audit\ndescription: Use when the user wants to audit code, dependencies, or infrastructure for security issues. Covers SAST, dependency scanning, secret leak detection, and OWASP-style checks.\ntriggers: [user, model]\n---\n\n# Security Audit\n\nDefensive security analysis of code, dependencies, and configuration.\n\n## When to use\n\n- User asks for a security review or audit.\n- Adding untrusted dependencies or new secrets handling.\n- Before exposing a service to the internet.\n- After a security incident or alert.\n\n## Core protocol\n\n1. **Scope the surface.** Identify code paths, inputs, auth, secrets, and network boundaries.\n2. **Run static analysis.** Use project linters and SAST tools if available.\n3. **Check dependencies.** Run `python scripts\u002Fdep-audit.py` (auto-detects ecosystems; shells to installed pip-audit\u002Fnpm audit\u002Fcargo audit\u002Fosv-scanner). Missing scanners are reported as skipped, never installed. `dep-audit-gate.py` (PostToolUse on `^exec$`) already surfaces `[DEP-AUDIT]` findings after install commands.\n4. **Hunt for secrets.** Run secret-scanning tools or grep for high-risk patterns.\n5. **Review auth and input.** Verify auth checks, input validation, output encoding, and least privilege.\n6. **Document findings.** Rank by severity; do not exploit, only detect.\n\n## Checklist - 5 security principles\n\nApply this checklist to every audit. Each item comes from the `sec-needs` source.\n\n| Principle | What to verify | What to flag |\n|---|---|---|\n| **1. Minimize attack surface** | Every line of code, every input, every endpoint, every service, every log line is a possible vector. | Unnecessary code, unauthenticated endpoints, public S3\u002Fstorage URLs, sequential IDs on resource reads, sensitive data in logs, timing leaks in comparisons. |\n| **2. Least privilege** | Services, users, and DB access have only the permissions they need. | Over-privileged service accounts, broad IAM policies, DB access from outside the VPC, frontend code calling the DB directly, hardcoded credentials. |\n| **3. Secure defaults** | The default state is safe: hidden passwords with opt-in reveal, confirmation for destructive actions, MFA required, new accounts must change default password. | Default-visible passwords, destructive actions without confirmation, missing MFA prompts, insecure default credentials. |\n| **4. Standard crypto** | Sensitive data is encrypted with standard algorithms; no home-grown crypto. | Plain-text passwords, custom hash functions, missing `bcrypt`\u002F`argon2`, unencrypted sensitive payloads. |\n| **5. Updates and monitoring** | Dependencies are patched promptly; SAST and WAF are in place. | Outdated dependencies with CVEs, missing Dependabot\u002Frenovate, missing SAST\u002FWAF coverage. |\n\n## See also\n\n- `code-review` - general code review before merge.\n- `secure-defaults-check` - pre-commit checklist for secure defaults.\n- `scan_secrets.py` - existing script at `skills\u002Fobsidian-workflow\u002Fscripts\u002Fscan_secrets.py` for scanning Markdown files for secrets.\n\n## Output rule\n\n- Produce a findings list: severity, file, issue, recommendation, and verification command.\n- Never expose real credentials or attack a live system.\n","# Security Audit\n\nDefensive security analysis of code, dependencies, and configuration.\n\n## When to use\n\n- User asks for a security review or audit.\n- Adding untrusted dependencies or new secrets handling.\n- Before exposing a service to the internet.\n- After a security incident or alert.\n\n## Core protocol\n\n1. **Scope the surface.** Identify code paths, inputs, auth, secrets, and network boundaries.\n2. **Run static analysis.** Use project linters and SAST tools if available.\n3. **Check dependencies.** Run `python scripts\u002Fdep-audit.py` (auto-detects ecosystems; shells to installed pip-audit\u002Fnpm audit\u002Fcargo audit\u002Fosv-scanner). Missing scanners are reported as skipped, never installed. `dep-audit-gate.py` (PostToolUse on `^exec$`) already surfaces `[DEP-AUDIT]` findings after install commands.\n4. **Hunt for secrets.** Run secret-scanning tools or grep for high-risk patterns.\n5. **Review auth and input.** Verify auth checks, input validation, output encoding, and least privilege.\n6. **Document findings.** Rank by severity; do not exploit, only detect.\n\n## Checklist - 5 security principles\n\nApply this checklist to every audit. Each item comes from the `sec-needs` source.\n\n| Principle | What to verify | What to flag |\n|---|---|---|\n| **1. Minimize attack surface** | Every line of code, every input, every endpoint, every service, every log line is a possible vector. | Unnecessary code, unauthenticated endpoints, public S3\u002Fstorage URLs, sequential IDs on resource reads, sensitive data in logs, timing leaks in comparisons. |\n| **2. Least privilege** | Services, users, and DB access have only the permissions they need. | Over-privileged service accounts, broad IAM policies, DB access from outside the VPC, frontend code calling the DB directly, hardcoded credentials. |\n| **3. Secure defaults** | The default state is safe: hidden passwords with opt-in reveal, confirmation for destructive actions, MFA required, new accounts must change default password. | Default-visible passwords, destructive actions without confirmation, missing MFA prompts, insecure default credentials. |\n| **4. Standard crypto** | Sensitive data is encrypted with standard algorithms; no home-grown crypto. | Plain-text passwords, custom hash functions, missing `bcrypt`\u002F`argon2`, unencrypted sensitive payloads. |\n| **5. Updates and monitoring** | Dependencies are patched promptly; SAST and WAF are in place. | Outdated dependencies with CVEs, missing Dependabot\u002Frenovate, missing SAST\u002FWAF coverage. |\n\n## See also\n\n- `code-review` - general code review before merge.\n- `secure-defaults-check` - pre-commit checklist for secure defaults.\n- `scan_secrets.py` - existing script at `skills\u002Fobsidian-workflow\u002Fscripts\u002Fscan_secrets.py` for scanning Markdown files for secrets.\n\n## Output rule\n\n- Produce a findings list: severity, file, issue, recommendation, and verification command.\n- Never expose real credentials or attack a live system.\n",{"name":5,"triggers":24,"description":7},[25,26],"user","model","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Fsecurity-audit",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill security-audit",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill security-audit",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill security-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-audit\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":86,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]