
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
coffeescript-to-object
Advanced tools
Takes a string of coffee-script code and compiles it into an object containing fields starting with @
symbol.
For example, string @a = 5
returns {a: 5}
.
npm i --save coffeescript-to-object
var React = require('react')
var ReactDOM = require('react-dom')
var CoffeeScriptToObject = require('coffeescript-to-object')
var App = React.createClass({
getInitialState() {
return {
codeText: 'n = 3\n@a = n + 4',
coffeeObject: {},
errorMessage: '',
}
},
render () {
return (
<div>
<textarea rows={10} cols={40}
value={this.state.codeText}
onChange={(e)=>this.setState({codeText: e.target.value})}
/>
<div>{JSON.stringify(this.state.coffeeObject)}</div>
<div>{this.state.errorMessage}</div>
<CoffeeScriptToObject
codeText={this.state.codeText}
onSuccess={(coffeeObject)=>this.setState({coffeeObject, errorMessage: ''})}
onError={(error)=>this.setState({errorMessage: error.message})}
/>
</div>
)
}
})
ReactDOM.render(<App />, document.getElementById('app'))
FAQs
coffee-script string to object
The npm package coffeescript-to-object receives a total of 0 weekly downloads. As such, coffeescript-to-object popularity was classified as not popular.
We found that coffeescript-to-object demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.