Scrypted is a high performance video integration and automation platform
This report presents the forensic synthetic code analysis of koush/scrypted, a TypeScript project with 5,795 GitHub stars. SynthScan v2.0 examined 216,067 lines of code across 1078 source files, recording 434 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 434 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 17 | except Exception as e: | CODE |
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 83 | except Exception as e: | CODE |
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 161 | except Exception as e: | CODE |
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 168 | except Exception as e: | CODE |
| LOW | plugins/rknn/src/rknn/text_recognition.py | 262 | except Exception as e: | CODE |
| LOW | plugins/openvino/src/ov/__init__.py | 206 | except Exception as e: | CODE |
| LOW | plugins/openvino/src/common/yolov9_seg.py | 89 | except Exception as e: | CODE |
| LOW | plugins/openvino/src/predict/custom_detect.py | 22 | except Exception: | CODE |
| LOW | plugins/openvino/src/predict/face_recognize.py | 41 | except Exception: | CODE |
| LOW | plugins/openvino/src/predict/face_recognize.py | 93 | except Exception as e: | CODE |
| LOW | plugins/openvino/src/predict/__init__.py | 109 | except Exception: | CODE |
| MEDIUM | plugins/openvino/src/predict/__init__.py | 146 | print("Error downloading", url) | CODE |
| LOW | plugins/openvino/src/predict/__init__.py | 252 | except Exception as e: | CODE |
| LOW | plugins/openvino/src/predict/text_recognize.py | 163 | except Exception as e: | CODE |
| LOW | plugins/openvino/src/predict/clip.py | 28 | except Exception as e: | CODE |
| MEDIUM | plugins/openvino/src/predict/clip.py | 29 | self.print("Error initializing CLIP model:", e) | CODE |
| LOW | plugins/openvino/src/predict/clip.py | 40 | except Exception: | CODE |
| LOW | plugins/openvino/src/predict/clip.py | 54 | except Exception: | CODE |
| MEDIUM | plugins/wyze/src/main.py | 932 | self.print("Error retrieving codec info") | CODE |
| MEDIUM | plugins/wyze/src/main.py | 147 | def _resolve_ioctl_result(res): | CODE |
| MEDIUM | plugins/wyze/src/main.py | 434 | def _bootstrap_cruise_points(self): | CODE |
| MEDIUM | plugins/wyze/src/main.py | 631 | def getMainByteRate(self, default=False): | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 95 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 104 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 111 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 125 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 232 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 237 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 245 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 256 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 261 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 266 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 271 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 285 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 288 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 292 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 295 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 300 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 303 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 319 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 325 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 329 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 331 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 337 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 402 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 406 | except Exception as e: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 409 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 411 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 417 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 426 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 428 | except Exception as e: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 431 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 437 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 441 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 528 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 537 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 539 | except Exception: | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 547 | except Exception: | CODE |
| LOW | plugins/wyze/src/main.py | 137 | except Exception: | CODE |
| LOW | plugins/wyze/src/main.py | 161 | except Exception: | CODE |
| 51 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | plugins/prebuffer-mixin/src/main.ts | 301 | if (this.mixin.streamSettings.storageSettings.values.synthenticStreams.includes(this.streamId)) { | CODE |
| CRITICAL | plugins/prebuffer-mixin/src/main.ts | 354 | const choices = this.mixin.streamSettings.storageSettings.values.synthenticStreams.includes(this.streamId) | CODE |
| CRITICAL | plugins/prebuffer-mixin/src/main.ts | 514 | else if (this.mixin.streamSettings.storageSettings.values.synthenticStreams.includes(this.streamId)) { | CODE |
| CRITICAL | plugins/unifi-protect/src/camera.ts | 379 | return this.protect.api.bootstrap.cameras.find(camera => camera.id === id); | CODE |
| CRITICAL | plugins/unifi-protect/src/light.ts | 33 | return this.protect.api.bootstrap.lights.find(light => light.id === id); | CODE |
| CRITICAL | plugins/unifi-protect/src/sensor.ts | 18 | return this.protect.api.bootstrap.sensors.find(sensor => sensor.id === id); | CODE |
| CRITICAL | plugins/tuya/src/tuya/sharing.ts | 103 | topics: homeIds.map(id => response.result.topic.ownerId.sub.replace("{ownerId}", id)) | CODE |
| CRITICAL | plugins/tuya/src/tuya/sharing.ts | 104 | .concat(deviceIds.map(id => response.result.topic.devId.sub.replace("{devId}", id) + "/sta")), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/snapshot/src/ffmpeg-image-filter.ts | 46 | function ffmpegCreateOutputArguments(inputArguments: string[], options: FFmpegImageFilterOptions) { | CODE |
| LOW | plugins/snapshot/src/ffmpeg-image-filter.ts | 176 | export async function ffmpegFilterImageInternal(cp: ChildProcess, options: FFmpegImageFilterOptions) { | CODE |
| LOW | plugins/snapshot/src/main.ts | 36 | function calculateConstrainedDimensions(originalWidth: number, originalHeight: number, targetAspectRatio: number) { | CODE |
| LOW | plugins/prebuffer-mixin/src/flv.ts | 151 | function parseAVCDecoderConfigurationRecord(buffer: Buffer, offset: number, length: number): { | CODE |
| LOW | plugins/prebuffer-mixin/src/stream-settings.ts | 137 | function getDefaultPrebufferedStreams(msos: ResponseMediaStreamOptions[]) { | CODE |
| LOW | plugins/rtsp/src/rtsp.ts | 8 | export function createRtspMediaStreamOptions(url: string, index: number): UrlMediaStreamOptions { | CODE |
| LOW | plugins/homekit/src/camera-mixin.ts | 16 | export function createCameraStorageSettings(device: StorageSettingsDevice) { | CODE |
| LOW | plugins/homekit/src/address-override.ts | 16 | export async function getScryptedServerAddresses() { | CODE |
| LOW | plugins/homekit/src/hap-utils.ts | 77 | export function createHAPUsernameStorageSettingsDict(device: { storage: Storage, name?: string }, group: string, subgrou | CODE |
| LOW | plugins/homekit/src/types/common.ts | 99 | function commonHumidifierDehumidifier(mode: HumidityMode, subtype: string, name: string, device: ScryptedDevice & Humidi | CODE |
| LOW | plugins/homekit/src/types/camera/camera-utils.ts | 55 | export async function getStreamingConfiguration(device: ScryptedDevice & VideoCamera, isHomeHub: boolean, storage: Stora | CODE |
| LOW | plugins/homekit/src/types/camera/camera-utils.ts | 112 | export function transcodingDebugModeWarning() { | CODE |
| LOW | plugins/homekit/src/types/camera/camera-streaming.ts | 33 | export function createCameraStreamingDelegate(device: ScryptedDevice & VideoCamera & VideoCameraConfiguration & Camera & | CODE |
| LOW | plugins/core/src/platform/lxc.ts | 93 | async function dockerGetScryptedContainerImageId() { | CODE |
| LOW | plugins/core/src/platform/lxc.ts | 106 | export async function checkLxcVersionUpdateNeeded() { | CODE |
| LOW | plugins/google-device-access/src/main.ts | 19 | function getSdmRtspMediaStreamOptions(): ResponseMediaStreamOptions { | CODE |
| LOW | plugins/unifi-protect/src/camera-sensors.ts | 22 | export function debounceFingerprintDetected(device: UnifiFingerprintDevice) { | CODE |
| LOW | plugins/alexa/src/types/light/handlers.ts | 107 | function commonColorTemperatureResponse(header, endpoint, payload, response, device: ScryptedDevice & ColorSettingTemper | CODE |
| LOW | plugins/rknn/src/rknn/plugin.py | 32 | def ensure_compatibility_and_get_cpu(): | CODE |
| LOW | plugins/rknn/src/rec_utils/operators.py | 290 | def resize_image_for_totaltext(self, im, max_side_len=512): | CODE |
| LOW | plugins/rknn/src/det_utils/operators.py | 287 | def resize_image_for_totaltext(self, im, max_side_len=512): | CODE |
| LOW | plugins/openvino/src/common/path_tools.py | 3 | def replace_last_path_component(url, new_path): | CODE |
| LOW | plugins/openvino/src/predict/segment.py | 50 | def process_segmentation_output(self, pred, proto): | CODE |
| LOW⚡ | plugins/wyze/src/main.py | 115 | def _annotate_points_with_degrees(points: List[Dict[str, int]]) -> List[Dict[str, int]]: | CODE |
| LOW | plugins/hikvision-doorbell/src/sip/digest.js | 37 | function calculateUserRealmPasswordHash(user, realm, password) { | CODE |
| LOW | plugins/hikvision-doorbell/src/sip/sip.js | 132 | function parseAuthenticationInfoHeader(d) { | CODE |
| LOW | plugins/hikvision-doorbell/src/sip/sip.js | 999 | function createInviteServerTransaction(transport, cleanup) { | CODE |
| LOW | plugins/hikvision-doorbell/src/sip/sip.js | 1090 | function createInviteClientTransaction(rq, transport, tu, cleanup, options) { | CODE |
| LOW | plugins/tuya/src/tuya/deprecated.ts | 758 | export function getEndPointWithCountryName(name: string) { | CODE |
| LOW | plugins/cloud/src/cloudflared-local-managed.ts | 116 | export async function createLocallyManagedTunnel(domain: string, bin?: string, signal?: AbortSignal, urlCallback?: (url: | CODE |
| LOW | plugins/diagnostics/src/main.ts | 14 | function cosineSimilarityPrenormalized(e1: Buffer, e2: Buffer) { | CODE |
| LOW | plugins/sip/src/sip-manager.ts | 27 | export abstract class SipRequestHandler { | CODE |
| LOW | plugins/objectdetector/src/ffmpeg-videoframes.ts | 15 | async function createRawImageMediaObject(image: RawImage): Promise<Image & MediaObject> { | CODE |
| LOW | plugins/objectdetector/src/polygon.ts | 57 | export function polygonIntersectsBoundingBox(polygon: ClipPath, boundingBox: BoundingBox): boolean { | CODE |
| LOW | plugins/objectdetector/src/polygon.ts | 88 | export function polygonContainsBoundingBox(polygon: ClipPath, boundingBox: BoundingBox): boolean { | CODE |
| LOW | plugins/webrtc/src/webrtc-required-codecs.ts | 88 | export function getFFmpegRtpAudioOutputArguments(audio: AudioStreamOptions, outputCodecParameters: RTCRtpCodecParameters | CODE |
| LOW | plugins/webrtc/src/wrtc-to-rtsp.ts | 30 | export async function createRTCPeerConnectionSource(options: { | CODE |
| LOW | plugins/webrtc/src/ffmpeg-to-wrtc.ts | 741 | export async function createRTCPeerConnectionSink( | CODE |
| LOW | plugins/webrtc/src/peerconnection-util.ts | 43 | function isPeerIceConnectionClosed(pc: RTCPeerConnection) { | CODE |
| LOW | plugins/ffmpeg-camera/src/main.ts | 7 | function parseDoubleQuotedArguments(input: string) { | CODE |
| LOW | server/bin/packaged-python.d.ts | 2 | export declare function installScryptedServerRequirements(version?: string, dest?: string, options?: any): Promise<strin | CODE |
| LOW | server/bin/packaged-python.js | 16 | module.exports.installScryptedServerRequirements = async function installScryptedServerRequirements(version, dest, optio | CODE |
| LOW | server/python/cluster_labels.py | 46 | def needs_cluster_fork_worker(options: ClusterForkOptions) -> bool: | CODE |
| LOW | server/src/rpc-serializer.ts | 87 | export function createRpcDuplexSerializer(writable: { | CODE |
| LOW | server/src/rpc-serializer.ts | 184 | export function createDataChannelSerializer(dc: { send: (data: Buffer) => void }) { | CODE |
| LOW | server/src/ip.ts | 67 | export function getUsableNetworkAddresses() { | CODE |
| LOW | server/src/rpc.ts | 1 | export function startPeriodicGarbageCollection() { | CODE |
| LOW | server/src/cert.ts | 17 | export function createSelfSignedCertificate(existing?: SelfSignedCertificate): SelfSignedCertificate { | CODE |
| LOW | server/src/cluster/cluster-labels.ts | 54 | export function utilizesClusterForkWorker(options?: ClusterForkOptions) { | CODE |
| LOW | server/src/plugin/plugin-npm-dependencies.ts | 45 | export async function installOptionalDependencies(console: Console, packageJson: any) { | CODE |
| LOW | server/src/plugin/runtime/node-fork-worker.ts | 15 | export function isNodePluginWorkerProcess() { | CODE |
| LOW | server/src/plugin/runtime/node-fork-worker.ts | 23 | export function isNodePluginThreadProcess() { | CODE |
| LOW | server/src/fetch/http-fetch.ts | 56 | export function httpFetchParseIncomingMessage(readable: IncomingMessage, responseType: HttpFetchResponseType | undefined | CODE |
| LOW | server/src/fetch/index.ts | 96 | export function setDefaultHttpFetchAccept(headers: [string, string][], responseType: HttpFetchResponseType | undefined) | CODE |
| LOW | server/src/fetch/index.ts | 153 | export async function domFetchParseIncomingMessage(response: Response, responseType: HttpFetchResponseType | undefined) | CODE |
| LOW | sites/static/google-cast-receiver/js/main.js | 1 | (()=>{"use strict";var __webpack_modules__={636:(module,__webpack_exports__,__webpack_require__)=>{function startPeriodi | CODE |
| LOW | common/src/rtsp-server.ts | 348 | export function getFirstAuthenticateHeader(headers: string[]): string { | CODE |
| LOW | common/src/rtc-connect.ts | 5 | export async function createBrowserSignalingSession(ws: WebSocket, localName: string, remoteName: string) { | CODE |
| LOW | common/src/autoconfigure-codecs.ts | 33 | export async function checkPluginNeedsAutoConfigure(plugin: ScryptedDeviceBase, extraDevices = 0) { | CODE |
| LOW | common/src/rtc-signaling.ts | 13 | export function waitPeerConnectionIceConnected(pc: RTCPeerConnection) { | CODE |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 1 | CODE | |
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 9 | CODE | |
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 27 | CODE | |
| LOW | plugins/onnx/src/ort/clip_embedding.py | 1 | CODE | |
| LOW | plugins/onnx/src/ort/__init__.py | 1 | CODE | |
| LOW | plugins/onnx/src/ort/custom_detection.py | 1 | CODE | |
| LOW | plugins/onnx/src/ort/segment.py | 1 | CODE | |
| LOW | plugins/onnx/src/ort/text_recognition.py | 1 | CODE | |
| LOW | plugins/onnx/src/ort/face_recognition.py | 1 | CODE | |
| LOW | plugins/rknn/src/rknn/__init__.py | 1 | CODE | |
| LOW | plugins/rknn/src/rec_utils/operators.py | 17 | CODE | |
| LOW | plugins/rknn/src/rec_utils/operators.py | 18 | CODE | |
| LOW | plugins/rknn/src/rec_utils/operators.py | 19 | CODE | |
| LOW | plugins/rknn/src/rec_utils/operators.py | 20 | CODE | |
| LOW | plugins/rknn/src/det_utils/db_postprocess.py | 18 | CODE | |
| LOW | plugins/rknn/src/det_utils/db_postprocess.py | 19 | CODE | |
| LOW | plugins/rknn/src/det_utils/db_postprocess.py | 20 | CODE | |
| LOW | plugins/rknn/src/det_utils/operators.py | 17 | CODE | |
| LOW | plugins/rknn/src/det_utils/operators.py | 18 | CODE | |
| LOW | plugins/rknn/src/det_utils/operators.py | 19 | CODE | |
| LOW | plugins/rknn/src/det_utils/operators.py | 20 | CODE | |
| LOW | plugins/openvino/src/detect/__init__.py | 1 | CODE | |
| LOW | plugins/openvino/src/ov/clip_embedding.py | 1 | CODE | |
| LOW | plugins/openvino/src/ov/clip_embedding.py | 8 | CODE | |
| LOW | plugins/openvino/src/ov/__init__.py | 1 | CODE | |
| LOW | plugins/openvino/src/ov/custom_detection.py | 1 | CODE | |
| LOW | plugins/openvino/src/ov/segment.py | 1 | CODE | |
| LOW | plugins/openvino/src/ov/text_recognition.py | 1 | CODE | |
| LOW | plugins/openvino/src/ov/face_recognition.py | 1 | CODE | |
| LOW | plugins/openvino/src/predict/custom_detect.py | 1 | CODE | |
| LOW | plugins/openvino/src/predict/custom_detect.py | 9 | CODE | |
| LOW | plugins/openvino/src/predict/face_recognize.py | 1 | CODE | |
| LOW | plugins/openvino/src/predict/__init__.py | 1 | CODE | |
| LOW | plugins/openvino/src/predict/text_recognize.py | 1 | CODE | |
| LOW | plugins/openvino/src/predict/segment.py | 1 | CODE | |
| LOW | plugins/openvino/src/predict/segment.py | 4 | CODE | |
| LOW | plugins/openvino/src/predict/segment.py | 12 | CODE | |
| LOW | plugins/openvino/src/predict/clip.py | 1 | CODE | |
| LOW | plugins/wyze/src/main.py | 1 | CODE | |
| LOW | plugins/coreml/src/coreml/clip_embedding.py | 1 | CODE | |
| LOW | plugins/coreml/src/coreml/__init__.py | 1 | CODE | |
| LOW | plugins/coreml/src/coreml/__init__.py | 25 | CODE | |
| LOW | plugins/coreml/src/coreml/__init__.py | 26 | CODE | |
| LOW | plugins/coreml/src/coreml/custom_detection.py | 1 | CODE | |
| LOW | plugins/coreml/src/coreml/segment.py | 1 | CODE | |
| LOW | plugins/coreml/src/coreml/segment.py | 7 | CODE | |
| LOW | plugins/coreml/src/coreml/text_recognition.py | 1 | CODE | |
| LOW | plugins/coreml/src/coreml/face_recognition.py | 1 | CODE | |
| LOW | plugins/opencv/src/opencv/__init__.py | 1 | CODE | |
| LOW | plugins/opencv/src/opencv/__init__.py | 13 | CODE | |
| LOW | plugins/ncnn/src/nc/__init__.py | 1 | CODE | |
| LOW | plugins/ncnn/src/nc/__init__.py | 32 | CODE | |
| LOW | plugins/ncnn/src/nc/__init__.py | 33 | CODE | |
| LOW | plugins/ncnn/src/nc/custom_detection.py | 1 | CODE | |
| LOW | plugins/ncnn/src/nc/custom_detection.py | 7 | CODE | |
| LOW | plugins/ncnn/src/nc/segment.py | 1 | CODE | |
| LOW | plugins/ncnn/src/nc/text_recognition.py | 1 | CODE | |
| LOW | plugins/ncnn/src/nc/face_recognition.py | 1 | CODE | |
| LOW | plugins/vscode-python/src/main.py | 1 | CODE | |
| LOW | server/python/rpc_reader.py | 1 | CODE | |
| 11 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/docker/install-intel-graphics.sh | 21 | COMMENT | |
| LOW | install/docker/install-intel-graphics.sh | 61 | fi | COMMENT |
| LOW | install/docker/docker-compose.yml | 1 | # The Scrypted docker-compose.yml file typically resides at: | COMMENT |
| LOW | install/docker/docker-compose.yml | 21 | scrypted: | COMMENT |
| LOW | install/docker/docker-compose.yml | 41 | # Avahi is used by the HomeKit plugin for mDNS advertisement. | COMMENT |
| LOW | install/docker/docker-compose.yml | 61 | # without needing to bind port 5353 directly. | COMMENT |
| LOW | install/docker/docker-compose.yml | 81 | # - /mnt/media/video:/nvr | COMMENT |
| LOW | install/docker/docker-compose.yml | 101 | # - /etc/avahi/services:/etc/avahi/services:ro | COMMENT |
| LOW | install/docker/docker-compose.yml | 121 | # them through to docker. | COMMENT |
| LOW | install/docker/template/warning.sh | 1 | ################################################################ | COMMENT |
| LOW | plugins/homekit/src/types/camera/camera-utils.ts | 61 | const isLowBandwidth = request.audio.packet_time >= 60; | COMMENT |
| LOW | plugins/homekit/src/types/camera/opus-repacketizer.ts | 1 | import type { RtpPacket } from "@koush/werift-src/packages/rtp/src/rtp/rtp"; | COMMENT |
| LOW | plugins/homekit/src/types/camera/opus-repacketizer.ts | 21 | // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | COMMENT |
| LOW | plugins/homekit/src/types/camera/opus-repacketizer.ts | 41 | // | | | COMMENT |
| LOW | plugins/homekit/src/types/camera/camera-return-audio.ts | 61 | csd = csdBuffer.toString('hex').toUpperCase(); | COMMENT |
| LOW | …mekit/src/types/camera/camera-streaming-srtp-sender.ts | 121 | firstTimestamp = rtp.header.timestamp; | COMMENT |
| LOW | …ns/homekit/src/types/camera/camera-streaming-ffmpeg.ts | 221 | COMMENT | |
| LOW | plugins/tensorflow-lite/src/tflite/tflite_common.py | 1 | # Lint as: python3 | COMMENT |
| LOW | plugins/tapo/src/digest-auth.ts | 21 | return ''; | COMMENT |
| LOW | plugins/amcrest/src/amcrest-api.ts | 381 | COMMENT | |
| LOW | plugins/amcrest/src/amcrest-api.ts | 401 | // there are 4 configurable motion windows, will use the first one, index 0. | COMMENT |
| LOW | plugins/hikvision/src/main.ts | 221 | // movement: { | COMMENT |
| LOW | plugins/hikvision/src/hikvision-xml-types.ts | 101 | COMMENT | |
| LOW | plugins/hikvision/src/hikvision-xml-types.ts | 121 | // videoQualityControlType: [ | COMMENT |
| LOW | plugins/hikvision/src/hikvision-xml-types.ts | 141 | // ], | COMMENT |
| LOW | plugins/hikvision/src/hikvision-xml-types.ts | 161 | // ], | COMMENT |
| LOW | plugins/google-device-access/pubsub-server/app.yaml | 1 | # Copyright 2017, Google, Inc. | COMMENT |
| LOW | plugins/unifi-protect/src/main.ts | 221 | // start: 1713211066646, | COMMENT |
| LOW | plugins/alexa/src/types/camera/handlers.ts | 41 | // trickle ICE is disabled, all candidates ship in the initial SDP, so omitting the | COMMENT |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 1 | # copyright (c) 2020 PaddlePaddle Authors. All Rights Reserve. | COMMENT |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 721 | # self.nclass = len(self.character) + 1 | COMMENT |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 741 | # ] | COMMENT |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 761 | # text_pre = paddle.to_tensor(text_pre, dtype='float32') | COMMENT |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 781 | # shape=[int(out_length.sum()), self.nclass], dtype=x.dtype) | COMMENT |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 801 | # self.character[idx - 1] | COMMENT |
| LOW | plugins/rknn/src/rec_utils/operators.py | 1 | """ | COMMENT |
| LOW | plugins/rknn/src/det_utils/db_postprocess.py | 1 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. | COMMENT |
| LOW | plugins/rknn/src/det_utils/operators.py | 1 | """ | COMMENT |
| LOW | plugins/openvino/src/requirements.txt | 1 | # openvino 2025.3.0 is failing to load on 9700 (VGG), this may be because models need to be reexported. | COMMENT |
| LOW | plugins/openvino/src/predict/face_recognize.py | 161 | futures.append(asyncio.ensure_future(self.setEmbedding(d, image))) | COMMENT |
| LOW | plugins/doorbird/src/main.ts | 441 | // Specify the input URL for the Doorbird's RTSP video stream. | COMMENT |
| LOW | plugins/doorbird/src/main.ts | 621 | } | COMMENT |
| LOW | plugins/wyze/.devcontainer/devcontainer.json | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the | COMMENT |
| LOW | plugins/coreml/src/coreml/face_recognition.py | 61 | COMMENT | |
| LOW | plugins/coreml/src/coreml/face_recognition.py | 81 | # request_handler = Vision.VNImageRequestHandler.alloc().initWithCIImage_options_( | COMMENT |
| LOW | plugins/coreml/src/coreml/face_recognition.py | 101 | # t = (1 - origin.y - size.height) * input.height | COMMENT |
| LOW | plugins/coreml/src/coreml/face_recognition.py | 121 | # future = await asyncio.get_event_loop().run_in_executor( | COMMENT |
| LOW | plugins/mqtt/src/autodiscovery.ts | 61 | // "r": 255, | COMMENT |
| LOW | plugins/webrtc/src/h265-packetizer.ts | 141 | seiSuffix?: Buffer; | COMMENT |
| LOW | plugins/webrtc/src/ffmpeg-to-wrtc.ts | 321 | // 1378 is what homekit requests, regardless of local or remote network. | COMMENT |
| LOW | plugins/ffmpeg-camera/src/main.ts | 21 | description: 'FFmpeg input arguments passed to the command line ffmpeg tool. A camera may have multiple stre | COMMENT |
| LOW | plugins/ffmpeg-camera/src/main.ts | 41 | COMMENT | |
| LOW | server/test/rpc-python-test.ts | 41 | // const ticker = await rpcPeer.getParam('ticker'); | COMMENT |
| LOW | common/src/async-queue.ts | 201 | // await sleep(100); | COMMENT |
| LOW | common/src/async-queue.ts | 221 | // const asyncQueue = createAsyncQueue<number>(); | COMMENT |
| LOW | sdk/types/src/types.input.ts | 721 | getVideoStream(options?: RequestMediaStreamOptions): Promise<MediaObject>; | COMMENT |
| LOW | sdk/types/src/types.input.ts | 741 | // "height": 1080 | COMMENT |
| LOW | sdk/types/src/types.input.ts | 761 | // "min": 1, | COMMENT |
| LOW | sdk/types/src/types.input.ts | 781 | // { | COMMENT |
| LOW | sdk/types/src/types.input.ts | 801 | // }, | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 74 | CODE | |
| LOW | plugins/onnx/src/ort/__init__.py | 222 | CODE | |
| LOW | plugins/rknn/src/rknn/plugin.py | 32 | CODE | |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 183 | CODE | |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 278 | CODE | |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 360 | CODE | |
| LOW | plugins/rknn/src/rec_utils/rec_postprocess.py | 431 | CODE | |
| LOW | plugins/rknn/src/rec_utils/operators.py | 198 | CODE | |
| LOW | plugins/rknn/src/det_utils/operators.py | 195 | CODE | |
| LOW | plugins/openvino/src/ov/__init__.py | 73 | CODE | |
| LOW | plugins/openvino/src/ov/__init__.py | 98 | CODE | |
| LOW | plugins/openvino/src/ov/__init__.py | 358 | CODE | |
| LOW | plugins/openvino/src/common/yolo.py | 125 | CODE | |
| LOW | plugins/openvino/src/predict/text_skew.py | 46 | CODE | |
| LOW | plugins/openvino/src/predict/custom_detect.py | 73 | CODE | |
| LOW | plugins/openvino/src/predict/face_recognize.py | 104 | CODE | |
| LOW | plugins/openvino/src/predict/__init__.py | 119 | CODE | |
| LOW | plugins/openvino/src/predict/__init__.py | 287 | CODE | |
| LOW | plugins/openvino/src/predict/__init__.py | 414 | CODE | |
| LOW | plugins/openvino/src/predict/segment.py | 50 | CODE | |
| LOW | plugins/openvino/src/predict/craft_utils.py | 98 | CODE | |
| LOW | plugins/wyze/src/main.py | 240 | CODE | |
| LOW | plugins/wyze/src/main.py | 334 | CODE | |
| LOW | plugins/wyze/src/main.py | 515 | CODE | |
| LOW | plugins/wyze/src/main.py | 542 | CODE | |
| LOW | plugins/wyze/src/main.py | 832 | CODE | |
| LOW | plugins/wyze/src/main.py | 1207 | CODE | |
| LOW | plugins/wyze/src/main.py | 1233 | CODE | |
| LOW | plugins/wyze/src/main.py | 1246 | CODE | |
| LOW | plugins/coreml/src/coreml/__init__.py | 172 | CODE | |
| LOW | plugins/python-codecs/src/vipsimage.py | 26 | CODE | |
| LOW | plugins/python-codecs/src/gstreamer_postprocess.py | 20 | CODE | |
| LOW | plugins/python-codecs/src/gstreamer_postprocess.py | 49 | CODE | |
| LOW | plugins/python-codecs/src/gst_generator.py | 17 | CODE | |
| LOW | plugins/python-codecs/src/gst_generator.py | 75 | CODE | |
| LOW | plugins/python-codecs/src/libav.py | 20 | CODE | |
| LOW | plugins/python-codecs/src/pilimage.py | 26 | CODE | |
| LOW | plugins/python-codecs/src/gstreamer.py | 228 | CODE | |
| LOW | plugins/python-codecs/src/gstreamer.py | 309 | CODE | |
| LOW | plugins/python-codecs/src/gstreamer.py | 73 | CODE | |
| LOW | server/python/plugin_pip.py | 26 | CODE | |
| LOW | server/python/rpc_reader.py | 224 | CODE | |
| LOW | server/python/rpc_reader.py | 229 | CODE | |
| LOW | server/python/rpc.py | 495 | CODE | |
| LOW | server/python/plugin_remote.py | 268 | CODE | |
| LOW | packages/python-client/rpc_reader.py | 224 | CODE | |
| LOW | packages/python-client/rpc_reader.py | 229 | CODE | |
| LOW | packages/python-client/rpc.py | 495 | CODE | |
| LOW | packages/python-client/plugin_remote.py | 268 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plugins/onnx/src/ort/clip_embedding.py | 77 | # this is a hack to utilize the existing image massaging infrastructure | COMMENT |
| MEDIUM | plugins/openvino/src/ov/clip_embedding.py | 55 | # this is a hack to utilize the existing image massaging infrastructure | COMMENT |
| LOW | plugins/openvino/src/common/colors.py | 39 | # if the format is already yuvj444p, just return the data as is. | COMMENT |
| MEDIUM | plugins/coreml/src/coreml/clip_embedding.py | 47 | # this is a hack to utilize the existing image massaging infrastructure | COMMENT |
| MEDIUM | plugins/hikvision-doorbell/src/main.ts | 46 | const GRACE_PERIOD_SEC: number = 2 // Grace period for seamless SIP reconnection | CODE |
| MEDIUM⚡ | plugins/hikvision-doorbell/src/main.ts | 75 | // grace period for seamless reconnection | COMMENT |
| MEDIUM⚡ | plugins/hikvision-doorbell/src/main.ts | 79 | // RTP stream switcher for seamless target switching (SIP mode) | COMMENT |
| MEDIUM⚡ | plugins/hikvision-doorbell/src/main.ts | 82 | // HTTP stream switcher for seamless reconnection (ISAPI mode) | COMMENT |
| MEDIUM | plugins/hikvision-doorbell/src/main.ts | 203 | // Check if we're in ISAPI mode (no SIP) and can do seamless reconnection | COMMENT |
| MEDIUM | plugins/hikvision-doorbell/src/main.ts | 300 | // Use switcher for seamless target switching support | COMMENT |
| MEDIUM | plugins/hikvision-doorbell/src/main.ts | 420 | // This allows seamless switching without killing the forwarder | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/tensorflow-lite/src/tflite/__init__.py | 325 | CODE | |
| LOW | plugins/onnx/src/ort/__init__.py | 319 | CODE | |
| LOW | plugins/onnx/src/ort/segment.py | 55 | CODE | |
| LOW | plugins/rknn/src/rknn/text_recognition.py | 167 | CODE | |
| LOW | plugins/rknn/src/det_utils/db_postprocess.py | 196 | CODE | |
| LOW | plugins/openvino/src/ov/clip_embedding.py | 70 | CODE | |
| LOW | plugins/openvino/src/ov/clip_embedding.py | 83 | CODE | |
| LOW | plugins/openvino/src/ov/__init__.py | 301 | CODE | |
| LOW | plugins/openvino/src/ov/custom_detection.py | 55 | CODE | |
| LOW | plugins/openvino/src/ov/custom_detection.py | 50 | CODE | |
| LOW | plugins/openvino/src/ov/segment.py | 57 | CODE | |
| LOW | plugins/openvino/src/ov/text_recognition.py | 48 | CODE | |
| LOW | plugins/openvino/src/ov/text_recognition.py | 62 | CODE | |
| LOW | plugins/openvino/src/ov/text_recognition.py | 43 | CODE | |
| LOW | plugins/openvino/src/ov/text_recognition.py | 57 | CODE | |
| LOW | plugins/openvino/src/ov/face_recognition.py | 54 | CODE | |
| LOW | plugins/openvino/src/ov/face_recognition.py | 68 | CODE | |
| LOW | plugins/openvino/src/ov/face_recognition.py | 49 | CODE | |
| LOW | plugins/openvino/src/ov/face_recognition.py | 63 | CODE | |
| LOW | plugins/openvino/src/common/yolov9_seg.py | 260 | CODE | |
| LOW | plugins/openvino/src/predict/face_recognize.py | 62 | CODE | |
| LOW | plugins/openvino/src/predict/__init__.py | 412 | CODE | |
| LOW | plugins/coreml/src/coreml/clip_embedding.py | 63 | CODE | |
| LOW | plugins/coreml/src/coreml/clip_embedding.py | 76 | CODE | |
| LOW | plugins/coreml/src/coreml/__init__.py | 228 | CODE | |
| LOW | plugins/coreml/src/coreml/segment.py | 48 | CODE | |
| LOW | plugins/python-codecs/src/generator_common.py | 24 | CODE | |
| LOW | plugins/python-codecs/src/gstreamer.py | 306 | CODE | |
| LOW | plugins/ncnn/src/nc/__init__.py | 266 | CODE | |
| LOW | plugins/ncnn/src/nc/segment.py | 76 | CODE | |
| LOW | server/python/rpc.py | 391 | CODE | |
| LOW | packages/python-client/rpc.py | 391 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install/docker/docker-compose-setup.py | 4 | # Define the devices to check for | COMMENT |
| MEDIUM | plugins/openvino/src/common/path_tools.py | 19 | # Create a new parsed URL with the updated path | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sdk/types/scrypted_python/scrypted_sdk/types.py | 1017 | devicesAccessControls: list[ScryptedDeviceAccessControl] # If devicesAccessControls is null, the user has full acce | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | plugins/opencv/src/opencv/__init__.py | 74 | 'placeholder': defaultArea, | CODE |
| LOW⚡ | plugins/opencv/src/opencv/__init__.py | 82 | 'placeholder': defaultThreshold, | CODE |
| LOW⚡ | plugins/opencv/src/opencv/__init__.py | 90 | 'placeholder': defaultBlur, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sdk/types/scrypted_python/scrypted_sdk/types.py | 539 | modalities: list[Any | Any] # Output types that you would like the model to generate. Most models are capable of ge | CODE |
| MEDIUM | sdk/types/scrypted_python/scrypted_sdk/types.py | 582 | modalities: list[Any | Any] # Output types that you would like the model to generate. Most models are capable of ge | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/openvino/src/predict/text_skew.py | 39 | # Check if the boxes are adjacent along their left or right sides | COMMENT |
| LOW | sdk/types/scrypted_python/scrypted_sdk/types.py | 971 | allowBatteryPrebuffer: bool # Set this to true to allow for prebuffering even if the device implements the Battery | CODE |