Browse / Agent tools
For maintainers
Fix your README for agents
Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.
Improve the README and setup experience of lduchosal/check_msdefender so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Needs keys or hardware (an account or key, tested 2026-12-02).
Please:
1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
3. Keep install and first-use commands copy-pasteable with pinned dependencies.
Also review the recorded check notes (possible secrets, known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.Shareable status badge
Add a live Coldpass Linux verification badge to your README.
[](https://coldpass.dev/repo/lduchosal--check_msdefender/)Static status badge · SVG · read-only JSON
What we checked
Is it safe?Review first. Found: possible secrets, known vulnerabilities.Each check
- Malware: none found in its 104 pinned dependency versions or the 21 Python and npm packages installed during our run (OSV malware advisories).
- Secrets in its files: 13 possible hardcoded secrets found by gitleaks (values and locations withheld).
- Known vulnerabilities in its dependencies: 103 OSV advisories: anyio 4.12.1 (GHSA-5p39-cfhj-2xmp); anyio 4.12.1 (GHSA-82r6-8w77-94w6); anyio 4.12.1 (PYSEC-2026-4024); anyio 4.12.1 (PYSEC-2026-4025); cryptography 46.0.5 (GHSA-537c-gmf6-5ccf); cryptography 46.0.5 (GHSA-g6cj-pr64-35w5); cryptography 46.0.5 (GHSA-jwv3-5hgf-82ww); cryptography 46.0.5 (GHSA-m2h6-j472-rp4c); cryptography 46.0.5 (GHSA-m959-cc7f-wv43); cryptography 46.0.5 (GHSA-p423-j2cm-9vmq); cryptography 46.0.5 (PYSEC-2026-35); cryptography 46.0.5 (PYSEC-2026-3552); cryptography 46.0.5 (PYSEC-2026-3553); cryptography 46.0.5 (PYSEC-2026-3554); cryptography 46.0.5 (PYSEC-2026-36); filelock 3.25.2 (GHSA-567q-5qvw-pf92); filelock 3.25.2 (GHSA-69hj-f68j-2879); filelock 3.25.2 (GHSA-8mx5-7m5m-r77g); filelock 3.25.2 (GHSA-9vhv-jxww-xfm5); filelock 3.25.2 (GHSA-cwqr-hh33-gh44); filelock 3.25.2 (GHSA-fq56-3cx3-fjxp); filelock 3.25.2 (GHSA-j8f7-rjxc-mr56); filelock 3.25.2 (GHSA-rfpc-qcw5-3pc4); filelock 3.25.2 (GHSA-v4x8-3wr5-3wq8); pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721); pygments 2.19.2 (GHSA-5239-wwwm-4pmq); pygments 2.19.2 (PYSEC-2026-2987); pyjwt 2.12.1 (GHSA-2gx3-rcp4-g85q); pyjwt 2.12.1 (GHSA-42vr-xj54-vc7v); pyjwt 2.12.1 (GHSA-993g-76c3-p5m4); pyjwt 2.12.1 (GHSA-9v7f-9g4p-ffgj); pyjwt 2.12.1 (GHSA-ffc3-869f-jxw9); pyjwt 2.12.1 (GHSA-fhv5-28vv-h8m8); pyjwt 2.12.1 (GHSA-gvp8-978c-rx2q); pyjwt 2.12.1 (GHSA-hxm8-2xgr-2p9m); pyjwt 2.12.1 (GHSA-jq35-7prp-9v3f); pyjwt 2.12.1 (GHSA-jwrc-g2q2-pq5p); pyjwt 2.12.1 (GHSA-p4g4-x82p-q773); pyjwt 2.12.1 (GHSA-pxh4-856f-4h89); pyjwt 2.12.1 (GHSA-w6j9-cwv2-h6wq); pyjwt 2.12.1 (GHSA-w7vc-732c-9m39); pyjwt 2.12.1 (GHSA-x33g-cr3x-6449); pyjwt 2.12.1 (GHSA-xgmm-8j9v-c9wx); pyjwt 2.12.1 (PYSEC-2026-175); pyjwt 2.12.1 (PYSEC-2026-177); pyjwt 2.12.1 (PYSEC-2026-178); pyjwt 2.12.1 (PYSEC-2026-179); pyjwt 2.12.1 (PYSEC-2026-4140); pyjwt 2.12.1 (PYSEC-2026-4141); pyjwt 2.12.1 (PYSEC-2026-4144); pyjwt 2.12.1 (PYSEC-2026-4145); pyjwt 2.12.1 (PYSEC-2026-4146); pyjwt 2.12.1 (PYSEC-2026-4147); pyjwt 2.12.1 (PYSEC-2026-4148); pyjwt 2.12.1 (PYSEC-2026-4149); pyjwt 2.12.1 (PYSEC-2026-4152); pyjwt 2.12.1 (PYSEC-2026-4183); virtualenv 21.2.0 (GHSA-394h-qwmc-48pf); virtualenv 21.2.0 (GHSA-43mp-35q3-x3fq); virtualenv 21.2.0 (GHSA-494p-63j8-28p3); virtualenv 21.2.0 (GHSA-558c-9hv2-4prj); virtualenv 21.2.0 (GHSA-5vjq-rrrf-7h2q); virtualenv 21.2.0 (GHSA-6w3r-xr62-4xcp); virtualenv 21.2.0 (GHSA-8rjx-v5ww-45pp); virtualenv 21.2.0 (GHSA-94p9-xgh2-xp45); virtualenv 21.2.0 (GHSA-9h9j-4vrj-gf7g); virtualenv 21.2.0 (GHSA-c947-3pg5-gm8q); virtualenv 21.2.0 (GHSA-c978-59m8-c77v); virtualenv 21.2.0 (GHSA-cw65-gx24-rc82); virtualenv 21.2.0 (GHSA-cx28-75q4-x26q); virtualenv 21.2.0 (GHSA-fc2g-4w5p-6whm); virtualenv 21.2.0 (GHSA-hhxq-47xx-j5xx); virtualenv 21.2.0 (GHSA-p58f-9548-mpm2); virtualenv 21.2.0 (GHSA-qmx5-4p3x-wvqf); virtualenv 21.2.0 (GHSA-vxj4-q4g9-crj7); virtualenv 21.2.0 (GHSA-x78j-v8h9-3j2q); virtualenv 21.2.0 (PYSEC-2026-4011); virtualenv 21.2.0 (PYSEC-2026-4012); virtualenv 21.2.0 (PYSEC-2026-4013); virtualenv 21.2.0 (PYSEC-2026-4014); virtualenv 21.2.0 (PYSEC-2026-4372); virtualenv 21.2.0 (PYSEC-2026-4374); virtualenv 21.2.0 (PYSEC-2026-4375); virtualenv 21.2.0 (PYSEC-2026-4378); virtualenv 21.2.0 (PYSEC-2026-4379); virtualenv 21.2.0 (PYSEC-2026-4380); virtualenv 21.2.0 (PYSEC-2026-4381); virtualenv 21.2.0 (PYSEC-2026-4382); virtualenv 21.2.0 (PYSEC-2026-4384); virtualenv 21.2.0 (PYSEC-2026-4385); virtualenv 21.2.0 (PYSEC-2026-4386); virtualenv 21.2.0 (PYSEC-2026-4387).
- Lines that download and run a program: none found in its source.
- Planted fake secret files: repo code opened none.
- Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
- Hosts the repo's own code contacted: login.microsoftonline.com. Reached past our sandbox (answered or refused), from any program on our test machine, not only the repo: login.microsoftonline.com. No reply seen, or stopped by our sandbox: none.
From our newest run of each setup (Dec 2, 2026). A quiet run is not a safety guarantee.
Can a small agent set it up?Not tested (Luna, an account or key)The run
Stuck at: Microsoft Entra authentication/API access for the README Basic Usage onboarding check
What failed: A real Azure tenant ID, client ID, and client secret or certificate with Defender API permissions/admin consent are unavailable in this guest.
Suggested fix: Provide a configured Microsoft Entra application and credentials with the README's required WindowsDefenderATP Machine.Read.All application permission and admin consent, then rerun the onboarding command.
Test history
- Dec 2, 2026 · 943dbdec96d3 · linux / Luna · needs a key or login we did not have · run JSON
Does it do what the README says?0 of 3 claims held up. A claim is one README promise we ran and checked.Evidence
No claim held up.
Which checks were skipped?4 checks skipped.Reasons
Skipped checks count as neither passes nor failures.
- Nagios plugin for Microsoft Defender API endpoints: README operation is API-backed and requires real Azure tenant/application credentials; guest placeholder was confirmed rejected by documented onboarding invocation
- Dual authentication support: Requires a tenant application and its client secret or certificate, unavailable in this guest
- Multiple Defender endpoints: README operation is API-backed and requires real Azure tenant/application credentials; guest placeholder was confirmed rejected by documented onboarding invocation
- Basic Usage onboarding check: README Basic Usage requires a configured Microsoft Entra tenant/application and credentials; this guest only has placeholders. The same onboarding command was run as the probe and returned UNKNOWN authentication failure.
Does the repo’s own CI pass?Success.GitHub checks
GitHub’s check status for the default branch at the commit we tested. We did not run their CI.
Needs keys, a login or a browser?Yes.Details
credentials
What does it depend on?Python 3.12.3, Azure Identity, nagiosplugin, click, requests, urllib3, Microsoft Entra tenant and application credentialsDependencies
Software the test agent reported the README needed.
Local or hosted?Local: runs on your machineHow we tell
From the README and the endpoint we tested.
Is the README accurate?Yes.Deviations
No step differed.
What did it do when we ran it?During our run, it tried to contact 10 outside addresses.What we saw
Linux / Luna
- During our run, check_msdefender tried to contact 10 addresses on port 443: 20.190.152.19 (login.microsoftonline.com), 20.190.152.21 (login.microsoftonline.com), 20.190.152.22, 40.126.24.146 (login.microsoftonline.com), 40.126.24.147, 40.126.24.149 (login.microsoftonline.com), 40.126.24.81, 40.126.24.82 (login.microsoftonline.com), 40.126.24.83 (login.microsoftonline.com), 40.126.24.84.
- While installing, git-remote-https looked up github.com.
- While installing, python looked up files.pythonhosted.org, pypi.org.
- During our run, check_msdefender looked up login.microsoftonline.com.
- We found no known-malicious packages among the 21 Python and npm packages we observed (checked against OSV malicious-package advisories).
We found no compiled programs in its files.
What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the TCP connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.
What we didn't check: host names looked up by programs with their own resolver, such as Go programs; which program made a connection that got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.
A quiet run is not a safety guarantee.
Is it maintained?MaintainedActivity
actively maintained: last commit 0 days ago; 43 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; 0 of 2 recent threads got a maintainer reply; no releases
AboutStars: 1 · Forks: 0 · Contributors: 3 · Owner account since Jan 3, 2012Source
Recorded GitHub repository and owner account metadata.
LicenseSPDX: MIT · commercial use: yesSource
From GitHub’s license detection. The repository’s license text gives the terms.
Cost to runNeeds a key or login (name not captured)Details
Peak guest RAM: 442 MiB
Guest disk change: 56 MiB
GPU need: not captured
Paid service: not captured