external-gitcode-ascend-ascendc-operator-project-init

Warn

Audited by Socket on Apr 18, 2026

2 alerts found:

Anomalyx2
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%
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%
Audit Metadata
Analyzed At
Apr 18, 2026, 03:05 AM
Package URL
pkg:socket/skills-sh/ascend-ai-coding%2Fawesome-ascend-skills%2Fexternal-gitcode-ascend-ascendc-operator-project-init%2F@2abef48a5e5ffd036d33a5a22e184a219d4e1cb5
Security Audit — socket — external-gitcode-ascend-ascendc-operator-project-init