{"id":13842180,"url":"https://github.com/0xTeles/jsleak","last_synced_at":"2025-07-11T14:31:02.099Z","repository":{"id":45676136,"uuid":"391654984","full_name":"0xTeles/jsleak","owner":"0xTeles","description":"a Go code to detect leaks in JS files via regex patterns","archived":true,"fork":false,"pushed_at":"2021-10-20T02:38:34.000Z","size":61,"stargazers_count":144,"open_issues_count":6,"forks_count":26,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-07T06:20:30.318Z","etag":null,"topics":["bugbounty","golang","scanner","security"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xTeles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-01T14:48:49.000Z","updated_at":"2025-06-06T06:39:02.000Z","dependencies_parsed_at":"2022-09-02T17:33:32.659Z","dependency_job_id":null,"html_url":"https://github.com/0xTeles/jsleak","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/0xTeles/jsleak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTeles%2Fjsleak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTeles%2Fjsleak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTeles%2Fjsleak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTeles%2Fjsleak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xTeles","download_url":"https://codeload.github.com/0xTeles/jsleak/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTeles%2Fjsleak/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264833273,"owners_count":23670617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bugbounty","golang","scanner","security"],"created_at":"2024-08-04T17:01:28.846Z","updated_at":"2025-07-11T14:31:01.862Z","avatar_url":"https://github.com/0xTeles.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# jsleak\r\njsleak is a tool to identify sensitive data in JS files through regex patterns. Although it's built for this, you can use it to identify anything as long as you have a regex pattern for it.\r\n\r\n### How to install\r\n\r\nDirectly:\r\n```\r\n{your package manager} install pkg-config libpcre++-dev\r\ngo get github.com/0xTeles/jsleak/v2/jsleak\r\n```\r\nCompiled:  [release page](https://github.com/0xTeles/jsleak/releases/tag/jsleak_v2.1)\r\n\r\n### How to use\r\n```\r\n-json string\r\n        [+] Json output file\r\n-pattern string\r\n        [+] File contains patterns to test\r\n-timeout int\r\n        [+] Timeout for request in seconds (default 5)\r\n-verbose\r\n        [+] Verbose Mode\r\n```\r\n### Demo\r\n\r\n```\r\ncat urls.txt | jsleak -pattern regex.txt\r\n[+] Url: http://localhost/index.js\r\n[+] Pattern: p([a-z]+)ch\r\n[+] Match: peach\r\n```\r\n\r\n### Regex list\r\n- https://github.com/odomojuli/RegExAPI\r\n- https://github.com/KaioGomesx/JSScanner/blob/main/regex.txt\r\n### Inspired by \r\n- Necessity\r\n- https://github.com/0x240x23elu/JSScanner\r\n- https://github.com/KaioGomesx/JSScanner\r\n### Thanks\r\n[@fepame](https://twitter.com/Highustavo), [@gustavorobertux](https://twitter.com/gustavorobertux), [@Jhounx](https://github.com/Jhounx), [@arthurair_es](https://twitter.com/arthurair_es), [@le0nard01](https://github.com/le0nard01)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xTeles%2Fjsleak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xTeles%2Fjsleak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xTeles%2Fjsleak/lists"}