Qingyunian 2 pirated resources were uploaded to npm, resulting in npmmirror having to suspend the unpkg service

Source: OSCHINA
Edit: game
2024-05-19 16:21:00

The core developers of the npmmirror mirror (formerly CNPM) are on the social platform express Someone used the mechanism of the npm package to move the whole set of HD pirated resources of the newly launched Qingyunian 2 to npmmirror.

Boy, this is the image station hosting open source software packages as the CDN for video distribution.

Therefore, developers reluctantly expressed that, Npmmirror is currently paused Unpkg's [Add File] service will no longer parse the new package version , but the stock will remain, so it will not affect the user's current business.

Unpkg Introduction

Unpkg is a fast, global, free public npm package CDN, It allows you to access packages on npm through URL It is supported by Cloudflare and can provide fast download speed and cache service.

With unpkg, you can easily include JavaScript libraries, CSS frameworks, etc. in your web pages without downloading them to your server.

For example, if you want to use jQuery in your webpage, you can refer to it through the link provided by unpkg:

 <script src=" https://unpkg.com/jquery @3.5.1/dist/jquery.min.js"></script>

This link will point to the CDN address of jQuery 3.5.1. You can replace the version number as needed.

Unpkg also supports access to package content through paths, such as:

 <link href=" https://unpkg.com/bootstrap @4.5.0/dist/css/bootstrap.min.css" rel="stylesheet">

This link will point to the CSS file of Bootstrap 4.5.0.

Using unpkg can greatly simplify resource management in front-end development, because it provides a simple and fast way to introduce third-party libraries.

Taking the above "Celebrating the Second Anniversary" as an example, the usual method of the ash industry gang that collects wool is to cut the pirated video into several smaller video files (of course, they will "hide" the video files with the Sao operation, which will not be expanded here), and upload them to npm
( https://www.npmjs.com/package/lyq2/v/1.1.7-1 )And then reference them as "packages".

In addition to video files, the gang uploaded m3u8 files to unpkg( https://unpkg.com/lyq2 @1.1.7-1/playlist.m3u8 )As an index.

With "video source file" and "index", it can be played online on video websites.

M3U8 is a streaming media format gradually widely used in recent years. Its full name is UTF-8 encoded M3U file. M3U, Media Playlist is an index plain text file, which is mainly used to record the list of audio and video blocks.

When we open an M3U file, the playback software does not play the file directly, but finds the network address of the corresponding audio and video file according to the index in the file for online playback.

As the mirror station of npmjs.com, npmmirror will synchronize the full image of npm to the Chinese server (Alibaba Cloud is used), which includes the above pirated resources. With domestic servers, the speed is naturally faster

Of course, this is not the first time a pirate gang has done such a thing. Last year, foreign security research teams introduced the case of npm abuse - they found that 748 software packages hosted in npm are actually video files (outside the Wulin).


Extended Reading

Expand to read the full text
Click to join the discussion 🔥 (38) Post and join the discussion 🔥
This wonderful review
What a fool! I killed myself. How can people deal with me later.
2024-05-19 23:25
nineteen fabulous
report
When foreigners and the FBI poisoned open source projects, why didn't you come forward? With such high quality, the United States should be very popular with other countries, right?
2024-05-20 16:14
five fabulous
report
This is a rat dung, which has not only damaged the image of China, but also affected the entire ecosystem.
2024-05-20 09:16
five fabulous
report
2023/08/28 10:36
On the other side of the ocean, information comments were published:
How do you make such remarks? My last account has been blocked. In China, don't say bad. If you can't see it, you should suggest that you run it
Digital Guangdong's Apology Statement on CEC-IDE

2023/02/07 09:19
On the other side of the ocean, information comments were published:
The American company is awesome, but the domestic market is still scrambling to buy vegetables. He retired at 35
Google launches an AI product competing with ChatGPT: Bard
2024-05-20 16:19
four fabulous
report
I also despise this kind of behavior, but what kind of brain circuit does it take to rise to the national level?
2024-05-20 13:19
four fabulous
report
thirty-eight comment
three Collection
 Back to top
Top