ascendc-operator-project-init

Warn

Audited by Socket on Apr 3, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
templates/ascend-kernel/python/ascend_kernel/ascend_kernel/__init__.py

This module fragment is a thin wrapper that derives a local on-disk path from __file__ and immediately loads a packaged native library (`lib/libascend_kernel.so`) via `torch.ops.load_library`. The Python code itself shows no overt malicious logic, but the design creates a high-impact supply-chain trust boundary: if the shipped `.so` is tampered with or malicious, it will execute arbitrary native code within the importing process. Verify package/artifact integrity and inspect/sign the native binary for provenance and behavior.

Confidence: 58%Severity: 62%
AnomalyLOW
templates/ascend-kernel/csrc/utils/torch_aclnn_helper.h

No direct evidence of classic malware (no network exfiltration, credential theft, or explicit backdoor behavior) is present in this fragment. The main security concern is supply-chain execution risk: the code dynamically loads and invokes symbols from native shared libraries (libopapi.so/libcust_opapi.so) resolved at runtime without path/signature hardening. In the right threat model (loader search path hijack), this could allow execution of a malicious shared object. Additional context (how these libraries are packaged/loaded and what CalcHashId/AddParamToBuf do) would be needed for higher-confidence assessment.

Confidence: 62%Severity: 60%
AnomalyLOW
templates/ascend-kernel/build.sh

This appears to be a legitimate build/packaging orchestration script, but it contains notable build-time supply-chain risk: it dynamically sources set_env.sh based on a toolkit path read from a system file, and it executes python setup.py during wheel creation (any repository tampering would execute code). It also conditionally fetches wheel from the network if missing. No direct malware behavior (exfiltration/backdoor/credential theft) is evidenced in this snippet alone; however, the trust boundaries around set_env.sh and setup.py should be treated as critical for integrity verification and build hardening.

Confidence: 62%Severity: 60%
Audit Metadata
Analyzed At
Apr 3, 2026, 06:50 AM
Package URL
pkg:socket/skills-sh/Ascend%2Fagent-skills%2Fascendc-operator-project-init%2F@65335c66a3c0b5a6c8283f7579372c770ef7eff1
Security Audit — socket — ascendc-operator-project-init