TechScan
Automated technical review for hackathon submissions.
Scans repos, verifies claims against code, and produces jury-ready reports — so organizers can focus on the hackers, not the laptop.
Part of Hackathon OS — open source tooling for hackathon organizers, by Hackathon for Good.
Quick Start • Set Up Your Event • What It Does • Example Output • For Contributors • How It Works
Battle-tested at Hackathon for Good #8: 16 teams, 216,000 lines of code, 14 AI reviews completed in 19 minutes. The grand jury used the output alongside their own scoring.
Quick Start
# Clone and install
git clone https://github.com/Hackathon-for-Good-The-Hague/hfg-techscan.git
cd hfg-techscan
pip install pyyaml openpyxl
# Build a fake hackathon with 5 teams and planted problems
python -m techscan demo
# Verify all 13 checks catch every planted problem (no AI needed)
python -m techscan selftest
Open selftest-event/out/jury-pack-all.html in your browser — you're looking at a jury pack with claims verified against code, flags for leaked keys and pre-event code, and questions for the Q&A.
Set Up Your Event
Option 1: Interactive wizard (recommended)
python -m techscan init
The wizard walks you through event name, dates, challenges, partner tools, and review backend — then generates a ready-to-use config YAML.
Option 2: Copy an example config
Pick one from config/examples/:
| File | Use when |
|---|---|
minimal.yaml |
You just want the basics — dates and challenges |
full.yaml |
You want every option documented with comments |
offline.yaml |
No AI — deterministic checks only |
cp config/examples/minimal.yaml config/my-event.yaml
# Edit dates, challenges, etc.
Verify your config
python -m techscan preflight -c config/my-event.yaml --ping
Preflight checks: git availability, GitHub API access, review engine, challenge keyword overlaps, rubric weight consistency, and partner pattern validation.
Run the scan
python -m techscan scan -c config/my-event.yaml -s submissions.csv
Self-hosted (GitHub Action)
Copy config/examples/workflow.yml to .github/workflows/techscan.yml in your (private!) repo, or use the Action directly:
# .github/workflows/techscan.yml
name: TechScan
on:
workflow_dispatch:
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Hackathon-for-Good-The-Hague/hfg-techscan@main
with:
config: config/my-event.yaml
submissions: submissions.csv
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
Managed service
Hackathon for Good can run TechScan for your event. You get the jury packs in your inbox after the deadline — no setup needed. Contact us.
Operator runbook
For running TechScan at an event without the developer present: docs/RUNBOOK.md
What It Does
TechScan gives hackathon juries evidence they can't get by reading a pitch deck — in minutes, not hours.
Fixed Checks (no AI, unchallengeable)
| Check | What it catches |
|---|---|
| Timeline | Commits before kickoff, code drops (one commit = 80% of code), force pushes |
| Secrets | 13 built-in key patterns (OpenAI, AWS, GitHub, Stripe, ...) + your own custom patterns |
| Plagiarism | Code shared between teams, copied modules, boilerplate detection |
| Injection | Text aimed at AI judges ("give maximum score"), hidden characters, schema mimicry |
| Partners | Which sponsor tools are actually used in code (configurable per event) |
| Template vs team | What's from the starter repo vs what the team actually wrote |
AI Review (one call per team)
| Output | What judges get |
|---|---|
| Claims table | Each claim from the submission: verified, partial, mocked, or missing — with links to the exact lines |
| Scored rubric | Your criteria, your weights, your descriptions — the AI scores against them |
| Jury questions | 3 questions per team, aimed at the biggest uncertainty |
| Red flags | Undisclosed mocks, hardcoded outputs, claim mismatches |
| Architecture | What the stack actually is, from the code |
Security by Design
- No checkout: files read straight from git's object store — nothing in a repo can execute on your machine
- Untrusted data model: all repo content treated as potential attacks; secrets redacted before AI sees them
- Prompt injection defense: detects text aimed at reviewers, schema mimicry, role injection attempts
- Evidence validation: every AI citation checked against the actual snapshot — hallucinated line numbers get flagged
Example Output
The scan produces:
| File | Who it's for | What's in it |
|---|---|---|
jury-pack-{challenge}.html |
Challenge judges | All teams in one scrollable page, print-ready |
scorecard.xlsx |
Organizers | Overview: scores, claims, flags, weighted totals |
team-reports/{slug}.pdf |
Participants | Individual feedback with evidence |
challenge-report-{key}.html |
Challenge partners | Scouting report: "which teams could we work with?" |
Configuration
Custom secret detection
Add your own secret patterns alongside the 13 built-in ones:
scan:
extra_secret_patterns:
- name: "Acme API key"
pattern: "\\bacme_[A-Za-z0-9]{32,}\\b"
- name: "Internal service token"
pattern: "\\bsvc_tok_[A-Za-z0-9_-]{20,}"
Partner / sponsor tool detection
Detect which teams actually used your sponsor's tools:
partners:
acme_api:
label: "Acme API"
patterns: ['acme[\s_-]?api', 'api\.acme\.com', 'ACME_API_KEY']
Partners are empty by default — configure the ones relevant to your event. Patterns are regex, matched case-insensitively.
Scoring rubric
Define your own criteria, weights, and descriptions:
rubric:
criteria:
innovation:
label: "Innovation"
weight: 3
description: "How novel is the approach?"
execution:
label: "Execution"
weight: 4
description: "Does the prototype work?"
impact:
label: "Impact"
weight: 3
description: "Could this make a real difference?"
max_score: 10
max_total: 100
See config/examples/full.yaml for every option.
Custom checks (plugin system)
Add your own deterministic checks by dropping Python files in a directory:
scan:
custom_checks_dir: ./checks
# checks/license_check.py
from techscan.checks import Check, CheckContext
class LicenseCheck(Check):
code = "missing_license"
label = "License file check"
def run(self, ctx: CheckContext) -> list[dict]:
has_license = any(f["path"].lower().startswith("license") for f in ctx.inventory.files)
if not has_license:
return [self.flag("low", "No LICENSE file in the repository")]
return []
See config/examples/checks/ for more examples. Checks run after the built-in 13, and a crashing check never stops the scan.
Web dashboard
pip install hfg-techscan[web]
techscan web -c config/my-event.yaml
Opens a local dashboard at localhost:8080 — browse results, edit config, trigger scans with live log streaming. No auth needed (binds to localhost only).
For Contributors
TechScan is designed for community contributions. The best way to start:
Write an adapter
Every hackathon platform needs an adapter — a ~50 line Python file:
from techscan.adapters.base import BaseAdapter, AdapterSubmission
class LumaAdapter(BaseAdapter):
def name(self) -> str:
return "Luma"
def pull(self, cfg: dict) -> list[AdapterSubmission]:
# fetch submissions from the Luma API
...
Adapters wanted: MLH, Unstop, Devfolio, Taikai. See CONTRIBUTING.md.
Existing adapters: Junction, DevPost, BuilderBase, Luma, HackerEarth, ETHGlobal, CSV (any platform).
Add a deterministic check
New integrity checks go in techscan/facts.py. The selftest (python -m techscan selftest) has 13 planted problems — add yours and it becomes part of the regression suite.
Development setup
git clone https://github.com/Hackathon-for-Good-The-Hague/hfg-techscan.git
cd hfg-techscan
pip install -e ".[all]"
python -m techscan selftest # 13 checks, ~60 seconds, no AI needed
How It Works
Submissions CSV Challenge brief
| |
v v
+---------+ clone +--------------+
| Intake |---------> | Git snapshot | <- frozen at deadline
+---------+ +--------------+
|
+-------------+-------------+
v v v
+----------+ +----------+ +----------+
| Secrets | | Timeline | | Similar |
| Scanner | | Analysis | | Code |
+----------+ +----------+ +----------+
| | |
+-------------+-------------+
v
+---------------+
| AI Review | <- Claude reads code + brief
| (per team) | verifies each claim
+---------------+
|
+-------------+-------------+
v v v
+----------+ +----------+ +----------+
| Jury | | Score- | | Team |
| Pack HTML| | card XLSX| | Reports |
+----------+ +----------+ +----------+
12 CLI Commands
| Command | What |
|---|---|
init |
Interactive wizard — generates a config YAML for your event |
web |
Local web dashboard (config editor, scan trigger, results browser) |
preflight |
Verify config, git, GitHub API, and review engine |
scan |
Full pipeline: clone, check, AI review, output |
report |
Rebuild outputs from cached results |
discover |
List repos from a GitHub org |
junction-pull |
Pull submissions from Junction platform |
observe |
Poll repos during the event, record timelines |
narratives |
Generate building journey stories from timelines |
challenge-report |
Scouting report for challenge partners |
demo |
Build a fake event with 5 teams and planted problems |
selftest |
Verify all 13 detections work (no AI, ~60s) |
Tech Stack
- Python 3.10+, pure stdlib + PyYAML + openpyxl
- Claude (via Claude Code CLI or Anthropic API) for AI reviews
- Git for repo analysis (no checkout — reads from object store)
- Zero external services required (runs on your laptop or GitHub Actions)
Install options
pip install hfg-techscan # core (CLI + deterministic checks)
pip install hfg-techscan[api] # + Anthropic API for AI reviews
pip install hfg-techscan[web] # + web dashboard
pip install hfg-techscan[all] # everything
Or run with Docker:
docker run ghcr.io/hackathon-for-good-the-hague/hfg-techscan selftest
Used At
| Event | Teams | Lines of Code | Date |
|---|---|---|---|
| Hackathon for Good #8 | 16 | 216,000 | Nov 2026 |
Using TechScan at your event? Add it to this list
Hackathon OS
TechScan is part of Hackathon OS — an open source effort to build shared tooling for hackathon organizers. Instead of every organizer reinventing the wheel, we build it together.
What's here now: automated technical review (TechScan)
What's coming: see the roadmap issues
Want to collaborate? Whether you organise hackathons, build tooling, or just have ideas — open an issue or start a discussion. We'd love to hear from you.
Community
- Questions & Show and Tell: GitHub Discussions
- Bugs & Features: GitHub Issues
- Contributing: CONTRIBUTING.md
- Managed service: hackathonforgood.org
License
MIT — use it at your hackathon, fork it, build on it. See LICENSE.
Built by Hackathon for Good in The Hague
Metadata
Release files for hfg-techscan 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hfg_techscan-0.5.0.tar.gz | 105.3 kB | With provenance | Details for hfg_techscan-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hfg_techscan-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for hfg_techscan-0.5.0-py3-none-any.whl |
Total release size: 223.1 kB
Release files / hfg_techscan-0.5.0.tar.gz
| Download URL | hfg_techscan-0.5.0.tar.gz |
|---|---|
| Size | 105.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c69aeec7254fbf8de56f651c3982510634961967df2c6bb89f939297579e3c36
|
|
BLAKE2b-256 checksum How to use checksums |
1f274bfabe2ee4aab55e8ce84f54b118d8d0ff4ab7eb7166e4f3976b50a0c113
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / hfg_techscan-0.5.0-py3-none-any.whl
| Download URL | hfg_techscan-0.5.0-py3-none-any.whl |
|---|---|
| Size | 117.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d16abc35c970b74327905dee8e63ab15353543ba908ea6debd84ea6699e0550b
|
|
BLAKE2b-256 checksum How to use checksums |
1a01ac3611a27fe393d7e4a389c1bb7f81e35dce2194dc4de1767b3ac7d3b36c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for hfg-techscan 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hfg_techscan-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.