agtask

Warn

Audited by Socket on Sep 8, 2026

3 alerts found:

SecurityAnomalyx2
SecurityMEDIUM
assets/hooks.json

This configuration is a high-impact hook dispatcher that executes a local Python script via a command-sink on multiple session/user lifecycle events. The snippet itself shows no credentials, network behavior, or obfuscation, but it creates repeated automatic external process execution using a hardcoded user-specific absolute path—an important anomaly that warrants inspection of the referenced `agtask` script and its provenance/integrity before trusting the package.

Confidence: 55%Severity: 70%
AnomalyLOW
scripts/uninstall-hooks

This module is a thin entrypoint that immediately replaces the current process with execution of a package-local sibling artifact ("agtask") using the subcommand "uninstall-hooks" and forwards all remaining CLI arguments verbatim. The snippet itself shows no direct malware behavior (no network, credential, or exfiltration logic), but it performs high-impact delegation at top-level execution, so the overall security posture depends on what the "agtask" artifact actually does. Review the "agtask" implementation to confirm it is a legitimate uninstaller/cleanup routine and that forwarded arguments cannot be abused.

Confidence: 62%Severity: 52%
AnomalyLOW
scripts/install-hooks

This file is a thin but security-relevant process launcher: it replaces the current process to run a sibling component (`agtask`) with an `install-hooks` action and forwards all user-supplied arguments without validation. The snippet alone does not prove malware or data theft, but the execution pivot to an installation/persistence-like routine is a meaningful supply-chain/sabotage risk that requires inspection of the `agtask` artifact to confirm intent and impact.

Confidence: 62%Severity: 63%
Audit Metadata
Analyzed At
Sep 8, 2026, 07:27 AM
Package URL
pkg:socket/skills-sh/kevinslin%2Fagstack%2Fagtask%2F@47ca1c0b0ec5636bcf5c4376e24e13c51456f4e39705c94c0b6b556ad653119d