dotnet-pinvoke
github.com/dotnet/skills
Scanned Thu, 28 May 2026 17:45:52 GMT
Scan ID crawl-rb9h2jf680ys4zo9jwt7l49i · 3ms
B
SCORE 75 / 100
Verdict: Safe to install

3 medium findings.

This skill ships without a capability manifest plus 2 other issues listed below.

0 critical0 high3 medium9 rules passed

Why grade B?

score · 75 / 100

The current grade reflects 3 medium findings (3+ MEDs → B).

0 CRIT0 HIGH3 MED0 LOW
To reach a higher grade
  • A
    Reach Atarget score 95

    Resolve 1 of 3 MED (cap is 2).

Thresholds are documented at /docs/grading. Source-of-truth is the grade() function in @skillox/scanner.

Findings · ordered by severity

med
No capability manifest declared
The skill ships without a `manifest.yaml` or `capabilities` block in its frontmatter. Without a manifest, the runtime cannot enforce what this skill is permitted to do.
rule: no-manifest
med
Link text shows "microsoft.windows" but points at github.com
The visible link text contains the domain `microsoft.windows`, but the URL actually targets `github.com`. This is a phishing/smuggling pattern — the reader sees one host, the agent fetches another. Either update the text or the URL so they match.
rule: anchor-href-mismatchline: 395CWE-601
393### CsWin32 (Win32 APIs)
394
395For Win32 P/Invoke, prefer [Microsoft.Windows.CsWin32](https://github.com/microsoft/CsWin32) over hand-written signatures. It source-generates correct declarations from metadata. Add a `NativeMethods.txt` listing the APIs you need:text→microsoft.windows · href→github.com
396
397```bash
med
Link text shows "microsoft.windows.cswinrt" but points at github.com
The visible link text contains the domain `microsoft.windows.cswinrt`, but the URL actually targets `github.com`. This is a phishing/smuggling pattern — the reader sees one host, the agent fetches another. Either update the text or the URL so they match.
rule: anchor-href-mismatchline: 403CWE-601
401### CsWinRT (WinRT APIs)
402
403For WinRT interop, use [Microsoft.Windows.CsWinRT](https://github.com/microsoft/CsWinRT) to generate .NET projections from `.winmd` files.text→microsoft.windows.cswinrt · href→github.com
404
405### Objective Sharpie (Objective-C APIs)
Scan another →Share
skillox.io/r/crawl-rb9h2jf680ys4zo9jwt7l49i