Security report: Bilibili
We scan every connector on a schedule and publish what we found, how we looked, and what we do not look at. A grade is a summary; the evidence below is the whole picture.
Security C 20 critical, 110 high, 63 medium CVE(s)
- Scanned version
- –
- Ecosystem
- git
- Last scanned
- 2026-12-03
Scanners that ran: osv-scanner osv-scanner version: 2.0.0, trivy Version: 0.58.1
What was checked
Includes what we do not cover. A check marked skipped did not run for this connector and is not counted as passed.
Checked
Known vulnerabilities (CVE and GHSA advisories)
Vulnerability databases refresh automatically, so re-scanning an unchanged version still surfaces newly published advisories.
Checked
Known-malicious package versions (OpenSSF MAL advisories)
A hit here is an instant F grade.
Checked
Full dependency tree and licenses recorded
Every direct and transitive package with its version is published with the result. Link detail depends on what the lockfile records.
Not applicable
Suspicious code patterns (exfiltration, install-script payloads, obfuscation, typosquatting)
Heuristic, so hits are signals rather than proof. Not yet run on Go, git-pinned, Maven or container connectors.
Not covered
MCP tool poisoning (hidden instructions in tool descriptions, lookalike tools)
Planned. It requires starting the connector, so it waits for the sandbox decision (see ADR 0001, Consequences).
Not applicable
Install and resolve without running third-party code
Dependency trees are resolved lockfile-only with install scripts disabled, so scanning never executes the package.
Not covered
Malicious instructions inside tool responses at runtime
Description-level scanning cannot see attacks carried in responses. This is a runtime concern for the desktop client and gateway.
Not covered
Prebuilt binaries and unresolvable sources
Graded as not-graded (?) rather than guessed at.
Findings (198)
AnyIO process-pool workers can block indefinitely on undrained stderr
AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
AnyIO process-pool workers can block indefinitely on undrained stderr
AnyIO: TLSStream IDNA 2003 host name encoding enables potential TLS certificate spoofing
Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation
Brotli: Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation
Out-of-bounds write in the Brotli decoder ("Node2Shell") also affects the PyPI Brotli package
certifi bundles emSign root CAs with compromised intermediate CA keys
certifi bundles emSign root CAs with compromised intermediate CA keys
h11 accepts some malformed Chunked-Encoding bodies
h11 accepts some malformed Chunked-Encoding bodies
Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files
MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
MCP Python SDK: WebSocket server transport does not support Host/Origin validation
MCP Python SDK vulnerability in the FastMCP Server causes validation error, leading to DoS
Model Context Protocol (MCP) Python SDK does not enable DNS rebinding protection by default
MCP Python SDK has Unhandled Exception in Streamable HTTP Transport, Leading to Denial of Service
MCP Python SDK: HTTP transports serve session requests without verifying the authenticated principal
MCP Python SDK: WebSocket server transport does not support Host/Origin validation
Pillow: Infinite loop in MIC n_frames when the embedded TIFF
Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode
Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images
Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
Pillow: TarIO negative size field causes infinite CPU-spin loop
Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size
Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading
Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path
Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`
Pillow: APNG background disposal allocates full canvas before decompression bomb check
Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS
Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()
Pillow: Bundled libopenjp2 2.5.4 in all wheels since 11.1.0 carries OSV-2025-219 heap-buffer-overflow write reachable from Image.open().load()
Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
Pillow: Heap buffer overflow in ImagingJpegDecode
Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch
Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels
Pillow affected by out-of-bounds write when loading PSD images
Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle
Pillow: Quadratic GIF comment copying during save
Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time
Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer
Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
Pillow: MSP RLE decoder expands a tiny file into unbounded memory
Pillow: Invalid free in FreeType glyph rendering when a stroker is active
Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion
Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)
Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read
Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`
Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)
Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips
Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
Pillow: Image.quantize() with empty palette leaks uninitialized stack memory
Pillow multi-frame loaders can reuse stale native image storage after mode transitions
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
FITS GZIP decompression bomb in Pillow
Pillow has an integer overflow when processing fonts
Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data
Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes
Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`
Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
PyJWT accepts unknown `crit` header extensions
PyJWKClient: missing scheme allowlist enables CVE-2024-21643-class SSRF + token forgery via file://, ftp://, data: schemes
PyJWT: PyJWKClient follows redirects when fetching JWKS
PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
PyJWKClient unbounded JWKS endpoint requests via attacker-controlled kid values (DoS)
PyJWT: Non-canonical signature segments enable raw-token revocation bypass
PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys
PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
PyJWT: HS256/384/512 verify accepts empty HMAC key via oct JWK (PyJWK/PyJWKClient) enabling token forgery
PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed
PyJWT: PyJWKClient still amplifies unauthenticated JWKS fetches on unknown kid values (incomplete fix of CVE-2026-48524)
PyJWT: Unauthenticated RecursionError DoS in pre-verification payload parse (PyJWKClient.get_signing_key_from_jwt / verify_signature=False)
PyJWT: PyJWKClient follows redirects when fetching JWKS
PyJWT: Asymmetric-PEM detection bypass: whitespace/line-ending-mutated public keys skip the HS/asymmetric confusion guard
PyJWT: Non-canonical signature segments enable raw-token revocation bypass
PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
PyJWT: Public keys in DER form are accepted as HMAC secrets, bypassing the CVE-2022-29217 guard
PyJWT: Malformed RSA JWK aborts parsing of an entire JWK Set
python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
Requests vulnerable to .netrc credentials leak via malicious URLs
Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
Requests vulnerable to .netrc credentials leak via malicious URLs
Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists
Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack
Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser
Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns
Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)
Soup Sieve: Polynomial-time denial of service in the descendant combinator
Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists
Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser
Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns
Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)
Starlette has possible denial-of-service vector when parsing large files in multipart forms
Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows
Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`
BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
Starlette has possible denial-of-service vector when parsing large files in multipart forms
Starlette vulnerable to O(n^2) DoS via Range header merging in ``starlette.responses.FileResponse``
urllib3 streaming API improperly handles highly compressed data
Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
urllib3 does not control redirects in browsers and Node.js
urllib3: HTTPS proxy TLS configuration may be ignored or overridden
urllib3 allows an unbounded number of links in the decompression chain
urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
urllib3 streaming API improperly handles highly compressed data
Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
urllib3 does not control redirects in browsers and Node.js
urllib3 allows an unbounded number of links in the decompression chain
urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
urllib3: HTTPS proxy TLS configuration may be ignored or overridden
urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
Dependencies (15)
anyio 4.9.0
brotli 1.1.0
certifi 2025.1.31
h11 0.14.0
idna 3.10
lxml 5.3.1
mcp 1.4.1
pillow 11.1.0
pygments 2.19.1
pyjwt 2.10.1
python-dotenv 1.0.1
requests 2.32.3
soupsieve 2.6
starlette 0.46.1
urllib3 2.3.0