AGENT SKILL

webapp-data-sensitive-protect

--| | GET /api/users | password_hash, internal_id, created_ip | | GET /api/users/{id} | ssn, credit_card_full, date_of_birth | | GET /api/orders | customer_phone, customer_address | ### Recommendation 1.

License 许可
MIT
最近更新
2026-09-01
Stars
★ 0
Forks
0

01 前言 Front Matter

name
webapp-data-sensitive-protect
domain
cybersecurity
description
--| | GET /api/users | password_hash, internal_id, created_ip | | GET /api/users/{id} | ssn, credit_card_full, date_of_birth | | GET /api/orders | customer_phone, customer_address | ### Recommendation 1.

02 资源文件 1

03 SKILL.md 正文

--| | GET /api/users | password_hash, internal_id, created_ip | | GET /api/users/{id} | ssn, credit_card_full, date_of_birth | | GET /api/orders | customer_phone, customer_address |

Recommendation

  1. Remove all hardcoded secrets from client-side code; use backend proxies
  2. Rotate all exposed credentials immediately
  3. Remove .git directory from production web root
  4. Implement response field filtering; return only required fields
  5. Mask sensitive data (SSN, credit card) in all API responses
  6. Add Cache-Control: no-store to all sensitive endpoints
  7. Enable TLS 1.2+ on all endpoints; redirect HTTP to HTTPS
  8. Implement secret scanning in CI/CD pipeline (trufflehog/gitleaks)

04 同仓库更多 Skills