# yeswehack/vulnerable-code-snippets

Twitter vulnerable snippets

Repository: https://github.com/yeswehack/vulnerable-code-snippets
Canonical: https://ross.abutalabs.com/products/vulnerable-code-snippets
Language: PHP
License Family: other
Topics: bugbounty, snippets, vulnerable, owasp, code, example-code, web-application, websecurity, worst-practices, code-analyze
Last push: 2026-02-11T14:39:48+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 67, release rhythm 35, longevity 99
- inputs: {"age_days": 1399, "days_push": 203, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1176, forks 221 (observed 2026-08-28T04:03:52.687389+00:00)

## What it is
A collection of intentionally vulnerable code snippets (mostly PHP) published weekly by YesWeHack for practicing secure code analysis. Each snippet ships with a Docker setup so it can be run safely in an isolated environment.

## Use cases
- practice finding vulnerabilities in source code
- learn code auditing for bug bounty
- train static analysis skills on real vulnerable examples
- study common web vulnerabilities like XSS, SQLi, and SSRF
- set up safe dockerized vulnerable apps for security training
- prepare for code review challenges in bug bounty programs

## When to choose
- you want small, focused exercises for learning vulnerability code analysis
- you need a safe, dockerized environment to study insecure code
- you're preparing for bug bounty or secure code review work
- you want weekly-updated examples across many vulnerability classes

## When to avoid
- you need production-ready secure code or reference implementations
- you want full applications rather than small snippets
- you need a vulnerability scanner or automated security tool
- you require a maintained license or formal support

## Facets
- artifact type: learning-resource
- maturity: active
- function: security, penetration-testing, vulnerability-scanning, developer-tools
- domain: security, penetration-testing, education, web-development, tutorials
- platform: cross-platform, cli
- tags: bug-bounty, code-audit, sast-practice, vulnerable-code, owasp, xss, sqli, ssrf, dockerized-labs, security-training, docker

## Member repositories
- yeswehack/vulnerable-code-snippets (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.687389+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:27:01.723369+00:00, confidence not recorded.
  - readme: https://github.com/yeswehack/vulnerable-code-snippets (fetched 2026-08-28T04:03:52.687389+00:00, sha b4cc96703bd2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
