Skip to content

Unable to Publish Extension Due to 'Suspicious Content' Flag #1120

@kubamus

Description

@kubamus

Hey! I'm working on my first VS Code extension. It's a simple project, and the source code is available here: https://github.com/kubamus/RPCDiscord

When I try to publish the extension using the vsce publish command, I get the following error:

kuba@komputerkuba MINGW64 /c/dev/projects/js/ext/RPCDiscord (main)
$ vsce publish
Executing prepublish script 'npm run vscode:prepublish'...

> [email protected] vscode:prepublish
> npm run package


> [email protected] package
> webpack --mode production --devtool hidden-source-map

    [webpack-cli] Compiler starting... 
    [webpack-cli] Compiler is using config: 'C:\dev\projects\js\ext\RPCDiscord\webpack.config.js'   
    [webpack-cli] Compiler finished
asset extension.js 360 KiB [compared for emit] [minimized] (name: main) 1 related asset
runtime modules 670 bytes 3 modules
cacheable modules 499 KiB
  modules by path ./node_modules/ws/ 103 KiB 13 modules
  modules by path ./node_modules/discord-rpc/src/ 28.5 KiB 7 modules
  modules by path ./node_modules/whatwg-url/lib/*.js 41.8 KiB 5 modules
  modules by path ./node_modules/tr46/ 261 KiB
    ./node_modules/tr46/index.js 7.39 KiB [built] [code generated]
    ./node_modules/tr46/lib/mappingTable.json 254 KiB [built] [code generated]
  + 6 modules
+ 14 modules

WARNING in ./node_modules/discord-rpc/src/util.js 5:18-37
Module not found: Error: Can't resolve 'electron' in 'C:\dev\projects\js\ext\RPCDiscord\node_modules\discord-rpc\src'
 @ ./node_modules/discord-rpc/src/index.js 3:13-30
 @ ./src/extension.ts 42:25-47

WARNING in ./node_modules/ws/lib/buffer-util.js 105:21-42
Module not found: Error: Can't resolve 'bufferutil' in 'C:\dev\projects\js\ext\RPCDiscord\node_modules\ws\lib'
 @ ./node_modules/ws/lib/websocket.js 27:21-45
 @ ./node_modules/ws/index.js 3:18-44
 @ ./node_modules/discord-rpc/src/transports/websocket.js 7:47-60
 @ ./node_modules/discord-rpc/src/transports/index.js 5:13-35
 @ ./node_modules/discord-rpc/src/client.js 6:19-42
 @ ./node_modules/discord-rpc/src/index.js 6:10-29
 @ ./src/extension.ts 42:25-47

WARNING in ./node_modules/ws/lib/validation.js 86:20-45
Module not found: Error: Can't resolve 'utf-8-validate' in 'C:\dev\projects\js\ext\RPCDiscord\node_modules\ws\lib'
 @ ./node_modules/ws/lib/sender.js 11:30-53
 @ ./node_modules/ws/index.js 8:19-42
 @ ./node_modules/discord-rpc/src/transports/websocket.js 7:47-60
 @ ./node_modules/discord-rpc/src/transports/index.js 5:13-35
 @ ./node_modules/discord-rpc/src/client.js 6:19-42
 @ ./node_modules/discord-rpc/src/index.js 6:10-29
 @ ./src/extension.ts 42:25-47

3 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.97.1 compiled with 3 warnings in 2267 ms
 WARNING  Using '*' activation is usually a bad idea as it impacts performance.
More info: https://code.visualstudio.com/api/references/activation-events#Start-up
Do you want to continue? [y/N] y
 INFO  Publishing 'musielskikuba.rpcdiscord v0.0.1'...
 ERROR  Your extension has suspicious content. Please fix your extension metadata, or contact support if you need assistance.

Can anyone help me figure out how to resolve this issue? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type:CustomerSupportProblem recognized as a customer support case

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions