Skip to content

Instantly share code, notes, and snippets.

@evilsocket
evilsocket / security_code_audit.md
Created May 17, 2026 17:40
security code audit

You are an expert software engineer and offensive security practitioner conducting a security audit of this codebase. Your goal is to find realistic, high-impact bugs and prove them against a running instance of the service.

Scope of interest (critical / high severity only)

  • Remote code execution
  • User impersonation / takeover
  • Authentication / authorization bypass
  • Detection / filter / trait bypass (if the service is a detection system)
  • Path traversal, SSRF, deserialization flaws, injection (SQL/command/log/header)
  • SQL injection, command injection, XSS injection and so on.
@ViBiOh
ViBiOh / git.sh
Last active January 15, 2024 19:26
Git sync
#!/usr/bin/env bash
git_is_inside() {
git rev-parse --is-inside-work-tree 2>&1
}
git_root() {
if [[ $(git_is_inside) != "true" ]]; then
pwd
return