{"id":26513510,"url":"https://github.com/ankush-003/next-nosqli","last_synced_at":"2026-04-08T21:32:18.930Z","repository":{"id":183995517,"uuid":"671137889","full_name":"ankush-003/next-nosqli","owner":"ankush-003","description":"This repository contains a web app that helps to understand NoSQL injection and how to protect websites against it","archived":false,"fork":false,"pushed_at":"2023-08-11T16:29:16.000Z","size":190,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"deployment","last_synced_at":"2025-03-21T04:34:50.480Z","etag":null,"topics":["deta-space","fastapi","gradio","nextjs13","nosql-injection","typescript","vercel-deployment"],"latest_commit_sha":null,"homepage":"https://next-nosqli.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankush-003.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-26T16:12:38.000Z","updated_at":"2023-08-09T10:51:54.000Z","dependencies_parsed_at":"2025-03-21T04:28:52.936Z","dependency_job_id":"49f77717-62fc-452a-9c50-d36826fa4d60","html_url":"https://github.com/ankush-003/next-nosqli","commit_stats":null,"previous_names":["ankush-003/next-nosqli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ankush-003/next-nosqli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2Fnext-nosqli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2Fnext-nosqli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2Fnext-nosqli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2Fnext-nosqli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankush-003","download_url":"https://codeload.github.com/ankush-003/next-nosqli/tar.gz/refs/heads/deployment","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush-003%2Fnext-nosqli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deta-space","fastapi","gradio","nextjs13","nosql-injection","typescript","vercel-deployment"],"created_at":"2025-03-21T04:28:45.058Z","updated_at":"2026-04-08T21:32:18.915Z","avatar_url":"https://github.com/ankush-003.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next-NoSQLi\n\nThis repository contains a web app that helps to understand NoSQL injection and how to protect websites against it. The app is built using Next.js and is deployed on Vercel.\n\nThe app includes the following features:\n\n- A tutorial on NoSQL injection\n- A tool to test websites for NoSQL injection vulnerabilities\n- A guide on how to prevent NoSQL injection\n\nThe app is intended to be a educational resource for developers who want to learn more about NoSQL injection and how to protect their websites from it.\n\n## Run Locally\nafter cloning the repository run the following commands\n```bash\nnpm install\n# for linux systems\nnpm run dev\n# for windows systems\nnpm run dev-win\n```\nhead over to http://localhost:3000/\n## Run locally using Docker\n- installing [Docker](https://docs.docker.com/get-docker/)\n- [DockerHub Image](https://hub.docker.com/repository/docker/ankush003/next-nosqli/general)\n```bash\ndocker pull ankush003/next-nosqli\ndocker run -dp 3000:3000 ankush003/next-nosqli\n```\nhead over to http://localhost:3000/\n\n## Backend Services\n- [deta space discovery](https://deta.space/discovery/@ankush-003/nosqlidetector)\n- use in your project: https://nosqlidetector-1-t9082585.deta.app/api/docs\n- [Gradio App](https://ankush-003-ankush-003-nosqli-identifier.hf.space/) on 🤗Spaces\n- use in your project:\n\u003e python\n```bash\npip install gradio_client\n```\n```python\nfrom gradio_client import Client\n\nclient = Client(\"https://ankush-003-ankush-003-nosqli-identifier.hf.space/\")\nresult = client.predict(\n\t\t\t\t\"Howdy!\",\t# str  in 'Enter Username' Textbox component\n\t\t\t\t\"Howdy!\",\t# str  in 'Enter Password' Textbox component\n\t\t\t\t\"Malicious\",\t# str (Option from: ['Malicious', 'Benign']) in 'Expected' Dropdown component\n\t\t\t\t\"Howdy!\",\t# str  in 'Enter Payload' Textbox component\n\t\t\t\tapi_name=\"/predict\"\n)\nprint(result)\n```\n\u003e javascript\n```bash\nnpm i -D @gradio/client\n```\n```js\nimport { client } from \"@gradio/client\";\n\nconst app = await client(\"https://ankush-003-ankush-003-nosqli-identifier.hf.space/\");\nconst result = await app.predict(\"/predict\", [\t\t\n\t\t\t\t\"Howdy!\", // string  in 'Enter Username' Textbox component\t\t\n\t\t\t\t\"Howdy!\", // string  in 'Enter Password' Textbox component\t\t\n\t\t\t\t\"Malicious\", // string (Option from: ['Malicious', 'Benign']) in 'Expected' Dropdown component\t\t\n\t\t\t\t\"Howdy!\", // string  in 'Enter Payload' Textbox component\n\t]);\n\nconsole.log(result.data);\n```\n## Screenshots\n![Home](https://github.com/ankush-003/next-nosqli/assets/94037471/f2b79328-0755-4bf9-8416-37dae4c8d7a7)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush-003%2Fnext-nosqli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankush-003%2Fnext-nosqli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush-003%2Fnext-nosqli/lists"}