Skip to content
View Pyhroff's full-sized avatar

Highlights

  • Pro

Organizations

@zka19-team

Block or report Pyhroff

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Pyhroff/README.md

Praising Y Harris Ratnam (@Pyhroff)

Application security & AI security, in Python. I build static scanners for the inputs AI agents trust (MCP tool metadata, agent memory files, RAG documents), measure them on real repositories, and publish what they miss.

B.Tech CSE (Cybersecurity), IIIT Kottayam, 2024–2028 · Looking for Summer 2027 security / AI-security internships praisingharris@gmail.com · LinkedIn · PyPI

IIIT Kottayam · B.Tech Cybersecurity 5 merged PRs 16 open PRs 4 PyPI packages


What I build

Project What it is Measured result
aisec-suite · PyPI 0.6.0 A CI security gate for AI-agent inputs. One aisec scan runs the scanners below and emits SARIF; it also ships as a GitHub Action. Tool-poisoning detector: 53.7% recall on my own held-out attacks, but 14.0% on attacks written by others (MCPTox and MCP-Poison-Bench, pre-registered, run once; naive regex 6.8-10.5%) and 0 of 74 on MCP-Poison-Bench's documentation-style held-out set. 0 false positives on 362 real tools of the attacked servers, 0.05% on 3,974 others. Reachability follows tool calls into Godot and Unity engine plugins. A provenance-based runtime guard stops 56.9% of AgentDojo attacks (99.3% in banking, 95.2% in slack) at 22.7% utility cost. A pre-registered learned layer did not close the documentation gap (0.8% MCPTox recall, 2.89% false alarms) and was kept out of the package. Method and caveats in STUDY.md.
mcpaudit · PyPI 0.8.0 Scans MCP server tool surfaces for tool poisoning, over-broad scope, rug pulls and confused-deputy behaviour. Scope-rule rewrite (v0.7) raised precision from 40% to 72.7% on a blind-labelled fresh corpus of 45 repos, keeping all 16 true findings.
mcp-scan-study Hand-labelled scan of 135 public MCP-server repos. Found no tool poisoning in the wild. Naive scope rules were right 37.5% of the time.
memsentry · ragsentry Static scanners for injected instructions in agent memory/context files and in RAG source documents. On attacks written by others (BIPIA, InjecAgent; pre-registered, run once) both catch the stock phrase "ignore all previous instructions" and only 0-3% of attacks written without it, no better than a naive regex. Results in STUDY 3e.
soc-parallax Behavioural detection platform: per-entity baselines, attributable risk scores, MITRE ATT&CK mapping (FastAPI, Neo4j, Next.js). On 278 real EVTX attack samples, 29.5% reach medium severity or higher (27.3% held-out).
osiris My daily-use personal AI assistant runtime: 8 providers with failover, 9 tool-scoped agents, embedding memory. Used every day from the terminal.

On PyPI: aisec-suite 0.5.0 · pyhroff-mcpaudit 0.8.0 · memsentry 1.2.0 · pyhroff-ragsentry 1.1.0

More projects

AI security

  • promptstrike: red-teaming CLI that runs published jailbreak algorithms (PAIR, TAP, Crescendo, GCG) against a model, with a CI gate on attack success rate.
  • ModelHawk: static scanner for code-execution backdoors in PyTorch / pickle model files, without loading them.
  • trainsentry · loopcheck: poisoning patterns in fine-tuning datasets; waste and thrashing in agent loops.
  • adversagen · agent-security-ci: attack-payload generator used to test the scanners above, and the regression harness that runs them together.
  • proxy-hackathon · proxy-Strands: web-task agent with a prompt-injection defence layer and human approval gates (hackathon build and Strands Agents rebuild).

Detection and application security

  • PurpleLens: detection-coverage validation by running synthetic ATT&CK events through real Sigma rules.
  • pqc-scanner: finds quantum-vulnerable cryptography in code and suggests NIST PQC replacements.
  • darkdecoder · attack-chain-mapper · chrono-leak: threat-intel analysis mapped to ATT&CK/ATLAS; recon with CVE correlation and patch prioritisation; OSINT self-audit.
  • redteam-toolkit: learning toolkit for authorised engagements.

Cryptography and quantum

  • zerotrust-ai: from-scratch Schnorr zero-knowledge proofs for AI accountability protocols (model side stubbed, stated up front).
  • qec-lab · quantum-collapse: surface-code error-correction simulator; infrastructure cascade simulator for a cryptographically relevant quantum computer.

Team hackathon projects

  • PhantomGrid: behavioural-biometrics step-up authentication for banking (CBI Hackathon 2026, security and testing lead).
  • lucid-housing-ai: neuro-symbolic housing-support assistant where a rules engine, not the LLM, decides eligibility (USAII Global AI Hackathon 2026).

Upstream pull requests

Merged and shipped:

Open, under review:

How I report results

  • Every number above links to the repo or PR it comes from, including the ones that don't flatter me: the null result in the wild, the held-out set I have now evaluated three times, and the 14% my detector scores on attacks written by other people.
  • Detectors are review aids, not security boundaries. My tool-poisoning detector misses most attacks it was not designed around, and all of those phrased as ordinary documentation.

Pinned Loading

  1. aisec-suite aisec-suite Public

    Run static security scanners over AI-agent projects: MCP servers, agent memory files and RAG documents. SARIF output, baselines and reachability analysis.

    Python

  2. mcp-scan-study mcp-scan-study Public

    Empirical study of 135 public MCP-server repos: hand-labelled scanner findings with confidence intervals, and a measured false-positive reduction.

    Python

  3. soc-parallax soc-parallax Public

    SOC detection platform: attributable risk scores, MITRE ATT&CK rulebook, incident correlation in Neo4j, evidence-checked narratives. FastAPI, PostgreSQL, Next.js.

    Python 1

  4. ModelHawk ModelHawk Public

    Static scanner that detects code-execution backdoors in PyTorch/pickle ML model files (pickle-deserialization RCE), with an offensive demo generator. Python, stdlib-only.

    Python 1

  5. promptstrike promptstrike Public

    Automated adversarial red-teaming CLI for LLMs — PAIR/TAP/Crescendo jailbreak algorithms, live dashboard, multi-model sweep comparison, CI/CD safety gate

    Python 1