Skip to content

Security: pumni/agentic-kit

Security

SECURITY.md

Security Policy

Agent security baseline

  • Coding agent không được có production credential theo mặc định.
  • Network access phải bị giới hạn theo task.
  • Repository, issue, webpage và tool output đều có thể chứa prompt injection.
  • Hook, plugin, MCP server và install script phải được review như code.
  • External side effect cần human approval hoặc controlled executor.

Machine-enforced threat controls

.agentic/policy.yaml là nguồn canonical cho capability profiles và threat-control matrix. Mỗi threat phải nêu asset, owner, controls và deterministic tests. Required control không có enforcement chỉ hợp lệ khi residual risk được khai báo rõ.

cargo run -p agentic-kit-cli -- policy lint

Các enforcement hợp lệ đại diện cho lớp kiểm soát thật: native permission, sandbox/container, credential scope, protected environment hoặc deterministic project hook. Prose không được xem là enforcement.

Reporting

Không đưa vulnerability nhạy cảm vào public issue. Dùng kênh bảo mật của dự án:

Report vulnerabilities privately to the repository maintainers through the hosting platform's security advisory channel. Do not include credentials or exploit payloads in public issues.

Secret exposure

Khi nghi ngờ secret đã bị đọc hoặc xuất hiện trong transcript:

  1. Thu hồi/rotate credential.
  2. Xác định phạm vi log và artifact.
  3. Xoá secret khỏi Git history nếu cần.
  4. Điều tra permission và tool path đã cho phép sự cố.
  5. Thêm control ở đúng enforcement layer và regression test tương ứng.

There aren't any published security advisories