Skip to content
View Darkslayer3324j's full-sized avatar

Block or report Darkslayer3324j

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. Markdown is supported. 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
Darkslayer3324j/README.md

Syed Muhammad Nafay Hassan Rizvi

Cybersecurity enthusiast and software developer. Most of what I build has to do with trust boundaries — a proxy forwarding data it never checked, an admin panel believing a value from the browser.

Open source

9 pull requests merged into projects other people maintain. Each one started with reproducing a bug or fuzzing the code to find one.

Project Merged fix
TheAlgorithms/Python tree_sort silently dropped duplicate values · stalin_sort raised IndexError on an empty list · exponential_search recursed forever below the first element
vadimdemedes/ink PTY tests spawned the wrong Node executable
mampfes/hacs_waste_collection_schedule Broken scrapers repaired after providers changed their sites: Sjöbo · Lindau · RESO · CIDIU · Borlänge

Security tooling, under review

  • microsoft/DevSkim#789 — a rule regex (DS440011) backtracked catastrophically: a 200 KB line took 51 s to scan. Rewrote it with a bounded quantifier and added a timing test.
  • github/codeql#22630 — the actions/unpinned-tag query trusted floating tags like @v4 on "immutable" Actions. Only full versions and SHAs are immutable, so the query now flags the rest. Fixes #22414.

Bug reports that pinned down a root cause

  • gradio-app/gradio#13781 — traced missing type stubs to a packaging path where the .pyi files are only generated as a side effect of importing the package, so a clean build ships py.typed with no stubs behind it
  • microsoft/playwright#42402 — reproduced a libuv teardown crash on Windows and narrowed it to the update check's fetch() call

llm-shield

tests License: Apache 2.0

A local, zero-trust LLM proxy. Point an OpenAI SDK, LangChain, or any HTTP client at localhost:8000/v1 instead of the provider, and every request gets PII-scrubbed, cost-tracked, rate-limited and cached — streaming included — whether it's headed to OpenAI, Anthropic, Gemini or a local Ollama model.

Python · FastAPI · SQLite · Docker

The interesting part is the sanitizer: reversible placeholders, Luhn-validated card detection, and structurally-validated SSNs, so it redacts without mangling order numbers. Nothing leaves the machine except the sanitized request.

What I work on

Security — redaction engines, auth boundaries, and the general problem of code that checks something in the browser and calls it authentication. Mostly this means checking whether a tool actually does what it says, and adding a test once it does — including tools that do the checking for other people (DevSkim, CodeQL).

Backends — Python and FastAPI mostly. Provider adapters, streaming, caching, usage accounting.

Web — ordering systems and admin tooling in HTML/JS, plus TypeScript.

Toolbox

Python FastAPI SQLite Docker JavaScript TypeScript HTML/CSS Git


Reach me at nafayhassan3324j@gmail.com

Pinned Loading

  1. Darkslayer3324j Darkslayer3324j Public

    Profile README

    1

  2. llm-Sheild llm-Sheild Public

    A lightweight, drop-in security solution for LLMs. This shield provides runtime protection by identifying and neutralizing malicious prompts, mitigating hallucination exploitation, and preventing t…

    Python 1

  3. fastone-website fastone-website Public

    HTML 1

  4. microsoft/DevSkim microsoft/DevSkim Public

    DevSkim is a set of IDE plugins, language analyzers, and rules that provide security "linting" capabilities.

    C# 1k 132