AGENT SKILL

security-best-practices

Write and review secure-by-default code by inspected language/framework: Java, Spring Boot 2/3, Apache Camel, Angular, Python, JavaScript/TypeScript and Go. Use for boas práticas de segurança, código Spring seguro, segurança do componente Angular or a prioritized secure-coding report. Do NOT use for a specific deep PR diff (revisar-seguranca-pr), CVE/EOL recon, dependency remediation or threat modeling.

License 许可
CC-BY-4.0
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
security-best-practices
license
CC-BY-4.0
metadata
{ "author": "Tech Leads Club", "version": "1.1.0", "owner_agent": "codenavi-agent" }
description
Write and review secure-by-default code by inspected language/framework: Java, Spring Boot 2/3, Apache Camel, Angular, Python, JavaScript/TypeScript and Go. Use for boas práticas de segurança, código Spring seguro, segurança do componente Angular or a prioritized secure-coding report. Do NOT use for a specific deep PR diff (revisar-seguranca-pr), CVE/EOL recon, dependency remediation or threat modeling.

02 资源文件 35

03 SKILL.md 正文

security-best-practices

Governance: CodENavi Full Workspace v2. Skill of codenavi-agent; inherit AGENTS.md. Lifecycle: BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEF.

Workflow

  1. Identify backend and frontend languages/frameworks from actual manifests, code and inherited parent/BOM. Corporate Arsenal names shown in photos are detection candidates, not proof of version.
  2. Load every matching technology reference: Java, Spring/Camel, Angular, and retained Python/JS/Go references only for matching scope.
  3. Select the requested mode: secure generation/edits; passive high-impact detection in touched code; or an evidence-backed prioritized report. Do not expand passive detection into an unsolicited full audit.
  4. Apply project context and reporting. Prove source → dangerous sink, reachable attack path, existing defenses and impact. Do not infer exploitability from a keyword.
  5. Trace secrets by runtime reference, authorization by actual gateway/service boundary, contract validation from real OpenAPI/delegate and environment-specific TLS/cookies. Corporate conventions apply only when evidenced; absent code-level annotation alone is not a finding.
  6. Emit numeric IDs, severity, file:line, risk class, attacker impact, confidence, evidence and limitations; default output security_best_practices_report.md. “No findings in inspected scope” requires a list of checked controls, not a fabricated clean bill.
  7. Perform only remediation already authorized by the request. Fix one root cause at a time, verify behavior/compatibility and honor documented safe project exceptions. Report-only requests do not authorize edits; update requests need no repeated local-edit approval.

Inputs, output and stop

Input: authorized source and requested review/edit scope. Output: secure code or prioritized report with actual verification and gaps. Never copy secret values into chat/reports/notebook. Read-only mirrors are reported, not patched. Remote publication, push/merge and deployment follow their own available authorized workflows. If no reference covers the stack, inspect current official documentation and disclose the coverage gap; never invent a rule or finding. Retained original/source modules are historical where they conflict with this entry. Source: IMG_2739–IMG_2748.

Examples and failure handling

Example: “write this filter endpoint securely” → inspect Java/Spring/contract and use validation/parameterized queries; “check Angular chat rendering” → trace data/sanitizer/trust before alleging XSS. Error: absent edge policy evidence → report unknown, not missing protection.

Retained resources

04 同仓库更多 Skills

paulosantanna
paulosantanna/ai-assistent-universal-coder

workspace-brain

Operate the CodENavi workspace brain MCP and CLI — cloud DeepSeek RAG, disk corpus at WORKSPACE_BRAIN_ROOT, Jev URL curation, and event logging for Cursor/Codex/OpenCode/Claude. Use when ingesting repo knowledge, asking the brain, mapping web seeds, or recording AI-driven file changes. Do NOT use for local Ollama RAG or storing API keys in git.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

workbench-profile-resolver

Provide enterprise-grade capability for `workbench-profile-resolver` inside AEOS v1.1. Use when the user requests workbench profile resolver or invokes workbench-profile-resolver. Do NOT use for unrelated tools or unapproved remote writes.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

wordpress-expert

Staff-level WordPress engineering super-skill for one-shot site mapping, clean-code AI-assisted project creation/modification, the complete installed plugin universe, governed remote wp-admin operations, themes/blocks/layout, third-party integrations and production-safe changes. Use when the user requests wordpress expert or invokes wordpress-expert. Do NOT use for unrelated languages, domains or production deployment.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

whatsapp-simulator

Generate synthetic WhatsApp-style conversation fixtures for testing conversational systems, support flows and automation. Use when the user requests whatsapp simulator or invokes whatsapp-simulator. Do NOT use for unrelated tools or unapproved remote writes.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

web-quality-audit

Assimilated TLC/web-quality multi-area audit. Review performance, accessibility, SEO and best practices in one pass. Triggers: audit my site, review web quality, check page quality, optimize my website across areas. Do not use for a single-area job (core-web-vitals, ai-seo, best-practices, perf-lighthouse).

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

voiceai

Provide an evidence-backed voice interface for AEOS. Activating this skill is treated as explicit current-session consent for `voiceai` to record user audio or transcribe audio from user-authorized audio/video media within the declared scope. The skill can: Use when the user requests voiceai or invokes voiceai. Do NOT use for unrelated tools or unapproved remote writes.

★ 1