
Security News
New Study Identifies 53 Slopsquatting Targets Across 5 Frontier LLMs
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.
打点组件
$ yarn add nw-log
import Log, {ENV} from 'nw-log';
const log = new Log({
env: ENV.GA,
key: 'comic',
userId: '23223'
});
log.capture('hds-2:nwe,sdf,s');
Log
Log
| Param | Type | Default | Description |
|---|---|---|---|
| props | Object | ||
| props.userId | string | 用户id | |
| props.key | string | 产品id(哈勃平台传入AppKey) | |
| [props.env] | ENV | ENV.ST | 环境,ENV.ST记录到打点验证平台,ENV.GA记录到ga平台,ENV.HB记录到哈勃平台,默认记录到打点验证平台 |
enumEnum env values.
Kind: global enum
Read only: true
Properties
| Name | Type | Default |
|---|---|---|
| ST | string | "ST" |
| GA | string | "GA" |
| HB | string | "HB" |
log.login(userId)
log.logout()
FAQs
> 打点组件
The npm package nw-log receives a total of 5 weekly downloads. As such, nw-log popularity was classified as not popular.
We found that nw-log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.

Security News
The White House’s Gold Eagle Initiative aims to coordinate AI-discovered vulnerabilities, validate findings, and accelerate patching across critical software.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.