{"id":22903976,"url":"https://github.com/json2d/malty","last_synced_at":"2025-04-01T07:56:55.322Z","repository":{"id":95070434,"uuid":"99452670","full_name":"json2d/malty","owner":"json2d","description":"detect known malicious packages in your installed npm dependencies","archived":false,"fork":false,"pushed_at":"2017-08-05T23:13:06.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T16:52:46.041Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/json2d.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":"2017-08-05T23:13:01.000Z","updated_at":"2017-08-05T23:20:30.000Z","dependencies_parsed_at":"2023-03-13T16:54:09.842Z","dependency_job_id":null,"html_url":"https://github.com/json2d/malty","commit_stats":null,"previous_names":["bitstrider/malty"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fmalty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fmalty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fmalty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fmalty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/json2d","download_url":"https://codeload.github.com/json2d/malty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246604619,"owners_count":20804100,"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":[],"created_at":"2024-12-14T02:39:39.944Z","updated_at":"2025-04-01T07:56:55.317Z","avatar_url":"https://github.com/json2d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# malty\n\ndetect known malicious packages in your installed npm dependencies\n\n### Quick Start\nInstall it globally for use on the command line.\n```\n$ npm install -g malty\n```\n\n### Usage\nTo use simply run the `malty` command in your project directory:\n```\n$ cd my-project\n$ malty\n```\nThis will check all installed npm dependencies for this project and report if any are known malicious packages.\n\n```\n// Example output\n\n=\u003e Checking installed dependencies for malicious packages...\n=\u003e read - does not resolve to an npm package, skipping.\n=\u003e crossenv - known malicious package!\n=\u003e mute-stream - ok.\n=\u003e concat-map - ok.\n```\n\n### How It Works\nWhen [npm](https://github.com/npm) discovers a malicious package on their registry, the package is seized, pacified, and place on [**security hold**](https://github.com/npm/security-holder).\n\nPrior to discovery, however, these malicious packages would've been open available and may have already been distributed and installed in many existing projects.\n\nThis tool detects known malicious packages in a project by checking if any installed npm dependencies are currently on security hold.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson2d%2Fmalty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjson2d%2Fmalty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson2d%2Fmalty/lists"}